Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagejs
{
  "users": [
    {
      "integration_id": null,
      "company": null,
      "integration": null,
      "defaultsender": null,
      "balance": "1.2400000",
      "use_currency": 0,
      "max_forbrug": "999999",
      "forbrug": "131",
      "deactivated": null,
      "created": "07-12-2015 08:23:57",
      "parent": 0,
      "id": 10281,
      "username": "here_be_username",
      "apikey": "---",
      "materialized_path": "7xl",
      "prefixes": "",
      "iprange": "",
      "aclBilling": true,
      "aclBillingHigh": true,
      "aclCharity": true,
      "aclIncoming": true,
      "aclSmsinbox": true,
      "aclHlr": true,
      "aclAdmin": true,
      "enabled": true,
      "credits": 999868
    }
  ],
  "status": 200
}

On failure the response request will return a status 400 or 401 (depending on the error), with a message explaining the problem:

Code Block
languagejs
{
  "status": 401,
  "message": "Access denied [abcd] authentication failed"
}

 

Fields returned by

...

a successfull request

NameDescription
integration_idUsed by resellers to identify users in their own CRM systems
companyPrimarily used by resellers to identify company names
integrationUsed by resellers to identify the customers integration type
defaultsenderDefault sender value on the receiving device
balance???
use_currency???
max_forbrugMaximum number of messages a user can send
forbrugAmount of messages a user has sent
deactivatedIf the user is disabled, then this indicates when the user was closed
createdIndicates the date the user was created
parentID of the parent user
apikeyThe users apikey
materialized_pathUsed to identify where the user is in the hierarchy related to it's parents
prefixesA list of prefixes the user is allowed to send to
iprangeA list of IPs the user is allowed to use the api from
aclBillingAllows the user to send premium messages
aclBillingHighAllows the user to send premium messages at higher values than DKK 12
aclCharityAllows the user to send premium messages for charity
aclIncomingAllows the user to receive messages
aclSmsinboxAllows the user to user smsinbox.dk
aclHlrAllows the user to make HLR lookups
aclAdminAllows the user to create/edit/delete users
enabledIndicates wether the user is enabled or disabled

...