Workday Strategic Sourcing API (Deprecated) (3.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 | Base URI deprecated. Available until April, 2025 |
---|---|---|
Production | https://api.us.workdayspend.com/v3 | https://api.scoutrfp.com/v3 |
Sandbox | https://api.sandbox.us.workdayspend.com/v3 | https://api.sandbox.scoutrfp.com/v3 |
EU Region
Environment | EU region Base URI |
---|---|
Production | https://api.eu.workdayspend.com/v3 |
Sandbox | https://api.sandbox.eu.workdayspend.com/v3 |
CA Region
Environment | CA region Base URI |
---|---|
Production | https://api.ca.workdayspend.com/v3 |
Sandbox | https://api.sandbox.ca.workdayspend.com/v3 |
The API conforms to the JSON API Specification.
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 supplier companies API to create, update, and query the suppliers in Workday Strategic Sourcing.
type required | string (SupplierCompanyType) Object type, should always be |
id required | integer (SupplierCompanyId) Supplier company identifier string. |
object (SupplierCompanyAttributes) Supplier company attributes. | |
object (SupplierCompanyRelationship) Supplier company relationships. | |
object (ResourceLinks) List of related links. |
{- "type": "supplier_companies",
- "id": "1",
- "attributes": {
- "name": "Supplier Company Name",
- "description": "Suppler Company Description",
- "is_suggested": false,
- "public": true,
- "risk": "low",
- "segmentation": "tier_1",
- "segmentation_status": "approved",
- "segmentation_notes": "Segmentation Notes",
- "tags": [
- "tag1",
- "tag2"
], - "external_id": "1234-5678-abcd-efgh",
- "updated_at": "2019-10-29T21:28:46.790Z",
- "custom_fields": [
- {
- "name": "Custom Field Currency",
- "value": 1234567890
}, - {
- "name": "Custom Field Integer",
- "value": 1234567890
}, - {
- "name": "Custom Field Checkbox",
- "value": true
}, - {
- "name": "Custom Field Decimal",
- "value": 123456.78
}, - {
- "name": "Custom Field Date",
- "value": "2018-12-31T00:00:00.000Z"
}, - {
- "name": "Custom Field Select",
- "value": "Select Option"
}, - {
- "name": "Custom Field Multiple",
- "value": [
- "Multiple Select Option 1",
- "Multiple Select Option 2"
]
}, - {
- "name": "Custom Field Short Text",
- "value": "some short text"
}, - {
- "name": "Custom Field Paragraph",
- "value": "longer text than short text"
},
]
},
}
type required | string (SupplierClassificationValueType) Object type, should always be |
id required | string (SupplierClassificationValueId) A composite identifier for a virtual object created from the id of the supplier and the id of the classification in the response. Id or the external Id of a classification in the request. |
object (SupplierClassificationValueAttributes) SupplierClassificationValue attributes. | |
object (SupplierClassificationValueRelationship) Supplier classification value relationships. |
{- "id": "1-21",
- "type": "supplier_classification_values",
- "attributes": {
- "external_id": "CLASSIFICATION-1"
}, - "relationships": {
- "supplier_classification_field_values": {
- "data": [
- {
- "id": "1",
- "type": "supplier_classification_field_values"
}, - {
- "id": "2",
- "type": "supplier_classification_field_values"
}, - {
- "id": "3",
- "type": "supplier_classification_field_values"
}, - {
- "id": "4",
- "type": "supplier_classification_field_values"
}, - {
- "id": "5",
- "type": "supplier_classification_field_values"
}, - {
- "id": "6",
- "type": "supplier_classification_field_values"
}, - {
- "id": "7",
- "type": "supplier_classification_field_values"
}, - {
- "id": "8",
- "type": "supplier_classification_field_values"
}
]
}
}
}
type required | string (SupplierClassificationFieldValueType) Object type, should always be |
id required | integer (SupplierClassificationFieldValueId) Supplier classification field value identifier string. |
object (SupplierClassificationFieldValueAttributes) SupplierClassificationFieldValue attributes. | |
object (SupplierClassificationFieldValueRelationship) Supplier classification relationships. |
{- "id": "1",
- "type": "supplier_classification_field_values",
- "attributes": {
- "value": "text",
- "external_id": "CLASSIFICATION-FIELD-VALUE-1"
}, - "relationships": {
- "selected_options": {
- "data": [ ]
}, - "attachments": {
- "data": [ ]
}
}
}
List Supplier Companies
Returns a list of supplier companies for the specified criteria.
Authorizations:
query Parameters
segmentation_status | string (SupplierSegmentationStatus) Deprecated Enum: "not_approved" "reviewing" "approved" "out_of_compliance" "blacklisted" Filter suppliers by segmentation status. |
object (SupplierCompanyInputFilter) Filter supplier companies by multiple criteria. Only one filter per attribute is supported. For best performance, we recommend 5 or less filters. | |
include | string (SupplierCompanyRelatedResources) Enum: "attachments" "supplier_category" "supplier_groups" "default_payment_term" "payment_types" "default_payment_type" "payment_currencies" "default_payment_currency" "supplier_classification_values" To reduce the number of HTTP requests, related resources can be requested along with the
requested primary resources. Such responses are called "compound documents". In a compound
document, all included resources will be represented as an array of resource objects in a
top-level The value of the
In the response, relationships will be represented as normal linkage objects (containing
|
object (PageInput) Customize pagination results with |
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.scoutrfp.com/v3/supplier_companies?segmentation_status=approved"
Response samples
- 200
- 400
{- "meta": {
- "count": 2
}, - "data": [
- {
- "type": "supplier_companies",
- "id": "1",
- "attributes": {
- "name": "Supplier Company Name #1",
- "description": "Suppler Company Description #1",
- "is_suggested": false,
- "accept_all_currencies": false,
- "public": true,
- "risk": "low",
- "segmentation": "tier_1",
- "segmentation_status": "approved",
- "segmentation_notes": "Segmentation Notes",
- "tags": [
- "tag1",
- "tag2"
], - "external_id": "1234-5678-abcd-efgh",
- "updated_at": "2019-10-29T21:28:46.790Z",
- "self_registered": false,
- "onboarding_form_completion_status": null,
- "duns_number": null,
- "custom_fields": [
- {
- "name": "Custom Field Currency",
- "value": 1234567890
}, - {
- "name": "Custom Field Integer",
- "value": 1234567890
}, - {
- "name": "Custom Field Checkbox",
- "value": true
}, - {
- "name": "Custom Field Decimal",
- "value": 123456.78
}, - {
- "name": "Custom Field Date",
- "value": "2018-12-31T00:00:00.000Z"
}, - {
- "name": "Custom Field Select",
- "value": "Select Option"
}, - {
- "name": "Custom Field Multiple",
- "value": [
- "Multiple Select Option 1",
- "Multiple Select Option 2"
]
}, - {
- "name": "Custom Field Short Text",
- "value": "some short text"
}, - {
- "name": "Custom Field Paragraph",
- "value": "longer text than short text"
},
]
}, - "relationships": {
- "attachments": {
- "data": [
- {
- "id": "2",
- "type": "attachments"
}
]
}, - "default_payment_currency": {
- "data": {
- "id": "172",
- "type": "payment_currencies"
}
}, - "default_payment_term": {
- "data": {
- "id": "38",
- "type": "payment_terms"
}
}, - "default_payment_type": {
- "data": {
- "id": "99",
- "type": "payment_types"
}
}, - "supplier_category": {
- "data": {
- "id": "83",
- "type": "supplier_categories"
}
}, - "payment_currencies": {
- "data": [
- {
- "id": "172",
- "type": "payment_currencies"
}, - {
- "id": "174",
- "type": "payment_currencies"
}
]
}, - "payment_types": {
- "data": [
- {
- "id": "99",
- "type": "payment_types"
}, - {
- "id": "96",
- "type": "payment_types"
}
]
}, - "supplier_groups": {
- "data": [
- {
- "id": "48",
- "type": "supplier_groups"
}, - {
- "id": "53",
- "type": "supplier_groups"
}
]
}, - "supplier_classification_values": {
- "data": [
- {
- "id": "1-21",
- "type": "supplier_classification_values"
}, - {
- "id": "1-22",
- "type": "supplier_classification_values"
}
]
}
},
}, - {
- "type": "supplier_companies",
- "id": "2",
- "attributes": {
- "name": "Supplier Company Name #2",
- "description": "Suppler Company Description #2",
- "is_suggested": false,
- "accept_all_currencies": false,
- "public": true,
- "risk": "low",
- "segmentation": "tier_1",
- "segmentation_status": "approved",
- "segmentation_notes": "Segmentation Notes",
- "tags": [
- "tag1",
- "tag2"
], - "external_id": "5678-9012-ijkl-mnop",
- "updated_at": "2019-10-29T21:28:46.790Z",
- "self_registered": false,
- "onboarding_form_completion_status": null,
- "duns_number": null,
- "custom_fields": [
- {
- "name": "Custom Field Currency",
- "value": 1234567890
}, - {
- "name": "Custom Field Integer",
- "value": 1234567890
}, - {
- "name": "Custom Field Checkbox",
- "value": true
}, - {
- "name": "Custom Field Decimal",
- "value": 123456.78
}, - {
- "name": "Custom Field Date",
- "value": "2018-12-31T00:00:00.000Z"
}, - {
- "name": "Custom Field Select",
- "value": "Select Option"
}, - {
- "name": "Custom Field Multiple",
- "value": [
- "Multiple Select Option 1",
- "Multiple Select Option 2"
]
}, - {
- "name": "Custom Field Short Text",
- "value": "some short text"
}, - {
- "name": "Custom Field Paragraph",
- "value": "longer text than short text"
},
]
}, - "relationships": {
- "attachments": {
- "data": [
- {
- "id": "1",
- "type": "attachments"
}
]
}, - "default_payment_currency": {
- "data": {
- "id": "172",
- "type": "payment_currencies"
}
}, - "default_payment_term": {
- "data": {
- "id": "38",
- "type": "payment_terms"
}
}, - "default_payment_type": {
- "data": {
- "id": "99",
- "type": "payment_types"
}
}, - "supplier_category": {
- "data": {
- "id": "83",
- "type": "supplier_categories"
}
}, - "payment_currencies": {
- "data": [
- {
- "id": "172",
- "type": "payment_currencies"
}
]
}, - "payment_types": {
- "data": [
- {
- "id": "99",
- "type": "payment_types"
}
]
}, - "supplier_groups": {
- "data": [
- {
- "id": "48",
- "type": "supplier_groups"
}
]
}, - "supplier_classification_values": {
- "data": [ ]
}
},
}
], - "links": {
}
}
Create a Supplier Company
Create a supplier company with given attributes, relationships, and related complex resources.
When creating a supplier company with relationships, keep in mind that there are two kinds of relationships: linked resources and composite resources.
Linked Resources
These are normal relationship resources managed outside of primary resource (supplier company). For example, payment currencies exist on their own, and can be assigned to one or many supplier companies, contracts, etc. These resources usually have their own API management endpoints.
All related objects should exist prior to being linked to the supplier company. They can be
referenced by Workday Strategic Sourcing identifier, or by external ID; in the latter case, the relationship
name is used with prefix external_
. For example, a payment currency with Workday Strategic Sourcing ID "1"
and
external ID "C$EUR"
can be used to initialize default_payment_currency
:
{
"default_payment_currency": {
"data" {
"id": "1",
"type": "payment_currencies"
}
}
}
{
"external_default_payment_currency": {
"data" {
"id": "C$EUR",
"type": "payment_currencies"
}
}
}
When external_
prefix is applied to a "many" relationship, like external_payment_currencies
,
all of the identifiers will be treated as external IDs.
Authorizations:
query Parameters
include | string (SupplierCompanyRelatedResources) Enum: "attachments" "supplier_category" "supplier_groups" "default_payment_term" "payment_types" "default_payment_type" "payment_currencies" "default_payment_currency" "supplier_classification_values" Use the |
Request Body schema: application/vnd.api+json
object (SupplierCompanyCreate) |
Responses
Request samples
- Payload
- Curl
{- "data": {
- "type": "supplier_companies",
- "attributes": {
- "name": "Supplier Company Name",
- "description": "Suppler Company Description",
- "is_suggested": false,
- "public": true,
- "risk": "low",
- "segmentation": "tier_1",
- "segmentation_status": "approved",
- "segmentation_notes": "Segmentation Notes",
- "tags": [
- "tag1",
- "tag2"
], - "external_id": "1234-5678-abcd-efgh",
- "custom_fields": [
- {
- "name": "Custom Field Currency",
- "value": 1234567890
}, - {
- "name": "Custom Field Integer",
- "value": 1234567890
}, - {
- "name": "Custom Field Checkbox",
- "value": true
}, - {
- "name": "Custom Field Decimal",
- "value": 123456.78
}, - {
- "name": "Custom Field Date",
- "value": "2018-12-31T00:00:00.000Z"
}, - {
- "name": "Custom Field Select",
- "value": "Select Option"
}, - {
- "name": "Custom Field Multiple",
- "value": [
- "Multiple Select Option 1",
- "Multiple Select Option 2"
]
}, - {
- "name": "Custom Field Short Text",
- "value": "some short text"
}, - {
- "name": "Custom Field Paragraph",
- "value": "longer text than short text"
},
]
}, - "relationships": {
- "default_payment_currency": {
- "data": {
- "id": "172",
- "type": "payment_currencies"
}
}, - "default_payment_term": {
- "data": {
- "id": "38",
- "type": "payment_terms"
}
}, - "default_payment_type": {
- "data": {
- "id": "99",
- "type": "payment_types"
}
}, - "supplier_category": {
- "data": {
- "id": "83",
- "type": "supplier_categories"
}
}, - "payment_currencies": {
- "data": [
- {
- "id": "172",
- "type": "payment_currencies"
}
]
}, - "payment_types": {
- "data": [
- {
- "id": "99",
- "type": "payment_types"
}
]
}, - "supplier_groups": {
- "data": [
- {
- "id": "48",
- "type": "supplier_groups"
}
]
}, - "supplier_classification_values": {
- "data": [
- {
- "id": "21"
}
]
}
}
}
}
Response samples
- 201
{- "data": {
- "type": "supplier_companies",
- "id": "1",
- "attributes": {
- "name": "Supplier Company Name",
- "description": "Suppler Company Description",
- "is_suggested": false,
- "accept_all_currencies": false,
- "public": true,
- "risk": "low",
- "segmentation": "tier_1",
- "segmentation_status": "approved",
- "segmentation_notes": "Segmentation Notes",
- "tags": [
- "tag1",
- "tag2"
], - "external_id": "1234-5678-abcd-efgh",
- "updated_at": "2019-10-29T21:28:46.790Z",
- "self_registered": false,
- "onboarding_form_completion_status": null,
- "duns_number": null,
- "custom_fields": [
- {
- "name": "Custom Field Currency",
- "value": 1234567890
}, - {
- "name": "Custom Field Integer",
- "value": 1234567890
}, - {
- "name": "Custom Field Checkbox",
- "value": true
}, - {
- "name": "Custom Field Decimal",
- "value": 123456.78
}, - {
- "name": "Custom Field Date",
- "value": "2018-12-31T00:00:00.000Z"
}, - {
- "name": "Custom Field Select",
- "value": "Select Option"
}, - {
- "name": "Custom Field Multiple",
- "value": [
- "Multiple Select Option 1",
- "Multiple Select Option 2"
]
}, - {
- "name": "Custom Field Short Text",
- "value": "some short text"
}, - {
- "name": "Custom Field Paragraph",
- "value": "longer text than short text"
},
]
}, - "relationships": {
- "attachments": {
- "data": [ ]
}, - "default_payment_currency": {
- "data": {
- "id": "172",
- "type": "payment_currencies"
}
}, - "default_payment_term": {
- "data": {
- "id": "38",
- "type": "payment_terms"
}
}, - "default_payment_type": {
- "data": {
- "id": "99",
- "type": "payment_types"
}
}, - "supplier_category": {
- "data": {
- "id": "83",
- "type": "supplier_categories"
}
}, - "payment_currencies": {
- "data": [
- {
- "id": "172",
- "type": "payment_currencies"
}
]
}, - "payment_types": {
- "data": [
- {
- "id": "99",
- "type": "payment_types"
}
]
}, - "supplier_groups": {
- "data": [
- {
- "id": "48",
- "type": "supplier_groups"
}
]
}, - "supplier_classification_values": {
- "data": [
- {
- "id": "1-21",
- "type": "supplier_classification_values"
}
]
}
},
}
}
Get a Supplier Company
Retrieves the details of an existing supplier company. You need to supply the unique supplier company identifier that was returned upon supplier company creation.
Authorizations:
path Parameters
id required | integer Example: 1 Unique Supplier Company identifier. |
query Parameters
include | string (SupplierCompanyRelatedResources) Enum: "attachments" "supplier_category" "supplier_groups" "default_payment_term" "payment_types" "default_payment_type" "payment_currencies" "default_payment_currency" "supplier_classification_values" 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.scoutrfp.com/v3/supplier_companies/1"
Response samples
- 200
{- "data": {
- "type": "supplier_companies",
- "id": "1",
- "attributes": {
- "name": "Supplier Company Name",
- "description": "Suppler Company Description",
- "is_suggested": false,
- "accept_all_currencies": false,
- "public": true,
- "risk": "low",
- "segmentation": "tier_1",
- "segmentation_status": "approved",
- "segmentation_notes": "Segmentation Notes",
- "tags": [
- "tag1",
- "tag2"
], - "external_id": "1234-5678-abcd-efgh",
- "updated_at": "2019-10-29T21:28:46.790Z",
- "self_registered": false,
- "onboarding_form_completion_status": null,
- "duns_number": null,
- "custom_fields": [
- {
- "name": "Custom Field Currency",
- "value": 1234567890
}, - {
- "name": "Custom Field Integer",
- "value": 1234567890
}, - {
- "name": "Custom Field Checkbox",
- "value": true
}, - {
- "name": "Custom Field Decimal",
- "value": 123456.78
}, - {
- "name": "Custom Field Date",
- "value": "2018-12-31T00:00:00.000Z"
}, - {
- "name": "Custom Field Select",
- "value": "Select Option"
}, - {
- "name": "Custom Field Multiple",
- "value": [
- "Multiple Select Option 1",
- "Multiple Select Option 2"
]
}, - {
- "name": "Custom Field Short Text",
- "value": "some short text"
}, - {
- "name": "Custom Field Paragraph",
- "value": "longer text than short text"
},
]
}, - "relationships": {
- "attachments": {
- "data": [
- {
- "id": "1",
- "type": "attachments"
}
]
}, - "default_payment_currency": {
- "data": {
- "id": "172",
- "type": "payment_currencies"
}
}, - "default_payment_term": {
- "data": {
- "id": "38",
- "type": "payment_terms"
}
}, - "default_payment_type": {
- "data": {
- "id": "99",
- "type": "payment_types"
}
}, - "supplier_category": {
- "data": {
- "id": "83",
- "type": "supplier_categories"
}
}, - "payment_currencies": {
- "data": [
- {
- "id": "172",
- "type": "payment_currencies"
}, - {
- "id": "174",
- "type": "payment_currencies"
}
]
}, - "payment_types": {
- "data": [
- {
- "id": "99",
- "type": "payment_types"
}, - {
- "id": "96",
- "type": "payment_types"
}
]
}, - "supplier_groups": {
- "data": [
- {
- "id": "48",
- "type": "supplier_groups"
}, - {
- "id": "53",
- "type": "supplier_groups"
}
]
}, - "supplier_classification_values": {
- "data": [
- {
- "id": "1-21",
- "type": "supplier_classification_values"
}, - {
- "id": "1-22",
- "type": "supplier_classification_values"
}
]
}
},
}
}
Update a Supplier Company
Updates the details of an existing supplier company. You need to supply the unique supplier company identifier that was returned upon supplier company creation.
Please note, that request body must include an id
attribute with the value of your supplier
unique identifier (the same one you passed in the URL).
Linked Resources
When updating relationships on a supplier company resource, keep in mind the whole relationship
will be replaced the new values. For example, if a supplier company has currencies with IDs
"1"
and "2"
, and in update request payload payment_currencies
relationship is specified
with ID "3"
, the only payment currency associated after the request succeeded will be "3"
.
Authorizations:
path Parameters
id required | integer Example: 1 Unique Supplier Company identifier. |
query Parameters
include | string (SupplierCompanyRelatedResources) Enum: "attachments" "supplier_category" "supplier_groups" "default_payment_term" "payment_types" "default_payment_type" "payment_currencies" "default_payment_currency" "supplier_classification_values" Use the |
Request Body schema: application/vnd.api+json
object (SupplierCompanyUpdate) |
Responses
Request samples
- Payload
- Curl
{- "data": {
- "type": "supplier_companies",
- "id": "1",
- "attributes": {
- "name": "Supplier Company Name Updated",
- "description": "Suppler Company Description Updated",
- "is_suggested": false,
- "public": false,
- "risk": "medium",
- "segmentation": "tier_2",
- "segmentation_status": "not_approved",
- "segmentation_notes": "Segmentation Notes Updated",
- "tags": [
- "tag1",
- "tag2",
- "tag3"
], - "external_id": "1234-5678-upda-tedd",
- "custom_fields": [
- {
- "name": "Custom Field Currency",
- "value": 1234567890
}, - {
- "name": "Custom Field Integer",
- "value": 1234567890
}, - {
- "name": "Custom Field Checkbox",
- "value": true
}, - {
- "name": "Custom Field Decimal",
- "value": 123456.78
}, - {
- "name": "Custom Field Date",
- "value": "2018-12-31T00:00:00.000Z"
}, - {
- "name": "Custom Field Select",
- "value": "Select Option"
}, - {
- "name": "Custom Field Multiple",
- "value": [
- "Multiple Select Option 1",
- "Multiple Select Option 2"
]
}, - {
- "name": "Custom Field Short Text",
- "value": "some short text"
}, - {
- "name": "Custom Field Paragraph",
- "value": "longer text than short text"
},
]
}, - "relationships": {
- "default_payment_currency": {
- "data": {
- "id": "172",
- "type": "payment_currencies"
}
}, - "default_payment_term": {
- "data": {
- "id": "38",
- "type": "payment_terms"
}
}, - "default_payment_type": {
- "data": {
- "id": "99",
- "type": "payment_types"
}
}, - "supplier_category": {
- "data": {
- "id": "83",
- "type": "supplier_categories"
}
}, - "payment_currencies": {
- "data": [
- {
- "id": "172",
- "type": "payment_currencies"
}
]
}, - "payment_types": {
- "data": [
- {
- "id": "99",
- "type": "payment_types"
}
]
}, - "supplier_groups": {
- "data": [
- {
- "id": "48",
- "type": "supplier_groups"
}
]
}, - "supplier_classification_values": {
- "data": [
- {
- "id": "123",
- "type": "supplier_classification_values"
}
]
}
}
}
}
Response samples
- 200
- 409
{- "data": {
- "type": "supplier_companies",
- "id": "1",
- "attributes": {
- "name": "Supplier Company Name Updated",
- "description": "Suppler Company Description Updated",
- "is_suggested": false,
- "accept_all_currencies": false,
- "public": false,
- "risk": "medium",
- "segmentation": "tier_2",
- "segmentation_status": "not_approved",
- "segmentation_notes": "Segmentation Notes Updated",
- "tags": [
- "tag1",
- "tag2",
- "tag3"
], - "external_id": "1234-5678-upda-tedd",
- "updated_at": "2019-10-29T21:28:46.790Z",
- "self_registered": false,
- "onboarding_form_completion_status": null,
- "duns_number": null,
- "custom_fields": [
- {
- "name": "Custom Field Currency",
- "value": 1234567890
}, - {
- "name": "Custom Field Integer",
- "value": 1234567890
}, - {
- "name": "Custom Field Checkbox",
- "value": true
}, - {
- "name": "Custom Field Decimal",
- "value": 123456.78
}, - {
- "name": "Custom Field Date",
- "value": "2018-12-31T00:00:00.000Z"
}, - {
- "name": "Custom Field Select",
- "value": "Select Option"
}, - {
- "name": "Custom Field Multiple",
- "value": [
- "Multiple Select Option 1",
- "Multiple Select Option 2"
]
}, - {
- "name": "Custom Field Short Text",
- "value": "some short text"
}, - {
- "name": "Custom Field Paragraph",
- "value": "longer text than short text"
},
]
}, - "relationships": {
- "attachments": {
- "data": [
- {
- "id": "1",
- "type": "attachments"
}
]
}, - "default_payment_currency": {
- "data": {
- "id": "172",
- "type": "payment_currencies"
}
}, - "default_payment_term": {
- "data": {
- "id": "38",
- "type": "payment_terms"
}
}, - "default_payment_type": {
- "data": {
- "id": "99",
- "type": "payment_types"
}
}, - "supplier_category": {
- "data": {
- "id": "83",
- "type": "supplier_categories"
}
}, - "payment_currencies": {
- "data": [
- {
- "id": "172",
- "type": "payment_currencies"
}
]
}, - "payment_types": {
- "data": [
- {
- "id": "99",
- "type": "payment_types"
}
]
}, - "supplier_groups": {
- "data": [
- {
- "id": "48",
- "type": "supplier_groups"
}
]
}, - "supplier_classification_values": {
- "data": [
- {
- "id": "1-123",
- "type": "supplier_classification_values"
}
]
}
},
}
}
Delete a Supplier Company
Deletes a supplier company. You need to supply the unique supplier company identifier that was returned upon supplier company creation.
Authorizations:
path Parameters
id required | integer Example: 1 Unique Supplier Company identifier. |
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" \ -X DELETE \ "https://api.scoutrfp.com/v3/supplier_companies/1"
Get a Supplier Company by External ID
Retrieves the details of an existing supplier company. You need to supply the unique supplier company external identifier (the one you used when created the supplier company).
Authorizations:
path Parameters
external_id required | string Example: 1234-5678-abcd-efgh Supplier company external identifier. |
query Parameters
include | string (SupplierCompanyRelatedResources) Enum: "attachments" "supplier_category" "supplier_groups" "default_payment_term" "payment_types" "default_payment_type" "payment_currencies" "default_payment_currency" "supplier_classification_values" 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.scoutrfp.com/v3/supplier_companies/SUP-1234/external_id"
Response samples
- 200
{- "data": {
- "type": "supplier_companies",
- "id": "1",
- "attributes": {
- "name": "Supplier Company Name",
- "description": "Suppler Company Description",
- "is_suggested": false,
- "accept_all_currencies": false,
- "public": true,
- "risk": "low",
- "segmentation": "tier_1",
- "segmentation_status": "approved",
- "segmentation_notes": "Segmentation Notes",
- "tags": [
- "tag1",
- "tag2"
], - "external_id": "1234-5678-abcd-efgh",
- "updated_at": "2019-10-29T21:28:46.790Z",
- "self_registered": false,
- "onboarding_form_completion_status": null,
- "duns_number": null,
- "custom_fields": [
- {
- "name": "Custom Field Currency",
- "value": 1234567890
}, - {
- "name": "Custom Field Integer",
- "value": 1234567890
}, - {
- "name": "Custom Field Checkbox",
- "value": true
}, - {
- "name": "Custom Field Decimal",
- "value": 123456.78
}, - {
- "name": "Custom Field Date",
- "value": "2018-12-31T00:00:00.000Z"
}, - {
- "name": "Custom Field Select",
- "value": "Select Option"
}, - {
- "name": "Custom Field Multiple",
- "value": [
- "Multiple Select Option 1",
- "Multiple Select Option 2"
]
}, - {
- "name": "Custom Field Short Text",
- "value": "some short text"
}, - {
- "name": "Custom Field Paragraph",
- "value": "longer text than short text"
},
]
}, - "relationships": {
- "attachments": {
- "data": [ ]
}, - "default_payment_currency": {
- "data": null
}, - "default_payment_term": {
- "data": null
}, - "default_payment_type": {
- "data": null
}, - "supplier_category": {
- "data": null
}, - "payment_currencies": {
- "data": [ ]
}, - "payment_types": {
- "data": [ ]
}, - "supplier_groups": {
- "data": [ ]
}, - "supplier_classification_values": {
- "data": [ ]
}
},
}
}
Update a Supplier Company by External ID
Updates the details of an existing supplier company. You need to supply the unique supplier company external identifier (the one you used when created the supplier company).
Please note, that request body must include an id
attribute with the value of your supplier
external identifier (the same one you passed in the URL).
Authorizations:
path Parameters
external_id required | string Example: 1234-5678-abcd-efgh Supplier company external identifier. |
query Parameters
include | string (SupplierCompanyRelatedResources) Enum: "attachments" "supplier_category" "supplier_groups" "default_payment_term" "payment_types" "default_payment_type" "payment_currencies" "default_payment_currency" "supplier_classification_values" Use the |
Request Body schema: application/vnd.api+json
object (SupplierCompanyUpdate) |
Responses
Request samples
- Payload
- Curl
{- "data": {
- "type": "supplier_companies",
- "id": "1234-5678-abcd-efgh",
- "attributes": {
- "name": "Supplier Company Name Updated",
- "description": "Suppler Company Description Updated",
- "is_suggested": false,
- "public": false,
- "risk": "medium",
- "segmentation": "tier_2",
- "segmentation_status": "not_approved",
- "segmentation_notes": "Segmentation Notes Updated",
- "tags": [
- "tag1",
- "tag2",
- "tag3"
], - "external_id": "1234-5678-abcd-efgh",
- "custom_fields": [
- {
- "name": "Custom Field Currency",
- "value": 1234567890
}, - {
- "name": "Custom Field Integer",
- "value": 1234567890
}, - {
- "name": "Custom Field Checkbox",
- "value": true
}, - {
- "name": "Custom Field Decimal",
- "value": 123456.78
}, - {
- "name": "Custom Field Date",
- "value": "2018-12-31T00:00:00.000Z"
}, - {
- "name": "Custom Field Select",
- "value": "Select Option"
}, - {
- "name": "Custom Field Multiple",
- "value": [
- "Multiple Select Option 1",
- "Multiple Select Option 2"
]
}, - {
- "name": "Custom Field Short Text",
- "value": "some short text"
}, - {
- "name": "Custom Field Paragraph",
- "value": "longer text than short text"
},
]
}
}
}
Response samples
- 200
{- "data": {
- "type": "supplier_companies",
- "id": "1",
- "attributes": {
- "name": "Supplier Company Name Updated",
- "description": "Suppler Company Description Updated",
- "is_suggested": false,
- "accept_all_currencies": false,
- "public": false,
- "risk": "medium",
- "segmentation": "tier_2",
- "segmentation_status": "not_approved",
- "segmentation_notes": "Segmentation Notes Updated",
- "tags": [
- "tag1",
- "tag2",
- "tag3"
], - "external_id": "1234-5678-abcd-efgh",
- "updated_at": "2019-10-29T21:28:46.790Z",
- "self_registered": false,
- "onboarding_form_completion_status": null,
- "duns_number": null,
- "custom_fields": [
- {
- "name": "Custom Field Currency",
- "value": 1234567890
}, - {
- "name": "Custom Field Integer",
- "value": 1234567890
}, - {
- "name": "Custom Field Checkbox",
- "value": true
}, - {
- "name": "Custom Field Decimal",
- "value": 123456.78
}, - {
- "name": "Custom Field Date",
- "value": "2018-12-31T00:00:00.000Z"
}, - {
- "name": "Custom Field Select",
- "value": "Select Option"
}, - {
- "name": "Custom Field Multiple",
- "value": [
- "Multiple Select Option 1",
- "Multiple Select Option 2"
]
}, - {
- "name": "Custom Field Short Text",
- "value": "some short text"
}, - {
- "name": "Custom Field Paragraph",
- "value": "longer text than short text"
},
]
}, - "relationships": {
- "attachments": {
- "data": [ ]
}, - "default_payment_currency": {
- "data": null
}, - "default_payment_term": {
- "data": null
}, - "default_payment_type": {
- "data": null
}, - "supplier_category": {
- "data": null
}, - "payment_currencies": {
- "data": [ ]
}, - "payment_types": {
- "data": [ ]
}, - "supplier_groups": {
- "data": [ ]
}, - "supplier_classification_values": {
- "data": [ ]
}
},
}
}
Delete a Supplier Company by External ID
Deletes a supplier company. You need to supply the unique supplier company external identifier (the one you used when created the supplier company).
Authorizations:
path Parameters
external_id required | string Example: 1234-5678-abcd-efgh Supplier company external identifier. |
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" \ -X DELETE \ "https://api.scoutrfp.com/v3/supplier_companies/SUP-1234/external_id"
Describe Supplier Company object
Returns a list of fields for the supplier company object.
Authorizations:
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.scoutrfp.com/v3/supplier_companies/describe"
Response samples
- 200
{- "data": [
- {
- "id": "name",
- "type": "supplier_company_fields",
- "attributes": {
- "name": "name",
- "data_type": "string",
- "scout_field_type": "Short Text",
- "custom_field": false
}
}, - {
- "id": "description",
- "type": "supplier_company_fields",
- "attributes": {
- "name": "description",
- "data_type": "string",
- "scout_field_type": "Paragraph",
- "custom_field": false
}
}, - {
- "id": "is_suggested",
- "type": "supplier_company_fields",
- "attributes": {
- "name": "is_suggested",
- "data_type": "boolean",
- "scout_field_type": "Checkbox",
- "custom_field": false
}
}, - {
- "id": "public",
- "type": "supplier_company_fields",
- "attributes": {
- "name": "public",
- "data_type": "boolean",
- "scout_field_type": "Checkbox",
- "custom_field": false
}
}, - {
- "id": "risk",
- "type": "supplier_company_fields",
- "attributes": {
- "name": "risk",
- "data_type": "string",
- "scout_field_type": "Single Select",
- "custom_field": false
}
}, - {
- "id": "segmentation",
- "type": "supplier_company_fields",
- "attributes": {
- "name": "segmentation",
- "data_type": "string",
- "scout_field_type": "Single Select",
- "custom_field": false
}
}, - {
- "id": "segmentation_notes",
- "type": "supplier_company_fields",
- "attributes": {
- "name": "segmentation_notes",
- "data_type": "string",
- "scout_field_type": "Short Text",
- "custom_field": false
}
}, - {
- "id": "segmentation_status",
- "type": "supplier_company_fields",
- "attributes": {
- "name": "segmentation_status",
- "data_type": "string",
- "scout_field_type": "Single Select",
- "custom_field": false
}
}, - {
- "id": "tags",
- "type": "supplier_company_fields",
- "attributes": {
- "name": "tags",
- "data_type": "array",
- "scout_field_type": "Multiple Select",
- "custom_field": false
}
}, - {
- "id": "url",
- "type": "supplier_company_fields",
- "attributes": {
- "name": "url",
- "data_type": "string",
- "scout_field_type": "URL",
- "custom_field": false
}
}, - {
- "id": "external_id",
- "type": "supplier_company_fields",
- "attributes": {
- "name": "external_id",
- "data_type": "string",
- "scout_field_type": "Short Text",
- "custom_field": false
}
}, - {
- "id": "updated_at",
- "type": "supplier_company_fields",
- "attributes": {
- "name": "updated_at",
- "data_type": "string",
- "scout_field_type": "Date",
- "custom_field": false
}
}, - {
- "id": "duns_number",
- "type": "supplier_company_fields",
- "attributes": {
- "name": "duns_number",
- "data_type": "string",
- "scout_field_type": "Short Text",
- "custom_field": false
}
}, - {
- "id": "custom_field_1",
- "type": "supplier_company_fields",
- "attributes": {
- "name": "Custom field #1",
- "data_type": "string",
- "scout_field_type": "Short Text",
- "custom_field": true
}
}
], - "links": { },
- "meta": {
- "count": 14
}
}
type required | string (SupplierContactType) Object type, should always be |
id required | integer (SupplierContactId) Supplier contact identifier string. |
object (SupplierContactAttributes) Supplier contact attributes. | |
object (SupplierContactRelationshipCreate) Supplier contact relationships. | |
object (ResourceLinks) List of related links. |
{- "type": "supplier_contacts",
- "id": "1",
- "attributes": {
- "name": "Supplier Contact Name #1",
- "first_name": null,
- "last_name": null,
- "email": "supplier.contact1@example.com",
- "notes": "Supplier Contact Notes",
- "phone_number": "555-555-5555",
- "job_title": "Supplier Contact Job Title",
- "is_suggested": false,
- "external_id": "CNT-17",
- "updated_at": "2019-10-29T21:28:46.790Z"
}, - "relationships": {
- "supplier_company": {
- "data": {
- "id": "1",
- "type": "supplier_companies"
}
}, - "contact_types": {
- "data": [
- {
- "id": "1",
- "type": "contact_types"
}
]
}, - "phones": {
- "data": [
- {
- "id": "1",
- "type": "phones"
}
]
}
},
}
List Supplier Contacts
Retrieves the list of contacts for an existing supplier company.
Authorizations:
path Parameters
company_id required | integer Example: 1 Unique supplier company identifier. |
query Parameters
include | string (SupplierContactRelatedResources) Enum: "supplier_company" "contact_types" "phones" To reduce the number of HTTP requests, related resources can be requested along with the
requested primary resources. Such responses are called "compound documents". In a compound
document, all included resources will be represented as an array of resource objects in a
top-level The value of the
In the response, relationships will be represented as normal linkage objects (containing
|
object (SupplierContactInputFilter) Filter supplier contacts by multiple criteria. Only one filter per attribute is supported. For best performance, we recommend 5 or less filters. |
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.scoutrfp.com/v3/supplier_companies/1/supplier_contacts"
Response samples
- 200
{- "meta": {
- "count": 2
}, - "data": [
- {
- "type": "supplier_contacts",
- "id": "1",
- "attributes": {
- "name": "Supplier Contact Name #1",
- "first_name": null,
- "last_name": null,
- "email": "supplier.contact1@example.com",
- "notes": "Supplier Contact Notes",
- "phone_number": "555-555-5555",
- "job_title": "Supplier Contact Job Title",
- "is_suggested": false,
- "external_id": "CNT-17",
- "updated_at": "2019-10-29T21:28:46.790Z"
}, - "relationships": {
- "supplier_company": {
- "data": {
- "id": "1",
- "type": "supplier_companies"
}
}, - "contact_types": {
- "data": [
- {
- "id": 1,
- "type": "contact_types"
}
]
}, - "phones": {
- "data": [
- {
- "id": 1,
- "type": "phones"
}
]
}
},
}, - {
- "type": "supplier_contacts",
- "id": "2",
- "attributes": {
- "name": "Supplier Contact Name #2",
- "first_name": null,
- "last_name": null,
- "email": "supplier.contact2@example.com",
- "notes": "Supplier Contact Notes",
- "phone_number": "555-555-5555",
- "job_title": "Supplier Contact Job Title",
- "is_suggested": false,
- "external_id": "CNT-18",
- "updated_at": "2019-10-29T21:28:46.790Z"
}, - "relationships": {
- "supplier_company": {
- "data": {
- "id": "1",
- "type": "supplier_companies"
}
}, - "contact_types": {
- "data": [
- {
- "id": "1",
- "type": "contact_types"
}, - {
- "id": "2",
- "type": "contact_types"
}
]
}, - "phones": {
- "data": [
- {
- "id": "2",
- "type": "phones"
}
]
}
},
}
],
}
Create a Supplier Contact
Create a supplier contact with given attributes.
Linked Resources
The supplier company should exist prior to being linked to the supplier contact. It can be
referenced by Workday Strategic Sourcing identifier, or by external ID; in the latter case, the relationship
name is used with prefix external_
. For example, a supplier company with Workday Strategic Sourcing ID "1"
and
external ID "SCM-1"
can be used to initialize supplier_company
:
{
"supplier_company": {
"data" {
"id": "1",
"type": "supplier_companies"
}
}
}
{
"external_supplier_company": {
"data" {
"id": "SCM-1",
"type": "supplier_companies"
}
}
}
Authorizations:
query Parameters
include | string (SupplierContactRelatedResources) Enum: "supplier_company" "contact_types" "phones" Use the |
Request Body schema: application/vnd.api+json
object (SupplierContactCreate) |
Responses
Request samples
- Payload
- Curl
{- "data": {
- "type": "supplier_contacts",
- "attributes": {
- "name": "Supplier Contact Name",
- "email": "supplier.contact1@example.com",
- "notes": "Supplier Contact Notes",
- "phone_number": "555-555-5555",
- "job_title": "Supplier Contact Job Title",
- "is_suggested": false,
- "external_id": "CNT-17"
}, - "relationships": {
- "supplier_company": {
- "data": {
- "id": "1",
- "type": "supplier_companies"
}
}, - "contact_types": {
- "data": [
- {
- "id": 1,
- "type": "contact_types"
}
]
}
}
}
}
Response samples
- 201
{- "data": {
- "type": "supplier_contacts",
- "id": "1",
- "attributes": {
- "name": "Supplier Contact Name",
- "first_name": null,
- "last_name": null,
- "email": "supplier.contact1@example.com",
- "notes": "Supplier Contact Notes",
- "phone_number": "555-555-5555",
- "job_title": "Supplier Contact Job Title",
- "is_suggested": false,
- "external_id": "CNT-17",
- "updated_at": "2019-10-29T21:28:46.790Z"
}, - "relationships": {
- "supplier_company": {
- "data": {
- "id": "1",
- "type": "supplier_companies"
}
}, - "contact_types": {
- "data": [
- {
- "id": "1",
- "type": "contact_types"
}
]
}, - "phones": {
- "data": [
- {
- "id": "1",
- "type": "phones"
}
]
}
},
}
}
Get a Supplier Contact
Retrieves the details of an existing supplier contact.
Authorizations:
path Parameters
id required | integer Example: 1 Unique supplier contact identifier. |
query Parameters
include | string (SupplierContactRelatedResources) Enum: "supplier_company" "contact_types" "phones" 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.scoutrfp.com/v3/supplier_contacts/1"
Response samples
- 200
{- "data": {
- "type": "supplier_contacts",
- "id": "1",
- "attributes": {
- "name": "Supplier Contact Name",
- "first_name": null,
- "last_name": null,
- "email": "supplier.contact1@example.com",
- "notes": "Supplier Contact Notes",
- "phone_number": "555-555-5555",
- "job_title": "Supplier Contact Job Title",
- "is_suggested": false,
- "external_id": "CNT-17",
- "updated_at": "2019-10-29T21:28:46.790Z"
}, - "relationships": {
- "supplier_company": {
- "data": {
- "id": "1",
- "type": "supplier_companies"
}
}, - "contact_types": {
- "data": [
- {
- "id": "1",
- "type": "contact_types"
}
]
}, - "phones": {
- "data": [
- {
- "id": "1",
- "type": "phones"
}
]
}
},
}
}
Update a Supplier Contact
Updates the details of an existing supplier contact. You need to supply the unique supplier company and contact identifiers.
Please note, that request body must include an id
attribute with the value of your supplier
contact unique identifier (the same one you passed in the URL).
Authorizations:
path Parameters
id required | integer Example: 1 Unique supplier contact identifier. |
query Parameters
include | string (SupplierContactRelatedResources) Enum: "supplier_company" "contact_types" "phones" Use the |
Request Body schema: application/vnd.api+json
object (SupplierContactUpdate) |
Responses
Request samples
- Payload
- Curl
{- "value": {
- "data": {
- "type": "supplier_contacts",
- "id": "1",
- "attributes": {
- "name": "Supplier Contact Name Updated",
- "email": "supplier.contact.updated@example.com",
- "notes": "Supplier Contact Notes Updated",
- "phone_number": "777-777-7777",
- "job_title": "Supplier Contact Job Title Updated",
- "is_suggested": false,
- "external_id": "CNT-18"
}, - "relationships": {
- "contact_types": {
- "data": [
- {
- "id": 1,
- "type": "contact_types"
}
]
}
}
}
}
}
Response samples
- 200
- 409
{- "data": {
- "type": "supplier_contacts",
- "id": "1",
- "attributes": {
- "name": "Supplier Contact Name Updated",
- "first_name": null,
- "last_name": null,
- "email": "supplier.contact.updated@example.com",
- "notes": "Supplier Contact Notes Updated",
- "phone_number": "777-777-7777",
- "job_title": "Supplier Contact Job Title Updated",
- "is_suggested": false,
- "external_id": "CNT-18",
- "updated_at": "2019-10-29T21:28:46.790Z"
}, - "relationships": {
- "supplier_company": {
- "data": {
- "id": "2",
- "type": "supplier_companies"
}
}, - "contact_types": {
- "data": [
- {
- "id": "2",
- "type": "contact_types"
}
]
}, - "phones": {
- "data": [
- {
- "id": "2",
- "type": "phones"
}
]
}
},
}
}
Delete a Supplier Contact
Deletes a supplier contact.
Authorizations:
path Parameters
id required | integer Example: 1 Unique supplier contact identifier. |
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" \ -X DELETE \ "https://api.scoutrfp.com/v3/supplier_contacts/1/external_id"
List Supplier Contacts by Supplier Company External ID
Retrieves the list of contacts for an existing supplier company by Supplier Company External ID.
Authorizations:
path Parameters
external_id required | string Example: 1234-5678-abcd-efgh Supplier company external identifier. |
query Parameters
include | string (SupplierContactRelatedResources) Enum: "supplier_company" "contact_types" "phones" To reduce the number of HTTP requests, related resources can be requested along with the
requested primary resources. Such responses are called "compound documents". In a compound
document, all included resources will be represented as an array of resource objects in a
top-level The value of the
In the response, relationships will be represented as normal linkage objects (containing
|
object (SupplierContactInputFilter) Filter supplier contacts by multiple criteria. Only one filter per attribute is supported. For best performance, we recommend 5 or less filters. |
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.scoutrfp.com/v3/supplier_companies/1234-5678-abcd-efgh/supplier_contacts/external_id"
Response samples
- 200
{- "meta": {
- "count": 2
}, - "data": [
- {
- "type": "supplier_contacts",
- "id": "1",
- "attributes": {
- "name": "John Doe",
- "first_name": "John",
- "last_name": "Doe",
- "email": "supplier.contact1@example.com",
- "notes": "Supplier Contact Notes",
- "phone_number": "555-555-5555",
- "job_title": "Supplier Contact Job Title",
- "is_suggested": false,
- "external_id": "CNT-17",
- "updated_at": "2019-10-29T21:28:46.790Z"
}, - "relationships": {
- "supplier_company": {
- "data": {
- "id": "1",
- "type": "supplier_companies"
}
}, - "contact_types": {
- "data": [ ]
}, - "phones": {
- "data": [
- {
- "id": "1",
- "type": "phones"
}
]
}
},
}, - {
- "type": "supplier_contacts",
- "id": "2",
- "attributes": {
- "name": "Supplier Contact Name #2",
- "first_name": null,
- "last_name": null,
- "email": "supplier.contact2@example.com",
- "notes": "Supplier Contact Notes",
- "phone_number": "555-555-5555",
- "job_title": "Supplier Contact Job Title",
- "is_suggested": false,
- "external_id": "CNT-18",
- "updated_at": "2019-10-29T21:28:46.790Z"
}, - "relationships": {
- "supplier_company": {
- "data": {
- "id": "1",
- "type": "supplier_companies"
}
}, - "contact_types": {
- "data": [ ]
}, - "phones": {
- "data": [
- {
- "id": "2",
- "type": "phones"
}
]
}
},
}
],
}
Get a Supplier Contact by External ID
Retrieves the details of an existing supplier contact by Supplier Contact External ID.
Authorizations:
path Parameters
external_id required | string Example: CNT-17 Unique supplier contact identifier. |
query Parameters
include | string (SupplierContactRelatedResources) Enum: "supplier_company" "contact_types" "phones" 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.scoutrfp.com/v3/supplier_contacts/CNT-17/external_id"
Response samples
- 200
{- "data": {
- "type": "supplier_contacts",
- "id": "1",
- "attributes": {
- "name": "John Doe",
- "first_name": "John",
- "last_name": "Doe",
- "email": "supplier.contact1@example.com",
- "notes": "Supplier Contact Notes",
- "phone_number": "555-555-5555",
- "job_title": "Supplier Contact Job Title",
- "is_suggested": false,
- "external_id": "CNT-17",
- "updated_at": "2019-10-29T21:28:46.790Z"
}, - "relationships": {
- "supplier_company": {
- "data": {
- "id": "1",
- "type": "supplier_companies"
}
}, - "contact_types": {
- "data": [ ]
}, - "phones": {
- "data": [
- {
- "id": "1",
- "type": "phones"
}
]
}
},
}
}
Update a Supplier Contact by External ID
Updates the details of an existing supplier contact by Supplir Contact External ID.
Please note, that request body must include an id
attribute with the value of your supplier
contact unique identifier (the same one you passed in the URL).
Authorizations:
path Parameters
external_id required | string Example: CNT-17 Unique supplier contact external identifier. |
query Parameters
include | string (SupplierContactRelatedResources) Enum: "supplier_company" "contact_types" "phones" Use the |
Request Body schema: application/vnd.api+json
object (SupplierContactUpdate) |
Responses
Request samples
- Payload
- Curl
{- "value": {
- "data": {
- "type": "supplier_contacts",
- "id": "CNT-17",
- "attributes": {
- "first_name": "John-Updated",
- "last_name": "Doe-Updated",
- "email": "supplier.contact.updated@example.com",
- "notes": "Supplier Contact Notes Updated",
- "phone_number": "777-777-7777",
- "job_title": "Supplier Contact Job Title Updated",
- "is_suggested": false,
- "external_id": "CNT-18"
}, - "relationships": {
- "contact_types": {
- "data": [
- {
- "id": 1,
- "type": "contact_types"
}
]
}
}
}
}
}
Response samples
- 200
{- "data": {
- "type": "supplier_contacts",
- "id": "1",
- "attributes": {
- "name": "John-Updated Doe-Updated",
- "first_name": "John-Updated",
- "last_name": "Doe-Updated",
- "email": "supplier.contact.updated@example.com",
- "notes": "Supplier Contact Notes Updated",
- "phone_number": "777-777-7777",
- "job_title": "Supplier Contact Job Title Updated",
- "is_suggested": false,
- "external_id": "CNT-18",
- "updated_at": "2019-10-29T21:28:46.790Z"
}, - "relationships": {
- "supplier_company": {
- "data": {
- "id": "2",
- "type": "supplier_companies"
}
}, - "contact_types": {
- "data": [
- {
- "id": "2",
- "type": "contact_types"
}
]
}, - "phones": {
- "data": [
- {
- "id": "1",
- "type": "phones"
}
]
}
},
}
}
Delete a Supplier Contact by External ID
Deletes a supplier contact by Supplier Contact External ID.
Authorizations:
path Parameters
external_id required | string Example: CNT-17 Unique supplier contact identifier. |
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" \ -X DELETE \ "https://api.scoutrfp.com/v3/supplier_contacts/CNT-17/external_id"
Create Supplier Contact by Supplier Company External ID
Create a supplier contact with given attributes by Supplier Company External ID.
Authorizations:
Request Body schema: application/vnd.api+json
object (SupplierContactCreate) |
Responses
Request samples
- Payload
- Curl
{- "value": {
- "data": {
- "type": "supplier_contacts",
- "attributes": {
- "first_name": "John",
- "last_name": "Doe",
- "email": "supplier.contact1@example.com",
- "notes": "Supplier Contact Notes",
- "phone_number": "555-555-5555",
- "job_title": "Supplier Contact Job Title",
- "is_suggested": false,
- "external_id": "CNT-17"
}, - "relationships": {
- "supplier_company": {
- "data": {
- "id": "1234-5678-abcd-efgh",
- "type": "supplier_companies"
}
}
}
}
}
}
Response samples
- 201
{- "value": {
- "data": {
- "type": "supplier_contacts",
- "id": "1",
- "attributes": {
- "name": "John Doe",
- "first_name": "John",
- "last_name": "Doe",
- "email": "supplier.contact1@example.com",
- "notes": "Supplier Contact Notes",
- "phone_number": "555-555-5555",
- "job_title": "Supplier Contact Job Title",
- "is_suggested": false,
- "external_id": "CNT-17",
- "updated_at": "2019-10-29T21:28:46.790Z"
}, - "relationships": {
- "supplier_company": {
- "data": {
- "id": "1",
- "type": "supplier_companies"
}
}, - "contact_types": {
- "data": [ ]
}, - "phones": {
- "data": [
- {
- "id": "1",
- "type": "phones"
}
]
}
},
}
}
}
type required | string (SupplierClassificationType) Object type, should always be |
id required | integer (SupplierClassificationId) Supplier classification identifier string. |
object (SupplierClassificationAttributes) SupplierClassification attributes. | |
object (SupplierClassificationRelationship) Supplier classification relationships. |
{- "data": {
- "id": "1",
- "type": "supplier_classifications",
- "attributes": {
- "name": "Veteran Business",
- "active": true,
- "order": 1,
- "country_alpha2": "US",
- "external_id": "SC-EXT-ID-1",
- "request_additional_information": true,
- "codename": "diversity"
}
}
}
List Supplier Classifications
Returns a list of supplier classifications.
Authorizations:
query Parameters
include | string (SupplierClassificationRelatedResources) Value: "supplier_classification_fields" To reduce the number of HTTP requests, related resources can be requested along with the
requested primary resources. Such responses are called "compound documents". In a compound
document, all included resources will be represented as an array of resource objects in a
top-level The value of the
In the response, relationships will be represented as normal linkage objects (containing
|
object (SupplierClassificationInputFilter) Filter supplier classifications by codename. |
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.scoutrfp.com/v3/supplier_classifications"
Response samples
- 200
{- "data": [
- {
- "id": "100",
- "type": "supplier_classifications",
- "attributes": {
- "name": "Minority Business",
- "order": 1,
- "active": true,
- "country_alpha2": "CA",
- "external_id": "CLS-1",
- "request_additional_information": false,
- "codename": "diversity"
}, - "relationships": {
- "supplier_classification_fields": {
- "data": [ ]
}
},
}, - {
- "id": "200",
- "type": "supplier_classifications",
- "attributes": {
- "name": "Veteran Business",
- "order": 2,
- "active": true,
- "country_alpha2": "CA",
- "external_id": "CLS-2",
- "request_additional_information": true,
- "codename": "diversity"
}, - "relationships": {
- "supplier_classification_fields": {
- "data": [
- {
- "id": "148",
- "type": "supplier_classification_fields"
}, - {
- "id": "149",
- "type": "supplier_classification_fields"
}
]
}
},
}, - {
- "id": "300",
- "type": "supplier_classifications",
- "attributes": {
- "name": "Small Business",
- "order": 3,
- "active": true,
- "country_alpha2": "CA",
- "external_id": "CLS-3",
- "request_additional_information": true,
- "codename": "diversity"
}, - "relationships": {
- "supplier_classification_fields": {
- "data": [
- {
- "id": "150",
- "type": "supplier_classification_fields"
}, - {
- "id": "154",
- "type": "supplier_classification_fields"
}
]
}
},
}
],
}
Create a Supplier Classification
Create a supplier classifications with given attributes, relationships, and related complex resources.
{
"data": {
"type": "supplier_classifications",
"attributes": {
"name": "Classification 1",
"order": 1,
"country_alpha2": "CA",
"codename": "diversity",
"active": true,
"external_id": "CLASSIFICATION-1",
"request_additional_information": false
}
}
}
Composite Resources
Resources that do not exist outside of parent resource, and are managed within the scope of
parent resource, cannot be pre-created in advance. Supplier classifications have one composite
resource supplier_classification_fields
that includes another composite resource in itself -
supplier_classification_field_options
.
In order to create these resource along with the parent object, compound document must be used:
{
"data": {
"type": "supplier_classifications",
"attributes": {
"name": "Classification 1",
"order": 1,
"country_alpha2": "CA",
"codename": "diversity",
"active": true,
"external_id": "CLASSIFICATION-1",
"request_additional_information": true
},
"relationships": {
"supplier_classification_fields": {
"data": [
{
"id": "CLASSIFICATION-FIELD-1",
"type": "supplier_classification_fields"
},
]
}
},
"included": [
{
"id": "CLASSIFICATION-FIELD-1",
"type": "supplier_classification_fields",
"attributes": {
"name": "Field 1",
"order": 1,
"required": false,
"kind": "SELECT",
"external_id": "CLASSIFICATION-FIELD-1"
},
"relationships": {
"supplier_classification_field_options": {
"data": [
{
"id": "CLASSIFICATION-FIELD-OPTION-1",
"type": "supplier_classification_field_options"
},
{
"id": "CLASSIFICATION-FIELD-OPTION-2",
"type": "supplier_classification_field_options"
}
]
}
}
},
{
"id": "CLASSIFICATION-FIELD-OPTION-1",
"type": "supplier_classification_field_options",
"attributes": {
"label": "Option 1",
"order": 1,
"external_id": "CLASSIFICATION-FIELD-OPTION-1"
}
},
{
"id": "CLASSIFICATION-FIELD-OPTION-2",
"type": "supplier_classification_field_options",
"attributes": {
"label": "Option 2",
"order": 2,
"external_id": "CLASSIFICATION-FIELD-OPTION-2"
}
}
]
}
}
Authorizations:
query Parameters
include | string (SupplierClassificationRelatedResources) Value: "supplier_classification_fields" Use the |
Request Body schema: application/vnd.api+json
object (SupplierClassification) | |
Array of SupplierClassificationField (object) or SupplierClassificationFieldOption (object) (SupplierClassificationIncludedMutationResources) |
Responses
Request samples
- Payload
- Curl
{- "data": {
- "type": "supplier_classifications",
- "attributes": {
- "name": "SBE - Small Business Enterprise",
- "order": 1,
- "country_alpha2": "CA",
- "external_id": "SC-1",
- "codename": "diversity",
- "active": true,
- "request_additional_information": false
}
}
}
Response samples
- 201
{- "data": {
- "id": "1",
- "type": "supplier_classifications",
- "attributes": {
- "name": "SBE - Small Business Enterprise",
- "order": 1,
- "country_alpha2": "CA",
- "external_id": "SC-1",
- "codename": "diversity",
- "active": true,
- "request_additional_information": false
}, - "relationships": {
- "supplier_classification_fields": {
- "data": [ ]
}
},
}
}
Get a Supplier Classification
Retrieves the details of an existing supplier classification.
Authorizations:
path Parameters
id required | integer Example: 1 Unique supplier classification identifier. |
query Parameters
include | string (SupplierClassificationRelatedResources) Value: "supplier_classification_fields" 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.scoutrfp.com/v3/supplier_classifications/1"
Response samples
- 200
{- "data": {
- "id": "1",
- "type": "supplier_classifications",
- "attributes": {
- "name": "SBE - Small Business Enterprise",
- "order": 1,
- "active": true,
- "country_alpha2": "CA",
- "external_id": "CL-1",
- "request_additional_information": true,
- "codename": "diversity"
}, - "relationships": {
- "supplier_classification_fields": {
- "data": [
- {
- "id": "100",
- "type": "supplier_classification_fields"
}
]
}
},
}
}
Update a Supplier Classification
Update a supplier classification with given attributes, relationships, and related complex resources.
Authorizations:
path Parameters
id required | integer Example: 1 Unique Supplier Classification identifier. |
query Parameters
include | string (SupplierClassificationRelatedResources) Value: "supplier_classification_fields" Use the |
Request Body schema: application/vnd.api+json
object (SupplierClassification) | |
included | string (SupplierClassificationRelatedResources) Value: "supplier_classification_fields" |
Responses
Request samples
- Payload
- Curl
{- "data": {
- "type": "supplier_classifications",
- "id": "1",
- "attributes": {
- "name": "Veteran Business",
- "order": 1,
- "country_alpha2": "CA",
- "external_id": "SC-2",
- "codename": "diversity",
- "active": true,
- "request_additional_information": false
}
}
}
Response samples
- 200
- 409
{- "data": {
- "id": "1",
- "type": "supplier_classifications",
- "attributes": {
- "name": "Veteran Business",
- "order": 1,
- "country_alpha2": "CA",
- "external_id": "SC-2",
- "codename": "diversity",
- "active": true,
- "request_additional_information": false
}, - "relationships": {
- "supplier_classification_fields": {
- "data": [ ]
}
},
}
}
Delete a Supplier Classification
Deletes a supplier classification.
Authorizations:
path Parameters
id required | integer Example: 1 Unique supplier classification identifier. |
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" \ -X DELETE \ "https://api.scoutrfp.com/v3/supplier_classifications/1"
Get a Supplier Classification by External ID
Retrieves the details of an existing supplier classification. You need to supply the unique supplier classification external identifier (the one you used when created the supplier classification).
Authorizations:
path Parameters
external_id required | string Example: CL-1 Supplier classification external identifier. |
query Parameters
include | string (SupplierClassificationRelatedResources) Value: "supplier_classification_fields" 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.scoutrfp.com/v3/supplier_classifications/CL-1/external_id"
Response samples
- 200
{- "data": {
- "id": "1",
- "type": "supplier_classifications",
- "attributes": {
- "name": "SBE - Small Business Enterprise",
- "order": 1,
- "active": true,
- "country_alpha2": "CA",
- "external_id": "CL-1",
- "request_additional_information": true,
- "codename": "diversity"
}, - "relationships": {
- "supplier_classification_fields": {
- "data": [
- {
- "id": "100",
- "type": "supplier_classification_fields"
}
]
}
},
}
}
Update a Supplier Classification by External ID
Update a supplier classification with given attributes, relationships, and related complex resources.
Authorizations:
path Parameters
external_id required | string Example: CL-1 Supplier classification external identifier. |
query Parameters
include | string (SupplierClassificationRelatedResources) Value: "supplier_classification_fields" Use the |
Request Body schema: application/vnd.api+json
object (SupplierClassification) | |
included | string (SupplierClassificationRelatedResources) Value: "supplier_classification_fields" |
Responses
Request samples
- Payload
- Curl
{- "data": {
- "type": "supplier_classifications",
- "id": "CL-1",
- "attributes": {
- "name": "SBE - Small Business Enterprise",
- "order": 1,
- "country_alpha2": "CA",
- "external_id": "CL-1",
- "codename": "diversity",
- "active": true,
- "request_additional_information": false
}
}
}
Response samples
- 200
{- "data": {
- "id": "1",
- "type": "supplier_classifications",
- "attributes": {
- "name": "SBE - Small Business Enterprise",
- "order": 1,
- "country_alpha2": "CA",
- "external_id": "CL-1",
- "codename": "diversity",
- "active": true,
- "request_additional_information": false
}, - "relationships": {
- "supplier_classification_fields": {
- "data": [ ]
}
},
}
}
Delete a Supplier Classification by External ID
Deletes a supplier classification.
Authorizations:
path Parameters
external_id required | string Example: CL-1 Supplier classification external identifier. |
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" \ -X DELETE \ "https://api.scoutrfp.com/v3/supplier_classifications/CL-1/external_id"
Use the projects API to create, update, and query the projects in Workday Strategic Sourcing.
type required | string (ProjectType) Object type, should always be |
id required | integer (ProjectId) Project identifier string. |
object (ProjectAttributes) Project attributes. | |
object (ProjectRelationship) Project relationships. | |
object (ResourceLinks) List of related links. |
{- "type": "projects",
- "id": "1",
- "attributes": {
- "actual_end_date": "2031-12-30",
- "actual_savings_amount": 12.23,
- "actual_spend_amount": 23.45,
- "approved_spend_amount": 55.55,
- "actual_start_date": "2018-01-20",
- "approved_at": "2019-10-11T09:12:31.080Z",
- "approval_rounds": 1,
- "canceled_note": null,
- "canceled_reason": null,
- "description": "Project Description",
- "estimated_savings_amount": 11.33,
- "estimated_spend_amount": 21.12,
- "external_id": "1234-5678-abcd-efgh",
- "marked_as_needs_attention_at": null,
- "needs_attention": false,
- "needs_attention_note": null,
- "needs_attention_reason": null,
- "number": 1,
- "on_hold_note": null,
- "on_hold_reason": null,
- "project_type_id": "3",
- "first_sent_for_approval_at": "2019-10-05T05:24:12.000Z",
- "sent_for_approval_at": "2019-10-05T05:24:12.000Z",
- "spend_category_id": "2",
- "state": "active",
- "state_label": "Sourcing",
- "target_end_date": "2031-12-31",
- "target_start_date": "2018-01-15",
- "title": "Project Title",
- "updated_at": "2019-10-29T21:28:46.790Z",
- "request_submitted_at": "2019-10-29T21:28:46.790Z",
- "request_opened_at": null,
- "custom_fields": [
- {
- "name": "Custom Field Currency",
- "value": 1234567890
}, - {
- "name": "Custom Field Integer",
- "value": 1234567890
}, - {
- "name": "Custom Field Checkbox",
- "value": true
}, - {
- "name": "Custom Field Decimal",
- "value": 123456.78
}, - {
- "name": "Custom Field Date",
- "value": "2018-12-31T00:00:00.000Z"
}, - {
- "name": "Custom Field Select",
- "value": "Select Option"
}, - {
- "name": "Custom Field Multiple",
- "value": [
- "Multiple Select Option 1",
- "Multiple Select Option 2"
]
}, - {
- "name": "Custom Field Short Text",
- "value": "some short text"
}, - {
- "name": "Custom Field Paragraph",
- "value": "longer text than short text"
},
]
}, - "relationships": {
- "attachments": {
- "data": [
- {
- "id": "1",
- "type": "attachments"
}, - {
- "id": "2",
- "type": "attachments"
}
]
}, - "creator": {
- "data": {
- "id": "1",
- "type": "stakeholders"
}
}, - "requester": {
- "data": {
- "id": "3",
- "type": "stakeholders"
}
}, - "owner": {
- "data": {
- "id": "2",
- "type": "stakeholders"
}
}
},
}
List Projects
Returns a list of projects for the specified criteria.
Authorizations:
query Parameters
object (ProjectInputFilter) Filter projects by multiple criteria. Only one filter per attribute is supported. For best performance, we recommend 5 or less filters. | |
object (PageInput) Customize pagination results with |
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.scoutrfp.com/v3/projects"
Response samples
- 200
{- "meta": {
- "count": 2
}, - "data": [
- {
- "type": "projects",
- "id": "1",
- "attributes": {
- "actual_end_date": "2031-12-30",
- "actual_savings_amount": 12.23,
- "actual_spend_amount": 23.45,
- "approved_spend_amount": 55.55,
- "actual_start_date": "2018-01-20",
- "approved_at": "2019-10-11T09:12:31.080Z",
- "approval_rounds": 1,
- "canceled_note": null,
- "canceled_reason": null,
- "description": "Project Description",
- "estimated_savings_amount": 11.33,
- "estimated_spend_amount": 21.12,
- "external_id": "1234-5678-abcd-efgh",
- "marked_as_needs_attention_at": null,
- "needs_attention": false,
- "needs_attention_note": null,
- "needs_attention_reason": null,
- "number": 1,
- "on_hold_note": null,
- "on_hold_reason": null,
- "project_type_id": "3",
- "first_sent_for_approval_at": "2019-10-05T05:24:12.000Z",
- "sent_for_approval_at": "2019-10-05T05:24:12.000Z",
- "spend_category_id": "2",
- "state": "active",
- "state_label": "Sourcing",
- "target_end_date": "2031-12-31",
- "target_start_date": "2018-01-15",
- "title": "Project Title",
- "updated_at": "2019-10-29T21:28:46.790Z",
- "request_submitted_at": "2019-10-28T21:28:46.790Z",
- "request_opened_at": null,
- "custom_fields": [
- {
- "name": "Custom Field Currency",
- "value": 1234567890
}, - {
- "name": "Custom Field Integer",
- "value": 1234567890
}, - {
- "name": "Custom Field Checkbox",
- "value": true
}, - {
- "name": "Custom Field Decimal",
- "value": 123456.78
}, - {
- "name": "Custom Field Date",
- "value": "2018-12-31T00:00:00.000Z"
}, - {
- "name": "Custom Field Select",
- "value": "Select Option"
}, - {
- "name": "Custom Field Multiple",
- "value": [
- "Multiple Select Option 1",
- "Multiple Select Option 2"
]
}, - {
- "name": "Custom Field Short Text",
- "value": "some short text"
}, - {
- "name": "Custom Field Paragraph",
- "value": "longer text than short text"
},
]
}, - "relationships": {
- "attachments": {
- "data": [
- {
- "id": "1",
- "type": "attachments"
}, - {
- "id": "2",
- "type": "attachments"
}
]
}, - "creator": {
- "data": {
- "id": "1",
- "type": "stakeholders"
}
}, - "requester": {
- "data": {
- "id": "3",
- "type": "stakeholders"
}
}, - "owner": {
- "data": {
- "id": "1",
- "type": "stakeholders"
}
}
},
}, - {
- "type": "projects",
- "id": "2",
- "attributes": {
- "actual_end_date": "2032-11-20",
- "actual_savings_amount": 212.23,
- "actual_spend_amount": 223.45,
- "approved_spend_amount": 255.55,
- "actual_start_date": "2019-02-20",
- "approved_at": "2019-10-11T09:12:31.080Z",
- "approval_rounds": 1,
- "canceled_note": null,
- "canceled_reason": null,
- "description": "Project #2 Description",
- "estimated_savings_amount": 211.33,
- "estimated_spend_amount": 221.12,
- "external_id": "abcd-efgh-1234-5678",
- "marked_as_needs_attention_at": null,
- "needs_attention": false,
- "needs_attention_note": null,
- "needs_attention_reason": null,
- "number": 2,
- "on_hold_note": null,
- "on_hold_reason": null,
- "project_type_id": "3",
- "first_sent_for_approval_at": "2019-10-05T05:24:12.000Z",
- "sent_for_approval_at": "2019-10-05T05:24:12.000Z",
- "spend_category_id": "2",
- "state": "active",
- "state_label": "Sourcing",
- "target_end_date": "2032-11-21",
- "target_start_date": "2019-02-15",
- "title": "Project #2 Title",
- "updated_at": "2019-10-29T21:28:46.790Z",
- "request_submitted_at": "2019-10-28T21:28:46.790Z",
- "request_opened_at": null,
- "custom_fields": [
- {
- "name": "Custom Field Currency",
- "value": 1234567890
}, - {
- "name": "Custom Field Integer",
- "value": 1234567890
}, - {
- "name": "Custom Field Checkbox",
- "value": true
}, - {
- "name": "Custom Field Decimal",
- "value": 123456.78
}, - {
- "name": "Custom Field Date",
- "value": "2018-12-31T00:00:00.000Z"
}, - {
- "name": "Custom Field Select",
- "value": "Select Option"
}, - {
- "name": "Custom Field Multiple",
- "value": [
- "Multiple Select Option 1",
- "Multiple Select Option 2"
]
}, - {
- "name": "Custom Field Short Text",
- "value": "some short text"
}, - {
- "name": "Custom Field Paragraph",
- "value": "longer text than short text"
},
]
}, - "relationships": {
- "attachments": {
- "data": [ ]
}, - "creator": {
- "data": {
- "id": "1",
- "type": "stakeholders"
}
}, - "requester": {
- "data": {
- "id": "3",
- "type": "stakeholders"
}
}, - "owner": {
- "data": {
- "id": "1",
- "type": "stakeholders"
}
}
},
}
], - "links": {
}
}
Create a Project
Create a project with given attributes.
Authorizations:
Request Body schema: application/vnd.api+json
object (ProjectCreate) |
Responses
Request samples
- Payload
- Curl
{- "data": {
- "type": "projects",
- "attributes": {
- "actual_end_date": "2031-12-30",
- "actual_savings_amount": "12.23",
- "actual_spend_amount": "23.45",
- "approved_spend_amount": "55.55",
- "actual_start_date": "2018-01-20",
- "canceled_note": null,
- "canceled_reason": null,
- "description": "Project Description",
- "estimated_savings_amount": "11.33",
- "estimated_spend_amount": "21.12",
- "external_id": "1234-5678-abcd-efgh",
- "needs_attention": false,
- "needs_attention_note": null,
- "needs_attention_reason": null,
- "on_hold_note": null,
- "on_hold_reason": null,
- "project_type_id": "3",
- "spend_category_id": "2",
- "state": "active",
- "state_label": "Sourcing",
- "target_end_date": "2031-12-31",
- "target_start_date": "2018-01-15",
- "title": "Project Title",
- "custom_fields": [
- {
- "name": "Custom Field Currency",
- "value": 1234567890
}, - {
- "name": "Custom Field Integer",
- "value": 1234567890
}, - {
- "name": "Custom Field Checkbox",
- "value": true
}, - {
- "name": "Custom Field Decimal",
- "value": 123456.78
}, - {
- "name": "Custom Field Date",
- "value": "2018-12-31T00:00:00.000Z"
}, - {
- "name": "Custom Field Select",
- "value": "Select Option"
}, - {
- "name": "Custom Field Multiple",
- "value": [
- "Multiple Select Option 1",
- "Multiple Select Option 2"
]
}, - {
- "name": "Custom Field Short Text",
- "value": "some short text"
}, - {
- "name": "Custom Field Paragraph",
- "value": "longer text than short text"
},
]
}, - "relationships": {
- "owner": {
- "meta": {
- "email": "contract.owner@example.com"
}
}, - "requester": {
- "meta": {
- "email": "requester@example.com"
}
}
}
}
}
Response samples
- 201
{- "data": {
- "type": "projects",
- "id": "1",
- "attributes": {
- "actual_end_date": "2031-12-30",
- "actual_savings_amount": 12.23,
- "actual_spend_amount": 23.45,
- "approved_spend_amount": 55.55,
- "actual_start_date": "2018-01-20",
- "approved_at": null,
- "approval_rounds": 0,
- "canceled_note": null,
- "canceled_reason": null,
- "description": "Project Description",
- "estimated_savings_amount": 11.33,
- "estimated_spend_amount": 21.12,
- "external_id": "1234-5678-abcd-efgh",
- "marked_as_needs_attention_at": null,
- "needs_attention": false,
- "needs_attention_note": null,
- "needs_attention_reason": null,
- "number": 1,
- "on_hold_note": null,
- "on_hold_reason": null,
- "project_type_id": "3",
- "first_sent_for_approval_at": null,
- "sent_for_approval_at": null,
- "spend_category_id": "2",
- "state": "active",
- "state_label": "Sourcing",
- "target_end_date": "2031-12-31",
- "target_start_date": "2018-01-15",
- "title": "Project Title",
- "updated_at": "2019-10-29T21:28:46.790Z",
- "request_submitted_at": "2019-10-28T21:28:46.790Z",
- "request_opened_at": null,
- "custom_fields": [
- {
- "name": "Custom Field Currency",
- "value": 1234567890
}, - {
- "name": "Custom Field Integer",
- "value": 1234567890
}, - {
- "name": "Custom Field Checkbox",
- "value": true
}, - {
- "name": "Custom Field Decimal",
- "value": 123456.78
}, - {
- "name": "Custom Field Date",
- "value": "2018-12-31T00:00:00.000Z"
}, - {
- "name": "Custom Field Select",
- "value": "Select Option"
}, - {
- "name": "Custom Field Multiple",
- "value": [
- "Multiple Select Option 1",
- "Multiple Select Option 2"
]
}, - {
- "name": "Custom Field Short Text",
- "value": "some short text"
}, - {
- "name": "Custom Field Paragraph",
- "value": "longer text than short text"
},
]
}, - "relationships": {
- "attachments": {
- "data": [ ]
}, - "creator": {
- "data": {
- "id": "2",
- "type": "stakeholders"
}
}, - "requester": {
- "data": {
- "id": "3",
- "type": "stakeholders"
}
}, - "owner": {
- "data": {
- "id": "2",
- "type": "stakeholders"
}
}
},
}
}
Get a Project
Retrieves the details of an existing project. You need to supply the unique project identifier that was returned upon project creation.
Authorizations:
path Parameters
id required | integer Example: 1 Unique Project identifier. |
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.scoutrfp.com/v3/projects/1"
Response samples
- 200
{- "data": {
- "type": "projects",
- "id": "1",
- "attributes": {
- "actual_end_date": "2031-12-30",
- "actual_savings_amount": 12.23,
- "actual_spend_amount": 23.45,
- "approved_spend_amount": 55.55,
- "actual_start_date": "2018-01-20",
- "approved_at": "2019-10-11T09:12:31.080Z",
- "approval_rounds": 1,
- "canceled_note": null,
- "canceled_reason": null,
- "description": "Project Description",
- "estimated_savings_amount": 11.33,
- "estimated_spend_amount": 21.12,
- "external_id": "1234-5678-abcd-efgh",
- "marked_as_needs_attention_at": null,
- "needs_attention": false,
- "needs_attention_note": null,
- "needs_attention_reason": null,
- "number": 1,
- "on_hold_note": null,
- "on_hold_reason": null,
- "project_type_id": "3",
- "first_sent_for_approval_at": "2019-10-05T05:24:12.000Z",
- "sent_for_approval_at": "2019-10-05T05:24:12.000Z",
- "spend_category_id": "2",
- "state": "active",
- "state_label": "Sourcing",
- "target_end_date": "2031-12-31",
- "target_start_date": "2018-01-15",
- "title": "Project Title",
- "updated_at": "2019-10-29T21:28:46.790Z",
- "request_submitted_at": "2019-10-28T21:28:46.790Z",
- "request_opened_at": null,
- "custom_fields": [
- {
- "name": "Custom Field Currency",
- "value": 1234567890
}, - {
- "name": "Custom Field Integer",
- "value": 1234567890
}, - {
- "name": "Custom Field Checkbox",
- "value": true
}, - {
- "name": "Custom Field Decimal",
- "value": 123456.78
}, - {
- "name": "Custom Field Date",
- "value": "2018-12-31T00:00:00.000Z"
}, - {
- "name": "Custom Field Select",
- "value": "Select Option"
}, - {
- "name": "Custom Field Multiple",
- "value": [
- "Multiple Select Option 1",
- "Multiple Select Option 2"
]
}, - {
- "name": "Custom Field Short Text",
- "value": "some short text"
}, - {
- "name": "Custom Field Paragraph",
- "value": "longer text than short text"
},
]
}, - "relationships": {
- "attachments": {
- "data": [
- {
- "id": "1",
- "type": "attachments"
}, - {
- "id": "2",
- "type": "attachments"
}
]
}, - "creator": {
- "data": {
- "id": "1",
- "type": "stakeholders"
}
}, - "requester": {
- "data": {
- "id": "3",
- "type": "stakeholders"
}
}, - "owner": {
- "data": {
- "id": "1",
- "type": "stakeholders"
}
}
},
}
}
Update a Project
Updates the details of an existing project. You need to supply the unique supplier project that was returned upon project creation.
Please note, that request body must include an id
attribute with the value of your project
unique identifier (the same one you passed in the URL).
Authorizations:
path Parameters
id required | integer Example: 1 Unique Project identifier. |
Request Body schema: application/vnd.api+json
object (ProjectUpdate) |
Responses
Request samples
- Payload
- Curl
{- "data": {
- "type": "projects",
- "id": "1",
- "attributes": {
- "actual_end_date": "2031-12-30",
- "actual_savings_amount": "212.23",
- "actual_spend_amount": "223.45",
- "approved_spend_amount": "255.55",
- "actual_start_date": "2019-01-20",
- "canceled_note": null,
- "canceled_reason": null,
- "description": "Project Description Updated",
- "estimated_savings_amount": "211.33",
- "estimated_spend_amount": "221.12",
- "external_id": "1234-5678-abcd-efgh",
- "needs_attention": false,
- "needs_attention_note": null,
- "needs_attention_reason": null,
- "on_hold_note": null,
- "on_hold_reason": null,
- "project_type_id": "3",
- "spend_category_id": "2",
- "state": "active",
- "state_label": "Sourcing",
- "target_end_date": "2032-12-31",
- "target_start_date": "2019-01-15",
- "title": "Project Title Updated",
- "custom_fields": [
- {
- "name": "Custom Field Currency",
- "value": 987654321
}, - {
- "name": "Custom Field Integer",
- "value": 987654321
}, - {
- "name": "Custom Field Checkbox",
- "value": false
}, - {
- "name": "Custom Field Decimal",
- "value": 876543.21
}, - {
- "name": "Custom Field Date",
- "value": "2018-12-25T00:00:00.000Z"
}, - {
- "name": "Custom Field Select",
- "value": "Select Option"
}, - {
- "name": "Custom Field Multiple",
- "value": [
- "Multiple Select Option 2"
]
}, - {
- "name": "Custom Field Short Text",
- "value": "some short text updated"
}, - {
- "name": "Custom Field Paragraph",
- "value": "longer text than short text updated"
},
]
}, - "relationships": {
- "owner": {
- "meta": {
- "email": "contract.owner@example.com"
}
}, - "requester": {
- "meta": {
- "email": "requester@example.com"
}
}
}
}
}
Response samples
- 200
- 409
{- "data": {
- "type": "projects",
- "id": "1",
- "attributes": {
- "actual_end_date": "2031-12-30",
- "actual_savings_amount": 212.23,
- "actual_spend_amount": 223.45,
- "approved_spend_amount": 255.55,
- "actual_start_date": "2019-01-20",
- "approved_at": "2019-10-11T09:12:31.080Z",
- "approval_rounds": 1,
- "canceled_note": null,
- "canceled_reason": null,
- "description": "Project Description Updated",
- "estimated_savings_amount": 211.33,
- "estimated_spend_amount": 221.12,
- "external_id": "1234-5678-abcd-efgh",
- "marked_as_needs_attention_at": null,
- "needs_attention": false,
- "needs_attention_note": null,
- "needs_attention_reason": null,
- "number": 1,
- "on_hold_note": null,
- "on_hold_reason": null,
- "project_type_id": "3",
- "first_sent_for_approval_at": "2019-10-05T05:24:12.000Z",
- "sent_for_approval_at": "2019-10-05T05:24:12.000Z",
- "spend_category_id": "2",
- "state": "active",
- "state_label": "Sourcing",
- "target_end_date": "2032-12-31",
- "target_start_date": "2019-01-15",
- "title": "Project Title Updated",
- "updated_at": "2019-10-29T21:28:46.790Z",
- "request_submitted_at": "2019-10-28T21:28:46.790Z",
- "request_opened_at": null,
- "custom_fields": [
- {
- "name": "Custom Field Currency",
- "value": 987654321
}, - {
- "name": "Custom Field Integer",
- "value": 987654321
}, - {
- "name": "Custom Field Checkbox",
- "value": false
}, - {
- "name": "Custom Field Decimal",
- "value": 876543.21
}, - {
- "name": "Custom Field Date",
- "value": "2018-12-25T00:00:00.000Z"
}, - {
- "name": "Custom Field Select",
- "value": "Select Option"
}, - {
- "name": "Custom Field Multiple",
- "value": [
- "Multiple Select Option 2"
]
}, - {
- "name": "Custom Field Short Text",
- "value": "some short text updated"
}, - {
- "name": "Custom Field Paragraph",
- "value": "longer text than short text updated"
},
]
}, - "relationships": {
- "attachments": {
- "data": [
- {
- "id": "1",
- "type": "attachments"
}, - {
- "id": "2",
- "type": "attachments"
}
]
}, - "creator": {
- "data": {
- "id": "1",
- "type": "stakeholders"
}
}, - "requester": {
- "data": {
- "id": "3",
- "type": "stakeholders"
}
}, - "owner": {
- "data": {
- "id": "1",
- "type": "stakeholders"
}
}
},
}
}
Delete a Project
Deletes a project. You need to supply the unique project identifier that was returned upon project creation.
Authorizations:
path Parameters
id required | integer Example: 1 Unique Project identifier. |
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" \ -X DELETE \ "https://api.scoutrfp.com/v3/projects/1"
Get a Project by External ID
Retrieves the details of an existing project. You need to supply the unique project external identifier (the one you used when created the project).
Authorizations:
path Parameters
external_id required | string Example: 1234-5678-abcd-efgh Project external identifier. |
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.scoutrfp.com/v3/projects/SUP-1234/external_id"
Response samples
- 200
{- "data": {
- "type": "projects",
- "id": "1",
- "attributes": {
- "actual_end_date": "2031-12-30",
- "actual_savings_amount": 12.23,
- "actual_spend_amount": 23.45,
- "approved_spend_amount": 55.55,
- "actual_start_date": "2018-01-20",
- "approved_at": "2019-10-11T09:12:31.080Z",
- "approval_rounds": 1,
- "canceled_note": null,
- "canceled_reason": null,
- "description": "Project Description",
- "estimated_savings_amount": 11.33,
- "estimated_spend_amount": 21.12,
- "external_id": "1234-5678-abcd-efgh",
- "marked_as_needs_attention_at": null,
- "needs_attention": false,
- "needs_attention_note": null,
- "needs_attention_reason": null,
- "number": 1,
- "on_hold_note": null,
- "on_hold_reason": null,
- "project_type_id": "3",
- "first_sent_for_approval_at": "2019-10-05T05:24:12.000Z",
- "sent_for_approval_at": "2019-10-05T05:24:12.000Z",
- "spend_category_id": "2",
- "state": "active",
- "state_label": "Sourcing",
- "target_end_date": "2031-12-31",
- "target_start_date": "2018-01-15",
- "title": "Project Title",
- "updated_at": "2019-10-29T21:28:46.790Z",
- "request_submitted_at": "2019-10-28T21:28:46.790Z",
- "request_opened_at": null,
- "custom_fields": [
- {
- "name": "Custom Field Currency",
- "value": 1234567890
}, - {
- "name": "Custom Field Integer",
- "value": 1234567890
}, - {
- "name": "Custom Field Checkbox",
- "value": true
}, - {
- "name": "Custom Field Decimal",
- "value": 123456.78
}, - {
- "name": "Custom Field Date",
- "value": "2018-12-31T00:00:00.000Z"
}, - {
- "name": "Custom Field Select",
- "value": "Select Option"
}, - {
- "name": "Custom Field Multiple",
- "value": [
- "Multiple Select Option 1",
- "Multiple Select Option 2"
]
}, - {
- "name": "Custom Field Short Text",
- "value": "some short text"
}, - {
- "name": "Custom Field Paragraph",
- "value": "longer text than short text"
},
]
}, - "relationships": {
- "attachments": {
- "data": [
- {
- "id": "1",
- "type": "attachments"
}, - {
- "id": "2",
- "type": "attachments"
}
]
}, - "creator": {
- "data": {
- "id": "1",
- "type": "stakeholders"
}
}, - "requester": {
- "data": {
- "id": "3",
- "type": "stakeholders"
}
}, - "owner": {
- "data": {
- "id": "1",
- "type": "stakeholders"
}
}
},
}
}
Update a Project by External ID
Updates the details of an existing project. You need to supply the unique project external identifier (the one you used when created the project).
Please note, that request body must include an id
attribute with the value of your project
external identifier (the same one you passed in the URL).
Authorizations:
path Parameters
external_id required | string Example: 1234-5678-abcd-efgh Project external identifier. |
Request Body schema: application/vnd.api+json
object (ProjectUpdate) |
Responses
Request samples
- Payload
- Curl
{- "data": {
- "type": "projects",
- "id": "1234-5678-abcd-efgh",
- "attributes": {
- "actual_end_date": "2031-12-30",
- "actual_savings_amount": "212.23",
- "actual_spend_amount": "223.45",
- "approved_spend_amount": "255.55",
- "actual_start_date": "2019-01-20",
- "approved_at": "2019-10-11T09:12:31.080Z",
- "approval_rounds": 1,
- "canceled_note": null,
- "canceled_reason": null,
- "description": "Project Description Updated",
- "estimated_savings_amount": "211.33",
- "estimated_spend_amount": "221.12",
- "external_id": "1234-5678-abcd-efgh",
- "needs_attention": false,
- "needs_attention_note": null,
- "needs_attention_reason": null,
- "on_hold_note": null,
- "on_hold_reason": null,
- "project_type_id": "3",
- "first_sent_for_approval_at": "2019-10-05T05:24:12.000Z",
- "sent_for_approval_at": "2019-10-05T05:24:12.000Z",
- "spend_category_id": "2",
- "state": "active",
- "state_label": "Sourcing",
- "target_end_date": "2032-12-31",
- "target_start_date": "2019-01-15",
- "title": "Project Title Updated",
- "custom_fields": [
- {
- "name": "Custom Field Currency",
- "value": 987654321
}, - {
- "name": "Custom Field Integer",
- "value": 987654321
}, - {
- "name": "Custom Field Checkbox",
- "value": false
}, - {
- "name": "Custom Field Decimal",
- "value": 876543.21
}, - {
- "name": "Custom Field Date",
- "value": "2018-12-25T00:00:00.000Z"
}, - {
- "name": "Custom Field Select",
- "value": "Select Option"
}, - {
- "name": "Custom Field Multiple",
- "value": [
- "Multiple Select Option 2"
]
}, - {
- "name": "Custom Field Short Text",
- "value": "some short text updated"
}, - {
- "name": "Custom Field Paragraph",
- "value": "longer text than short text updated"
},
]
}, - "relationships": {
- "owner": {
- "meta": {
- "email": "contract.owner@example.com"
}
}, - "requester": {
- "meta": {
- "email": "requester@example.com"
}
}
}
}
}
Response samples
- 200
{- "data": {
- "type": "projects",
- "id": "1",
- "attributes": {
- "actual_end_date": "2031-12-30",
- "actual_savings_amount": 212.23,
- "actual_spend_amount": 223.45,
- "approved_spend_amount": 255.55,
- "actual_start_date": "2019-01-20",
- "approved_at": "2019-10-11T09:12:31.080Z",
- "approval_rounds": 1,
- "canceled_note": null,
- "canceled_reason": null,
- "description": "Project Description Updated",
- "estimated_savings_amount": 211.33,
- "estimated_spend_amount": 221.12,
- "external_id": "1234-5678-abcd-efgh",
- "marked_as_needs_attention_at": null,
- "needs_attention": false,
- "needs_attention_note": null,
- "needs_attention_reason": null,
- "number": 1,
- "on_hold_note": null,
- "on_hold_reason": null,
- "project_type_id": "3",
- "first_sent_for_approval_at": "2019-10-05T05:24:12.000Z",
- "sent_for_approval_at": "2019-10-05T05:24:12.000Z",
- "spend_category_id": "2",
- "state": "active",
- "state_label": "Sourcing",
- "target_end_date": "2032-12-31",
- "target_start_date": "2019-01-15",
- "title": "Project Title Updated",
- "updated_at": "2019-10-29T21:28:46.790Z",
- "request_submitted_at": "2019-10-28T21:28:46.790Z",
- "request_opened_at": null,
- "custom_fields": [
- {
- "name": "Custom Field Currency",
- "value": 987654321
}, - {
- "name": "Custom Field Integer",
- "value": 987654321
}, - {
- "name": "Custom Field Checkbox",
- "value": false
}, - {
- "name": "Custom Field Decimal",
- "value": 876543.21
}, - {
- "name": "Custom Field Date",
- "value": "2018-12-25T00:00:00.000Z"
}, - {
- "name": "Custom Field Select",
- "value": "Select Option"
}, - {
- "name": "Custom Field Multiple",
- "value": [
- "Multiple Select Option 2"
]
}, - {
- "name": "Custom Field Short Text",
- "value": "some short text updated"
}, - {
- "name": "Custom Field Paragraph",
- "value": "longer text than short text updated"
},
]
}, - "relationships": {
- "attachments": {
- "data": [
- {
- "id": "1",
- "type": "attachments"
}, - {
- "id": "2",
- "type": "attachments"
}
]
}, - "creator": {
- "data": {
- "id": "1",
- "type": "stakeholders"
}
}, - "requester": {
- "data": {
- "id": "3",
- "type": "stakeholders"
}
}, - "owner": {
- "data": {
- "id": "1",
- "type": "stakeholders"
}
}
},
}
}
Delete a Project by External ID
Deletes a project. You need to supply the unique project external identifier (the one you used when created the project).
Authorizations:
path Parameters
external_id required | string Example: 1234-5678-abcd-efgh Project external identifier. |
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" \ -X DELETE \ "https://api.scoutrfp.com/v3/projects/SUP-1234/external_id"
Describe Project object
Returns a list of fields for the project object.
Authorizations:
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.scoutrfp.com/v3/projects/describe"
Response samples
- 200
{- "meta": {
- "count": 29
}, - "data": [
- {
- "id": "actual_end_date",
- "type": "project_fields",
- "attributes": {
- "name": "actual_end_date",
- "data_type": "string",
- "scout_field_type": "Date",
- "custom_field": false
}
}, - {
- "id": "actual_savings_amount",
- "type": "project_fields",
- "attributes": {
- "name": "actual_savings_amount",
- "data_type": "number",
- "scout_field_type": "Currency",
- "custom_field": false
}
}, - {
- "id": "actual_spend_amount",
- "type": "project_fields",
- "attributes": {
- "name": "actual_spend_amount",
- "data_type": "number",
- "scout_field_type": "Currency",
- "custom_field": false
}
}, - {
- "id": "approved_spend_amount",
- "type": "project_fields",
- "attributes": {
- "name": "approved_spend_amount",
- "data_type": "number",
- "scout_field_type": "Currency",
- "custom_field": false
}
}, - {
- "id": "actual_start_date",
- "type": "project_fields",
- "attributes": {
- "name": "actual_start_date",
- "data_type": "string",
- "scout_field_type": "Date",
- "custom_field": false
}
}, - {
- "id": "canceled_note",
- "type": "project_fields",
- "attributes": {
- "name": "canceled_note",
- "data_type": "string",
- "scout_field_type": "Short Text",
- "custom_field": false
}
}, - {
- "id": "canceled_reason",
- "type": "project_fields",
- "attributes": {
- "name": "canceled_reason",
- "data_type": "string",
- "scout_field_type": "Single Select",
- "custom_field": false
}
}, - {
- "id": "description",
- "type": "project_fields",
- "attributes": {
- "name": "description",
- "data_type": "string",
- "scout_field_type": "Paragraph",
- "custom_field": false
}
}, - {
- "id": "estimated_savings_amount",
- "type": "project_fields",
- "attributes": {
- "name": "estimated_savings_amount",
- "data_type": "number",
- "scout_field_type": "Currency",
- "custom_field": false
}
}, - {
- "id": "estimated_spend_amount",
- "type": "project_fields",
- "attributes": {
- "name": "estimated_spend_amount",
- "data_type": "number",
- "scout_field_type": "Currency",
- "custom_field": false
}
}, - {
- "id": "external_id",
- "type": "project_fields",
- "attributes": {
- "name": "external_id",
- "data_type": "string",
- "scout_field_type": "Short Text",
- "custom_field": false
}
}, - {
- "id": "needs_attention",
- "type": "project_fields",
- "attributes": {
- "name": "needs_attention",
- "data_type": "boolean",
- "scout_field_type": "Checkbox",
- "custom_field": false
}
}, - {
- "id": "on_hold_note",
- "type": "project_fields",
- "attributes": {
- "name": "on_hold_note",
- "data_type": "string",
- "scout_field_type": "Short Text",
- "custom_field": false
}
}, - {
- "id": "on_hold_reason",
- "type": "project_fields",
- "attributes": {
- "name": "on_hold_reason",
- "data_type": "string",
- "scout_field_type": "Single Select",
- "custom_field": false
}
}, - {
- "id": "state",
- "type": "project_fields",
- "attributes": {
- "name": "state",
- "data_type": "string",
- "scout_field_type": "Single Select",
- "custom_field": false
}
}, - {
- "id": "state_label",
- "type": "project_fields",
- "attributes": {
- "name": "state_label",
- "data_type": "string",
- "scout_field_type": "Short Text",
- "custom_field": false
}
}, - {
- "id": "target_end_date",
- "type": "project_fields",
- "attributes": {
- "name": "target_end_date",
- "data_type": "string",
- "scout_field_type": "Date",
- "custom_field": false
}
}, - {
- "id": "target_start_date",
- "type": "project_fields",
- "attributes": {
- "name": "target_start_date",
- "data_type": "string",
- "scout_field_type": "Date",
- "custom_field": false
}
}, - {
- "id": "title",
- "type": "project_fields",
- "attributes": {
- "name": "title",
- "data_type": "string",
- "scout_field_type": "Short Text",
- "custom_field": false
}
}, - {
- "id": "approved_at",
- "type": "project_fields",
- "attributes": {
- "name": "approved_at",
- "data_type": "string",
- "scout_field_type": "Date",
- "custom_field": false
}
}, - {
- "id": "project_type_id",
- "type": "project_fields",
- "attributes": {
- "name": "project_type_id",
- "data_type": "string",
- "scout_field_type": "Short Text",
- "custom_field": false
}
}, - {
- "id": "marked_as_needs_attention_at",
- "type": "project_fields",
- "attributes": {
- "name": "marked_as_needs_attention_at",
- "data_type": "string",
- "scout_field_type": "Date",
- "custom_field": false
}
}, - {
- "id": "needs_attention_note",
- "type": "project_fields",
- "attributes": {
- "name": "needs_attention_note",
- "data_type": "string",
- "scout_field_type": "Short Text",
- "custom_field": false
}
}, - {
- "id": "needs_attention_reason",
- "type": "project_fields",
- "attributes": {
- "name": "needs_attention_reason",
- "data_type": "string",
- "scout_field_type": "Single Select",
- "custom_field": false
}
}, - {
- "id": "number",
- "type": "project_fields",
- "attributes": {
- "name": "number",
- "data_type": "integer",
- "scout_field_type": "Integer",
- "custom_field": false
}
}, - {
- "id": "sent_for_approval_at",
- "type": "project_fields",
- "attributes": {
- "name": "sent_for_approval_at",
- "data_type": "string",
- "scout_field_type": "Date",
- "custom_field": false
}
}, - {
- "id": "spend_category_id",
- "type": "project_fields",
- "attributes": {
- "name": "spend_category_id",
- "data_type": "string",
- "scout_field_type": "Short Text",
- "custom_field": false
}
}, - {
- "id": "updated_at",
- "type": "project_fields",
- "attributes": {
- "name": "updated_at",
- "data_type": "string",
- "scout_field_type": "Date",
- "custom_field": false
}
}, - {
- "id": "custom_field_1",
- "type": "project_fields",
- "attributes": {
- "name": "Custom field #1",
- "data_type": "string",
- "scout_field_type": "Short Text",
- "custom_field": true
}
}
], - "links": { }
}
Use the project types API to query the project types in Workday Strategic Sourcing.
Project Types are used in the project resource. On POST and PATCH related endpoints for this resource a project_type_id can be added to set the project type. The project_type_id is a foreign key for the project_types resource's id.
type required | string (ProjectTypeType) Object type, should always be |
id required | integer (ProjectTypeId) Project type identifier string. |
object (ProjectTypeAttributes) Project type attributes. | |
object (ResourceLinks) List of related links. |
{- "type": "project_types",
- "id": 1,
- "attributes": {
- "name": "My Project Type",
- "shortcode": "PRJA"
}, - "links": {
- "self": "string"
}
}
List Project Types
Returns a list of all project types.
Authorizations:
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.scoutrfp.com/v3/project_types"
Response samples
- 200
{- "meta": {
- "count": 2
}, - "data": [
- {
- "type": "project_types",
- "id": "1",
- "attributes": {
- "name": "Project Type #1",
- "shortcode": "PRJA"
},
}, - {
- "type": "project_types",
- "id": "2",
- "attributes": {
- "name": "Project Type #2",
- "shortcode": "PRJB"
},
}
],
}
Get a Project Type
Retrieves the details of an existing project type.
Authorizations:
path Parameters
id required | integer Example: 1 Unique project type identifier. |
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.scoutrfp.com/v3/project_types/1"
Response samples
- 200
{- "data": {
- "type": "project_types",
- "id": "1",
- "attributes": {
- "name": "The Project Type",
- "shortcode": "PRJT"
},
}
}
Add Suppliers
Add suppliers to a project.
For best performance, we recommend inviting 10 or less suppliers in a single request.
Authorizations:
path Parameters
project_id required | integer Example: 1 Project identifier. |
Request Body schema: application/vnd.api+json
Array of objects (SupplierCompany) |
Responses
Request samples
- Payload
- Curl
{- "data": [
- {
- "type": "supplier_companies",
- "id": "5"
}, - {
- "type": "supplier_companies",
- "id": "11"
}
]
}
Remove Suppliers
Remove suppliers from a project.
For best performance, we recommend removing 10 or less suppliers in a single request.
Authorizations:
path Parameters
project_id required | integer Example: 1 Project identifier. |
Request Body schema: application/vnd.api+json
object (SupplierCompany) |
Responses
Request samples
- Payload
- Curl
{- "data": [
- {
- "type": "supplier_companies",
- "id": "5"
}, - {
- "type": "supplier_companies",
- "id": "11"
}
]
}
Add Suppliers using External IDs
Add suppliers to a project.
You must supply the unique project external identifier (the one you used when created the project).
You must supply the external identifiers of the supplier companies too.
For best performance, we recommend inviting 10 or less suppliers in a single request.
Authorizations:
path Parameters
project_external_id required | string Example: PRJ1 Project external identifier. |
Request Body schema: application/vnd.api+json
Array of objects (ExternalSupplierCompany) |
Responses
Request samples
- Payload
- Curl
{- "data": [
- {
- "type": "supplier_companies",
- "id": "SUP5"
}, - {
- "type": "supplier_companies",
- "id": "SUP11"
}
]
}
Remove Suppliers using External IDs
Remove suppliers from a project.
You must supply the unique project external identifier (the one you used when created the project).
You must supply the external identifiers of the supplier companies too.
For best performance, we recommend removing 10 or less suppliers in a single request.
Authorizations:
path Parameters
project_external_id required | string Example: PRJ1 Project external identifier. |
Request Body schema: application/vnd.api+json
Array of objects (ExternalSupplierCompany) |
Responses
Request samples
- Payload
- Curl
{- "data": [
- {
- "type": "supplier_companies",
- "id": "SUP5"
}, - {
- "type": "supplier_companies",
- "id": "SUP11"
}
]
}
Use the project supplier contacts API to manage project suppliers. This API provides 2 advantages over the project supplier companies APIs:
- It allows specifying the supplier contact to be associated/removed from a project.
- It allows specifying multiple contacts for a given supplier.
Add Suppliers using Contacts
Add suppliers to a project using supplier contacts.
For best performance, we recommend inviting 10 or less supplier contacts in a single request.
Authorizations:
path Parameters
project_id required | integer Example: 1 Project identifier. |
Request Body schema: application/vnd.api+json
Array of objects (SupplierContact) |
Responses
Request samples
- Payload
- Curl
{- "data": [
- {
- "type": "supplier_contacts",
- "id": "10"
}, - {
- "type": "supplier_contacts",
- "id": "17"
}
]
}
Remove Suppliers using Contacts
Remove suppliers from a project using supplier contacts.
For best performance, we recommend removing 10 or less supplier contacts in a single request.
Authorizations:
path Parameters
project_id required | integer Example: 1 Project identifier. |
Request Body schema: application/vnd.api+json
Array of objects (SupplierContact) |
Responses
Request samples
- Payload
- Curl
{- "data": [
- {
- "type": "supplier_contacts",
- "id": "10"
}, - {
- "type": "supplier_contacts",
- "id": "17"
}
]
}
Add Suppliers using Contacts External IDs
Add suppliers to a project using supplier contacts.
You must supply the unique project external identifier (the one you used when created the project).
You must supply the external identifiers of the supplier contacts too.
For best performance, we recommend inviting 10 or less supplier contacts in a single request.
Authorizations:
path Parameters
project_external_id required | string Example: PRJ1 Project external identifier. |
Request Body schema: application/vnd.api+json
Array of objects (ExternalSupplierContact) |
Responses
Request samples
- Payload
- Curl
{- "data": [
- {
- "type": "supplier_contacts",
- "id": "SUPC10"
}, - {
- "type": "supplier_contacts",
- "id": "SUPC17"
}
]
}
Remove Suppliers using Contacts External IDs
Remove suppliers from a project using supplier contacts.
You must supply the unique project external identifier (the one you used when created the project).
You must supply the external identifiers of the supplier contacts too.
For best performance, we recommend removing 10 or less supplier contacts in a single request.
Authorizations:
path Parameters
project_external_id required | string Example: PRJ1 Project external identifier. |
Request Body schema: application/vnd.api+json
Array of objects (ExternalSupplierContact) |
Responses
Request samples
- Payload
- Curl
{- "data": [
- {
- "type": "supplier_contacts",
- "id": "SUPC10"
}, - {
- "type": "supplier_contacts",
- "id": "SUPC17"
}
]
}
Use the contracts API to create, update, and query the contracts in Workday Strategic Sourcing.
type required | string (ContractTypeValue) Object type, should always be |
id required | integer (ContractId) Contract identifier string. |
object Contract attributes. | |
object (ContractRelationship) Contract relationship. | |
object (ResourceLinks) List of related links. |
{- "data": {
- "type": "contracts",
- "id": "1",
- "attributes": {
- "actual_end_date": "2031-12-30",
- "actual_spend_amount": 11.11,
- "po_amount": 22.22,
- "invoiced_po_amount": 33.33,
- "non_po_invoiced_amount": 44.44,
- "total_invoiced_amount": 77.77,
- "actual_start_date": "2028-12-30",
- "auto_renewal": "yes",
- "approved_at": "2019-10-11T09:12:31.080Z",
- "approval_rounds": 1,
- "contract_type_id": "3",
- "description": "Contract Description",
- "external_id": "1234-5678-abcd-efgh",
- "marked_as_needs_attention_at": null,
- "needs_attention": false,
- "needs_attention_note": null,
- "needs_attention_reason": null,
- "number": 1,
- "renew_number_of_times": 3,
- "renewal_term_unit": "days",
- "renewal_term_value": 4,
- "renewal_termination_notice_date": "2031-07-30",
- "renewal_termination_notice_unit": "months",
- "renewal_termination_notice_value": 5,
- "renewal_termination_reminder_date": "2031-06-18",
- "renewal_termination_reminder_unit": "weeks",
- "renewal_termination_reminder_value": 6,
- "first_sent_for_approval_at": "2019-10-05T05:24:12.000Z",
- "sent_for_approval_at": "2019-10-05T05:24:12.000Z",
- "spend_category_id": "2",
- "state": "in_progress",
- "state_label": "Discovery",
- "terminated_note": null,
- "terminated_reason": null,
- "title": "Contract Title",
- "updated_at": "2019-10-29T21:28:46.790Z",
- "scc_updated_at": "2019-10-29T21:28:46.790Z",
- "request_submitted_at": "2019-10-29T21:28:46.790Z",
- "request_opened_at": null,
- "custom_fields": [
- {
- "name": "Custom Field Currency",
- "value": 1234567890
}, - {
- "name": "Custom Field Integer",
- "value": 1234567890
}, - {
- "name": "Custom Field Checkbox",
- "value": true
}, - {
- "name": "Custom Field Decimal",
- "value": 123456.78
}, - {
- "name": "Custom Field Date",
- "value": "2018-12-31T00:00:00.000Z"
}, - {
- "name": "Custom Field Select",
- "value": "Select Option"
}, - {
- "name": "Custom Field Multiple",
- "value": [
- "Multiple Select Option 1",
- "Multiple Select Option 2"
]
}, - {
- "name": "Custom Field Short Text",
- "value": "some short text"
}, - {
- "name": "Custom Field Paragraph",
- "value": "longer text than short text"
},
]
}, - "relationships": {
- "attachments": {
- "data": [
- {
- "id": "1",
- "type": "attachments"
}, - {
- "id": "2",
- "type": "attachments"
}
]
}, - "supplier_company": {
- "data": {
- "id": "1",
- "type": "supplier_companies"
}
}, - "creator": {
- "data": {
- "id": "1",
- "type": "stakeholders"
}
}, - "owner": {
- "data": {
- "id": "2",
- "type": "stakeholders"
}
}, - "contract_type": {
- "data": {
- "id": "1",
- "type": "contract_types"
}
}
},
}
}
type required | string (DocusignEnvelopeType) Object type, should always be |
id required | integer (DocusignEnvelopeId) Docusign envelope identifier string. |
object (DocusignEnvelopeAttributes) Docusign envelope attributes | |
object (Docusign envelope relationships) |
{- "type": "docusign_envelopes",
- "id": 1,
- "attributes": {
- "docusign_created_at": "2023-07-25 14:11:20 UTC",
- "docusign_updated_at": "2023-07-26 16:11:17 UTC",
- "error_code": "123",
- "error_message": "Oops, we ran into a problem",
- "state": "creating",
- "title": "My envelope",
- "docusign_id": "5"
}, - "relationships": {
- "attachments": [
- {
- "type": "attachments",
- "id": 1
}
]
}
}
type required | string (AdobeSignAgreementType) Object type, should always be |
id required | integer (AdobeSignAgreementId) Adobe Sign Agreement identifier string |
object (AdobeSignAgreementAttributes) Adobe Sign Agreement attributes | |
object (Adobe Sign Agreement relationships) |
{- "type": "adobe_sign_agreements",
- "id": 1,
- "attributes": {
- "name": "Agreement #236",
- "state": "CREATING",
- "adobe_created_at": "2019-10-29T21:28:46.790Z",
- "adobe_id": "24",
- "adobe_signed_at": "2019-10-29T21:28:46.790Z",
- "adobe_sign_errors": "{}"
}, - "relationships": {
- "documents": [
- {
- "type": "adobe_sign_documents",
- "id": 1
}
]
}
}
type required | string (AdobeSignDocumentType) Object type, should always be |
id required | integer (AdobeSignDocumentId) Adobe Sign Document identifier string |
object (AdobeSignDocumentAttributes) Adobe Sign Document attributes | |
object (Adobe Sign Document relationships) |
{- "type": "adobe_sign_documents",
- "id": 1,
- "attributes": {
- "name": "Document #236",
- "adobe_id": "24"
}, - "relationships": {
- "attachment": {
- "type": "attachments",
- "id": 1
}
}
}
List Contracts
Returns a list of contracts for the specified criteria.
Authorizations:
query Parameters
object (ContractInputFilter) Filter contracts by multiple criteria. Only one filter per attribute is supported. For best performance, we recommend 5 or less filters. | |
include | string (ContractRelatedResources) Enum: "attachments" "contract_type" "supplier_company" "docusign_envelopes" "adobe_sign_agreements" To reduce the number of HTTP requests, related resources can be requested along with the
requested primary resources. Such responses are called "compound documents". In a compound
document, all included resources will be represented as an array of resource objects in a
top-level The value of the
In the response, relationships will be represented as normal linkage objects (containing
|
object (PageInput) Customize pagination results with |
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.scoutrfp.com/v3/contracts"
Response samples
- 200
{- "meta": {
- "count": 2
}, - "data": [
- {
- "type": "contracts",
- "id": "1",
- "attributes": {
- "actual_end_date": "2031-12-30",
- "actual_spend_amount": 11.11,
- "po_amount": 22.22,
- "invoiced_po_amount": 33.33,
- "non_po_invoiced_amount": 44.44,
- "total_invoiced_amount": 77.77,
- "actual_start_date": "2028-12-30",
- "approved_at": "2019-10-11T09:12:31.080Z",
- "approval_rounds": 1,
- "auto_renewal": "yes",
- "contract_type_id": "3",
- "description": "Contract Description",
- "external_id": "1234-5678-abcd-efgh",
- "marked_as_needs_attention_at": null,
- "needs_attention": false,
- "needs_attention_note": null,
- "needs_attention_reason": null,
- "number": 1,
- "renew_number_of_times": 3,
- "renewal_term_unit": "days",
- "renewal_term_value": 4,
- "renewal_termination_notice_date": "2031-07-30",
- "renewal_termination_notice_unit": "months",
- "renewal_termination_notice_value": 5,
- "renewal_termination_reminder_date": "2031-06-18",
- "renewal_termination_reminder_unit": "weeks",
- "renewal_termination_reminder_value": 6,
- "first_sent_for_approval_at": "2019-10-05T05:24:12.000Z",
- "sent_for_approval_at": "2019-10-05T05:24:12.000Z",
- "spend_category_id": "2",
- "state": "in_progress",
- "state_label": "Discovery",
- "terminated_note": null,
- "terminated_reason": null,
- "title": "Contract Title",
- "updated_at": "2019-10-29T21:28:46.790Z",
- "scc_updated_at": "2019-10-29T21:28:46.790Z",
- "request_submitted_at": "2019-10-28T21:28:46.790Z",
- "request_opened_at": null,
- "custom_fields": [
- {
- "name": "Custom Field Currency",
- "value": 1234567890
}, - {
- "name": "Custom Field Integer",
- "value": 1234567890
}, - {
- "name": "Custom Field Checkbox",
- "value": true
}, - {
- "name": "Custom Field Decimal",
- "value": 123456.78
}, - {
- "name": "Custom Field Date",
- "value": "2018-12-31T00:00:00.000Z"
}, - {
- "name": "Custom Field Select",
- "value": "Select Option"
}, - {
- "name": "Custom Field Multiple",
- "value": [
- "Multiple Select Option 1",
- "Multiple Select Option 2"
]
}, - {
- "name": "Custom Field Short Text",
- "value": "some short text"
}, - {
- "name": "Custom Field Paragraph",
- "value": "longer text than short text"
},
]
}, - "relationships": {
- "attachments": {
- "data": [
- {
- "id": "1",
- "type": "attachments"
}, - {
- "id": "2",
- "type": "attachments"
}
]
}, - "supplier_company": {
- "data": {
- "id": "1",
- "type": "supplier_companies"
}
}, - "creator": {
- "data": {
- "id": "1",
- "type": "stakeholders"
}
}, - "owner": {
- "data": {
- "id": "1",
- "type": "stakeholders"
}
}, - "contract_type": {
- "data": {
- "id": "3",
- "type": "contract_types"
}
}, - "docusign_envelopes": {
- "data": [
- {
- "id": "3",
- "type": "docusign_envelopes"
}
]
}, - "adobe_sign_agreements": {
- "data": [
- {
- "id": "4",
- "type": "adobe_sign_agreements"
}
]
}
},
}, - {
- "type": "contracts",
- "id": "2",
- "attributes": {
- "actual_end_date": "2033-12-30",
- "actual_spend_amount": 22.22,
- "po_amount": 22.22,
- "invoiced_po_amount": 33.33,
- "non_po_invoiced_amount": 44.44,
- "total_invoiced_amount": 77.77,
- "actual_start_date": "2030-12-30",
- "auto_renewal": "yes",
- "approved_at": "2019-10-11T09:12:31.080Z",
- "approval_rounds": 1,
- "contract_type_id": "3",
- "description": "Contract #2 Description",
- "external_id": "abcd-efgh-1234-5678",
- "marked_as_needs_attention_at": null,
- "needs_attention": false,
- "needs_attention_note": null,
- "needs_attention_reason": null,
- "number": 2,
- "renew_number_of_times": 6,
- "renewal_term_unit": "days",
- "renewal_term_value": 3,
- "renewal_termination_notice_date": "2033-08-30",
- "renewal_termination_notice_unit": "months",
- "renewal_termination_notice_value": 4,
- "renewal_termination_reminder_date": "2033-07-26",
- "renewal_termination_reminder_unit": "weeks",
- "renewal_termination_reminder_value": 5,
- "first_sent_for_approval_at": "2019-10-05T05:24:12.000Z",
- "sent_for_approval_at": "2019-10-05T05:24:12.000Z",
- "spend_category_id": "2",
- "state": "in_progress",
- "state_label": "Discovery",
- "terminated_note": null,
- "terminated_reason": null,
- "title": "Contract #2 Title",
- "updated_at": "2019-10-29T21:28:46.790Z",
- "scc_updated_at": "2019-10-29T21:28:46.790Z",
- "request_submitted_at": "2019-10-28T21:28:46.790Z",
- "request_opened_at": null,
- "custom_fields": [
- {
- "name": "Custom Field Currency",
- "value": 1234567890
}, - {
- "name": "Custom Field Integer",
- "value": 1234567890
}, - {
- "name": "Custom Field Checkbox",
- "value": true
}, - {
- "name": "Custom Field Decimal",
- "value": 123456.78
}, - {
- "name": "Custom Field Date",
- "value": "2018-12-31T00:00:00.000Z"
}, - {
- "name": "Custom Field Select",
- "value": "Select Option"
}, - {
- "name": "Custom Field Multiple",
- "value": [
- "Multiple Select Option 1",
- "Multiple Select Option 2"
]
}, - {
- "name": "Custom Field Short Text",
- "value": "some short text"
}, - {
- "name": "Custom Field Paragraph",
- "value": "longer text than short text"
},
]
}, - "relationships": {
- "attachments": {
- "data": [ ]
}, - "supplier_company": {
- "data": null
}, - "creator": {
- "data": {
- "id": "1",
- "type": "stakeholders"
}
}, - "owner": {
- "data": {
- "id": "1",
- "type": "stakeholders"
}
}, - "contract_type": {
- "data": {
- "id": "3",
- "type": "contract_types"
}
}, - "docusign_envelopes": {
- "data": [
- {
- "id": "3",
- "type": "docusign_envelopes"
}
]
}, - "adobe_sign_agreements": {
- "data": [
- {
- "id": "5",
- "type": "adobe_sign_agreements"
}
]
}
},
}
], - "links": {
}
}
Create a Contract
Create a contract with given attributes.
Authorizations:
query Parameters
include | string (ContractRelatedResources) Enum: "attachments" "contract_type" "supplier_company" "docusign_envelopes" "adobe_sign_agreements" Use the |
Request Body schema: application/vnd.api+json
object (ContractCreate) |
Responses
Request samples
- Payload
- Curl
{- "data": {
- "type": "contracts",
- "attributes": {
- "actual_end_date": "2031-12-30",
- "actual_spend_amount": "11.11",
- "po_amount": "22.22",
- "invoiced_po_amount": "33.33",
- "non_po_invoiced_amount": "44.44",
- "actual_start_date": "2028-12-30",
- "auto_renewal": "yes",
- "description": "Contract Description",
- "external_id": "1234-5678-abcd-efgh",
- "needs_attention": false,
- "needs_attention_note": null,
- "needs_attention_reason": null,
- "renew_number_of_times": 3,
- "renewal_term_unit": "days",
- "renewal_term_value": 4,
- "renewal_termination_notice_unit": "months",
- "renewal_termination_notice_value": 5,
- "renewal_termination_reminder_unit": "weeks",
- "renewal_termination_reminder_value": 6,
- "spend_category_id": "2",
- "state": "in_progress",
- "state_label": "Discovery",
- "terminated_note": null,
- "terminated_reason": null,
- "title": "Contract Title",
- "custom_fields": [
- {
- "name": "Custom Field Currency",
- "value": 1234567890
}, - {
- "name": "Custom Field Integer",
- "value": 1234567890
}, - {
- "name": "Custom Field Checkbox",
- "value": true
}, - {
- "name": "Custom Field Decimal",
- "value": 123456.78
}, - {
- "name": "Custom Field Date",
- "value": "2018-12-31T00:00:00.000Z"
}, - {
- "name": "Custom Field Select",
- "value": "Select Option"
}, - {
- "name": "Custom Field Multiple",
- "value": [
- "Multiple Select Option 1",
- "Multiple Select Option 2"
]
}, - {
- "name": "Custom Field Short Text",
- "value": "some short text"
}, - {
- "name": "Custom Field Paragraph",
- "value": "longer text than short text"
},
]
}, - "relationships": {
- "contract_type": {
- "data": {
- "id": "3",
- "type": "contract_types"
}
}
}
}
}
Response samples
- 201
{- "data": {
- "type": "contracts",
- "id": "1",
- "attributes": {
- "actual_end_date": "2031-12-30",
- "actual_spend_amount": 11.11,
- "po_amount": 22.22,
- "invoiced_po_amount": 33.33,
- "non_po_invoiced_amount": 44.44,
- "total_invoiced_amount": 77.77,
- "actual_start_date": "2028-12-30",
- "auto_renewal": "yes",
- "approved_at": null,
- "approval_rounds": 0,
- "contract_type_id": "3",
- "description": "Contract Description",
- "external_id": "1234-5678-abcd-efgh",
- "marked_as_needs_attention_at": null,
- "needs_attention": false,
- "needs_attention_note": null,
- "needs_attention_reason": null,
- "number": 1,
- "renew_number_of_times": 3,
- "renewal_term_unit": "days",
- "renewal_term_value": 4,
- "renewal_termination_notice_date": "2031-07-30",
- "renewal_termination_notice_unit": "months",
- "renewal_termination_notice_value": 5,
- "renewal_termination_reminder_date": "2031-06-18",
- "renewal_termination_reminder_unit": "weeks",
- "renewal_termination_reminder_value": 6,
- "first_sent_for_approval_at": null,
- "sent_for_approval_at": null,
- "spend_category_id": "2",
- "state": "in_progress",
- "state_label": "Discovery",
- "terminated_note": null,
- "terminated_reason": null,
- "title": "Contract Title",
- "updated_at": "2019-10-29T21:28:46.790Z",
- "scc_updated_at": null,
- "request_submitted_at": "2019-10-28T21:28:46.790Z",
- "request_opened_at": null,
- "custom_fields": [
- {
- "name": "Custom Field Currency",
- "value": 1234567890
}, - {
- "name": "Custom Field Integer",
- "value": 1234567890
}, - {
- "name": "Custom Field Checkbox",
- "value": true
}, - {
- "name": "Custom Field Decimal",
- "value": 123456.78
}, - {
- "name": "Custom Field Date",
- "value": "2018-12-31T00:00:00.000Z"
}, - {
- "name": "Custom Field Select",
- "value": "Select Option"
}, - {
- "name": "Custom Field Multiple",
- "value": [
- "Multiple Select Option 1",
- "Multiple Select Option 2"
]
}, - {
- "name": "Custom Field Short Text",
- "value": "some short text"
}, - {
- "name": "Custom Field Paragraph",
- "value": "longer text than short text"
},
]
}, - "relationships": {
- "supplier_company": {
- "data": null
}, - "creator": {
- "data": {
- "id": "1",
- "type": "stakeholders"
}
}, - "owner": {
- "data": {
- "id": "1",
- "type": "stakeholders"
}
}, - "contract_type": {
- "data": {
- "id": "3",
- "type": "contract_types"
}
}, - "docusign_envelopes": {
- "data": [ ]
}, - "adobe_sign_agreements": {
- "data": [ ]
}
},
}
}
Get a Contract
Retrieves the details of an existing contract. You need to supply the unique contract identifier that was returned upon contract creation.
Authorizations:
path Parameters
id required | integer Example: 1 Unique Contract identifier. |
query Parameters
include | string (ContractRelatedResources) Enum: "attachments" "contract_type" "supplier_company" "docusign_envelopes" "adobe_sign_agreements" 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.scoutrfp.com/v3/contracts/1"
Response samples
- 200
{- "data": {
- "type": "contracts",
- "id": "1",
- "attributes": {
- "actual_end_date": "2031-12-30",
- "actual_spend_amount": 11.11,
- "po_amount": 22.22,
- "invoiced_po_amount": 33.33,
- "non_po_invoiced_amount": 44.44,
- "total_invoiced_amount": 77.77,
- "actual_start_date": "2028-12-30",
- "approved_at": "2019-10-11T09:12:31.080Z",
- "approval_rounds": 1,
- "auto_renewal": "yes",
- "contract_type_id": "3",
- "description": "Contract Description",
- "external_id": "1234-5678-abcd-efgh",
- "marked_as_needs_attention_at": null,
- "needs_attention": false,
- "needs_attention_note": null,
- "needs_attention_reason": null,
- "number": 1,
- "renew_number_of_times": 3,
- "renewal_term_unit": "days",
- "renewal_term_value": 4,
- "renewal_termination_notice_date": "2031-07-30",
- "renewal_termination_notice_unit": "months",
- "renewal_termination_notice_value": 5,
- "renewal_termination_reminder_date": "2031-06-18",
- "renewal_termination_reminder_unit": "weeks",
- "renewal_termination_reminder_value": 6,
- "first_sent_for_approval_at": "2019-10-05T05:24:12.000Z",
- "sent_for_approval_at": "2019-10-05T05:24:12.000Z",
- "spend_category_id": "2",
- "state": "in_progress",
- "state_label": "Discovery",
- "terminated_note": null,
- "terminated_reason": null,
- "title": "Contract Title",
- "updated_at": "2019-10-29T21:28:46.790Z",
- "scc_updated_at": "2019-10-29T21:28:46.790Z",
- "request_submitted_at": "2019-10-28T21:28:46.790Z",
- "request_opened_at": null,
- "custom_fields": [
- {
- "name": "Custom Field Currency",
- "value": 1234567890
}, - {
- "name": "Custom Field Integer",
- "value": 1234567890
}, - {
- "name": "Custom Field Checkbox",
- "value": true
}, - {
- "name": "Custom Field Decimal",
- "value": 123456.78
}, - {
- "name": "Custom Field Date",
- "value": "2018-12-31T00:00:00.000Z"
}, - {
- "name": "Custom Field Select",
- "value": "Select Option"
}, - {
- "name": "Custom Field Multiple",
- "value": [
- "Multiple Select Option 1",
- "Multiple Select Option 2"
]
}, - {
- "name": "Custom Field Short Text",
- "value": "some short text"
}, - {
- "name": "Custom Field Paragraph",
- "value": "longer text than short text"
},
]
}, - "relationships": {
- "attachments": {
- "data": [
- {
- "id": "1",
- "type": "attachments"
}, - {
- "id": "2",
- "type": "attachments"
}
]
}, - "supplier_company": {
- "data": {
- "id": "1",
- "type": "supplier_companies"
}
}, - "creator": {
- "data": {
- "id": "1",
- "type": "stakeholders"
}
}, - "owner": {
- "data": {
- "id": "1",
- "type": "stakeholders"
}
}, - "contract_type": {
- "data": {
- "id": "3",
- "type": "contract_types"
}
}, - "docusign_envelopes": {
- "data": [
- {
- "id": "3",
- "type": "docusign_envelopes"
}
]
}, - "adobe_sign_agreements": {
- "data": [
- {
- "id": "4",
- "type": "adobe_sign_agreements"
}
]
}
},
}
}
Update a Contract
Updates the details of an existing contract. You need to supply the unique supplier contract that was returned upon contract creation.
Please note, that request body must include an id
attribute with the value of your contract
unique identifier (the same one you passed in the URL).
Authorizations:
path Parameters
id required | integer Example: 1 Unique Contract identifier. |
Request Body schema: application/vnd.api+json
object (ContractUpdate) |
Responses
Request samples
- Payload
- Curl
{- "data": {
- "type": "contracts",
- "id": "1",
- "attributes": {
- "actual_end_date": "2032-12-30",
- "actual_spend_amount": "22.11",
- "po_amount": "33.22",
- "invoiced_po_amount": "44.33",
- "non_po_invoiced_amount": "55.44",
- "actual_start_date": "2029-12-30",
- "auto_renewal": "yes",
- "description": "Contract Description Updated",
- "external_id": "1234-5678-abcd-efgh",
- "needs_attention": false,
- "needs_attention_note": null,
- "needs_attention_reason": null,
- "renew_number_of_times": 3,
- "renewal_term_unit": "days",
- "renewal_term_value": 4,
- "renewal_termination_notice_unit": "months",
- "renewal_termination_notice_value": 5,
- "renewal_termination_reminder_unit": "weeks",
- "renewal_termination_reminder_value": 6,
- "spend_category_id": "2",
- "state": "in_progress",
- "state_label": "Discovery",
- "terminated_note": null,
- "terminated_reason": null,
- "title": "Contract Title Updated",
- "custom_fields": [
- {
- "name": "Custom Field Currency",
- "value": 987654321
}, - {
- "name": "Custom Field Integer",
- "value": 987654321
}, - {
- "name": "Custom Field Checkbox",
- "value": false
}, - {
- "name": "Custom Field Decimal",
- "value": 876543.21
}, - {
- "name": "Custom Field Date",
- "value": "2018-12-25T00:00:00.000Z"
}, - {
- "name": "Custom Field Select",
- "value": "Select Option"
}, - {
- "name": "Custom Field Multiple",
- "value": [
- "Multiple Select Option 1",
- "Multiple Select Option 2"
]
}, - {
- "name": "Custom Field Short Text",
- "value": "some short text updated"
}, - {
- "name": "Custom Field Paragraph",
- "value": "longer text than short text updated"
},
]
}, - "relationships": {
- "contract_type": {
- "data": {
- "id": "3",
- "type": "contract_types"
}
}
}
}
}
Response samples
- 200
- 409
{- "data": {
- "type": "contracts",
- "id": "1",
- "attributes": {
- "actual_end_date": "2032-12-30",
- "actual_spend_amount": 22.11,
- "po_amount": 33.22,
- "invoiced_po_amount": 44.33,
- "non_po_invoiced_amount": 55.44,
- "total_invoiced_amount": 99.77,
- "actual_start_date": "2029-12-30",
- "auto_renewal": "yes",
- "approved_at": "2019-10-11T09:12:31.080Z",
- "approval_rounds": 1,
- "contract_type_id": "3",
- "description": "Contract Description Updated",
- "external_id": "1234-5678-abcd-efgh",
- "marked_as_needs_attention_at": null,
- "needs_attention": false,
- "needs_attention_note": null,
- "needs_attention_reason": null,
- "number": 1,
- "renew_number_of_times": 3,
- "renewal_term_unit": "days",
- "renewal_term_value": 4,
- "renewal_termination_notice_date": "2032-07-30",
- "renewal_termination_notice_unit": "months",
- "renewal_termination_notice_value": 5,
- "renewal_termination_reminder_date": "2032-06-18",
- "renewal_termination_reminder_unit": "weeks",
- "renewal_termination_reminder_value": 6,
- "first_sent_for_approval_at": "2019-10-05T05:24:12.000Z",
- "sent_for_approval_at": "2019-10-05T05:24:12.000Z",
- "spend_category_id": "2",
- "state": "in_progress",
- "state_label": "Discovery",
- "terminated_note": null,
- "terminated_reason": null,
- "title": "Contract Title Updated",
- "updated_at": "2019-10-29T21:28:46.790Z",
- "scc_updated_at": "2019-10-29T21:28:46.790Z",
- "request_submitted_at": "2019-10-28T21:28:46.790Z",
- "request_opened_at": null,
- "custom_fields": [
- {
- "name": "Custom Field Currency",
- "value": 987654321
}, - {
- "name": "Custom Field Integer",
- "value": 987654321
}, - {
- "name": "Custom Field Checkbox",
- "value": false
}, - {
- "name": "Custom Field Decimal",
- "value": 876543.21
}, - {
- "name": "Custom Field Date",
- "value": "2018-12-25T00:00:00.000Z"
}, - {
- "name": "Custom Field Select",
- "value": "Select Option"
}, - {
- "name": "Custom Field Multiple",
- "value": [
- "Multiple Select Option 1",
- "Multiple Select Option 2"
]
}, - {
- "name": "Custom Field Short Text",
- "value": "some short text updated"
}, - {
- "name": "Custom Field Paragraph",
- "value": "longer text than short text updated"
},
]
}, - "relationships": {
- "attachments": {
- "data": [
- {
- "id": "1",
- "type": "attachments"
}, - {
- "id": "2",
- "type": "attachments"
}
]
}, - "supplier_company": {
- "data": null
}, - "creator": {
- "data": {
- "id": "1",
- "type": "stakeholders"
}
}, - "owner": {
- "data": {
- "id": "2",
- "type": "stakeholders"
}
}, - "contract_type": {
- "data": {
- "id": "3",
- "type": "contract_types"
}
}, - "docusign_envelopes": {
- "data": [ ]
}, - "adobe_sign_agreements": {
- "data": [ ]
}
},
}
}
Delete a Contract
Deletes a contract. You need to supply the unique contract identifier that was returned upon contract creation.
Authorizations:
path Parameters
id required | integer Example: 1 Unique Contract identifier. |
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" \ -X DELETE \ "https://api.scoutrfp.com/v3/contracts/1"
Get a Contract by External ID
Retrieves the details of an existing contract. You need to supply the unique contract external identifier (the one you used when created the contract).
Authorizations:
path Parameters
external_id required | string Example: 1234-5678-abcd-efgh Contract external identifier. |
query Parameters
include | string (ContractRelatedResources) Enum: "attachments" "contract_type" "supplier_company" "docusign_envelopes" "adobe_sign_agreements" 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.scoutrfp.com/v3/contracts/SUP-1234/external_id"
Response samples
- 200
{- "data": {
- "type": "contracts",
- "id": "1",
- "attributes": {
- "actual_end_date": "2031-12-30",
- "actual_spend_amount": 11.11,
- "po_amount": 22.22,
- "invoiced_po_amount": 33.33,
- "non_po_invoiced_amount": 44.44,
- "total_invoiced_amount": 77.77,
- "actual_start_date": "2028-12-30",
- "auto_renewal": "yes",
- "approved_at": "2019-10-11T09:12:31.080Z",
- "approval_rounds": 1,
- "contract_type_id": "3",
- "description": "Contract Description",
- "external_id": "1234-5678-abcd-efgh",
- "marked_as_needs_attention_at": null,
- "needs_attention": false,
- "needs_attention_note": null,
- "needs_attention_reason": null,
- "number": 1,
- "renew_number_of_times": 3,
- "renewal_term_unit": "days",
- "renewal_term_value": 4,
- "renewal_termination_notice_date": "2031-07-30",
- "renewal_termination_notice_unit": "months",
- "renewal_termination_notice_value": 5,
- "renewal_termination_reminder_date": "2031-06-18",
- "renewal_termination_reminder_unit": "weeks",
- "renewal_termination_reminder_value": 6,
- "first_sent_for_approval_at": "2019-10-05T05:24:12.000Z",
- "sent_for_approval_at": "2019-10-05T05:24:12.000Z",
- "spend_category_id": "2",
- "state": "in_progress",
- "state_label": "Discovery",
- "terminated_note": null,
- "terminated_reason": null,
- "title": "Contract Title",
- "updated_at": "2019-10-29T21:28:46.790Z",
- "scc_updated_at": "2019-10-29T21:28:46.790Z",
- "request_submitted_at": "2019-10-28T21:28:46.790Z",
- "request_opened_at": null,
- "custom_fields": [
- {
- "name": "Custom Field Currency",
- "value": 1234567890
}, - {
- "name": "Custom Field Integer",
- "value": 1234567890
}, - {
- "name": "Custom Field Checkbox",
- "value": true
}, - {
- "name": "Custom Field Decimal",
- "value": 123456.78
}, - {
- "name": "Custom Field Date",
- "value": "2018-12-31T00:00:00.000Z"
}, - {
- "name": "Custom Field Select",
- "value": "Select Option"
}, - {
- "name": "Custom Field Multiple",
- "value": [
- "Multiple Select Option 1",
- "Multiple Select Option 2"
]
}, - {
- "name": "Custom Field Short Text",
- "value": "some short text"
}, - {
- "name": "Custom Field Paragraph",
- "value": "longer text than short text"
},
]
}, - "relationships": {
- "attachments": {
- "data": [
- {
- "id": "1",
- "type": "attachments"
}, - {
- "id": "2",
- "type": "attachments"
}
]
}, - "supplier_company": {
- "data": {
- "id": "1",
- "type": "supplier_companies"
}
}, - "creator": {
- "data": {
- "id": "1",
- "type": "stakeholders"
}
}, - "owner": {
- "data": {
- "id": "1",
- "type": "stakeholders"
}
}, - "contract_type": {
- "data": {
- "id": "3",
- "type": "contract_types"
}
}, - "docusign_envelopes": {
- "data": [
- {
- "id": "3",
- "type": "docusign_envelopes"
}
]
}, - "adobe_sign_agreements": {
- "data": [
- {
- "id": "4",
- "type": "adobe_sign_agreements"
}
]
}
},
}
}
Update a Contract by External ID
Updates the details of an existing contract. You need to supply the unique contract external identifier (the one you used when created the contract).
Please note, that request body must include an id
attribute with the value of your contract
external identifier (the same one you passed in the URL).
Authorizations:
path Parameters
external_id required | string Example: 1234-5678-abcd-efgh Contract external identifier. |
query Parameters
include | string (ContractRelatedResources) Enum: "attachments" "contract_type" "supplier_company" "docusign_envelopes" "adobe_sign_agreements" Use the |
Request Body schema: application/vnd.api+json
object (ContractUpdate) |
Responses
Request samples
- Payload
- Curl
{- "data": {
- "type": "contracts",
- "id": "1234-5678-abcd-efgh",
- "attributes": {
- "actual_end_date": "2032-12-30",
- "actual_spend_amount": "22.11",
- "po_amount": "33.22",
- "invoiced_po_amount": "44.33",
- "non_po_invoiced_amount": "55.44",
- "actual_start_date": "2029-12-30",
- "auto_renewal": "yes",
- "description": "Contract Description Updated",
- "external_id": "1234-5678-abcd-efgh",
- "needs_attention": false,
- "needs_attention_note": null,
- "needs_attention_reason": null,
- "renew_number_of_times": 3,
- "renewal_term_unit": "days",
- "renewal_term_value": 4,
- "renewal_termination_notice_unit": "months",
- "renewal_termination_notice_value": 5,
- "renewal_termination_reminder_unit": "weeks",
- "renewal_termination_reminder_value": 6,
- "spend_category_id": "2",
- "state": "in_progress",
- "state_label": "Discovery",
- "terminated_note": null,
- "terminated_reason": null,
- "title": "Contract Title Updated",
- "custom_fields": [
- {
- "name": "Custom Field Currency",
- "value": 987654321
}, - {
- "name": "Custom Field Integer",
- "value": 987654321
}, - {
- "name": "Custom Field Checkbox",
- "value": false
}, - {
- "name": "Custom Field Decimal",
- "value": 876543.21
}, - {
- "name": "Custom Field Date",
- "value": "2018-12-25T00:00:00.000Z"
}, - {
- "name": "Custom Field Select",
- "value": "Select Option"
}, - {
- "name": "Custom Field Multiple",
- "value": [
- "Multiple Select Option 1",
- "Multiple Select Option 2"
]
}, - {
- "name": "Custom Field Short Text",
- "value": "some short text updated"
}, - {
- "name": "Custom Field Paragraph",
- "value": "longer text than short text updated"
},
]
}, - "relationships": {
- "supplier_company": {
- "data": {
- "id": "1",
- "type": "supplier_companies"
}
}, - "owner": {
- "meta": {
- "email": "contract.owner@example.com"
}
}, - "contract_type": {
- "data": {
- "id": "3",
- "type": "contract_types"
}
}
}
}
}
Response samples
- 200
{- "data": {
- "type": "contracts",
- "id": "1",
- "attributes": {
- "actual_end_date": "2032-12-30",
- "actual_spend_amount": 22.11,
- "po_amount": 33.22,
- "invoiced_po_amount": 44.33,
- "non_po_invoiced_amount": 55.44,
- "total_invoiced_amount": 99.77,
- "actual_start_date": "2029-12-30",
- "approved_at": "2019-10-11T09:12:31.080Z",
- "approval_rounds": 1,
- "auto_renewal": "yes",
- "contract_type_id": "3",
- "description": "Contract Description Updated",
- "external_id": "1234-5678-abcd-efgh",
- "marked_as_needs_attention_at": null,
- "needs_attention": false,
- "needs_attention_note": null,
- "needs_attention_reason": null,
- "number": 1,
- "renew_number_of_times": 3,
- "renewal_term_unit": "days",
- "renewal_term_value": 4,
- "renewal_termination_notice_date": "2032-07-30",
- "renewal_termination_notice_unit": "months",
- "renewal_termination_notice_value": 5,
- "renewal_termination_reminder_date": "2032-06-18",
- "renewal_termination_reminder_unit": "weeks",
- "renewal_termination_reminder_value": 6,
- "first_sent_for_approval_at": "2019-10-05T05:24:12.000Z",
- "sent_for_approval_at": "2019-10-05T05:24:12.000Z",
- "spend_category_id": "2",
- "state": "in_progress",
- "state_label": "Discovery",
- "terminated_note": null,
- "terminated_reason": null,
- "title": "Contract Title Updated",
- "updated_at": "2019-10-29T21:28:46.790Z",
- "scc_updated_at": "2019-10-29T21:28:46.790Z",
- "request_submitted_at": "2019-10-28T21:28:46.790Z",
- "request_opened_at": null,
- "custom_fields": [
- {
- "name": "Custom Field Currency",
- "value": 987654321
}, - {
- "name": "Custom Field Integer",
- "value": 987654321
}, - {
- "name": "Custom Field Checkbox",
- "value": false
}, - {
- "name": "Custom Field Decimal",
- "value": 876543.21
}, - {
- "name": "Custom Field Date",
- "value": "2018-12-25T00:00:00.000Z"
}, - {
- "name": "Custom Field Select",
- "value": "Select Option"
}, - {
- "name": "Custom Field Multiple",
- "value": [
- "Multiple Select Option 1",
- "Multiple Select Option 2"
]
}, - {
- "name": "Custom Field Short Text",
- "value": "some short text updated"
}, - {
- "name": "Custom Field Paragraph",
- "value": "longer text than short text updated"
},
]
}, - "relationships": {
- "attachments": {
- "data": [
- {
- "id": "1",
- "type": "attachments"
}, - {
- "id": "2",
- "type": "attachments"
}
]
}, - "supplier_company": {
- "data": {
- "id": "1",
- "type": "supplier_companies"
}
}, - "creator": {
- "data": {
- "id": "1",
- "type": "stakeholders"
}
}, - "owner": {
- "data": {
- "id": "2",
- "type": "stakeholders"
}
}, - "contract_type": {
- "data": {
- "id": "3",
- "type": "contract_types"
}
}, - "docusign_envelopes": {
- "data": [ ]
}, - "adobe_sign_agreements": {
- "data": [ ]
}
},
}
}
Delete a Contract by External ID
Deletes a contract. You need to supply the unique contract external identifier (the one you used when created the contract).
Authorizations:
path Parameters
external_id required | string Example: 1234-5678-abcd-efgh Contract external identifier. |
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" \ -X DELETE \ "https://api.scoutrfp.com/v3/contracts/SUP-1234/external_id"
Describe Contract object
Returns a list of fields for the contract object.
Authorizations:
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.scoutrfp.com/v3/contracts/describe"
Response samples
- 200
{- "meta": {
- "count": 36
}, - "data": [
- {
- "id": "actual_end_date",
- "type": "contract_fields",
- "attributes": {
- "name": "actual_end_date",
- "data_type": "string",
- "scout_field_type": "Date",
- "custom_field": false
}
}, - {
- "id": "actual_spend_amount",
- "type": "contract_fields",
- "attributes": {
- "name": "actual_spend_amount",
- "data_type": "number",
- "scout_field_type": "Currency",
- "custom_field": false
}
}, - {
- "id": "po_amount",
- "type": "contract_fields",
- "attributes": {
- "name": "po_amount",
- "data_type": "number",
- "scout_field_type": "Currency",
- "custom_field": false
}
}, - {
- "id": "invoiced_po_amount",
- "type": "contract_fields",
- "attributes": {
- "name": "invoiced_po_amount",
- "data_type": "number",
- "scout_field_type": "Currency",
- "custom_field": false
}
}, - {
- "id": "non_po_invoiced_amount",
- "type": "contract_fields",
- "attributes": {
- "name": "non_po_invoiced_amount",
- "data_type": "number",
- "scout_field_type": "Currency",
- "custom_field": false
}
}, - {
- "id": "total_invoiced_amount",
- "type": "contract_fields",
- "attributes": {
- "name": "total_invoiced_amount",
- "data_type": "number",
- "scout_field_type": "Currency",
- "custom_field": false
}
}, - {
- "id": "actual_start_date",
- "type": "contract_fields",
- "attributes": {
- "name": "actual_start_date",
- "data_type": "string",
- "scout_field_type": "Date",
- "custom_field": false
}
}, - {
- "id": "auto_renewal",
- "type": "contract_fields",
- "attributes": {
- "name": "auto_renewal",
- "data_type": "string",
- "scout_field_type": "Single Select",
- "custom_field": false
}
}, - {
- "id": "description",
- "type": "contract_fields",
- "attributes": {
- "name": "description",
- "data_type": "string",
- "scout_field_type": "Paragraph",
- "custom_field": false
}
}, - {
- "id": "external_id",
- "type": "contract_fields",
- "attributes": {
- "name": "external_id",
- "data_type": "string",
- "scout_field_type": "Short Text",
- "custom_field": false
}
}, - {
- "id": "needs_attention",
- "type": "contract_fields",
- "attributes": {
- "name": "needs_attention",
- "data_type": "boolean",
- "scout_field_type": "Checkbox",
- "custom_field": false
}
}, - {
- "id": "renew_number_of_times",
- "type": "contract_fields",
- "attributes": {
- "name": "renew_number_of_times",
- "data_type": "integer",
- "scout_field_type": "Integer",
- "custom_field": false
}
}, - {
- "id": "renewal_term_unit",
- "type": "contract_fields",
- "attributes": {
- "name": "renewal_term_unit",
- "data_type": "string",
- "scout_field_type": "Single Select",
- "custom_field": false
}
}, - {
- "id": "renewal_term_value",
- "type": "contract_fields",
- "attributes": {
- "name": "renewal_term_value",
- "data_type": "integer",
- "scout_field_type": "Integer",
- "custom_field": false
}
}, - {
- "id": "renewal_termination_notice_unit",
- "type": "contract_fields",
- "attributes": {
- "name": "renewal_termination_notice_unit",
- "data_type": "string",
- "scout_field_type": "Single Select",
- "custom_field": false
}
}, - {
- "id": "renewal_termination_notice_value",
- "type": "contract_fields",
- "attributes": {
- "name": "renewal_termination_notice_value",
- "data_type": "integer",
- "scout_field_type": "Integer",
- "custom_field": false
}
}, - {
- "id": "renewal_termination_reminder_unit",
- "type": "contract_fields",
- "attributes": {
- "name": "renewal_termination_reminder_unit",
- "data_type": "string",
- "scout_field_type": "Single Select",
- "custom_field": false
}
}, - {
- "id": "renewal_termination_reminder_value",
- "type": "contract_fields",
- "attributes": {
- "name": "renewal_termination_reminder_value",
- "data_type": "integer",
- "scout_field_type": "Integer",
- "custom_field": false
}
}, - {
- "id": "state",
- "type": "contract_fields",
- "attributes": {
- "name": "state",
- "data_type": "string",
- "scout_field_type": "Single Select",
- "custom_field": false
}
}, - {
- "id": "state_label",
- "type": "contract_fields",
- "attributes": {
- "name": "state_label",
- "data_type": "string",
- "scout_field_type": "Single Select",
- "custom_field": false
}
}, - {
- "id": "terminated_note",
- "type": "contract_fields",
- "attributes": {
- "name": "terminated_note",
- "data_type": "string",
- "scout_field_type": "Short Text",
- "custom_field": false
}
}, - {
- "id": "terminated_reason",
- "type": "contract_fields",
- "attributes": {
- "name": "terminated_reason",
- "data_type": "string",
- "scout_field_type": "Single Select",
- "custom_field": false
}
}, - {
- "id": "title",
- "type": "contract_fields",
- "attributes": {
- "name": "title",
- "data_type": "string",
- "scout_field_type": "Short Text",
- "custom_field": false
}
}, - {
- "id": "approved_at",
- "type": "contract_fields",
- "attributes": {
- "name": "approved_at",
- "data_type": "string",
- "scout_field_type": "Date",
- "custom_field": false
}
}, - {
- "id": "contract_type_id",
- "type": "contract_fields",
- "attributes": {
- "name": "contract_type_id",
- "data_type": "string",
- "scout_field_type": "Short Text",
- "custom_field": false
}
}, - {
- "id": "marked_as_needs_attention_at",
- "type": "contract_fields",
- "attributes": {
- "name": "marked_as_needs_attention_at",
- "data_type": "string",
- "scout_field_type": "Date",
- "custom_field": false
}
}, - {
- "id": "needs_attention_note",
- "type": "contract_fields",
- "attributes": {
- "name": "needs_attention_note",
- "data_type": "string",
- "scout_field_type": "Short Text",
- "custom_field": false
}
}, - {
- "id": "needs_attention_reason",
- "type": "contract_fields",
- "attributes": {
- "name": "needs_attention_reason",
- "data_type": "string",
- "scout_field_type": "Single Select",
- "custom_field": false
}
}, - {
- "id": "number",
- "type": "contract_fields",
- "attributes": {
- "name": "number",
- "data_type": "integer",
- "scout_field_type": "Integer",
- "custom_field": false
}
}, - {
- "id": "renewal_termination_notice_date",
- "type": "contract_fields",
- "attributes": {
- "name": "renewal_termination_notice_date",
- "data_type": "string",
- "scout_field_type": "Date",
- "custom_field": false
}
}, - {
- "id": "renewal_termination_reminder_date",
- "type": "contract_fields",
- "attributes": {
- "name": "renewal_termination_reminder_date",
- "data_type": "string",
- "scout_field_type": "Date",
- "custom_field": false
}
}, - {
- "id": "sent_for_approval_at",
- "type": "contract_fields",
- "attributes": {
- "name": "sent_for_approval_at",
- "data_type": "string",
- "scout_field_type": "Date",
- "custom_field": false
}
}, - {
- "id": "spend_category_id",
- "type": "contract_fields",
- "attributes": {
- "name": "spend_category_id",
- "data_type": "string",
- "scout_field_type": "Short Text",
- "custom_field": false
}
}, - {
- "id": "updated_at",
- "type": "contract_fields",
- "attributes": {
- "name": "updated_at",
- "data_type": "string",
- "scout_field_type": "Date",
- "custom_field": false
}
}, - {
- "id": "scc_updated_at",
- "type": "contract_fields",
- "attributes": {
- "name": "scc_updated_at",
- "data_type": "string",
- "scout_field_type": "Date",
- "custom_field": false
}
}, - {
- "id": "custom_field_1",
- "type": "contract_fields",
- "attributes": {
- "name": "Custom field #1",
- "data_type": "string",
- "scout_field_type": "Short Text",
- "custom_field": true
}
}
], - "links": { }
}
Use the contract types API to query the contract types in Workday Strategic Sourcing.
Contract Types are used in the contract resource. On POST and PATCH related endpoints for this resource a contract_type_id can be added to set the contract type. The contract_type_id is a foreign key for the contract_types resource's id.
type required | string (ContractTypeType) Object type, should always be |
id required | integer (ContractTypeId) Contract type identifier string. |
object (ContractTypeAttributes) Contract type attributes. |
{- "type": "contract_types",
- "id": 1,
- "attributes": {
- "name": "My Contract Type",
- "shortcode": "CPUB",
- "external_id": "1234-5678-abcd-efgh"
}
}
List Contract Types
Returns a list of all contract types.
Authorizations:
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.scoutrfp.com/v3/contract_types"
Response samples
- 200
{- "meta": {
- "count": 2
}, - "data": [
- {
- "type": "contract_types",
- "id": "1",
- "attributes": {
- "name": "Contract Type #1",
- "shortcode": "CTRA",
- "external_id": "CTR$1"
},
}, - {
- "type": "contract_types",
- "id": "2",
- "attributes": {
- "name": "Contract Type #2",
- "shortcode": "CTRB",
- "external_id": "CTR$2"
},
}
],
}
Create a Contract Type
Create a contract type with given parameters.
Authorizations:
Request Body schema: application/vnd.api+json
object (ContractTypeCreate) |
Responses
Request samples
- Payload
- Curl
{- "data": {
- "type": "contract_types",
- "attributes": {
- "name": "The Contract Type",
- "shortcode": "CTRT",
- "external_id": "CTR$1"
}
}
}
Response samples
- 201
{- "data": {
- "type": "contract_types",
- "id": "1",
- "attributes": {
- "name": "The Contract Type",
- "shortcode": "CTRT",
- "external_id": "CTR$1"
},
}
}
Get a Contract Type
Retrieves the details of an existing contract type.
Authorizations:
path Parameters
id required | integer Example: 1 Unique contract type identifier. |
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.scoutrfp.com/v3/contract_types/1"
Response samples
- 200
{- "data": {
- "type": "contract_types",
- "id": "1",
- "attributes": {
- "name": "The Contract Type",
- "shortcode": "CTRT",
- "external_id": "CTR$1"
},
}
}
Update a Contract Type
Updates the details of an existing contract type. You need to supply the unique identifier that was returned upon contract type creation.
Please note, that request body must include an id
attribute with the value of your contract type
unique identifier (the same one you passed in the URL).
Authorizations:
path Parameters
id required | integer Example: 1 Unique contract type identifier. |
Request Body schema: application/vnd.api+json
object (ContractTypeUpdate) |
Responses
Request samples
- Payload
- Curl
{- "data": {
- "id": "1",
- "type": "contract_types",
- "attributes": {
- "name": "Updated Contract Type",
- "shortcode": "C1",
- "external_id": "C$1"
}
}
}
Response samples
- 200
- 409
{- "data": {
- "id": "1",
- "type": "contract_types",
- "attributes": {
- "name": "Updated Contract Type",
- "shortcode": "C1",
- "external_id": "C$1"
},
}
}
Delete a Contract Type
Deletes a contract type. You need to supply the unique contract type identifier that was returned upon contract type creation.
Authorizations:
path Parameters
id required | integer Example: 1 Unique contract type identifier. |
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" \ -X DELETE \ "https://api.scoutrfp.com/v3/contract_types/1"
Get a Contract Type by External ID
Retrieves the details of an existing contract type.
Authorizations:
path Parameters
external_id required | string Example: CTR$1 Unique contract type external identifier. |
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.scoutrfp.com/v3/contract_types/CTR$1/external_id"
Response samples
- 200
{- "data": {
- "type": "contract_types",
- "id": "1",
- "attributes": {
- "name": "The Contract Type",
- "shortcode": "CTRT",
- "external_id": "CTR$1"
},
}
}
Update a Contract Type by External ID
Updates the details of an existing contract type. You need to supply the unique external identifier assigned to the contract type on creation.
Please note, that request body must include an id
attribute with the value of your contract type
unique identifier (the same one you passed in the URL).
Authorizations:
path Parameters
external_id required | string Example: CTR$1 Unique contract type external identifier. |
Request Body schema: application/vnd.api+json
object (ContractTypeUpdate) |
Responses
Request samples
- Payload
- Curl
{- "data": {
- "id": "CTR$1",
- "type": "contract_types",
- "attributes": {
- "name": "Updated Contract Type",
- "shortcode": "C1",
- "external_id": "C$1"
}
}
}
Response samples
- 200
{- "data": {
- "id": "1",
- "type": "contract_types",
- "attributes": {
- "name": "Updated Contract Type",
- "shortcode": "C1",
- "external_id": "C$1"
},
}
}
Delete a Contract Type by External ID
Deletes a contract type. You need to supply the unique contract type external identifier assigned to the contract type on creation.
Authorizations:
path Parameters
external_id required | string Example: CTR$1 Unique contract type external identifier. |
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" \ -X DELETE \ "https://api.scoutrfp.com/v3/contract_types/CTR$1/external_id"
type required | string (EventType) Object type, should always be |
id required | integer (EventId) Event identifier string. |
object (EventAttributes) Event attributes. | |
object (EventRelationship) Event relationships. | |
object (ResourceLinks) List of related links. |
{- "id": "1",
- "type": "events",
- "attributes": {
- "title": "Event Title",
- "spend_amount": 500,
- "supplier_rsvp_deadline": "2020-03-30T19:00:00.000Z",
- "supplier_question_deadline": "2020-04-30T19:00:00.000Z",
- "bid_submission_deadline": "2020-05-30T19:00:00.000Z",
- "event_type": "RFP",
- "state": "closed",
- "duplication_state": "finished",
- "request_type": "RFP",
- "late_bids": true,
- "revise_bids": false,
- "instant_notifications": false,
- "spend_category_id": "1",
- "updated_at": "2020-03-17T02:36:31.276Z",
- "closed_at": "2020-03-16T02:36:31.276Z",
- "external_id": "EVENT1",
- "custom_fields": [
- {
- "name": "Field #0",
- "value": "Field value"
}
]
}, - "relationships": {
- "attachments": {
- "data": [
- {
- "id": "1",
- "type": "attachments"
}, - {
- "id": "2",
- "type": "attachments"
}
]
}, - "event_template": {
- "data": {
- "id": "1",
- "type": "event_templates"
}
}, - "project": {
- "data": {
- "id": "1",
- "type": "projects"
}
}, - "commodity_codes": {
- "data": [
- {
- "id": "1",
- "type": "commodity_codes"
}, - {
- "id": "2",
- "type": "commodity_codes"
}
]
}
},
}
List Events
Returns a list of events for the specified criteria.
Authorizations:
query Parameters
object (EventInputFilter) Filter events by multiple criteria. Only one filter per attribute is supported. For best performance, we recommend 5 or less filters. | |
object (PageInput) Customize pagination results with |
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.scoutrfp.com/v3/events"
Response samples
- 200
{- "meta": {
- "count": 2
}, - "data": [
- {
- "id": "1",
- "type": "events",
- "attributes": {
- "title": "Event #1",
- "spend_amount": 500,
- "supplier_rsvp_deadline": "2020-03-30T19:00:00.000Z",
- "supplier_question_deadline": "2020-04-30T19:00:00.000Z",
- "bid_submission_deadline": "2020-05-30T19:00:00.000Z",
- "event_type": "RFP",
- "state": "draft",
- "duplication_state": null,
- "request_type": "RFP",
- "late_bids": true,
- "revise_bids": false,
- "instant_notifications": false,
- "custom_fields": [
- {
- "name": "Field #0",
- "value": null
}
], - "spend_category_id": "1",
- "updated_at": "2020-03-17T02:36:31.276Z",
- "closed_at": null,
- "external_id": "EVENT1"
}, - "relationships": {
- "attachments": {
- "data": [ ]
}, - "event_template": {
- "data": null
}, - "project": {
- "data": null
}, - "commodity_codes": {
- "data": [ ]
}
},
}, - {
- "id": "2",
- "type": "events",
- "attributes": {
- "title": "Event #2",
- "spend_amount": 231,
- "supplier_rsvp_deadline": null,
- "supplier_question_deadline": null,
- "bid_submission_deadline": null,
- "event_type": "RFP",
- "state": "draft",
- "duplication_state": null,
- "request_type": "RFP",
- "late_bids": true,
- "revise_bids": true,
- "instant_notifications": false,
- "custom_fields": [
- {
- "name": "Field #0",
- "value": "Field value"
}
], - "spend_category_id": "1",
- "updated_at": "2020-03-17T03:01:45.616Z",
- "closed_at": null,
- "external_id": "EVENT2"
}, - "relationships": {
- "attachments": {
- "data": [
- {
- "id": "1",
- "type": "attachments"
}, - {
- "id": "2",
- "type": "attachments"
}
]
}, - "event_template": {
- "data": {
- "id": "1",
- "type": "event_templates"
}
}, - "project": {
- "data": {
- "id": "1",
- "type": "projects"
}
}, - "commodity_codes": {
- "data": [
- {
- "id": "1",
- "type": "commodity_codes"
}, - {
- "id": "2",
- "type": "commodity_codes"
}
]
}
},
}
],
}
Create an Event
Events can only be created from a template. When a creation request is issued, the base event
object will be created from the template and returned with the response. Child records
such as attachments, price sheets, custom values, will be scheduled for copy asynchronously.
Current duplication status can be retrieved from the duplication_state
attribute, which will have
one of following values:
scheduled
- duplication is scheduled, but not yet started;started
- duplication started, but not yet finished;finished
- duplication completed;failed
- there was an error duplicating relationships.
An event should always have an associated project, please make sure to specify it as always relationship object.
Please note, this endpoint does not support auction creation/duplication.
Authorizations:
Request Body schema: application/vnd.api+json
object (EventCreate) |
Responses
Request samples
- Payload
- Curl
{- "data": {
- "type": "events",
- "attributes": {
- "duplicate_bids": true,
- "external_id": "EVENT1"
}, - "relationships": {
- "event_template": {
- "data": {
- "id": "1",
- "type": "event_templates"
}
}, - "project": {
- "data": {
- "id": "1",
- "type": "projects"
}
}
}
}
}
Response samples
- 201
- 422
{- "data": {
- "id": "2",
- "type": "events",
- "attributes": {
- "title": "Copy of Event Title",
- "spend_amount": 500,
- "supplier_rsvp_deadline": "2020-03-30T19:00:00.000Z",
- "supplier_question_deadline": "2020-04-30T19:00:00.000Z",
- "bid_submission_deadline": "2020-05-30T19:00:00.000Z",
- "event_type": "RFP",
- "state": "draft",
- "request_type": "RFP",
- "late_bids": true,
- "revise_bids": true,
- "instant_notifications": true,
- "custom_fields": [ ],
- "spend_category_id": "1",
- "updated_at": "2020-03-17T02:36:31.276Z",
- "closed_at": null,
- "duplication_state": "scheduled",
- "external_id": "EVENT1"
}, - "relationships": {
- "attachments": {
- "data": [ ]
}, - "event_template": {
- "data": {
- "id": "1",
- "type": "event_templates"
}
}, - "project": {
- "data": {
- "id": "1",
- "type": "projects"
}
}, - "commodity_codes": {
- "data": [ ]
}
},
}
}
Get an Event
Retrieves the details of an existing event. You need to supply the unique event identifier that was returned upon event creation.
Authorizations:
path Parameters
id required | integer Example: 1 Unique Event identifier. |
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.scoutrfp.com/v3/events/1"
Response samples
- 200
{- "data": {
- "id": "1",
- "type": "events",
- "attributes": {
- "title": "Event Title",
- "spend_amount": 500,
- "supplier_rsvp_deadline": "2020-03-30T19:00:00.000Z",
- "supplier_question_deadline": "2020-04-30T19:00:00.000Z",
- "bid_submission_deadline": "2020-05-30T19:00:00.000Z",
- "event_type": "RFP",
- "state": "draft",
- "duplication_state": "finished",
- "request_type": "RFP",
- "late_bids": true,
- "revise_bids": false,
- "instant_notifications": false,
- "custom_fields": [
- {
- "name": "Field #1",
- "value": "Field value"
}
], - "spend_category_id": "1",
- "updated_at": "2020-03-17T02:36:31.276Z",
- "closed_at": null,
- "external_id": "EVENT1"
}, - "relationships": {
- "attachments": {
- "data": [
- {
- "id": "1",
- "type": "attachments"
}, - {
- "id": "2",
- "type": "attachments"
}
]
}, - "event_template": {
- "data": {
- "id": "1",
- "type": "event_templates"
}
}, - "project": {
- "data": {
- "id": "1",
- "type": "projects"
}
}, - "commodity_codes": {
- "data": [
- {
- "id": "1",
- "type": "commodity_codes"
}, - {
- "id": "2",
- "type": "commodity_codes"
}
]
}
},
}
}
Update an Event
Updates the details of an existing event. You need to supply the unique identifier that was returned upon event creation.
Please note, that request body must include an id
attribute with the value of your event
unique identifier (the same one you passed in the URL).
Authorizations:
path Parameters
id required | integer Example: 1 Unique Event identifier. |
Request Body schema: application/vnd.api+json
object (EventUpdate) |
Responses
Request samples
- Payload
- Curl
{- "data": {
- "type": "events",
- "id": "2",
- "attributes": {
- "title": "Event Title Updated",
- "spend_amount": 244.44,
- "late_bids": true,
- "revise_bids": false,
- "instant_notifications": false,
- "supplier_rsvp_deadline": "2031-12-30T00:00:00.000Z",
- "supplier_question_deadline": "2032-12-30T00:00:00.000Z",
- "bid_submission_deadline": "2033-12-30T00:00:00.000Z",
- "external_id": "UEVENT1",
- "custom_fields": [
- {
- "name": "Custom field name",
- "value": "Updated custom field value"
}
]
}, - "relationships": {
- "project": {
- "data": {
- "id": "3",
- "type": "projects"
}
}, - "spend_category": {
- "data": {
- "id": "4",
- "type": "spend_categories"
}
}, - "department": {
- "data": {
- "id": "5",
- "type": "departments"
}
}
}
}
}
Response samples
- 200
- 409
{- "data": {
- "type": "events",
- "id": "2",
- "attributes": {
- "title": "Event Title Updated",
- "spend_amount": 244.44,
- "event_type": "RFP",
- "request_type": "RFP",
- "spend_category_id": "4",
- "state": "draft",
- "duplication_state": null,
- "late_bids": true,
- "revise_bids": false,
- "instant_notifications": false,
- "custom_fields": [
- {
- "name": "Custom field name",
- "value": "Updated custom field value"
}
], - "supplier_rsvp_deadline": "2031-12-30T00:00:00.000Z",
- "supplier_question_deadline": "2032-12-30T00:00:00.000Z",
- "bid_submission_deadline": "2033-12-30T00:00:00.000Z",
- "closed_at": null,
- "external_id": "UEVENT1"
}, - "relationships": {
- "event_template": {
- "data": {
- "id": "1",
- "type": "event_templates"
}
}, - "project": {
- "data": {
- "id": "3",
- "type": "projects"
}
}, - "commodity_codes": {
- "data": [ ]
}
},
}
}
Delete an Event
Deletes an event. You need to supply the unique event identifier that was returned upon event creation.
Authorizations:
path Parameters
id required | integer Example: 1 Unique Event identifier. |
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" \ -X DELETE \ "https://api.scoutrfp.com/v3/events/1"
Describe Event Object
Returns the list of fields for the event object.
Authorizations:
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.scoutrfp.com/v3/events/describe"
Response samples
- 200
{- "data": [
- {
- "id": "title",
- "type": "event_fields",
- "attributes": {
- "name": "title",
- "data_type": "string",
- "scout_field_type": "Short Text",
- "custom_field": false
}
}, - {
- "id": "external_id",
- "type": "event_fields",
- "attributes": {
- "name": "external_id",
- "data_type": "string",
- "scout_field_type": "Short Text",
- "custom_field": false
}
}, - {
- "id": "state",
- "type": "event_fields",
- "attributes": {
- "name": "state",
- "data_type": "string",
- "scout_field_type": "Single Select",
- "custom_field": false
}
}, - {
- "id": "spend_amount",
- "type": "event_fields",
- "attributes": {
- "name": "spend_amount",
- "data_type": "number",
- "scout_field_type": "Currency",
- "custom_field": false
}
}, - {
- "id": "request_type",
- "type": "event_fields",
- "attributes": {
- "name": "request_type",
- "data_type": "string",
- "scout_field_type": "Single Select",
- "custom_field": false
}
}, - {
- "id": "late_bids",
- "type": "event_fields",
- "attributes": {
- "name": "late_bids",
- "data_type": "boolean",
- "scout_field_type": "Checkbox",
- "custom_field": false
}
}, - {
- "id": "revise_bids",
- "type": "event_fields",
- "attributes": {
- "name": "revise_bids",
- "data_type": "boolean",
- "scout_field_type": "Checkbox",
- "custom_field": false
}
}, - {
- "id": "department",
- "type": "event_fields",
- "attributes": {
- "name": "department",
- "data_type": "string",
- "scout_field_type": "Short Text",
- "custom_field": false
}
}, - {
- "id": "instant_notifications",
- "type": "event_fields",
- "attributes": {
- "name": "instant_notifications",
- "data_type": "boolean",
- "scout_field_type": "Checkbox",
- "custom_field": false
}
}, - {
- "id": "supplier_rsvp_deadline",
- "type": "event_fields",
- "attributes": {
- "name": "supplier_rsvp_deadline",
- "data_type": "string",
- "scout_field_type": "Date",
- "custom_field": false
}
}, - {
- "id": "supplier_question_deadline",
- "type": "event_fields",
- "attributes": {
- "name": "supplier_question_deadline",
- "data_type": "string",
- "scout_field_type": "Date",
- "custom_field": false
}
}, - {
- "id": "bid_submission_deadline",
- "type": "event_fields",
- "attributes": {
- "name": "bid_submission_deadline",
- "data_type": "string",
- "scout_field_type": "Date",
- "custom_field": false
}
}, - {
- "id": "spend_category_id",
- "type": "event_fields",
- "attributes": {
- "name": "spend_category_id",
- "data_type": "integer",
- "scout_field_type": "Integer",
- "custom_field": false
}
}, - {
- "id": "updated_at",
- "type": "event_fields",
- "attributes": {
- "name": "updated_at",
- "data_type": "string",
- "scout_field_type": "Date",
- "custom_field": false
}
}, - {
- "id": "closed_at",
- "type": "event_fields",
- "attributes": {
- "name": "closed_at",
- "data_type": "string",
- "scout_field_type": "Date",
- "custom_field": false
}
}, - {
- "id": "custom_field_1",
- "type": "event_fields",
- "attributes": {
- "name": "Custom field #1",
- "data_type": "string",
- "scout_field_type": "Short Text",
- "custom_field": true
}
}
], - "links": { },
- "meta": {
- "count": 16
}
}
Add Event Suppliers
Add suppliers to an event. Only events of type RFP
are supported.
The operation will be rolled back upon any failure, and invitations won't be sent.
For best performance, we recommend inviting 10 or less suppliers in a single request.
Authorizations:
path Parameters
event_id required | integer Example: 1 Event identifier. |
Request Body schema: application/vnd.api+json
Array of objects (SupplierCompany) |
Responses
Request samples
- Payload
- Curl
{- "data": [
- {
- "type": "supplier_companies",
- "id": "5"
}, - {
- "type": "supplier_companies",
- "id": "11"
}
]
}
Remove Event Suppliers
Remove suppliers from an event. Only events of type RFP
are supported.
The operation will be rolled back upon any failure, and invitations won't be removed.
For best performance, we recommend removing 10 or less suppliers in a single request.
Authorizations:
path Parameters
event_id required | integer Example: 1 Event identifier. |
Request Body schema: application/vnd.api+json
object (SupplierCompany) |
Responses
Request samples
- Payload
- Curl
{- "data": [
- {
- "type": "supplier_companies",
- "id": "5"
}, - {
- "type": "supplier_companies",
- "id": "11"
}
]
}
Add Event Suppliers using External IDs
Add suppliers to an event. Only events of type RFP
are supported.
You must supply the unique event external identifier (the one you used when created the event).
You must supply the external identifiers of the supplier companies too.
The operation will be rolled back upon any failure, and invitations won't be sent.
For best performance, we recommend inviting 10 or less suppliers in a single request.
Authorizations:
path Parameters
event_external_id required | string Example: EVENT1 Event external identifier. |
Request Body schema: application/vnd.api+json
Array of objects (ExternalSupplierCompany) |
Responses
Request samples
- Payload
- Curl
{- "data": [
- {
- "type": "supplier_companies",
- "id": "SUP5"
}, - {
- "type": "supplier_companies",
- "id": "SUP11"
}
]
}
Remove Event Suppliers using External IDs
Remove suppliers from an event. Only events of type RFP
are supported.
You must supply the unique event external identifier (the one you used when created the event).
You must supply the external identifiers of the supplier companies too.
The operation will be rolled back upon any failure, and invitations won't be removed.
For best performance, we recommend removing 10 or less suppliers in a single request.
Authorizations:
path Parameters
event_external_id required | string Example: EVENT1 Event external identifier. |
Request Body schema: application/vnd.api+json
Array of objects (ExternalSupplierCompany) |
Responses
Request samples
- Payload
- Curl
{- "data": [
- {
- "type": "supplier_companies",
- "id": "SUP5"
}, - {
- "type": "supplier_companies",
- "id": "SUP11"
}
]
}
Use the event supplier contacts API to manage event suppliers. This API provides 2 advantages over the event supplier companies APIs:
- It allows specifying the supplier contact to be associated/removed from an event.
- It allows specifying multiple contacts for a given supplier.
Add Event Suppliers using Contacts
Add suppliers to an event using supplier contacts. Only events of type RFP
are supported.
For best performance, we recommend inviting 10 or less supplier contacts in a single request.
Authorizations:
path Parameters
event_id required | integer Example: 1 Event identifier. |
Request Body schema: application/vnd.api+json
Array of objects (SupplierContact) |
Responses
Request samples
- Payload
- Curl
{- "data": [
- {
- "type": "supplier_contacts",
- "id": "10"
}, - {
- "type": "supplier_contacts",
- "id": "17"
}
]
}
Remove Event Suppliers using Contacts
Remove suppliers from an event using supplier contacts. Only events of type RFP
are supported.
For best performance, we recommend removing 10 or less supplier contacts in a single request.
Authorizations:
path Parameters
event_id required | integer Example: 1 Event identifier. |
Request Body schema: application/vnd.api+json
Array of objects (SupplierContact) |
Responses
Request samples
- Payload
- Curl
{- "data": [
- {
- "type": "supplier_contacts",
- "id": "10"
}, - {
- "type": "supplier_contacts",
- "id": "17"
}
]
}
Add Event Suppliers using Contacts External IDs
Add suppliers to an event using supplier contacts. Only events of type RFP
are supported.
You must supply the unique event external identifier (the one you used when created the event).
You must supply the external identifiers of the supplier contacts too.
The operation will be rolled back upon any failure, and invitations won't be sent.
For best performance, we recommend inviting 10 or less supplier contacts in a single request.
Authorizations:
path Parameters
event_external_id required | string Example: EVENT1 Event external identifier. |
Request Body schema: application/vnd.api+json
Array of objects (ExternalSupplierContact) |
Responses
Request samples
- Payload
- Curl
{- "data": [
- {
- "type": "supplier_contacts",
- "id": "SUPC10"
}, - {
- "type": "supplier_contacts",
- "id": "SUPC17"
}
]
}
Remove Event Suppliers using Contacts External IDs
Remove suppliers from an event using supplier contacts. Only events of type RFP
are supported.
You must supply the unique event external identifier (the one you used when created the event).
You must supply the external identifiers of the supplier contacts too.
The operation will be rolled back upon any failure, and invitations won't be removed.
For best performance, we recommend removing 10 or less supplier contacts in a single request.
Authorizations:
path Parameters
event_external_id required | integer Example: 1 Event external identifier. |
Request Body schema: application/vnd.api+json
Array of objects (ExternalSupplierContact) |
Responses
Request samples
- Payload
- Curl
{- "data": [
- {
- "type": "supplier_contacts",
- "id": "SUPC10"
}, - {
- "type": "supplier_contacts",
- "id": "SUPC17"
}
]
}
Use the contract types API to query the event templates in Workday Strategic Sourcing.
Event Templates are used as a blueprint for newly created events.
type required | string (EventTemplateType) Object type, should always be |
id required | integer (EventTemplateId) Event template identifier string. |
object (EventTemplateAttributes) Event template attributes. | |
object (ResourceLinks) List of related links. |
{- "type": "event_templates",
- "id": 1,
- "attributes": {
- "title": "My Event Template",
- "event_type": "RFP"
}, - "links": {
- "self": "string"
}
}
List Event Templates
Returns a list of all event templates.
Authorizations:
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.scoutrfp.com/v3/event_templates"
Response samples
- 200
{- "meta": {
- "count": 2
}, - "data": [
- {
- "type": "event_templates",
- "id": "1",
- "attributes": {
- "title": "Event Template #1",
- "event_type": "RFP"
},
}, - {
- "type": "event_templates",
- "id": "2",
- "attributes": {
- "title": "Event Template #2",
- "event_type": "PERFORMANCE_REVIEW_EVENT"
},
}
],
}
Get an Event Template
Retrieves the details of an existing event template.
Authorizations:
path Parameters
id required | integer Example: 1 Unique event template identifier. |
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.scoutrfp.com/v3/event_templates/1"
Response samples
- 200
{- "data": {
- "type": "event_templates",
- "id": "1",
- "attributes": {
- "title": "The Event Template",
- "event_type": "RFP"
},
}
}
Use the worksheets API to create, update, and query the worksheets in Workday Strategic Sourcing.
type required | string (WorksheetType) Object type, should always be |
id required | integer (WorksheetId) Worksheet identifier string. |
object (WorksheetAttributes) Worksheet attributes. | |
object (ResourceLinks) List of related links. |
{- "type": "worksheets",
- "id": 1,
- "attributes": {
- "title": "string",
- "budget": 11.11,
- "notes": "string",
- "updated_at": "2019-10-29T21:28:46.790Z",
- "worksheet_type": "standard",
- "columns": [
- {
- "id": 1,
- "name": "My Worksheet Column Field",
- "data_identifier": "c1234",
- "mapping_key": "TITLE"
}
]
}, - "links": {
- "self": "string"
}
}
List Worksheets
Returns a list of all worksheets.
Authorizations:
path Parameters
event_id required | integer Example: 1 Event identifier. |
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.scoutrfp.com/v3/events/1/worksheets"
Response samples
- 200
{- "meta": {
- "count": 2
}, - "data": [
- {
- "type": "worksheets",
- "id": "1",
- "attributes": {
- "title": "Worksheet title #1",
- "budget": 120.32,
- "notes": "Worksheet related notes",
- "updated_at": "2019-10-29T21:28:46.790Z",
- "worksheet_type": "standard",
- "columns": [
- {
- "id": "141",
- "name": "Title",
- "data_identifier": "c1",
- "mapping_key": "TITLE"
}, - {
- "id": "143",
- "name": "Unit of Measure",
- "data_identifier": "c3",
- "mapping_key": "UNIT_OF_MEASURE"
}, - {
- "id": "142",
- "name": "Quantity",
- "data_identifier": "c2",
- "mapping_key": "QUANTITY"
}, - {
- "id": "145",
- "name": "Price",
- "data_identifier": "c5",
- "mapping_key": "PRICE"
}, - {
- "id": "144",
- "name": "Extended Price",
- "data_identifier": "c4",
- "mapping_key": "EXTENDED_PRICE"
}
]
},
}, - {
- "type": "worksheets",
- "id": "2",
- "attributes": {
- "title": "Worksheet title #2",
- "budget": null,
- "notes": null,
- "updated_at": "2019-10-29T21:28:46.790Z",
- "worksheet_type": "standard",
- "columns": [
- {
- "id": "146",
- "name": "Title",
- "data_identifier": "c6",
- "mapping_key": "TITLE"
}, - {
- "id": "148",
- "name": "Unit of Measure",
- "data_identifier": "c8",
- "mapping_key": "UNIT_OF_MEASURE"
}, - {
- "id": "147",
- "name": "Quantity",
- "data_identifier": "c7",
- "mapping_key": "QUANTITY"
}, - {
- "id": "150",
- "name": "Price",
- "data_identifier": "c10",
- "mapping_key": "PRICE"
}, - {
- "id": "149",
- "name": "Extended Price",
- "data_identifier": "c9",
- "mapping_key": "EXTENDED_PRICE"
}
]
},
}
],
}
Get a Worksheet
Retrieves the details of an existing worksheet. You need to supply the unique worksheet identifier that was returned upon worksheet creation.
Authorizations:
path Parameters
event_id required | integer Example: 1 Event identifier. |
id required | integer Example: 1 Unique Worksheet identifier. |
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.scoutrfp.com/v3/events/1/worksheets/1"
Response samples
- 200
{- "data": {
- "type": "worksheets",
- "id": "1",
- "attributes": {
- "title": "Worksheet title #1",
- "budget": null,
- "notes": null,
- "updated_at": "2019-10-29T21:28:46.790Z",
- "worksheet_type": "standard",
- "columns": [
- {
- "id": "111",
- "name": "Title",
- "data_identifier": "c11",
- "mapping_key": "TITLE"
}, - {
- "id": "113",
- "name": "Unit of Measure",
- "data_identifier": "c13",
- "mapping_key": "UNIT_OF_MEASURE"
}, - {
- "id": "112",
- "name": "Quantity",
- "data_identifier": "c12",
- "mapping_key": "QUANTITY"
}, - {
- "id": "115",
- "name": "Price",
- "data_identifier": "c15",
- "mapping_key": "PRICE"
}, - {
- "id": "114",
- "name": "Extended Price",
- "data_identifier": "c14",
- "mapping_key": "EXTENDED_PRICE"
}
]
},
}
}
Describe Worksheet object
Returns a list of fields for the worksheet object.
Authorizations:
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.scoutrfp.com/v3/worksheets/describe"
Response samples
- 200
{- "meta": {
- "count": 4
}, - "data": [
- {
- "id": "title",
- "type": "worksheet_fields",
- "attributes": {
- "name": "title",
- "data_type": "string",
- "scout_field_type": "Short Text",
- "custom_field": false
}
}, - {
- "id": "budget",
- "type": "worksheet_fields",
- "attributes": {
- "name": "budget",
- "data_type": "number",
- "scout_field_type": "Decimal",
- "custom_field": false
}
}, - {
- "id": "notes",
- "type": "worksheet_fields",
- "attributes": {
- "name": "notes",
- "data_type": "string",
- "scout_field_type": "Paragraph",
- "custom_field": false
}
}, - {
- "id": "updated_at",
- "type": "worksheet_fields",
- "attributes": {
- "name": "updated_at",
- "data_type": "string",
- "scout_field_type": "Date",
- "custom_field": false
}
}
], - "links": { }
}
Use the line items API to create, update, and query the worksheet line items in Workday Strategic Sourcing.
type required | string (LineItemType) Object type, should always be |
id required | integer (LineItemId) LineItem identifier string. |
object (LineItemAttributes) LineItem attributes. |
{- "type": "line_items",
- "id": 1,
- "attributes": {
- "data": {
- "data_identifier": "string",
- "value1": null,
- "value2": null
}
}
}
List Line Items
Returns a list of line items for the specified criteria.
Authorizations:
path Parameters
event_id required | integer Example: 1 Event identifier. |
worksheet_id required | integer Example: 1 Worksheet identifier. |
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.scoutrfp.com/v3/events/1/worksheets/1/line_items"
Response samples
- 200
{- "data": [
- {
- "id": "1",
- "type": "line_items",
- "attributes": {
- "data": {
- "c1": "Product One",
- "c2": 11,
- "c3": "items"
}
}
}, - {
- "id": "2",
- "type": "line_items",
- "attributes": {
- "data": {
- "c1": "Product Two",
- "c2": 1,
- "c3": "items"
}
}
}
],
}
Create a Line Item
Create a line item with given cell values.
Authorizations:
path Parameters
event_id required | integer Example: 1 Event identifier. |
worksheet_id required | integer Example: 1 Worksheet identifier. |
Request Body schema: application/vnd.api+json
object (LineItemCreate) |
Responses
Request samples
- Payload
- Curl
{- "data": {
- "type": "line_items",
- "attributes": {
- "data": {
- "c1": "Amazing Product",
- "c2": "items",
- "c3": 14
}
}, - "relationships": {
- "worksheet": {
- "data": {
- "type": "worksheets",
- "id": "1"
}
}
}
}
}
Response samples
- 201
{- "data": {
- "id": "1",
- "type": "line_items",
- "attributes": {
- "data": {
- "c1": "Amazing Product",
- "c2": "items",
- "c3": 14,
- "c4": 0
}
}
}
}
Bulk Create Line Items
Create multiple line items in a given worksheet. You can create up to 200 line items in a single request.
Authorizations:
path Parameters
event_id required | integer Example: 1 Event identifier. |
worksheet_id required | integer Example: 1 Worksheet identifier. |
Request Body schema: application/vnd.api+json
Array of objects |
Responses
Request samples
- Payload
- Curl
{- "data": [
- {
- "type": "line_items",
- "attributes": {
- "data": {
- "c1": "Product One",
- "c2": "items",
- "c3": 14
}
}
}, - {
- "type": "line_items",
- "attributes": {
- "data": {
- "c1": "Product Two",
- "c2": "items",
- "c3": 1
}
}
}
]
}
Response samples
- 201
{- "data": [
- {
- "id": "1",
- "type": "line_items",
- "attributes": {
- "data": {
- "c1": "Product One",
- "c2": "items",
- "c3": 14,
- "c4": 0
}
}
}, - {
- "id": "2",
- "type": "line_items",
- "attributes": {
- "data": {
- "c1": "Product Two",
- "c2": "items",
- "c3": 1,
- "c4": 0
}
}
}
]
}
Get a Line Item
Retrieves the details of an existing line item. You need to supply the unique line item identifier that was returned upon line item creation.
Authorizations:
path Parameters
event_id required | integer Example: 1 Event identifier. |
worksheet_id required | integer Example: 1 Worksheet identifier. |
id required | integer Example: 1 Unique line item identifier. |
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.scoutrfp.com/v3/events/1/worksheets/1/line_items/1"
Response samples
- 200
{- "data": {
- "id": "1",
- "type": "line_items",
- "attributes": {
- "data": {
- "c1": "Amazing Product",
- "c2": 10,
- "c3": "items"
}
}
}
}
Update a Line Item
Updates the details of an existing line item. You need to supply the unique line item that was returned upon line item creation.
Please note, that request body must include the id
attribute with the value of your
line item unique identifier (the same one you passed in the URL).
Authorizations:
path Parameters
event_id required | integer Example: 1 Event identifier. |
worksheet_id required | integer Example: 1 Worksheet identifier. |
id required | integer Example: 1 Unique line item identifier. |
Request Body schema: application/vnd.api+json
object (LineItemUpdate) |
Responses
Request samples
- Payload
- Curl
{- "data": {
- "id": "1",
- "type": "line_items",
- "attributes": {
- "data": {
- "c1": "Painfully Amazing Product",
- "c2": 24,
- "c3": "items"
}
}, - "relationships": {
- "worksheet": {
- "data": {
- "type": "worksheets",
- "id": "1"
}
}
}
}
}
Response samples
- 200
- 409
{- "data": {
- "id": "1",
- "type": "line_items",
- "attributes": {
- "data": {
- "c1": "Painfully Amazing Product",
- "c2": 24,
- "c3": "items",
- "c4": 0
}
}
}
}
Delete a Line Item
Deletes a line item. You need to supply the unique line item identifier that was returned upon line item creation.
Authorizations:
path Parameters
event_id required | integer Example: 1 Event identifier. |
worksheet_id required | integer Example: 1 Worksheet identifier. |
id required | integer Example: 1 Unique line item identifier. |
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" \ -X DELETE \ "https://api.scoutrfp.com/v3/events/1/worksheets/1/line_items/1"
Use the bids API to query the bids in Workday Strategic Sourcing.
Only bids for events of type RFP
are supported.
type required | string (BidType) Object type, should always be |
id required | integer (BidId) Bid identifier string. |
object (BidAttributes) Bid attributes. | |
object (BidRelationship) Bid relationships. | |
object (ResourceLinks) List of related links. |
{- "id": "1",
- "type": "bids",
- "attributes": {
- "intend_to_bid": true,
- "intend_to_bid_answered_at": "2020-01-02T03:04:05.000Z",
- "status": "resubmitted",
- "submitted_at": "2020-01-02T03:04:05.000Z",
- "resubmitted_at": "2020-01-02T03:04:05.000Z"
}, - "relationships": {
- "event": {
- "data": {
- "id": "1",
- "type": "events"
}
}, - "supplier_company": {
- "data": {
- "id": "1",
- "type": "supplier_companies"
}
}
},
}
List Bids
Returns a list of all bids.
Only bids for events of type RFP
are returned.
Authorizations:
path Parameters
event_id required | integer Example: 1 Event identifier. |
query Parameters
object (BidInputFilter) Filter bids by multiple criteria. Only one filter per attribute is supported. For best performance, we recommend 5 or less filters. | |
include | string (BidRelatedResources) Enum: "event" "supplier_company" Use the |
object (PageInput) Customize pagination results with |
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.scoutrfp.com/v3/events/1/bids"
Response samples
- 200
{- "meta": {
- "count": 2
}, - "data": [
- {
- "id": "1",
- "type": "bids",
- "attributes": {
- "intend_to_bid": true,
- "intend_to_bid_answered_at": "2020-01-02T03:04:05.000Z",
- "status": "resubmitted",
- "submitted_at": "2020-01-02T03:04:05.000Z",
- "resubmitted_at": "2020-01-02T03:04:05.000Z"
}, - "relationships": {
- "event": {
- "data": {
- "id": "1",
- "type": "events"
}
}, - "supplier_company": {
- "data": {
- "id": "1",
- "type": "supplier_companies"
}
}
},
}, - {
- "id": "2",
- "type": "bids",
- "attributes": {
- "intend_to_bid": false,
- "intend_to_bid_answered_at": "2020-01-02T03:04:05.000Z",
- "status": "awarded",
- "submitted_at": "2020-01-02T03:04:05.000Z",
- "resubmitted_at": "2020-01-02T03:04:05.000Z"
}, - "relationships": {
- "event": {
- "data": {
- "id": "1",
- "type": "events"
}
}, - "supplier_company": {
- "data": {
- "id": "1",
- "type": "supplier_companies"
}
}
},
}
], - "links": {
}
}
Get a Bid
Retrieves the details of an existing bid. You need to supply the unique bid identifier that was returned upon bid creation.
Authorizations:
path Parameters
id required | integer Example: 1 Unique Bid identifier. |
query Parameters
include | string (BidRelatedResources) Enum: "event" "supplier_company" 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.scoutrfp.com/v3/bids/1"
Response samples
- 200
{- "data": {
- "type": "bids",
- "id": "1",
- "attributes": {
- "intend_to_bid": true,
- "intend_to_bid_answered_at": "2020-01-02T03:04:05.000Z",
- "status": "resubmitted",
- "submitted_at": "2020-01-02T03:04:05.000Z",
- "resubmitted_at": "2020-01-02T03:04:05.000Z"
}, - "relationships": {
- "event": {
- "data": {
- "id": "1",
- "type": "events"
}
}, - "supplier_company": {
- "data": {
- "id": "1",
- "type": "supplier_companies"
}
}
}
}
}
Describe Bid object
Returns a list of fields for the bid object.
Authorizations:
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.scoutrfp.com/v3/bids/describe"
Response samples
- 200
{- "meta": {
- "count": 7
}, - "data": [
- {
- "id": "intend_to_bid",
- "type": "bid_fields",
- "attributes": {
- "name": "intend_to_bid",
- "data_type": "boolean",
- "scout_field_type": "Checkbox",
- "custom_field": false
}
}, - {
- "id": "intend_to_bid_answered_at",
- "type": "bid_fields",
- "attributes": {
- "name": "intend_to_bid_answered_at",
- "data_type": "string",
- "scout_field_type": "Date",
- "custom_field": false
}
}, - {
- "id": "status",
- "type": "bid_fields",
- "attributes": {
- "name": "status",
- "data_type": "string",
- "scout_field_type": "Single Select",
- "custom_field": false
}
}, - {
- "id": "submitted_at",
- "type": "bid_fields",
- "attributes": {
- "name": "submitted_at",
- "data_type": "string",
- "scout_field_type": "Date",
- "custom_field": false
}
}, - {
- "id": "resubmitted_at",
- "type": "bid_fields",
- "attributes": {
- "name": "resubmitted_at",
- "data_type": "string",
- "scout_field_type": "Date",
- "custom_field": false
}
}, - {
- "id": "event",
- "type": "bid_fields",
- "attributes": {
- "name": "event",
- "data_type": "object",
- "scout_field_type": "Single Relationship",
- "custom_field": false
}
}, - {
- "id": "supplier_company",
- "type": "bid_fields",
- "attributes": {
- "name": "supplier_company",
- "data_type": "object",
- "scout_field_type": "Single Relationship",
- "custom_field": false
}
}
], - "links": { }
}
type required | string (BidLineItemType) Object type, should always be |
id required | integer (BidLineItemId) BidLineItem identifier string. |
object (BidLineItemAttributes) BidLineItem attributes. | |
object (BidLineItemRelationship) Bid line item relationship. |
{- "id": "1",
- "type": "bid_line_items",
- "attributes": {
- "data": {
- "c4": 10,
- "c5": 10
}, - "updated_at": "2021-02-24T21:36:51.982Z"
}, - "relationships": {
- "line_item": {
- "data": {
- "id": "1",
- "type": "line_items"
}
}, - "bid": {
- "data": {
- "id": "1",
- "type": "bids"
}
}, - "event": {
- "data": {
- "id": "1",
- "type": "events"
}
}, - "worksheet": {
- "data": {
- "id": "1",
- "type": "worksheets"
}
}
}
}
List Bid Line Items
Returns a list of line items for a specific bid.
Authorizations:
path Parameters
bid_id required | integer Example: 1 Bid identifier. |
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.scoutrfp.com/v3/bids/1/bid_line_items"
Response samples
- 200
{- "data": [
- {
- "id": "1",
- "type": "bid_line_items",
- "attributes": {
- "data": {
- "c4": 300.1,
- "c5": 60.02
}, - "updated_at": "2021-02-24T21:42:17.783Z"
}, - "relationships": {
- "line_item": {
- "data": {
- "id": "1",
- "type": "line_items"
}
}, - "bid": {
- "data": {
- "id": "1",
- "type": "bids"
}
}, - "event": {
- "data": {
- "id": "1",
- "type": "events"
}
}, - "worksheet": {
- "data": {
- "id": "1",
- "type": "worksheets"
}
}
}
}, - {
- "id": "2",
- "type": "bid_line_items",
- "attributes": {
- "data": {
- "c4": 200.44,
- "c5": 50.11
}, - "updated_at": "2021-02-24T21:42:17.783Z"
}, - "relationships": {
- "line_item": {
- "data": {
- "id": "2",
- "type": "line_items"
}
}, - "bid": {
- "data": {
- "id": "1",
- "type": "bids"
}
}, - "event": {
- "data": {
- "id": "1",
- "type": "events"
}
}, - "worksheet": {
- "data": {
- "id": "1",
- "type": "worksheets"
}
}
}
}
], - "links": {
}, - "meta": {
- "count": 2
}
}
Get a Bid Line Item
Retrieves the details of an existing bid line item.
Authorizations:
path Parameters
id required | integer Example: 1 Unique bid line item identifier. |
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.scoutrfp.com/v3/bid_line_items/1"
Response samples
- 200
{- "data": {
- "id": "1",
- "type": "bid_line_items",
- "attributes": {
- "data": {
- "c4": 300.1,
- "c5": 60.02
}, - "updated_at": "2021-02-24T21:42:17.783Z"
}, - "relationships": {
- "line_item": {
- "data": {
- "id": "1",
- "type": "line_items"
}
}, - "bid": {
- "data": {
- "id": "1",
- "type": "bids"
}
}, - "event": {
- "data": {
- "id": "1",
- "type": "events"
}
}, - "worksheet": {
- "data": {
- "id": "1",
- "type": "worksheets"
}
}
}
}
}
List All Bid Line Items
Returns a list of all bid line items.
Authorizations:
query Parameters
object (BidLineItemInputFilter) Filter bid line items by multiple criteria. Only one filter per attribute is supported. For best performance, we recommend 5 or less filters. |
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.scoutrfp.com/v3/bid_line_items"
Response samples
- 200
{- "data": [
- {
- "id": "1",
- "type": "bid_line_items",
- "attributes": {
- "data": {
- "c4": 300.1,
- "c5": 60.02
}, - "updated_at": "2021-02-24T21:42:17.783Z"
}, - "relationships": {
- "line_item": {
- "data": {
- "id": "1",
- "type": "line_items"
}
}, - "bid": {
- "data": {
- "id": "1",
- "type": "bids"
}
}, - "event": {
- "data": {
- "id": "1",
- "type": "events"
}
}, - "worksheet": {
- "data": {
- "id": "1",
- "type": "worksheets"
}
}
}
}, - {
- "id": "2",
- "type": "bid_line_items",
- "attributes": {
- "data": {
- "c4": 200.44,
- "c5": 50.11
}, - "updated_at": "2021-02-24T21:42:17.783Z"
}, - "relationships": {
- "line_item": {
- "data": {
- "id": "2",
- "type": "line_items"
}
}, - "bid": {
- "data": {
- "id": "1",
- "type": "bids"
}
}, - "event": {
- "data": {
- "id": "1",
- "type": "events"
}
}, - "worksheet": {
- "data": {
- "id": "1",
- "type": "worksheets"
}
}
}
}
], - "links": {
}, - "meta": {
- "count": 2
}
}
Describe Bid Line Item Object
Returns a list of fields for bid line item object.
Authorizations:
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.scoutrfp.com/v3/bid_line_items/describe"
Response samples
- 200
{- "data": [
- {
- "id": "data",
- "type": "bid_line_item_fields",
- "attributes": {
- "name": "data",
- "data_type": "string",
- "scout_field_type": "Lookup",
- "custom_field": false
}
}, - {
- "id": "updated_at",
- "type": "bid_line_item_fields",
- "attributes": {
- "name": "updated_at",
- "data_type": "string",
- "scout_field_type": "Date",
- "custom_field": false
}
}, - {
- "id": "event",
- "type": "bid_line_item_fields",
- "attributes": {
- "name": "event",
- "data_type": "object",
- "scout_field_type": "Single Relationship",
- "custom_field": false
}
}, - {
- "id": "bid",
- "type": "bid_line_item_fields",
- "attributes": {
- "name": "bid",
- "data_type": "object",
- "scout_field_type": "Single Relationship",
- "custom_field": false
}
}, - {
- "id": "worksheet",
- "type": "bid_line_item_fields",
- "attributes": {
- "name": "worksheet",
- "data_type": "object",
- "scout_field_type": "Single Relationship",
- "custom_field": false
}
}, - {
- "id": "line_item",
- "type": "bid_line_item_fields",
- "attributes": {
- "name": "line_item",
- "data_type": "object",
- "scout_field_type": "Single Relationship",
- "custom_field": false
}
}
], - "links": { },
- "meta": {
- "count": 6
}
}
Use the contact types API to create, update, and query the contact types in Workday Strategic Sourcing.
type required | string (ContactTypeType) Object type, should always be |
id required | integer (ContactTypeId) Contact type identifier string. |
object (ContactTypeAttributes) Contact type attributes. |
{- "type": "contact_types",
- "id": 1,
- "attributes": {
- "name": "Financials",
- "external_id": "string"
}
}
List Contact Types
Returns a list of contact types.
Authorizations:
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.scoutrfp.com/v3/fields/contact_types"
Response samples
- 200
{- "data": [
- {
- "id": "1",
- "type": "contact_types",
- "attributes": {
- "name": "Contact Type #1",
- "external_id": "CTYPE-1"
},
}, - {
- "id": "2",
- "type": "contact_types",
- "attributes": {
- "name": "Contact Type #2",
- "external_id": "CTYPE-2"
},
}
],
}
Create a Contact Type
Create a contact type with given parameters.
Authorizations:
Request Body schema: application/vnd.api+json
object (ContactTypeCreate) |
Responses
Request samples
- Payload
- Curl
{- "data": {
- "type": "contact_types",
- "attributes": {
- "name": "Contact Type #1",
- "external_id": "CTYPE-1"
}
}
}
Response samples
- 201
{- "data": {
- "id": "1",
- "type": "contact_types",
- "attributes": {
- "name": "Contact Type #1",
- "external_id": "CTYPE-1"
},
}
}
Update a Contact Type
Updates the details of an existing contact type. You need to supply the unique identifier that was returned upon contact type creation.
Please note, that request body must include an id
attribute with the value of your contact type
unique identifier (the same one you passed in the URL).
Authorizations:
path Parameters
id required | integer Example: 1 Unique contact type identifier. |
Request Body schema: application/vnd.api+json
object (ContactTypeUpdate) |
Responses
Request samples
- Payload
- Curl
{- "data": {
- "type": "contact_types",
- "id": "1",
- "attributes": {
- "name": "Contact Type Updated",
- "external_id": "CTYPE-UPD"
}
}
}
Response samples
- 200
- 409
{- "data": {
- "id": "1",
- "type": "contact_types",
- "attributes": {
- "name": "Contact Type Updated",
- "external_id": "CTYPE-UPD"
},
}
}
Delete a Contact Type
Deletes a contact type. You need to supply the unique contact type identifier that was returned upon contact type creation.
Authorizations:
path Parameters
id required | integer Example: 1 Unique contact type identifier. |
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" \ -X DELETE \ "https://api.scoutrfp.com/v3/fields/contact_types/1"
Update a Contact Type by External ID
Updates the details of an existing contact type. You need to supply the unique external identifier assigned to the contact type on creation.
Please note, that request body must include an id
attribute with the value of your contact type
unique identifier (the same one you passed in the URL).
Authorizations:
path Parameters
external_id required | string Example: CTYPE Unique contact type external identifier. |
Request Body schema: application/vnd.api+json
object (ContactTypeUpdate) |
Responses
Request samples
- Payload
- Curl
{- "data": {
- "type": "contact_types",
- "id": "CTYPE",
- "attributes": {
- "name": "Contact Type Updated"
}
}
}
Response samples
- 200
{- "data": {
- "id": "1",
- "type": "contact_types",
- "attributes": {
- "name": "Contact Type Updated",
- "external_id": "CTYPE"
},
}
}
Delete a Contact Type by External ID
Deletes a contact type. You need to supply the unique contact type external identifier assigned to the contact type on creation.
Authorizations:
path Parameters
external_id required | string Example: CTYPE Unique contact type external identifier. |
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" \ -X DELETE \ "https://api.scoutrfp.com/v3/fields/contact_types/CTYPE/external_id"
Use the fields API to create, update, and query the custom fields groups in Workday Strategic Sourcing.
Custom field groups act as a collection of custom fields. Every newly made custom field
with requires a custom field group (except for the fields with target_object
set to RFP
).
type required | string (FieldGroupType) Object type, should always be |
id required | integer (FieldGroupId) Field group identifier string. |
object (FieldGroupAttributes) Field group attributes. |
{- "type": "field_groups",
- "id": 1,
- "attributes": {
- "target_object": "PROJECT",
- "name": "string",
- "position": 0
}
}
List Field Groups
Returns a list of field groups.
Authorizations:
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.scoutrfp.com/v3/field_groups"
Response samples
- 200
{- "data": [
- {
- "id": "1",
- "type": "field_groups",
- "attributes": {
- "target_object": "PROJECT",
- "name": "Group One",
- "position": 1
},
}, - {
- "id": "2",
- "type": "field_groups",
- "attributes": {
- "target_object": "SUPPLIER_COMPANY",
- "name": "Group Two",
- "position": 2
},
}
],
}
Create a Field Group
Create a field group with given parameters.
Authorizations:
Request Body schema: application/vnd.api+json
object (FieldGroupCreate) |
Responses
Request samples
- Payload
- Curl
{- "data": {
- "type": "field_groups",
- "attributes": {
- "target_object": "PROJECT",
- "name": "Custom Group"
}
}
}
Response samples
- 201
{- "data": {
- "id": "1",
- "type": "field_groups",
- "attributes": {
- "target_object": "PROJECT",
- "name": "Custom Group",
- "position": null
},
}
}
Get a Field Group
Retrieves the details of an existing field group. You need to supply the unique field group identifier that was returned upon group creation.
Authorizations:
path Parameters
id required | integer Example: 1 Unique Field identifier. |
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.scoutrfp.com/v3/field_groups/1"
Response samples
- 200
{- "data": {
- "id": "1",
- "type": "field_groups",
- "attributes": {
- "target_object": "PROJECT",
- "name": "My Field Group",
- "position": null
},
}
}
Update a Field Group
Updates the details of an existing field group. You need to supply the unique identifier that was returned upon field group creation.
Please note, that request body must include an id
attribute with the value of your field
unique identifier (the same one you passed in the URL).
Authorizations:
path Parameters
id required | integer Example: 1 Unique Field Group identifier. |
Request Body schema: application/vnd.api+json
object (FieldGroupUpdate) |
Responses
Request samples
- Payload
- Curl
{- "data": {
- "id": "1",
- "type": "field_groups",
- "attributes": {
- "name": "Updated Field Group"
}
}
}
Response samples
- 200
- 409
{- "data": {
- "id": "1",
- "type": "field_groups",
- "attributes": {
- "target_object": "PROJECT",
- "name": "Updated Field Group",
- "position": null
},
}
}
Delete a Field Group
Deletes a field group. You need to supply the unique field group identifier that was returned upon field group creation.
Authorizations:
path Parameters
id required | integer Example: 1 Unique Field Group identifier. |
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" \ -X DELETE \ "https://api.scoutrfp.com/v3/field_groups/1"
Use the fields API to create, update, and query the custom fields in Workday Strategic Sourcing.
type required | string (FieldType) Object type, should always be |
id required | integer (FieldId) Field identifier string. |
object (FieldAttributes) Field attributes. | |
object (FieldRelationship) Field relationship. | |
object (ResourceLinks) List of related links. |
{- "type": "fields",
- "id": 1,
- "attributes": {
- "name": "string",
- "target_object": "PROJECT",
- "data_type": "string",
- "scout_field_type": "Short Text",
- "position": 0,
- "required": true
}, - "relationships": {
- "group": {
- "data": {
- "type": "field_groups",
- "id": 1
}
}
}, - "links": {
- "self": "string"
}
}
List Fields
Returns a list of custom fields for the specified criteria.
Authorizations:
query Parameters
object (FieldInputFilter) Filter custom fields by multiple criteria. Only one filter per attribute is supported. For best performance, we recommend 5 or less filters. |
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.scoutrfp.com/v3/fields"
Response samples
- 200
{- "data": [
- {
- "id": "1",
- "type": "fields",
- "attributes": {
- "target_object": "PROJECT",
- "name": "Field One",
- "data_type": "string",
- "scout_data_type": "Short Text",
- "position": null,
- "required": false
}, - "relationships": {
- "group": {
- "data": {
- "id": "1",
- "type": "field_groups"
}
}
},
}, - {
- "id": "2",
- "type": "fields",
- "attributes": {
- "target_object": "PROJECT",
- "name": "Field Two",
- "data_type": "string",
- "scout_data_type": "Single Select",
- "position": null,
- "required": false
}, - "relationships": {
- "group": {
- "data": {
- "id": "1",
- "type": "field_groups"
}
}
},
}
],
}
Create a Field
Create a field with given parameters.
For fields with target_object
set to RFP
, group
relationship should be omitted. It is
required to specify the relationship for all other target objects.
Authorizations:
Request Body schema: application/vnd.api+json
object (FieldCreate) |
Responses
Request samples
- Payload
- Curl
{- "data": {
- "type": "fields",
- "attributes": {
- "target_object": "PROJECT",
- "name": "Custom Field",
- "scout_data_type": "Short Text",
- "required": false
}, - "relationships": {
- "group": {
- "data": {
- "type": "field_groups",
- "id": "1"
}
}
}
}
}
Response samples
- 201
{- "data": {
- "id": "1",
- "type": "fields",
- "attributes": {
- "target_object": "PROJECT",
- "name": "Custom Field",
- "data_type": "string",
- "scout_data_type": "Short Text",
- "position": null,
- "required": false
}, - "relationships": {
- "group": {
- "data": {
- "id": "1",
- "type": "field_groups"
}
}
},
}
}
Get a Field
Retrieves the details of an existing field. You need to supply the unique field identifier that was returned upon field creation.
Authorizations:
path Parameters
id required | integer Example: 1 Unique Field identifier. |
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.scoutrfp.com/v3/fields/1"
Response samples
- 200
{- "data": {
- "id": "1",
- "type": "fields",
- "attributes": {
- "target_object": "PROJECT",
- "name": "Field One",
- "data_type": "string",
- "scout_data_type": "Short Text",
- "position": null,
- "required": false
}, - "relationships": {
- "group": {
- "data": {
- "id": "1",
- "type": "field_groups"
}
}
},
}
}
Update a Field
Updates the details of an existing field. You need to supply the unique identifier that was returned upon field creation.
For fields with target_object
set to RFP
, group
relationship should be omitted.
Please note, that request body must include an id
attribute with the value of your field
unique identifier (the same one you passed in the URL).
Authorizations:
path Parameters
id required | integer Example: 1 Unique Field identifier. |
Request Body schema: application/vnd.api+json
object (FieldUpdate) |
Responses
Request samples
- Payload
- Curl
{- "data": {
- "id": "1",
- "type": "fields",
- "attributes": {
- "name": "Updated Custom Field",
- "scout_data_type": "Short Text",
- "required": true
}, - "relationships": {
- "group": {
- "data": {
- "id": "2",
- "type": "field_groups"
}
}
}
}
}
Response samples
- 200
- 409
{- "data": {
- "id": "1",
- "type": "fields",
- "attributes": {
- "target_object": "PROJECT",
- "name": "Updated Custom Field",
- "data_type": "string",
- "scout_data_type": "Short Text",
- "position": null,
- "required": true
}, - "relationships": {
- "group": {
- "data": {
- "id": "2",
- "type": "field_groups"
}
}
},
}
}
Delete a Field
Deletes a field. You need to supply the unique field identifier that was returned upon field creation.
Authorizations:
path Parameters
id required | integer Example: 1 Unique Field identifier. |
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" \ -X DELETE \ "https://api.scoutrfp.com/v3/fields/1"
Use the fields API to create, update, and query the custom fields options in Workday Strategic Sourcing. Custom field options exist for single select and multiple select field types.
type required | string (FieldOptionType) Object type, should always be |
id required | integer (FieldOptionId) Field identifier string. |
object (FieldOptionAttributes) Field attributes. |
{- "type": "fields",
- "id": 1,
- "attributes": {
- "label": "string",
- "position": 0
}
}
List Field Options
Returns a list of field options for the specified field.
Authorizations:
path Parameters
field_id required | integer Example: 1 Field identifier. |
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.scoutrfp.com/v3/fields/1/field_options"
Response samples
- 200
{- "data": [
- {
- "id": "1",
- "type": "field_options",
- "attributes": {
- "label": "Option One",
- "position": 1
}
}, - {
- "id": "2",
- "type": "field_options",
- "attributes": {
- "label": "Option Two",
- "position": 2
}
}
]
}
Create a Field Option
Create a field options with given parameters.
Authorizations:
Request Body schema: application/vnd.api+json
object (FieldOptionCreate) |
Responses
Request samples
- Payload
- Curl
{- "data": {
- "type": "field_options",
- "attributes": {
- "label": "Field Option One"
}, - "relationships": {
- "field": {
- "data": {
- "type": "fields",
- "id": "1"
}
}
}
}
}
Response samples
- 201
{- "data": {
- "id": "1",
- "type": "field_options",
- "attributes": {
- "label": "Field Option One",
- "position": null
}
}
}
Update a Field Option
Update a field options with given parameters.
Authorizations:
path Parameters
id required | integer Example: 1 Unique Field Option identifier. |
Request Body schema: application/vnd.api+json
object (FieldOptionUpdate) |
Responses
Request samples
- Payload
- Curl
{- "data": {
- "id": "1",
- "type": "field_options",
- "attributes": {
- "label": "Updated Field Option"
}
}
}
Response samples
- 200
{- "data": {
- "id": "1",
- "type": "field_options",
- "attributes": {
- "label": "Updated Field Option",
- "position": 1
}
}
}
Delete a Field Option
Deletes a field option. You need to supply the unique field option identifier that was returned upon field creation.
Authorizations:
path Parameters
id required | integer Example: 1 Unique Field Option identifier. |
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" \ -X DELETE \ "https://api.scoutrfp.com/v3/field_options/1"
Use the payment terms API to create, update, and query the payment terms in Workday Strategic Sourcing.
type required | string (PaymentTermType) Object type, should always be |
id required | integer (PaymentTermId) Payment term identifier string. |
object (PaymentTermAttributes) Payment term attributes. |
{- "type": "payment_terms",
- "id": 1,
- "attributes": {
- "name": "string",
- "external_id": "string"
}
}
List Payment Terms
Returns a list of payment terms.
Authorizations:
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.scoutrfp.com/v3/fields/payment_terms"
Response samples
- 200
{- "data": [
- {
- "id": "1",
- "type": "payment_terms",
- "attributes": {
- "name": "Payment Term #1",
- "external_id": "PAYTERM-1"
},
}, - {
- "id": "2",
- "type": "payment_terms",
- "attributes": {
- "name": "Payment Term #2",
- "external_id": "PAYTERM-2"
},
}
],
}
Create a Payment Term
Create a payment term with given parameters.
Authorizations:
Request Body schema: application/vnd.api+json
object (PaymentTermCreate) |
Responses
Request samples
- Payload
- Curl
{- "data": {
- "type": "payment_terms",
- "attributes": {
- "name": "Payment Term #1",
- "external_id": "PAYTERM-1"
}
}
}
Response samples
- 201
{- "data": {
- "id": "1",
- "type": "payment_terms",
- "attributes": {
- "name": "Payment Term #1",
- "external_id": "PAYTERM-1"
},
}
}
Update a Payment Term
Updates the details of an existing payment term. You need to supply the unique identifier that was returned upon payment term creation.
Please note, that request body must include an id
attribute with the value of your payment term
unique identifier (the same one you passed in the URL).
Authorizations:
path Parameters
id required | integer Example: 1 Unique payment term identifier. |
Request Body schema: application/vnd.api+json
object (PaymentTermUpdate) |
Responses
Request samples
- Payload
- Curl
{- "data": {
- "type": "payment_terms",
- "id": "1",
- "attributes": {
- "name": "Payment Term Updated",
- "external_id": "PAYTERM-UPD"
}
}
}
Response samples
- 200
- 409
{- "data": {
- "id": "1",
- "type": "payment_terms",
- "attributes": {
- "name": "Payment Term Updated",
- "external_id": "PAYTERM-UPD"
},
}
}
Delete a Payment Term
Deletes a payment term. You need to supply the unique payment term identifier that was returned upon payment term creation.
Authorizations:
path Parameters
id required | integer Example: 1 Unique payment term identifier. |
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" \ -X DELETE \ "https://api.scoutrfp.com/v3/fields/payment_terms/1"
Update a Payment Term by External ID
Updates the details of an existing payment term. You need to supply the unique external identifier assigned to the payment term on creation.
Please note, that request body must include an id
attribute with the value of your payment term
unique identifier (the same one you passed in the URL).
Authorizations:
path Parameters
external_id required | integer Example: PAYTERM Unique payment term external identifier. |
Request Body schema: application/vnd.api+json
object (PaymentTermUpdate) |
Responses
Request samples
- Payload
- Curl
{- "data": {
- "type": "payment_terms",
- "id": "PAYTERM",
- "attributes": {
- "name": "Payment Term Updated"
}
}
}
Response samples
- 200
{- "data": {
- "id": "1",
- "type": "payment_terms",
- "attributes": {
- "name": "Payment Term Updated",
- "external_id": "PAYTERM"
},
}
}
Delete a Payment Term by External ID
Deletes a payment term. You need to supply the unique payment term external identifier assigned to the payment term on creation.
Authorizations:
path Parameters
external_id required | integer Example: PAYTERM Unique payment term external identifier. |
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" \ -X DELETE \ "https://api.scoutrfp.com/v3/fields/payment_terms/PAYTERM/external_id"
Use the payment types API to create, update, and query the payment types in Workday Strategic Sourcing.
type required | string (PaymentTypeType) Object type, should always be |
id required | integer (PaymentTypeId) Payment type identifier string. |
object (PaymentTypeAttributes) Payment type attributes. |
{- "type": "payment_types",
- "id": 1,
- "attributes": {
- "name": "string",
- "external_id": "string",
- "payment_method": "Cash"
}
}
List Payment Types
Returns a list of payment types.
Authorizations:
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.scoutrfp.com/v3/fields/payment_types"
Response samples
- 200
{- "data": [
- {
- "id": "1",
- "type": "payment_types",
- "attributes": {
- "name": "Payment Type #1",
- "external_id": "PAYTYPE-1",
- "payment_method": "Cash"
},
}, - {
- "id": "2",
- "type": "payment_types",
- "attributes": {
- "name": "Payment Type #2",
- "external_id": "PAYTYPE-2",
- "payment_method": "Check"
},
}
],
}
Create a Payment Type
Create a payment type with given parameters.
Authorizations:
Request Body schema: application/vnd.api+json
object (PaymentTypeCreate) |
Responses
Request samples
- Payload
- Curl
{- "data": {
- "type": "payment_types",
- "attributes": {
- "name": "Payment Type #1",
- "external_id": "PAYTYPE-1",
- "payment_method": "Cash"
}
}
}
Response samples
- 201
{- "data": {
- "id": "1",
- "type": "payment_types",
- "attributes": {
- "name": "Payment Type #1",
- "external_id": "PAYTYPE-1",
- "payment_method": "Cash"
},
}
}
Update a Payment Type
Updates the details of an existing payment type. You need to supply the unique identifier that was returned upon payment type creation.
Please note, that request body must include an id
attribute with the value of your payment type
unique identifier (the same one you passed in the URL).
Authorizations:
path Parameters
id required | integer Example: 1 Unique payment type identifier. |
Request Body schema: application/vnd.api+json
object (PaymentTypeUpdate) |
Responses
Request samples
- Payload
- Curl
{- "data": {
- "type": "payment_types",
- "id": "1",
- "attributes": {
- "name": "Payment Type Updated",
- "external_id": "PAYTYPE-UPD",
- "payment_method": "Cash"
}
}
}
Response samples
- 200
- 409
{- "data": {
- "id": "1",
- "type": "payment_types",
- "attributes": {
- "name": "Payment Type Updated",
- "external_id": "PAYTYPE-UPD",
- "payment_method": "Cash"
},
}
}
Delete a Payment Type
Deletes a payment type. You need to supply the unique payment type identifier that was returned upon payment type creation.
Authorizations:
path Parameters
id required | integer Example: 1 Unique payment type identifier. |
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" \ -X DELETE \ "https://api.scoutrfp.com/v3/fields/payment_types/1"
Update a Payment Type by External ID
Updates the details of an existing payment type. You need to supply the unique external identifier assigned to the payment type on creation.
Please note, that request body must include an id
attribute with the value of your payment type
unique identifier (the same one you passed in the URL).
Authorizations:
path Parameters
external_id required | integer Example: PAYTYPE Unique payment type external identifier. |
Request Body schema: application/vnd.api+json
object (PaymentTypeUpdate) |
Responses
Request samples
- Payload
- Curl
{- "data": {
- "type": "payment_types",
- "id": "PAYTYPE",
- "attributes": {
- "name": "Payment Type Updated",
- "payment_method": "Cash"
}
}
}
Response samples
- 200
{- "data": {
- "id": "1",
- "type": "payment_types",
- "attributes": {
- "name": "Payment Type Updated",
- "external_id": "PAYTYPE",
- "payment_method": "Cash"
},
}
}
Delete a Payment Type by External ID
Deletes a payment type. You need to supply the unique payment type external identifier assigned to the payment type on creation.
Authorizations:
path Parameters
external_id required | integer Example: PAYTYPE Unique payment type external identifier. |
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" \ -X DELETE \ "https://api.scoutrfp.com/v3/fields/payment_types/PAYTYPE/external_id"
Use the supplier company segmentations API to create, update, and query the supplier company segmentations in Workday Strategic Sourcing.
type required | string (SupplierCompanySegmentationType) Object type, should always be |
id required | integer (SupplierCompanySegmentationId) Supplier company segmentation identifier string. |
object (SupplierCompanySegmentationCreateAttributes) Supplier company segmentation attributes. |
{- "type": "supplier_company_segmentations",
- "id": 1,
- "attributes": {
- "label": "Tier 1",
- "order": 1,
- "slug": "tier_1"
}
}
List Supplier Company Segmentations
Returns a list of supplier company segmentations.
Authorizations:
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.scoutrfp.com/v3/fields/supplier_company_segmentations"
Response samples
- 200
{- "data": [
- {
- "id": "1",
- "type": "supplier_company_segmentations",
- "attributes": {
- "label": "Tier 1",
- "order": 1,
- "slug": "tier_1"
},
}, - {
- "id": "2",
- "type": "supplier_company_segmentations",
- "attributes": {
- "label": "Tier 2",
- "order": 2,
- "slug": "tier_2"
},
}, - {
- "id": "3",
- "type": "supplier_company_segmentations",
- "attributes": {
- "label": "Tier 3",
- "order": 3,
- "slug": "tier_3"
},
}, - {
- "id": "4",
- "type": "supplier_company_segmentations",
- "attributes": {
- "label": "Tier 4",
- "order": 4,
- "slug": "tier_4"
},
}, - {
- "id": "5",
- "type": "supplier_company_segmentations",
- "attributes": {
- "label": "Tier 5",
- "order": 5,
- "slug": "tier_5_ab9fcfab-eaa5-4006-999a-7b82019f486a"
},
}
],
}
Create a Supplier Company Segmentation
Create a supplier company segmentation with given parameters.
Authorizations:
Request Body schema: application/vnd.api+json
object (SupplierCompanySegmentationCreate) |
Responses
Request samples
- Payload
- Curl without slug
- Curl with slug
{- "data": {
- "type": "supplier_company_segmentations",
- "attributes": {
- "label": "Tier 5",
- "order": 5
}
}
}
Response samples
- 201
- 409
{- "data": {
- "id": "5",
- "type": "supplier_company_segmentations",
- "attributes": {
- "label": "Tier 5",
- "order": 5,
- "slug": "tier_5_25672734-8f8f-4735-9099-8a4f3c64505a"
},
}
}
Update a Supplier Company Segmentation
Updates the details of an existing supplier company segmentation. You need to supply the unique identifier that was returned upon supplier company segmentation creation.
Please note, that request body must include an id
attribute with the value of your supplier company segmentation
unique identifier (the same one you passed in the URL).
Authorizations:
path Parameters
id required | integer Example: 1 Unique supplier company segmentation identifier. |
Request Body schema: application/vnd.api+json
object (SupplierCompanySegmentationUpdate) |
Responses
Request samples
- Payload
- Curl
{- "data": {
- "type": "supplier_company_segmentations",
- "id": "1",
- "attributes": {
- "label": "Tier 16",
- "order": 1
}
}
}
Response samples
- 200
- 409
{- "data": {
- "id": "1",
- "type": "supplier_company_segmentations",
- "attributes": {
- "label": "Tier 16",
- "order": 1,
- "slug": "tier_1"
},
}
}
Delete a Supplier Company Segmentation
Deletes a supplier company segmentation. You need to supply the unique supplier company segmentation identifier that was returned upon supplier company segmentation creation.
Authorizations:
path Parameters
id required | integer Example: 1 Unique supplier company segmentation identifier. |
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" \ -X DELETE \ "https://api.scoutrfp.com/v3/fields/supplier_company_segmentations/1"
Use the supplier company segmentation statuses API to create, update, and query the supplier company segmentation statuses in Workday Strategic Sourcing.
type required | string (SupplierCompanySegmentationStatusType) Object type, should always be |
id required | integer (SupplierCompanySegmentationStatusId) Supplier company segmentation status identifier string. |
object (SupplierCompanySegmentationStatusCreateAttributes) Supplier company segmentation status attributes. |
{- "type": "supplier_company_segmentation_statuses",
- "id": 1,
- "attributes": {
- "label": "Approved",
- "order": 1,
- "color": "approved"
}
}
List Supplier Company Segmentation Statuses
Returns a list of supplier company segmentation statuses.
Authorizations:
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.scoutrfp.com/v3/fields/supplier_company_segmentation_statuses"
Response samples
- 200
{- "data": [
- {
- "id": "1",
- "type": "supplier_company_segmentation_statuses",
- "attributes": {
- "label": "Not Approved",
- "slug": "approved",
- "icon": "not_approved",
- "order": 1
}
}, - {
- "id": "2",
- "type": "supplier_company_segmentation_statuses",
- "attributes": {
- "label": "Reviewing",
- "slug": "reviewing",
- "icon": "reviewing",
- "order": 2
}
}, - {
- "id": "3",
- "type": "supplier_company_segmentation_statuses",
- "attributes": {
- "label": "Approved",
- "slug": "approved",
- "icon": "approved",
- "order": 3
}
}, - {
- "id": "4",
- "type": "supplier_company_segmentation_statuses",
- "attributes": {
- "label": "Out of Compliance",
- "slug": "out_of_compliance",
- "icon": "out_of_compliance",
- "order": 4
}
}, - {
- "id": "5",
- "type": "supplier_company_segmentation_statuses",
- "attributes": {
- "label": "Denied",
- "slug": "denied",
- "icon": "denied",
- "order": 5
}
}, - {
- "id": "6",
- "type": "supplier_company_segmentation_statuses",
- "attributes": {
- "label": "Super Approved!",
- "slug": "super_high_25672734-8f8f-4735-9099-8a4f3c64505a",
- "icon": "approved",
- "order": 6
}
}
],
}
Create a Supplier Company Segmentation Status
Create a supplier company segmentation status with given parameters.
Authorizations:
Request Body schema: application/vnd.api+json
object (SupplierCompanySegmentationStatusCreate) |
Responses
Request samples
- Payload
- Curl
{- "data": {
- "type": "supplier_company_segmentation_statuses",
- "attributes": {
- "label": "Super Approved!",
- "icon": "approved",
- "order": 6
}
}
}
Response samples
- 201
- 409
{- "data": {
- "type": "supplier_company_segmentation_statuses",
- "attributes": {
- "label": "Super Approved!",
- "icon": "approved",
- "order": 6,
- "slug": "super_approved_25672734-8f8f-4735-9099-8a4f3c64505a"
}
}
}
Update a Supplier Company Segmentation Status
Updates the details of an existing supplier company segmentation status. You need to supply the unique identifier that was returned upon supplier company segmentation status creation.
Please note, that request body must include an id
attribute with the value of your supplier company segmentation status
unique identifier (the same one you passed in the URL).
Authorizations:
path Parameters
id required | integer Example: 1 Unique supplier company segmentation status identifier. |
Request Body schema: application/vnd.api+json
object (SupplierCompanySegmentationStatusUpdate) |
Responses
Request samples
- Payload
- Curl
{- "data": {
- "type": "supplier_company_segmentation_statuses",
- "id": "4",
- "attributes": {
- "label": "Kinda Approved!",
- "icon": "reviewing",
- "order": 1
}
}
}
Response samples
- 200
- 409
{- "data": {
- "type": "supplier_company_segmentation_statuses",
- "attributes": {
- "label": "Kinda Approved!",
- "icon": "reviewing",
- "order": 1,
- "slug": "kinda_approved_25672734-8f8f-4735-9099-8a4f3c64505a"
}
}
}
Delete a Supplier Company Segmentation Status
Deletes a supplier company segmentation status. You need to supply the unique supplier company segmentation status identifier that was returned upon supplier company segmentation status creation.
Authorizations:
path Parameters
id required | integer Example: 1 Unique supplier company segmentation status identifier. |
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" \ -X DELETE \ "https://api.scoutrfp.com/v3/fields/supplier_company_segmentation_statuses/1"
Use the supplier company risks API to create, update, and query the supplier company risks in Workday Strategic Sourcing.
type required | string (SupplierCompanyRiskType) Object type, should always be |
id required | integer (SupplierCompanyRiskId) Supplier company risk identifier string. |
object (SupplierCompanyRiskCreateAttributes) Supplier company risk attributes. |
{- "type": "supplier_company_risks",
- "id": 1,
- "attributes": {
- "label": "Low",
- "order": 1,
- "color": "gray"
}
}
List Supplier Company Risks
Returns a list of supplier company risks.
Authorizations:
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.scoutrfp.com/v3/fields/supplier_company_risks"
Response samples
- 200
{- "data": [
- {
- "id": "1",
- "type": "supplier_company_risks",
- "attributes": {
- "label": "Green",
- "slug": "low",
- "color": "green",
- "order": 1
}
}, - {
- "id": "2",
- "type": "supplier_company_risks",
- "attributes": {
- "label": "Yellow",
- "slug": "medium",
- "color": "yellow",
- "order": 2
}
}, - {
- "id": "3",
- "type": "supplier_company_risks",
- "attributes": {
- "label": "Red",
- "slug": "high",
- "color": "red",
- "order": 3
}
}, - {
- "id": "4",
- "type": "supplier_company_risks",
- "attributes": {
- "label": "Super High!",
- "slug": "super_high_25672734-8f8f-4735-9099-8a4f3c64505a",
- "color": "red",
- "order": 4
}
}
],
}
Create a Supplier Company Risk
Create a supplier company risk with given parameters.
Authorizations:
Request Body schema: application/vnd.api+json
object (SupplierCompanyRiskCreate) |
Responses
Request samples
- Payload
- Curl
{- "data": {
- "type": "supplier_company_risks",
- "attributes": {
- "label": "Super High!",
- "color": "red",
- "order": 4
}
}
}
Response samples
- 201
- 409
{- "data": {
- "id": "4",
- "type": "supplier_company_risks",
- "attributes": {
- "label": "Super High!",
- "order": 4,
- "color": "red",
- "slug": "super_high_25672734-8f8f-4735-9099-8a4f3c64505a"
}
}
}
Update a Supplier Company Risk
Updates the details of an existing supplier company risk. You need to supply the unique identifier that was returned upon supplier company risk creation.
Please note, that request body must include an id
attribute with the value of your supplier company risk
unique identifier (the same one you passed in the URL).
Authorizations:
path Parameters
id required | integer Example: 1 Unique supplier company risk identifier. |
Request Body schema: application/vnd.api+json
object (SupplierCompanyRiskUpdate) |
Responses
Request samples
- Payload
- Curl
{- "data": {
- "type": "supplier_company_risks",
- "id": "4",
- "attributes": {
- "label": "Very High",
- "color": "red",
- "order": 1
}
}
}
Response samples
- 200
- 409
{- "data": {
- "id": "1",
- "type": "supplier_company_risks",
- "attributes": {
- "label": "Very High",
- "slug": "super_high_25672734-8f8f-4735-9099-8a4f3c64505a",
- "color": "red",
- "order": 1
}
}
}
Delete a Supplier Company risk
Deletes a supplier company risk. You need to supply the unique supplier company risk identifier that was returned upon supplier company risk creation.
Authorizations:
path Parameters
id required | integer Example: 1 Unique supplier company risk identifier. |
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" \ -X DELETE \ "https://api.scoutrfp.com/v3/fields/supplier_company_risks/1"
Use the supplier categories API to create, update, and query the supplier categories in Workday Strategic Sourcing.
type required | string (SupplierCategoryType) Object type, should always be |
id required | integer (SupplierCategoryId) Supplier category identifier string. |
object (SupplierCategoryAttributes) Supplier category attributes. |
{- "type": "supplier_categories",
- "id": 1,
- "attributes": {
- "name": "string",
- "external_id": "string"
}
}
List Supplier Categories
Returns a list of supplier categories.
Authorizations:
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.scoutrfp.com/v3/fields/supplier_categories"
Response samples
- 200
{- "data": [
- {
- "id": "1",
- "type": "supplier_categories",
- "attributes": {
- "name": "Supplier Category #1",
- "external_id": "SUPCAT-1"
},
}, - {
- "id": "2",
- "type": "supplier_categories",
- "attributes": {
- "name": "Supplier Category #2",
- "external_id": "SUPCAT-2"
},
}
],
}
Create a Supplier Category
Create a supplier category with given parameters.
Authorizations:
Request Body schema: application/vnd.api+json
object (SupplierCategoryCreate) |
Responses
Request samples
- Payload
- Curl
{- "data": {
- "type": "supplier_categories",
- "attributes": {
- "name": "Supplier Category #1",
- "external_id": "SUPCAT-1"
}
}
}
Response samples
- 201
{- "data": {
- "id": "1",
- "type": "supplier_categories",
- "attributes": {
- "name": "Supplier Category #1",
- "external_id": "SUPCAT-1"
},
}
}
Update a Supplier Category
Updates the details of an existing supplier category. You need to supply the unique identifier that was returned upon supplier category creation.
Please note, that request body must include an id
attribute with the value of your supplier category
unique identifier (the same one you passed in the URL).
Authorizations:
path Parameters
id required | integer Example: 1 Unique supplier category identifier. |
Request Body schema: application/vnd.api+json
object (SupplierCategoryUpdate) |
Responses
Request samples
- Payload
- Curl
{- "data": {
- "type": "supplier_categories",
- "id": "1",
- "attributes": {
- "name": "Supplier Category Updated",
- "external_id": "SUPCAT-UPD"
}
}
}
Response samples
- 200
- 409
{- "data": {
- "id": "1",
- "type": "supplier_categories",
- "attributes": {
- "name": "Supplier Category Updated",
- "external_id": "SUPCAT-UPD"
},
}
}
Delete a Supplier Category
Deletes a supplier category. You need to supply the unique supplier category identifier that was returned upon supplier category creation.
Authorizations:
path Parameters
id required | integer Example: 1 Unique supplier category identifier. |
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" \ -X DELETE \ "https://api.scoutrfp.com/v3/fields/supplier_categories/1"
Update a Supplier Category by External ID
Updates the details of an existing supplier category. You need to supply the unique external identifier assigned to the supplier category on creation.
Please note, that request body must include an id
attribute with the value of your supplier category
unique identifier (the same one you passed in the URL).
Authorizations:
path Parameters
external_id required | string Example: SUPCAT Unique supplier category external identifier. |
Request Body schema: application/vnd.api+json
object (SupplierCategoryUpdate) |
Responses
Request samples
- Payload
- Curl
{- "data": {
- "type": "supplier_categories",
- "id": "SUPCAT",
- "attributes": {
- "name": "Supplier Category Updated"
}
}
}
Response samples
- 200
{- "data": {
- "id": "1",
- "type": "supplier_categories",
- "attributes": {
- "name": "Supplier Category Updated",
- "external_id": "SUPCAT"
},
}
}
Delete a Supplier Category by External ID
Deletes a supplier category. You need to supply the unique supplier category external identifier assigned to the supplier category on creation.
Authorizations:
path Parameters
external_id required | string Example: SUPCAT Unique supplier category external identifier. |
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" \ -X DELETE \ "https://api.scoutrfp.com/v3/fields/supplier_categories/SUPCAT/external_id"
Use the supplier groups API to create, update, and query the supplier groups in Workday Strategic Sourcing.
type required | string (SupplierGroupType) Object type, should always be |
id required | integer (SupplierGroupId) Supplier group identifier string. |
object (SupplierGroupAttributes) Supplier group attributes. |
{- "type": "supplier_groups",
- "id": 1,
- "attributes": {
- "name": "string",
- "external_id": "string"
}
}
List Supplier Groups
Returns a list of supplier groups.
Authorizations:
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.scoutrfp.com/v3/fields/supplier_groups"
Response samples
- 200
{- "data": [
- {
- "id": "1",
- "type": "supplier_groups",
- "attributes": {
- "name": "Supplier Group #1",
- "external_id": "SUPGROUP-1"
},
}, - {
- "id": "2",
- "type": "supplier_groups",
- "attributes": {
- "name": "Supplier Group #2",
- "external_id": "SUPGROUP-2"
},
}
],
}
Create a Supplier Group
Create a supplier group with given parameters.
Authorizations:
Request Body schema: application/vnd.api+json
object (SupplierGroupCreate) |
Responses
Request samples
- Payload
- Curl
{- "data": {
- "type": "supplier_groups",
- "attributes": {
- "name": "Supplier Group #1",
- "external_id": "SUPGROUP-1"
}
}
}
Response samples
- 201
{- "data": {
- "id": "1",
- "type": "supplier_groups",
- "attributes": {
- "name": "Supplier Group #1",
- "external_id": "SUPGROUP-1"
},
}
}
Update a Supplier Group
Updates the details of an existing supplier group. You need to supply the unique identifier that was returned upon supplier group creation.
Please note, that request body must include an id
attribute with the value of your supplier group
unique identifier (the same one you passed in the URL).
Authorizations:
path Parameters
id required | integer Example: 1 Unique supplier group identifier. |
Request Body schema: application/vnd.api+json
object (SupplierGroupUpdate) |
Responses
Request samples
- Payload
- Curl
{- "data": {
- "type": "supplier_groups",
- "id": "1",
- "attributes": {
- "name": "Supplier Group Updated",
- "external_id": "SUPGROUP-UPD"
}
}
}
Response samples
- 200
- 409
{- "data": {
- "id": "1",
- "type": "supplier_groups",
- "attributes": {
- "name": "Supplier Group Updated",
- "external_id": "SUPGROUP-UPD"
},
}
}
Delete a Supplier Group
Deletes a supplier group. You need to supply the unique supplier group identifier that was returned upon supplier group creation.
Authorizations:
path Parameters
id required | integer Example: 1 Unique supplier group identifier. |
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" \ -X DELETE \ "https://api.scoutrfp.com/v3/fields/supplier_groups/1"
Update a Supplier Group by External ID
Updates the details of an existing supplier group. You need to supply the unique external identifier assigned to the supplier group on creation.
Please note, that request body must include an id
attribute with the value of your supplier group
unique identifier (the same one you passed in the URL).
Authorizations:
path Parameters
external_id required | string Example: SUPGROUP Unique supplier group external identifier. |
Request Body schema: application/vnd.api+json
object (SupplierGroupUpdate) |
Responses
Request samples
- Payload
- Curl
{- "data": {
- "type": "supplier_groups",
- "id": "SUPGROUP",
- "attributes": {
- "name": "Supplier Group Updated"
}
}
}
Response samples
- 200
{- "data": {
- "id": "1",
- "type": "supplier_groups",
- "attributes": {
- "name": "Supplier Group Updated",
- "external_id": "SUPGROUP"
},
}
}
Delete a Supplier Group by External ID
Deletes a supplier group. You need to supply the unique supplier group external identifier assigned to the supplier group on creation.
Authorizations:
path Parameters
external_id required | string Example: SUPGROUP Unique supplier group external identifier. |
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" \ -X DELETE \ "https://api.scoutrfp.com/v3/fields/supplier_groups/SUPGROUP/external_id"
Use the payment currencies API to create, update, and query the payment currencies in Workday Strategic Sourcing.
type required | string (PaymentCurrencyType) Object type, should always be |
id required | integer (PaymentCurrencyId) Payment currency identifier string. |
object (PaymentCurrencyAttributes) Payment currency attributes. |
{- "type": "payment_currencies",
- "id": 1,
- "attributes": {
- "alpha": "str",
- "numeric": "str",
- "external_id": "string"
}
}
List Payment Currencies
Returns a list of payment currencies.
Authorizations:
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.scoutrfp.com/v3/fields/payment_currencies"
Response samples
- 200
{- "data": [
- {
- "id": "1",
- "type": "payment_currencies",
- "attributes": {
- "alpha": "EUR",
- "numeric": "978",
- "external_id": "PAYCUR-1"
},
}, - {
- "id": "2",
- "type": "payment_currencies",
- "attributes": {
- "alpha": "UAH",
- "numeric": "980",
- "external_id": "PAYCUR-2"
},
}
],
}
Create a Payment Currency
Create a payment currency with given parameters.
Authorizations:
Request Body schema: application/vnd.api+json
object (PaymentCurrencyCreate) |
Responses
Request samples
- Payload
- Curl
{- "data": {
- "type": "payment_currencies",
- "attributes": {
- "alpha": "EUR",
- "numeric": "978",
- "external_id": "PAYCUR-1"
}
}
}
Response samples
- 201
{- "data": {
- "id": "1",
- "type": "payment_currencies",
- "attributes": {
- "alpha": "EUR",
- "numeric": "978",
- "external_id": "PAYCUR-1"
},
}
}
Update a Payment Currency
Updates the details of an existing payment currency. You need to supply the unique identifier that was returned upon payment currency creation.
Please note, that request body must include an id
attribute with the value of your payment currency
unique identifier (the same one you passed in the URL).
Authorizations:
path Parameters
id required | integer Example: 1 Unique payment currency identifier. |
Request Body schema: application/vnd.api+json
object (PaymentCurrencyUpdate) |
Responses
Request samples
- Payload
- Curl
{- "data": {
- "type": "payment_currencies",
- "id": "1",
- "attributes": {
- "alpha": "UAH",
- "numeric": "980",
- "external_id": "PAYCUR-UPD"
}
}
}
Response samples
- 200
- 409
{- "data": {
- "id": "1",
- "type": "payment_currencies",
- "attributes": {
- "alpha": "UAH",
- "numeric": "980",
- "external_id": "PAYCUR-UPD"
},
}
}
Delete a Payment Currency
Deletes a payment currency. You need to supply the unique payment currency identifier that was returned upon payment currency creation.
Authorizations:
path Parameters
id required | integer Example: 1 Unique payment currency identifier. |
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" \ -X DELETE \ "https://api.scoutrfp.com/v3/fields/payment_currencies/1"
Update a Payment Currency by External ID
Updates the details of an existing payment currency. You need to supply the unique external identifier assigned to the payment currency on creation.
Please note, that request body must include an id
attribute with the value of your payment currency
unique identifier (the same one you passed in the URL).
Authorizations:
path Parameters
external_id required | string Example: PAYCUR Unique payment currency external identifier. |
Request Body schema: application/vnd.api+json
object (PaymentCurrencyUpdate) |
Responses
Request samples
- Payload
- Curl
{- "data": {
- "type": "payment_currencies",
- "id": "PAYCUR",
- "attributes": {
- "alpha": "UAH",
- "numeric": "980"
}
}
}
Response samples
- 200
{- "data": {
- "id": "1",
- "type": "payment_currencies",
- "attributes": {
- "alpha": "UAH",
- "numeric": "980",
- "external_id": "PAYCUR"
},
}
}
Delete a Payment Currency by External ID
Deletes a payment currency. You need to supply the unique payment currency external identifier assigned to the payment currency on creation.
Authorizations:
path Parameters
external_id required | string Example: PAYCUR Unique payment currency external identifier. |
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" \ -X DELETE \ "https://api.scoutrfp.com/v3/fields/payment_currencies/PAYCUR/external_id"
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.scoutrfp.com/v3/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"
}
}
}
}
], - "links": {
- "prev": null
}
}
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.scoutrfp.com/v3/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.scoutrfp.com/v3/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"
}
}
}
}
}
Use the attachments API to create, update, and delete the attachments in Workday Strategic Sourcing.
Creating attachments for Workday Strategic Sourcing objects is a two-step process. First, you need to inform the system about your intention to upload an attachment by issuing a "Create an Attachment" request, consisting of the file name and a link to the object to which you are adding an attachment. The link is represented by a relationship object containing an object ID and its type.
In the response you will receive a link in the upload_url
attributes, along with required HTTP headers
to send with your file. You will need to upload your file as a binary stream in a PUT request into the
specified URL, making sure the required headers are present. Here is how the workflow might look
like when triggered from a console:
$ 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" \
-X POST \
-d '
{
"data": {
"type": "attachments",
"attributes": {
"title": "My Interesting Document",
"file_name": "Some Interesting File.pdf"
},
"relationships": {
"contract": {
"data": {
"id": 1,
"type": "contracts"
}
}
}
}
}
' \
"https://api.scoutrfp.com/v3/attachments"
{
"data": {
"id": "1",
"type": "attachments",
"attributes": {
"title": "My Interesting Document",
"file_size": null,
"upload_url": "https://upload.s3.amazonaws.com/uploads/contract/1/hex/file.pdf?some=very&long=url",
"upload_headers": [
{
"name": "Content-Type",
"value": "application/octet-stream"
},
{
"name": "x-amz-acl",
"value": "private"
},
{
"name": "x-amz-server-side-encryption",
"value": "AES256"
},
{
"name": "Content-Disposition",
"value": "attachment"
}
]
}
}
}
$ curl -X PUT \
--data "@file.pdf" \
-H "Content-Type: application/octet-stream" \
-H "x-amz-acl: private" \
-H "x-amz-server-side-encryption: AES256" \
-H "Content-Disposition: attachment" \
https://upload.s3.amazonaws.com/uploads/contract/1/hex/file.pdf?some=very&long=url
The upload URL expires within 15 minutes after issuing. Please note that you will not be able to upload the data file to the attachment object after that. An automated system will purge all partial uploads after a certain period (usually within 30-60 minutes after creation) to prevent orphan records from overflowing the system.
Please Note: The list of headers and their values might change at any time, so when you're implementing an integration with the Workday Strategic Sourcing system, make sure to include all of the HTTP headers returned from the attachments endpoint.
type required | string (AttachmentType) Object type, should always be |
id required | integer (AttachmentId) Attachment identifier string. |
object (AttachmentAttributes) Attachment attributes. |
{- "type": "attachments",
- "id": 1,
- "attributes": {
- "title": "My Contract",
- "file_name": "My Contract.pdf",
- "file_size": 1023343,
- "external_id": "AT1",
- "download_url": "string",
- "download_url_expires_at": "2020-08-21T13:26:59.999Z",
- "uploaded_by": "string",
- "uploaded_at": "2020-08-18T12:48:42.978Z"
}
}
List Attachments
Returns a filtered list of attachments based of the filter[id_equals]
mandatory param.
The result is limited to 50 attachments.
Authorizations:
query Parameters
object (AttachmentInputFilter) Filter attachments 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.scoutrfp.com/v3/attachments"
Response samples
- 200
{- "data": [
- {
- "id": "1",
- "type": "attachments",
- "attributes": {
- "external_id": "AT1",
- "title": "My Test Document",
- "file_size": 1023343,
- "uploaded_at": "2020-08-18T12:48:42.978Z",
- "uploaded_by": "someone@example.com",
- "download_url_expires_at": "2020-08-18T13:26:59.999Z"
}, - "links": {
- "self": " https://api.scoutrfp.com/v3/attachments/1"
}
}, - {
- "id": "2",
- "type": "attachments",
- "attributes": {
- "external_id": null,
- "title": "My Test Document 2",
- "file_size": 534241,
- "uploaded_at": "2020-08-19T12:48:42.978Z",
- "uploaded_by": "someone@example.com",
- "download_url_expires_at": "2020-08-19T13:26:59.999Z"
}, - "links": {
- "self": " https://api.scoutrfp.com/v3/attachments/2"
}
}
], - "meta": {
- "count": 2
}
}
Create an Attachment
Create an attachment for an object. This endpoint represents the first step in the two-step upload workflow, described in the Working with Attachments section.
The only required attribute is file_name
, which will be used to generate attachment title
(if a custom one is not supplied), and the upload URL. You will also need to specify the object
to which you want to add an attachment (see relationships
property).
Authorizations:
Request Body schema: application/vnd.api+json
object (AttachmentCreate) |
Responses
Request samples
- Payload
- Curl
{- "data": {
- "type": "attachments",
- "attributes": {
- "external_id": "AT1",
- "title": "My Test Document",
- "file_name": "Some Test File.pdf"
}, - "relationships": {
- "contract": {
- "data": {
- "id": 1,
- "type": "contracts"
}
}
}
}
}
Response samples
- 201
{- "data": {
- "id": "1",
- "type": "attachments",
- "attributes": {
- "external_id": "AT1",
- "title": "My Test Document",
- "file_size": null,
- "upload_headers": [
- {
- "name": "Content-Type",
- "value": "application/octet-stream"
}, - {
- "name": "x-amz-acl",
- "value": "private"
}, - {
- "name": "x-amz-server-side-encryption",
- "value": "AES256"
}, - {
- "name": "Content-Disposition",
- "value": "attachment"
}
]
}
}
}
Get an Attachment
Retrieves the details of an existing attachment. You need to supply the unique attachment identifier that was returned upon attachment creation.
Authorizations:
path Parameters
id required | integer Example: 1 Unique attachment identifier. |
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.scoutrfp.com/v3/attachments/1"
Response samples
- 200
{- "data": {
- "id": "1",
- "type": "attachments",
- "attributes": {
- "external_id": "AT1",
- "title": "My Test Document",
- "file_size": 1023343,
- "uploaded_at": "2020-08-18T12:48:42.978Z",
- "uploaded_by": "someone@example.com",
- "download_url_expires_at": "2020-08-21T13:26:59.999Z"
}, - "links": {
- "self": " https://api.scoutrfp.com/v3/attachments/1"
}
}
}
Update an Attachment
Update an attachment for an object. This endpoint represents the first step in the two-step update upload workflow, described in the Working with Attachments section.
New upload_url
and upload_headers
will be returned when the file_name
attribute is passed. In this case, the existing upload_url
will be overridden with a new one that doesn’t have the associated file yet, pending completion of the second step in the described upload process.
Authorizations:
path Parameters
id required | integer Example: 1 Unique attachment identifier. |
Request Body schema: application/vnd.api+json
object (AttachmentUpdate) |
Responses
Request samples
- Payload
- Curl
{- "data": {
- "type": "attachments",
- "id": "1",
- "attributes": {
- "title": "My Updated Test Document",
- "file_name": "Some Updated Test File.pdf",
- "external_id": "AT2"
}
}
}
Response samples
- 200
- 409
{- "data": {
- "id": "1",
- "type": "attachments",
- "attributes": {
- "external_id": "AT2",
- "title": "My Updated Test Document",
- "file_size": null,
- "upload_headers": [
- {
- "name": "Content-Type",
- "value": "application/octet-stream"
}, - {
- "name": "x-amz-acl",
- "value": "private"
}, - {
- "name": "x-amz-server-side-encryption",
- "value": "AES256"
}, - {
- "name": "Content-Disposition",
- "value": "attachment"
}
]
}
}
}
Get an Attachment by External ID
Retrieves the details of an existing attachment. You need to supply the unique attachment identifier (external ID) that was set during attachment creation.
Authorizations:
path Parameters
external_id required | string Example: AT1 Unique attachment external identifier. |
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.scoutrfp.com/v3/attachments/AT1/external_id"
Response samples
- 200
{- "data": {
- "id": "1",
- "type": "attachments",
- "attributes": {
- "external_id": "AT1",
- "title": "My Test Document",
- "file_size": 1023343,
- "uploaded_at": "2020-08-18T12:48:42.978Z",
- "uploaded_by": "someone@example.com",
- "download_url_expires_at": "2020-08-21T13:26:59.999Z"
}, - "links": {
- "self": " https://api.scoutrfp.com/v3/attachments/1"
}
}
}
Update an Attachment by External ID
Update an attachment for an object. This endpoint represents the first step in the two-step update upload workflow, described in the Working with Attachments section.
New upload_url
and upload_headers
will be returned when the file_name
attribute is passed. In this case, the existing upload_url
will be overridden with a new one that doesn’t have the associated file yet, pending completion of the second step in the described upload process.
Authorizations:
path Parameters
external_id required | string Example: AT1 Unique attachment external identifier. |
Request Body schema: application/vnd.api+json
object (AttachmentUpdate) |
Responses
Request samples
- Payload
- Curl
{- "data": {
- "type": "attachments",
- "id": "AT1",
- "attributes": {
- "title": "My Updated Test Document",
- "file_name": "Some Updated Test File.pdf",
- "external_id": "AT2"
}
}
}
Response samples
- 200
- 409
{- "data": {
- "id": "1",
- "type": "attachments",
- "attributes": {
- "external_id": "AT2",
- "title": "My Updated Test Document",
- "file_size": null,
- "upload_headers": [
- {
- "name": "Content-Type",
- "value": "application/octet-stream"
}, - {
- "name": "x-amz-acl",
- "value": "private"
}, - {
- "name": "x-amz-server-side-encryption",
- "value": "AES256"
}, - {
- "name": "Content-Disposition",
- "value": "attachment"
}
]
}
}
}
Use the spend categories API to query the spend categories in Workday Strategic Sourcing.
Spend Categories are used in both the project and contract resources. On POST and PATCH related endpoints for those resources a spend_category_id can be added to attach a spend category. The spend_category_id is a foreign key for the spend_categories resource's id.
type | string (SpendCategoryType) Object type, should always be |
id required | integer (SpendCategoryId) Spend category identifier string. |
object (SpendCategoryAttributes) Spend category attributes. |
{- "type": "spend_categories",
- "id": 1,
- "attributes": {
- "name": "string",
- "external_id": "string",
- "usages": [
- "procurement"
]
}
}
List Spend Categories
Returns a list of spend categories.
Authorizations:
query Parameters
object (PageInput) Customize pagination results with |
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.scoutrfp.com/v3/spend_categories"
Response samples
- 200
{- "meta": {
- "count": 2
}, - "data": [
- {
- "type": "spend_categories",
- "id": "1",
- "attributes": {
- "name": "Spend Category #1 name",
- "external_id": null,
- "usages": [
- "procurement"
]
},
}, - {
- "type": "spend_categories",
- "id": "2",
- "attributes": {
- "name": "Spend Category #2 name",
- "external_id": "SP-2",
- "usages": [ ]
},
}
], - "links": {
}
}
Provided through our SCIM implementation