Opportunities

Get a single opportunity for the authenticated operator

Changed on
get/operator/opportunities/{opportunityId}

Request

  • Base URL: https://api.ced.pagopa.it/api/ced-portal/v1
  • URL: https://api.ced.pagopa.it/api/ced-portal/v1/operator/opportunities/{opportunityId}
  • Auth: HTTP bearer

Path parameters

opportunityIdstring required

Response

Opportunity detail

idstring required
status'draft' | 'test_pending' | 'test_rejected' | 'test_passed' | 'published' | 'scheduled' | 'scheduled_suspension' | 'suspended' | 'deleted' required
dateFromstring date required
dateTostring date nullable
urlstring uri nullable
nationalTerritoryboolean required
categoryIdstring required
categoryTitlestring required
placeIdsstring[] required
createdAtstring date-time required
updatedAtstring date-time required
suspendedBy'operator' | 'department' nullable

Actor type that suspended the opportunity (operator or department). null when neither suspended nor scheduled for suspension.

suspendFromstring date nullable

Calendar date a scheduled suspension takes effect from. Present only while a suspension is scheduled (opportunity still published); null otherwise.

suspensionMessagestring nullable

Reason provided for the suspension (raw text). null when not suspended.

changeRequestMessagestring nullable

Changes the department asked the operator to make on the last review cycle (raw text). null when no change was ever requested.

republishMessagestring nullable

Reason the operator gave asking for the opportunity to be republished, while the request is pending. Only set while the opportunity is suspended; null otherwise.

republishRejectionMessagestring nullable

Reason the department rejected the last republish request. Only set while the opportunity is suspended; null otherwise.

Changes

    • ○

      added the optional property to the response with the status

    • ○

      added the optional property to the response with the status

    • ○

      added the optional property to the response with the status