User Tools

Site Tools


api:integration:also:validate:reseller

API : Integration ALSO Validate Reseller

Introduction

This request will validate the reseller in ALSO, by checking whether the reseller's ALSO token is valid.

Request

URL https://api.telecomx.dk/integration/also/validate/reseller
Method POST
Access level VIEWER, MANAGER, OWNER, RESELLER, ADMIN.
Params reseller Id (24-character hex string) of the reseler
Body alsoUsername [optional] ALSO username
alsoPassword [optional] ALSO password

Query examples

https://api.telecomx.dk/integration/also/validate/reseller/1234567890ABCD1234567890

Request example

{
  "alsoUsername": "bob@big-laywer-firm.com",
  "alsoPassword": "123458j2sjd712h3ksd82"
}

Response

JSON object
Property Type Description
success Boolean True if the customer is valid in ALSO.

Note that properties holding no value may be omitted from the object.

Response example

{
  "success": true
}

Errors

Error code Message Description
403 access_denied Insufficient access level
403 also.token Invalid ALSO token
500 internal_error <Unspecified>
api/integration/also/validate/reseller.txt · Last modified: 2022/08/02 13:45 by Joakim Andersen

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki