Skip to content

List and retrieve Delivery Stages

Request

Return a filtered, paginated list of Delivery Stages

Security
bearerAuth
Query
scopestringrequired

Filter: The required scope for the stages. Must be one of: 'DeliveryGroup' or 'DeliveryElement'. Default to 'DeliveryGroup' if not explicitly provided.

namestring

Filter: Exact match on the Delivery Stage Name. Accepts a comma-separated list of values.

nameLikestring

Filter: Partial match on the Delivery Stage Name.

sortstring

Sorting: The API field name to order the results by (eg 'Name' or 'Id').

lastIdstring

Pagination: The Salesforce ID of the last record from the previous page, used for retrieving the next page.

lastFieldValuestring

Pagination: The sorted field value of the last record from the previous page, used for retrieving the next page.

onlystring

Filter: Comma separated list of Salesforce Ids to filter by.

countOnlyboolean

If true, returns only the count of matching records instead of the record data.

lastModifiedDatestring, (date-time)

Filter: Search for records modified on or after the specified datetime, in the format YYYY-MM-DDThh:mm:ssZ

createdDatestring, (date-time)

Filter: Search for records created on or after the specified datetime, in the format YYYY-MM-DDThh:mm:ssZ

curl -i -X GET \
  'https://sx-developer.kantata.com/services/apexrest/KSX/api/delivery-stages?scope=string&name=string&nameLike=string&sort=string&lastId=string&lastFieldValue=string&only=string&countOnly=true&lastModifiedDate=2019-08-24T14%3A15%3A22Z&createdDate=2019-08-24T14%3A15%3A22Z' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Responses

Paged list of Delivery Stages

Bodyapplication/json
pagingobject(PagedResponse)
dataArray of objects
Response
{ "paging": { "totalItems": 0, "pageSize": 0, "nextRecordsUrl": "string", "done": true, "count": 0 }, "data": [ { "CustomFields": [ { "field": "string", "value": "string" } ], "Id": "string", "Name": "string", "Scope": "string" } ] }