Skip to content

List and retrieve Usage Behaviour Rules

Request

Return a filtered, paginated list of Usage Behaviour Rules

Security
bearerAuth
Query
entrySpecificationstring

Filter: Search for Usage Behaviour Rule that match an Entry Specification, e.g. DerivedEndDate, DerivedUtilisation or DerivedUsage

resourcedActivityTypestring

Filter: Exact match on the Activity Role's Activity Type. Must be one of: 'Other', 'DeliveryElement', or 'SalesOpportunity'. The default value is 'DeliveryElement'.

sortstring

Sorting: The API field name to order the results by. Supported values are 'Id', 'Name', and 'DisplaySequence'. Defaults to 'DisplaySequence'.

namestring

Filter: Exact match on the Usage Behaviour Rule Name. Accepts a comma-separated list of values.

nameLikestring

Filter: Partial match on the Usage Behaviour Rule Name.

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/usage-behaviour-rules?entrySpecification=string&resourcedActivityType=string&sort=string&name=string&nameLike=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 Usage Behaviour Rules

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", "EntrySpecification": "string", "ResourcedActivityType": "string", "ProductDomainName": "string", "ProductDomainId": "string" } ] }