api:integration:also:validate:reseller
Table of Contents
API : Integration : ALSO Validate Reseller
Introduction
This request checks whether a set of ALSO credentials can log in to ALSO.
Request
| URL | https://api.telecomx.dk/integration/also/validate/reseller | ||
|---|---|---|---|
| Method | POST | ||
| Access level | RESELLER, RESELLER_ADMIN or ADMIN. | ||
| Body | alsoUsername | String | Username in ALSO, max. 512 characters |
| alsoPassword | String | Password in ALSO, max. 512 characters | |
Query example
POST https://api.telecomx.dk/integration/also/validate/reseller
Body example
{ "alsoUsername": "<USERNAME>", "alsoPassword": "<PASSWORD>" }
Response
| Json object | ||
|---|---|---|
| success | Boolean | True when ALSO accepted the credentials, false when it refused them |
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 |
| 400 | bad data | ALSO rejected the request, e.g. a missing credential - the description is the message from ALSO, e.g. Invalid arguments. Username is required |
| 403 | access_denied | Insufficient access level |
| 500 | unavailable | Can not reach ALSO service, try again later. |
| 500 | internal_error | <Unspecified> |
api/integration/also/validate/reseller.txt · Last modified: by Mikkel Meerwaldt Jørgensen