api:integration:economic:validate:reseller
Table of Contents
API : Integration : Economic Validate Reseller
Introduction
This endpoint is used to determine whether the given reseller has successfully integrated with e-conomic. To integrate with e-conomic, the reseller needs to have a valid agreement grant token.
Request
| URL | https://api.telecomx.dk/integration/economic/validate/reseller | |
|---|---|---|
| Method | GET | |
| Access level | VIEWER, MANAGER or OWNER if user belongs to the customer. RESELLER if customer belongs to the reseller or a sub reseller. ADMIN. |
|
| Query | reseller | Id of the customer/reseller to validate the integration for |
| agreementGrantToken | Optional token, can be used to just validate whether a token is valid or not, no matter the current token on the reseller | |
Query examples
https://api.telecomx.dk/integration/economic/validate/reseller https://api.telecomx.dk/integration/economic/validate/reseller?reseller=1234567890ABCDEF12345678
Response
| Layout object | ||
|---|---|---|
| Property | Type | Description |
| success | Boolean | True if the e-conomic integration is valid. |
Note that since this data is fetched from a third-party, the data returned can not be guaranteed.
Example - normal
{ "success": true }
Errors
| Error code | Message | Description |
|---|---|---|
| 403 | economic | The integration is not valid. |
| 404 | reseller | Reseller not found |
| 500 | internal_error | <Unspecified> |
api/integration/economic/validate/reseller.txt · Last modified: 2024/03/14 14:01 by Joakim Andersen