Skip to content

List and retrieve resource-types. This only returns assignable resource types.

Request

Return a filtered, paginated list of Resource Types

Security
bearerAuth
Query
namestring

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

nameLikestring

Filter: Partial match on the Resource Type 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/resource-types?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 Resource Types

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", "Is Demand": "string", "Has Members": "string", "Is Modellable": "string", "Is Supplier": "string", "Description": "string" } ] }