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

Context

You can use the POST /etendering/v1/publicprocurement/notices/{noticeId}/state endpoint to update the status after submitting the notice to the external portal. Depending on the submission status, the following mandatory request fields are returned:

If the status is

Response Includes

Submitted

  • Status

  • Submission Date

  • Submission ID

Failed

  • Status

  • Submission Date

  • Submission ID

  • Error Message

Published

  • Status

  • Portal Notice ID

  • Submission Date

  • Submission ID

  • Publication Date

  • ojsID

  • no_doc_ojs

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

To update the status of the notice that you've submitted to the procurement portal, use the POST /etendering/v1/publicprocurement/notices/{noticeId}/state endpoint as follows:
POST {{runtime_url}}/etendering/v1/publicprocurement/notices/noticeId/state?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.
  • 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 .