Updating Notice Submission Status to SAP Ariba Sourcing
Customers submit notices to the public procurement portal through a third party service provider and update the submission status in SAP Ariba Sourcing.
Prerequisites
-
The feature ET-9: Support for Publishing Public Procurement Notices on the Tenders Electronic Daily (TED) Portal must be enabled for your site.
-
The feature ETendering Notice Management API must be enabled for your site.
-
The field Publish Through API must be set to Yes in the sourcing template used by the public sector event.
-
To create an application and request access to use the SAP Ariba APIs relevant to this feature, you must have access to the SAP Ariba Developer Portal. For details refer to Steps to Start Using the SAP Ariba APIs in Help for the SAP Ariba Developer Portal.
-
All queries made to this API must be authenticated using OAuth authentication. For details refer to SAP Ariba Developer Portal Authentication in Help for the SAP Ariba Developer Portal.
Context
|
If the status is |
Response Includes |
|---|---|
|
Submitted |
|
|
Failed |
|
|
Published |
|
You can post the POST endpoint with the Submitted status multiple times before posting with the Failed or Published statuses. However, after you post with either Published or Failed status, you cannot post the Submitted status again. Submission date is updated based on the last call.
Procedure
POST {{runtime_url}}/etendering/v1/publicprocurement/notices/noticeId/state?user=username&passwordAdapter=PasswordAdapterName&realm=realm
- 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.
- noticeId is the ID of the notice whose status you want to send to SAP Ariba.
The following are the request payloads:
{
"status": "PUBLISHED",
"portalNoticeID": {
"en": "https://www-tpp.find-tender.service.gov.uk/Notice/000057-2024!",
"fr": "https://www-tpp.find-tender.service.gov.uk/Notice/000057-2024!"
},
"publicationDate": 1720097048,
"submissionDate": 1720097048,
"submissionId": "12345",
"ojsID": "GazetteIssueId",
"no_doc_ojs": "publication_id"
}
{
"status": "FAILED",
"submissionDate": 1720097048,
"submissionId": "12345",
"errorMessage": [
"Validation Error",
"Rejected By Portal"
]
}
{
"status": "SUBMITTED",
"submissionDate": 1720097048,
"submissionId": "12345",
}
To troubleshoot your queries to the ETendering Notice Management API, refer to Error Messages Returned by the ETendering Notice Management API .