Skip to content

List and retrieve Other Resourced Activities

Request

Return a filtered, paginated list of Other Resourced Activities

Security
bearerAuth
Query
canSelfForecastboolean

If true, Resources assigned to the Activity may schedule their own time.

isUnavailablestring

If true, a Resource assigned full time to this Activity is unavailable for any other Activities.

selfForecastApprovalRequiredstring

If true, any time scheduled by a Resource against this Activity must be approved before being actioned (typically used for Vacation).

activityStatusstring

Indicates whether the Activity is available for use. Must be one of: 'Draft', 'Active', or 'Closed'.

namestring

Filter: Exact match on the Other Resourced Activity Name. Accepts a comma-separated list of values.

nameLikestring

Filter: Partial match on the Other Resourced Activity 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/other-resourced-activities?canSelfForecast=true&isUnavailable=string&selfForecastApprovalRequired=string&activityStatus=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 Other Resourced Activities

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", "CanSelfForecast": "string", "IsUnavailable": "string", "SelfForecastApprovalRequired": "string", "ActivityStatus": "string" } ] }