Absorb Integration API (v2)
Download OpenAPI specification:Download
Get groups.
UserIds returns a max of 50,000. A default Id ("00000000-0000-0000-0000-000000000000") will be appended to the end of the list to indicate there are more than 50,000 UserIds.
Authorizations:
query Parameters
| limit | string (Deprecated) The maximum number of items to return in the current page of the collection. |
| offset | string (Deprecated) The number of pages to offset into the collection. |
| _filter | string One or more filter operations to be performed on the collection. The referenced fields must allow filtering. See the respective report's schema for which fields can be filtered. Supports most of the OData filter syntax. Supported operations: * eq, * ne, * gt, * ge, * lt, * le, * and, * or, * not, * () Supported functions: * substringof('value',fieldName), * endswith(fieldName,'value'), * startswith(fieldName,'value'), * tolower(fieldName), * toupper(fieldName) Examples:
|
| _sort | string Optional list of comma-separated fields to sort the collection by. The referenced fields must allow sorting. See the respective report's schema for which fields can be sorted. If not specified, all report fields are returned. To sort in a descending manner, prefix the field name with |
| _limit | string The maximum number of items to return in the current page of the collection. |
| _offset | string The number of pages to offset into the collection. |
header Parameters
| x-api-key | string |
| x-api-version | string 2 |
Responses
Response Schema: application/json
| totalItems | integer <int32> The total number of items in the unbounded collection |
| returnedItems | integer <int32> The number of items in the bound collection being returned |
| limit | integer <int32> The current page size for the collection |
| offset | integer <int32> The current offset for the collection |
Array of objects (GroupResource) |
Response samples
- 200
- 422
{- "totalItems": 0,
- "returnedItems": 0,
- "limit": 0,
- "offset": 0,
- "groups": [
- {
- "id": "string",
- "name": "string",
- "isAutomatic": true,
- "userIds": [
- "string"
], - "dateEdited": "2019-08-24T14:15:22Z",
- "dateAdded": "2019-08-24T14:15:22Z"
}
]
}Create group.
Authorizations:
header Parameters
| x-api-key | string |
| x-api-version | string 2 |
Request Body schema: application/json
The request to create the group.
| name required | string non-empty The name of the group. |
| externalId | string The external ID of the group. |
| scopedDepartmentId | string <guid> The ID of the department the group is scoped to. |
Responses
Response Schema: application/json
| id | string <guid> Group identifier. |
| name | string The name of the group. |
| externalId | string The external ID of the group. |
| scopedDepartmentId | string <guid> The ID of the department the group is scoped to. |
| isAutomatic | boolean Whether the associate users are added automatically. |
| dateAdded | string <date-time> The date the group was added. |
| dateEdited | string <date-time> The group's last edited date. |
Request samples
- Payload
{- "name": "string",
- "externalId": "string",
- "scopedDepartmentId": "string"
}Response samples
- 201
- 403
- 404
- 422
{- "id": "string",
- "name": "string",
- "externalId": "string",
- "scopedDepartmentId": "string",
- "isAutomatic": true,
- "dateAdded": "2019-08-24T14:15:22Z",
- "dateEdited": "2019-08-24T14:15:22Z"
}Get group.
UserIds returns a max of 50,000. A default Id ("00000000-0000-0000-0000-000000000000") will be appended to the end of the list to indicate there are more than 50,000 UserIds.
Authorizations:
path Parameters
| id required | string <guid> The ID of the group. |
header Parameters
| x-api-key | string |
| x-api-version | string 2 |
Responses
Response Schema: application/json
| id | string <guid> Group identifier. |
| name | string The name of the group. |
| isAutomatic | boolean Whether the associate users are added automatically. |
| userIds | Array of strings <guid> [ items <guid > ] The user identifiers of associate users. Returns a max of 50,000. Presence of default Id ("00000000-0000-0000-0000-000000000000") at the end will indicate there are more than 50,000 UserIds. |
| dateEdited | string <date-time> The group's last edited date. |
| dateAdded | string <date-time> The date the group was added. |
Response samples
- 200
- 404
{- "id": "string",
- "name": "string",
- "isAutomatic": true,
- "userIds": [
- "string"
], - "dateEdited": "2019-08-24T14:15:22Z",
- "dateAdded": "2019-08-24T14:15:22Z"
}Update a group.
Authorizations:
path Parameters
| id required | string <guid> The group identifier. |
header Parameters
| x-api-key | string |
| x-api-version | string 2 |
Request Body schema: application/json
The request to update a group.
| name | string The group's name. |
| externalId | string The group's external ID. |
| scopedDepartmentId | string <guid> The group's scoped department ID. |
Responses
Response Schema: application/json
| id | string <guid> The group ID. |
| name | string The group name. |
| externalId | string The group external ID. |
| scopedDepartmentId | string <guid> The group's scoped department ID. |
| isAutomatic | boolean Whether user assignment is automatic or not. |
| dateAdded | string <date-time> The date added. |
| dateEdited | string <date-time> The date edited. |
Request samples
- Payload
{- "name": "string",
- "externalId": "string",
- "scopedDepartmentId": "string"
}Response samples
- 200
- 400
- 403
- 404
- 422
{- "id": "string",
- "name": "string",
- "externalId": "string",
- "scopedDepartmentId": "string",
- "isAutomatic": true,
- "dateAdded": "2019-08-24T14:15:22Z",
- "dateEdited": "2019-08-24T14:15:22Z"
}Assign users to group.
Authorizations:
path Parameters
| id required | string <guid> The ID of the group. |
header Parameters
| x-api-key | string |
| x-api-version | string 2 |
Request Body schema: application/json
The request to assign users to the group.
| userIds required | Array of strings <guid> [ items <guid > ] The IDs of the users to assign to the group. |
Responses
Response Schema: application/json
Request samples
- Payload
{- "userIds": [
- "string"
]
}Response samples
- 200
- 400
- 403
- 404
- 422
"string"Unassign users from group.
Authorizations:
path Parameters
| id required | string <guid> The group ID to unassign users from. |
header Parameters
| x-api-key | string |
| x-api-version | string 2 |
Request Body schema: application/json
The request to create the group.
| userIds required | Array of strings <guid> [ items <guid > ] The IDs of the users to unassign from the group. |
Responses
Request samples
- Payload
{- "userIds": [
- "string"
]
}Response samples
- 403
- 404
- 422
{- "validations": [
- "string"
], - "code": 0,
- "message": "string",
- "term": "string",
- "_meta": {
- "property1": "string",
- "property2": "string"
}
}