Service Changes
GET
/api/v1/inventory/services/changesInventoryReturns the amount of added and end-dated services for a specified period.
Auth Scope
urn:grt:inventoryContent-Type
application/jsonRate Limit
60 req/min
Headers
| Header | Value |
|---|---|
Authorization | Bearer access-token |
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
granted_tenant_macnum | string | No | The company macnum on whose behalf the action is performed |
date_range | string | No | Parameter for filtering records by a predefined date range. Possible values are "Past Month", "Past 3 Months", and "Past Year" |
Response
Success Response (200 OK)
Response Fields
| Field | Type | Description |
|---|---|---|
added | integer | The total count of items that were newly added |
end_dated | integer | The total count of items that have been end-dated |
Code Examples
Errors
| HTTP Status | Error Description | Resolution |
|---|---|---|
401 | Authentication Failed | Verify your access token is valid and included in the Authorization header with the "Bearer " prefix. |
403 | Permission Denied | Your access token does not have the required scope (urn:grt:inventory). Contact your administrator to request the appropriate permissions. |
Last updated on