api:integration:also:sync-customer
Table of Contents
API : Integration : ALSO Sync Customer
Introduction
This request will sync the customer's subscriptions/licenses from ALSO to Telecom X. It will also synchronize the customer's tenant ID from ALSO → Telecom X, if available.
The response is sent when the sync has finished.
Request
| URL | https://api.telecomx.dk/integration/also/customer/:id/sync | ||
|---|---|---|---|
| Method | POST | ||
| Access level | RESELLER if the customer belongs to the reseller or a sub reseller. RESELLER_ADMIN or ADMIN. |
||
| Params | id | Id | Id of the customer |
Query example
POST https://api.telecomx.dk/integration/also/customer/650000000000000000000001/sync
Response
| Json object | ||
|---|---|---|
| success | Boolean | True when the sync has finished |
Example
{ "success": true }
Errors
| Error code | Message | Description |
|---|---|---|
| 422 | <property> | Invalid input for the named property - the request body, query or URL parameter failed validation |
| 403 | access_denied | Insufficient access level - also returned when the customer does not exist |
| 409 | customer.integrations.licenses.also.customerId | ALSO customer ID not found |
| 500 | internal_error | <Unspecified> |
api/integration/also/sync-customer.txt · Last modified: by Mikkel Meerwaldt Jørgensen