Workday Strategic Sourcing Awards API (1.0)
Download OpenAPI specification:
We've provided detailed documentation below to guide you. However, if you need additional assistance, here's how you can get the support you need:
- Community Discussions: Join the conversation on our Workday Community Discussion Boards (found under the "Collaborate" section in community). Connect with other users, share best practices, and get answers to your configuration questions.
- Expert Configuration Assistance (Professional Services): For tailored, hands-on support with your specific project, our Professional Services team is available.
- Looking for personalized guidance? Workday Success Plan customers can submit an "Ask" for expert insights on configuration and best practices.
- Need custom solutions? Consider Expert Assist, our consulting service for detailed changes and project support.
- Reporting System Issues: If you suspect a problem with the Workday system itself, please connect with our dedicated support team. Your company's Named Support Contact (NSC) can log a Product Support Defect case. We'll review the issue based on its impact and Workday's service level agreement (SLA).
US Region
Environment | US region Base URI |
---|---|
Production | https://api.us.workdayspend.com/services/awards/v1 |
Sandbox | https://api.sandbox.us.workdayspend.com/services/awards/v1 |
EU Region
Environment | EU region Base URI |
---|---|
Production | https://api.eu.workdayspend.com/services/awards/v1 |
Sandbox | https://api.sandbox.eu.workdayspend.com/services/awards/v1 |
CA Region
Environment | CA region Base URI |
---|---|
Production | https://api.ca.workdayspend.com/services/awards/v1 |
Sandbox | https://api.sandbox.ca.workdayspend.com/services/awards/v1 |
The API conforms to the JSON API Specification.
The current version of this service is indicated by the X-Api-Version
header.
Sample version header: X-Api-Version: 1.0
.
Our API adheres to the ISO 8601 standard when accepting and formatting Date and Time fields. All Date and Time fields returned by this API will be in the UTC timezone.
Date and Time fields sent to this API can be in any timezone, provided they adhere to the ISO 8601 standard.
The Workday Strategic Sourcing API uses API keys to authenticate requests. Every request will require all 3 HTTP headers:
HTTP Header | Description |
---|---|
X-Api-Key | a company-wide API key |
X-User-Token | a user-specific API token |
X-User-Email | user email |
You can generate all of those from the API tokens section of your Profile page.
Your API keys carry many privileges, so be sure to keep them secure! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth.
All API requests must be made over HTTPS. Calls made over plain HTTP will fail. API requests without authentication will also fail.
Rate limit windows are per second and are shared by all API Keys for a company.
The rate limit is 5 requests per second.
When request submissions exceed the limits, the limit-exceeding requests return 429 Too Many Requests
error responses to the client.
Upon receiving a 429
response, it is recommended to retry the request in compliance with the rate limit. One example would be to add a sleep function for 1 second and retry.
The external_id
field exists on many of the Workday Strategic Sourcing resources. This optional and mutable extension is intended to store foreign keys of the corresponding resource from a third party system. These IDs are not considered Sourcing Data and may be logged in external systems. Do not include any sensitive or personal data in IDs.
The purpose of external IDs is to:
- Prevent duplicate record creation
- Allow resources in Workday Strategic Sourcing and a third party system to share the same identifier
- Allow for records to be queried or updated without requiring knowledge of the Workday Strategic Sourcing generated IDs
Paginated endpoints may return a subset of the total results for a GET
request that returns multiple resources. Endpoints that support pagination will include usage details in the Query Parameters section for the resource.
The paginated results can be configured using the page
query parameter to configure the number of returned results. The default pagination size is 10 results and the maximum pagination size is 100 results per request.
Endpoints that support pagination may return "self" and "next" sections within the "links" section that navigate to the current and next pages respectively.
Example Paginated Request
Request Query Parameter Format
/projects?page[size]=25
Response Schema
The paginated response will also include the following schema
object Result set metadata. | |
object (PaginationLinks) List of related links. |
{- "data": {
- "key": "value"
}, - "meta": {
- "count": 2
}, - "links": {
- "prev": null
}
}
The results can be filtered to a subset of the total set of results using filter
query parameters.
Endpoints that support filtering will include usage details in the Query Parameters section for the resource.
Most filters that end in equals
support a Query Parameter array format to filter by multiple values.
Example:
?filter[status_equals][]=submitted&filter[status_equals][]=resubmitted
Use the Awards API to query the Awards in Workday Strategic Sourcing.
Awards are used for procurement.
type required | string (AwardType) Object type, should always be |
id required | integer (AwardId) Award identifier string. |
object (AwardAttributes) Award attributes. | |
object (AwardRelationship) Award relationships. | |
object (ResourceLinks) List of related links. |
{- "type": "awards",
- "id": 1,
- "attributes": {
- "title": "string",
- "external_id": "string",
- "state": "draft",
- "updated_at": "2021-05-29T21:28:46.790Z",
- "pros": "<p>Reliable company</p>",
- "cons": "<p>Expensive company</p>"
}, - "relationships": {
- "creator": {
- "data": {
- "type": "stakeholders",
- "id": 1
}
}, - "project": {
- "data": {
- "type": "projects",
- "id": 1
}
}
}, - "links": {
- "self": "string"
}
}
List Awards
Returns a list of awards.
Authorizations:
query Parameters
object (AwardInputFilter) Filter awards by multiple criteria. |
Responses
Request samples
- Curl
curl -H "X-Api-Key: ${COMPANY_KEY}" \ -H "X-User-Token: ${USER_TOKEN}" \ -H "X-User-Email: ${USER_EMAIL}" \ -H "Content-Type: application/vnd.api+json" \ "https://api.us.workdayspend.com/services/awards/v1/awards"
Response samples
- 200
{- "meta": {
- "count": 2
}, - "data": [
- {
- "type": "awards",
- "id": "1",
- "attributes": {
- "title": "Award #1 title",
- "state": "draft",
- "updated_at": "2021-05-29T21:28:46.790Z",
- "external_id": null,
- "pros": "<p>Reliable</p>",
- "cons": "<p>Expensive</p>"
}, - "relationships": {
- "creator": {
- "data": {
- "id": "1",
- "type": "stakeholders"
}
}, - "project": {
- "data": {
- "id": "1",
- "type": "projects"
}
}
}
}, - {
- "type": "awards",
- "id": "2",
- "attributes": {
- "title": "Award #2 title",
- "state": "draft",
- "updated_at": "2021-05-29T21:28:46.790Z",
- "external_id": "AW-2",
- "pros": null,
- "cons": null
}, - "relationships": {
- "creator": {
- "data": {
- "id": "2",
- "type": "stakeholders"
}
}, - "project": {
- "data": {
- "id": "2",
- "type": "projects"
}
}
}
}
],
}
Use the Award Line Items API to query the Award Line Items in Workday Strategic Sourcing.
Award Line Items are used for procurement.
type required | string (AwardLineItemType) Object type, should always be |
id required | integer (AwardLineItemId) Award line items identifier string. |
object (AwardLineItemAttributes) Award line item attributes. | |
object (AwardLineItemRelationship) Award line item relationships. |
{- "type": "award_line_items",
- "id": "1_5",
- "attributes": {
- "data": {
- "c263": "Worksheet 1 line item 1",
- "c264": 1,
- "c265": 10,
- "c266": 10,
- "c268": 0
}, - "allocated_quantity": 1,
- "sought_quantity": 1,
- "price": 10,
- "total_spend": 10,
- "net_savings": -10,
- "net_savings_percentage": null,
- "line_item_type": "STANDARD",
- "is_quoted": true
}, - "relationships": {
- "supplier_company": {
- "data": {
- "id": "1",
- "type": "supplier_companies"
}
}, - "worksheet": {
- "data": {
- "id": "2",
- "type": "worksheets"
}
}
}
}
List Award Line Items
Returns a list of line items for a specific award.
Authorizations:
path Parameters
award_id required | integer Example: 1 Award identifier. |
query Parameters
object (AwardLineItemInputFilter) Filter awards line items by multiple criteria. | |
include | string (AwardLineItemRelatedResources) Enum: "supplier_company" "worksheet" Use the |
Responses
Request samples
- Curl
curl -H "X-Api-Key: ${COMPANY_KEY}" \ -H "X-User-Token: ${USER_TOKEN}" \ -H "X-User-Email: ${USER_EMAIL}" \ -H "Content-Type: application/vnd.api+json" \ "https://api.us.workdayspend.com/services/awards/v1/awards/1/award_line_items"
Response samples
- 200
{- "data": [
- {
- "id": "1_5",
- "type": "award_line_items",
- "attributes": {
- "data": {
- "c263": "Worksheet 1 line item 1",
- "c264": 1,
- "c265": 10,
- "c266": 10,
- "c268": 0
}, - "allocated_quantity": 1,
- "sought_quantity": 1,
- "price": 10,
- "total_spend": 10,
- "net_savings": -10,
- "net_savings_percentage": null,
- "line_item_type": "STANDARD",
- "is_quoted": true
}, - "relationships": {
- "supplier_company": {
- "data": {
- "id": "1",
- "type": "supplier_companies"
}
}, - "worksheet": {
- "data": {
- "id": "2",
- "type": "worksheets"
}
}
}
}, - {
- "id": "1_6",
- "type": "award_line_items",
- "attributes": {
- "data": {
- "c263": "Worksheet 1 line item 2",
- "c264": 2,
- "c265": 20,
- "c266": 40,
- "c267": 30,
- "c268": 60
}, - "allocated_quantity": 2,
- "sought_quantity": 2,
- "price": 20,
- "total_spend": 40,
- "net_savings": 20,
- "net_savings_percentage": 33.33,
- "line_item_type": "STANDARD",
- "is_quoted": true
}, - "relationships": {
- "supplier_company": {
- "data": {
- "id": "1",
- "type": "supplier_companies"
}
}, - "worksheet": {
- "data": {
- "id": "2",
- "type": "worksheets"
}
}
}
}
], - "meta": {
- "count": 2
}
}
Get an Award Line Item
Retrieves the details of an existing award line items. You need to supply the unique award line items identifier.
Authorizations:
path Parameters
id required | string Example: 15 Unique Award Line Items identifier. |
query Parameters
include | string (AwardLineItemRelatedResources) Enum: "supplier_company" "worksheet" Use the |
Responses
Request samples
- Curl
curl -H "X-Api-Key: ${COMPANY_KEY}" \ -H "X-User-Token: ${USER_TOKEN}" \ -H "X-User-Email: ${USER_EMAIL}" \ -H "Content-Type: application/vnd.api+json" \ "https://api.us.workdayspend.com/services/awards/v1/award_line_items/1_5"
Response samples
- 200
{- "data": {
- "id": "1_5",
- "type": "award_line_items",
- "attributes": {
- "data": {
- "c263": "Worksheet 1 line item 1",
- "c264": 1,
- "c265": 10,
- "c266": 10,
- "c268": 0
}, - "allocated_quantity": 1,
- "sought_quantity": 1,
- "price": 10,
- "total_spend": 10,
- "net_savings": -10,
- "net_savings_percentage": null,
- "line_item_type": "STANDARD",
- "is_quoted": true
}, - "relationships": {
- "supplier_company": {
- "data": {
- "id": "1",
- "type": "supplier_companies"
}
}, - "worksheet": {
- "data": {
- "id": "2",
- "type": "worksheets"
}
}
}
}
}