clientLibraryActivities¶
Deprecated
This endpoint will stop working on 1 August 2027. Migrate to
GET /v1/library-activities in the new API; the
migration guide has the recommended
order of work and the important model differences.
Legacy getClientLibraryActivities filtered library activities by the calling user's resource (via Resource -> User -> ClientUsers -> ClientActivity). The new endpoint returns all library activities visible to the caller and supports a free-text search parameter only - it does not filter by resource id.
Open GET /v1/library-activities in the new API →
View legacy reference
/rest/workflow/activity/getClientLibraryActivities/{resourceId}
GET
Retruns list of library activities by resource id, using link: Resource -> User -> ClientUsers and ClientActivity.
available response representations:
- application/json
{
"id":"123",
//libraryActivity.id "name":"AERIALS",
//libraryActivity.name "code":"AER",
//libraryActivity.code "quantity":"2",
//libraryActivity.quantity "serviceId":"343",
//libraryActivity.service_id "groupId":"33",
//libraryActivity.library_activity_group_id "clients":[
3,
45,
64
] //from ClientActivity.client_id table "workLogTypes":[
33,
5,
4
] //using join on LibraryActivityCost -> CostItem -> CostItemCost
}See the Workflow API matrix for the full list of endpoints in this category.