Accounts

Returns information about a specified account

GET
/m2m/v1/accounts/{aname}

Returns information about 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

aname*string

Account name.

Response Body

application/json

application/json

curl -X GET "https://example.com/m2m/v1/accounts/Chintan_CPNStaticBulk"
{  "accountName": "Chintan_CPNStaticBulk",  "accountNumber": "1234567890-77777",  "organizationName": "ChintanCPNBulk",  "isProvisioningAllowed": true,  "carriers": [    "Verizon Wireless"  ],  "features": [    "Static IP",    "Dynamic IP",    "Customer PN"  ],  "iPPools": [    {      "poolName": "ACMESTATIC001",      "poolType": "Static IP",      "isDefaultPool": true    },    {      "poolName": "ACMEDYNAMIC001",      "poolType": "Dynamic IP",      "isDefaultPool": false    }  ],  "servicePlans": [    {      "name": "",      "code": "92876",      "sizeKb": 1,      "carrierServicePlanCode": "",      "extendedAttributes": []    },    {      "name": "",      "code": "92876",      "sizeKb": 1,      "carrierServicePlanCode": "",      "extendedAttributes": []    }  ]}