User Tools

Site Tools


api:integration:also:validate:customer

API : Integration ALSO Validate Customer

Introduction

This request will validate the customer in ALSO, meaning the following: - It will validate that the customer exists in ALSO, and can be fetched with their reseller's ALSO token.

Request

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

Query examples

https://api.telecomx.dk/integration/also/validate/customer/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
404 customer Not found
500 internal_error <Unspecified>
api/integration/also/validate/customer.txt · Last modified: 2022/08/02 13:42 by Joakim Andersen

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki