Skip to content

List and retrieve Activity Assignments

Request

Return a filtered, paginated list of Activity Assignments

Security
bearerAuth
Query
engagementIdstring

Filter: Exact match on the Delivery Engagement's unique Salesforce ID.

engagementNamestring

Filter: Exact match on the Delivery Engagement Name.

engagementNameLikestring

Filter: Search for Delivery Engagement Name that contains the specified text.

engagementOwnerIdstring

Filter: The unique Salesforce ID of the Engagement owner. Returns only Assignments on Engagements assigned to that owner.

resourceIdstring

Filter: Exact match on the Resource's unique Salesforce ID.

resourceNamestring

Filter: Exact match on the Resource Name.

resourceEmailstring

Filter: Exact match on the Resource's User's Email.

resourceNameLikestring

Filter: Search for Resource Name that contains the specified text.

startDatestring

Filter: Search for Start Date on or before the specified date. Must be in YYYY-MM-DD format.

endDatestring

Filter: Search for End Date on or after the specified date. Must be in YYYY-MM-DD format.

engagementReferencestring

Filter: Exact match on the Delivery Engagement Reference code.

elementReferencestring

Filter: Exact match on the Delivery Element Reference code.

resourcedActivityNamestring

The exact name of the Assignment's Other Resourced Activity to filter by (e.g., 'Vacation', 'Sickness'). Filters by exact match.

resourcedActivityNameLikestring

A partial name to search for Assignment's Other Resourced Activities. Filters by name using LIKE %value% (e.g., 'Vacation' will match 'UK Vacation').

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 the Assignment's Activity must be approved before being actioned (typically used for Vacation).

activityStatusstring

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

resourcedActivityTypestring

Filter: Exact match on the Assignment's Resourced Activity Type. Must be one of: 'Other', 'DeliveryElement', or 'SalesOpportunity'.

activityAssignmentTypeEnumstring

Filter: Exact match on the Assignment's Type. Must be one of: 'ResourcedSpecific', 'ResourcedParent', 'ResourcedChild', 'Demand', 'Candidate', 'Templated', 'ResourcedGroup', 'Framework', 'ActivatedModel', 'Model', 'AppliedModel'

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/activity-assignments?engagementId=string&engagementName=string&engagementNameLike=string&engagementOwnerId=string&resourceId=string&resourceName=string&resourceEmail=string&resourceNameLike=string&startDate=string&endDate=string&engagementReference=string&elementReference=string&resourcedActivityName=string&resourcedActivityNameLike=string&canSelfForecast=true&isUnavailable=string&selfForecastApprovalRequired=string&activityStatus=string&resourcedActivityType=string&activityAssignmentTypeEnum=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 Activity Assignments

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", "ResourceInitials": "string", "StartDate": "string", "EngagementId": "string", "EngagementName": "string", "EngagementReference": "string", "ResourceId": "string", "Resource": "string", "ForecastEndDate": "string", "ActivityRoleId": "string", "ActivityRole": "string", "LocationId": "string", "Location": "string", "ForecastRemainingUsage": "string", "ProjectedUsage": "string", "ActualUsage": "string", "UtilisationPercentage": "string", "CurrencyCode": "string", "TotalForecastCost": "string", "InvoicingCurrencyCode": "string", "InvoicingCurrencyForecastRevenueRate": "string", "TotalForecastRevenue": "string", "TotalInvoicingCurrencyForecastRevenue": "string", "ResourceStandardRevenueRate": "string", "RealisationRate": "string", "MarginPercentage": "string", "InternalRate": "string", "InternalRateCurrencyCode": "string", "ActivityAssignmentTypeEnum": "string", "EarliestTimeEntryDate": "string", "LatestTimeEntryDate": "string", "EntrySpecification": "string", "ResourcedActivity": { "Id": "string", "Name": "string", "DeliveryElementReference": "string", "CanSelfForecast": "string", "IsUnavailable": "string", "SelfForecastApprovalRequired": "string", "ActivityStatus": "string", "ActivityType": "string", "ForecastUnitType": "string", "ForecastUnitTypeName": "string", "InvoicingUnitType": "string", "InvoicingUnitTypeName": "string" } } ] }