User Tools

Site Tools


api:integration:economic:validate:reseller

API : Integration : Economic Validate Reseller

Introduction

This endpoint is used to determine whether the caller's customer has successfully integrated with e-conomic. To integrate with e-conomic, the reseller needs to have a valid agreement grant token.

When agreementGrantToken is given, that token is tested instead of the one stored on the caller's customer.

Request

URL https://api.telecomx.dk/integration/economic/validate/reseller
Method GET
Access level RESELLER, RESELLER_ADMIN or ADMIN. The stored token tested is always the caller's own customer's.
Query agreementGrantToken [optional] Token to test instead of the stored one, max. 512 characters

Query examples

https://api.telecomx.dk/integration/economic/validate/reseller
https://api.telecomx.dk/integration/economic/validate/reseller?agreementGrantToken=<TOKEN>

Response

Json 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
422 <property> Invalid input for the named property - the request body, query or URL parameter failed validation
403 economic The integration is not valid.
404 reseller Not found
404 integrations.economic.agreementGrantToken Not found
500 internal_error <Unspecified>
api/integration/economic/validate/reseller.txt · Last modified: by Mikkel Meerwaldt Jørgensen

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki