API use by Tender Notice System (TNS)


No

API Description

Url Path

From

Category

Custom Template Name

1

To fetch token from Ariba for bearer authentication

https://api.ariba.com/v2/oauth/token

Ariba

Token

N/A

2

To get job id from Ariba based on viewTemplateName

https://openapi.ariba.com/api/sourcing-reporting-job/v1/prod/jobs?realm=sarawakenergy

Ariba

Operational Sourcing

  • SEBCustTemplate2
  • DocumentFactSystemView

3

To get job result based on passed in job id

https://openapi.ariba.com/api/sourcing-reporting-jobresult/v1/prod/jobs/{JobId}?realm=sarawakenergy

Ariba

Operational Sourcing

N/A

4

To get job result file binary data based on passed in file name

https://openapi.ariba.com/api/sourcing-reporting-jobresult/v1/prod/jobs/{JobId}/files/{Filename}?re…

Ariba

Operational Sourcing

N/A

5

To get tender planned date

https://openapi.ariba.com/api/sourcing-approval/v2/prod/RFXDocument/{DocumentId}?realm=sarawakenergy

Ariba

External Approval

N/A

6

To get tender document

https://openapi.ariba.com/api/sourcing-approval/v2/prod/RFXDocument/{DocumentId}?realm=sarawakenergy

Ariba

External Approval

N/A

7

To get tender document base 64

https://openapi.ariba.com/api/sourcing-approval/v2/prod/Document/{DocumentId}?realm=sarawakenergy&

$select=RFXDocument&fromItemId=RFXDocument

Ariba  

External Approval

N/A

 

Refer to attachment for the full specification.