Account Service Controller

Retrieve Account Information

GET
/v1/accounts/{accountName}

Returns aaccount information associated with a specified account.

Authorization

thingspace_oauth VZ-M2M-Token
AuthorizationBearer <token>

This is the ThingSpace token, from Credentials and Tokens is used

In: header

VZ-M2M-Token<token>

M2M Session Token (How to generate an M2M session token?)

In: header

Path Parameters

accountName*string

The account's numeric name, including leading zeroes.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/accounts/0000123456-00002"
{  "accountName": "string",  "accountNumber": "0000123456-00001",  "carriers": [    "carrier name(s)"  ],  "features": [    "feature names"  ],  "ipPools": [    {      "isDefaultPool": true,      "poolName": "name of the pool",      "poolType": "type of pool"    }  ],  "isProvisioningAllowed": true,  "organizationName": "Org Name",  "servicePlans": [    {      "carrierServicePlanCode": "name of the service plan code",      "code": "the activation code",      "extendedAttributes": [        {          "key": "key name",          "value": "key value"        }      ],      "name": "name of the active profile carrier",      "sizeKb": 1000    }  ]}