Getting the Details of a Notice Associated with a Public Procurement Event

You can use the Public Procurement Notices Export API to first get the list of notices that are associated with a public procurement event, and then get the details about a specific notice.

Prerequisites

Context

You can use the GET /Sourcing/sourcing-event-public-notice/v2/events/{eventId}/notices/{noticeId} endpoint to get the notice details. The endpoint provides the following information:
  • Notice ID

  • Notice Title

  • Notice Description

  • Notice Status

  • Portal Type

  • Notice Type

  • External Status

  • External ID

  • External Portal Notice Content

  • Publication Date

  • Submission ID

For more information about these details, see About Notice Status.

Procedure

  1. To get the list of notices associated with a public procurement event, use the GET /Sourcing/sourcing-event-public-notice/v2/events/eventID/notices/ endpoint, as explained in Retrieving the List of Notices Associated with a Public Procurement Event.
  2. From the response of the endpoint, get the ID of the notice. You can get the details of this notice by using the notice ID.
  3. To get the notice details, use the endpoint GET /Sourcing/sourcing-event-public-notice/v2/events/eventID/notices/noticeID endpoint as follows:
    GET {{runtime_url}}/Sourcing/sourcing-event-public-notice/v2/events/eventID/notices/noticeID?user=username&passwordAdapter=PasswordAdapterName&realm=realm
                      
    Where
    • username is the name of the user whose credentials are used to authenticate the API request.
    • passwordadapter is the password adapter used to authenticate the user specified in user.
    • realm is the name of your site.
    • eventID is the ID of the public procurement event.

    The Public Procurement Notices Export API returns the details of notice:

    {
        "noticeId": "Doc5339180",
        "title": "Contract notice - utilities",
        "description": "",
        "status": "Not Created",
        "portalType": "TED",
        "noticeType": "CN_UTILITIES",
        "externalStatus": null,
        "gazetteIssueId": null,
        "publicSectorType": "UTILITIES",
        "externalId": null,
        "externalPortalNoticeContent": null,
        "publicationDate": null,
        "submissionId": null
    }

    To troubleshoot your queries to the Public Procurement Notices Export API, refer to Error Messages Returned by the Public Procurement Notices Export API .