Retrieving the List of Notices Associated with a Public Procurement Event

You can use the Public Procurement Notices Export API to get the list of notices that are associated with a public procurement event.

Prerequisites

Context

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

  • Event Title

  • Notice ID

  • Notice Title

  • Notice Status

  • Notice Type

  • Portal Type

Procedure

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 follows:
GET {{runtime_url}}/Sourcing/sourcing-event-public-notice/v2/events/eventID/notices?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 list of notices associated with the event:

{
    "notices: [
        ...,
        {
            "eventId": "Doc5339181",
            "eventTitle": "Public procurement event",
            "noticeId": "Doc5339180",
            "title": "Contract award notice",
            "status": "Complete",
            "noticeType": "CAN",
            "portalType": "TED"
        },
        ...
    ]
}
					

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