Account Subscriptions

Returns information about all the subscriptions for an account.

POST
/m2m/v1/accounts/subscriptions/actions/list

Retrieves the total number of SIM-Secure for IoT subscription licenses purchased for your account by license type, and lists the number of licenses assigned and available for each license type.

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

Header Parameters

X-Request-ID?string

Transaction Id.

Match^[0-9]-[0-9]{3,32}$
Length3 <= length <= 32

Request Body

application/json

Request for account subscription.

Request for account subscription.

accountName?string

The name of a billing account.

Match^[A-Za-z0-9]{3,32}$
Length3 <= length <= 32
skuNumber?string

The Stock Keeping Unit (SKU). Valid skuNumbers for SIM-Secure for IoT are:SIMSec-IoT-Lt”. (Lifetime) Once a license is assigned to a SIM, the SIM-Secure feature is enabled for the life of the SIM.“TS-BUNDLE-KTO-SIMSEC-MRC”. (Bundle) The SIM-Secure Flex license can be assigned to or removed from a SIM at any time. This SKU is bundled with other ThingSpace Services.*“SIMSec-IoT”. (Flex) The SIM-Secure Flex license can be assigned to or removed from a SIM at any time. This SKU is purchased a la carte.

Length3 <= length <= 32

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/m2m/v1/accounts/subscriptions/actions/list" \  -H "Content-Type: application/json" \  -d '{    "accountName": "000012345600001",    "skuNumber": "SIMSec-IoT-Lt"  }'
{  "accountName": "000012345600001",  "subscriptionList": [    {      "skuNumber": "TS-BUNDLE-KTO-SIMSEC-MRC",      "licenseType": "Flexible Bundle",      "licensePurchased": 9,      "licenseAssigned": 7,      "licenseAvailable": 1    }  ]}