Premium APIsSIM SecureAPI Reference

Get Subscription Information for SIM Secure

Get Subscription Information for SIM Secure for IoT

POST /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.

Header Parameters

The request header must set the content-type to JSON, contain a current ThingSpace authorization token and a current VZ-M2M session token. For more details on how to get these tokens, visit Getting Started.

Parameter NameData TypeDescription
Authorization (required)stringHTTP Authorization bearer token: Authorization: Bearer {token}
VZ-M2M-Token (required)stringA valid session token: VZ-M2M-Token: {M2Mtoken}
Content-Type (required)stringMust be application/json Content-Type: application/json

Uses and Requirements

You can retrieve the list of licenses and license types using only your account number, or by using both account number and SKU number.

When new licenses are purchased or licenses are removed, the license counts in your account update accordingly.

HTTP Request

POST https://thingspace.verizon.com/api/m2m/v1/accounts/subscriptions/actions/list

Request Parameters

Parameter NameData TypeDescription
accountName (required)stringThe name of a billing account, including any leading zeroes.
skuNumber (required)string (20 characters max 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.
- TSS-IOT-INTLG-TIERED-SIMSEC (Intelligent Bundle) The SIM Secure flexible license included in the intelligence bundle.

Request Body

The request body identifies the account name for which you want to show subscription information by licenses and license types. You can also specify the SKU number in the request body to retrieve license information for a specific license type.

Example Request Body, Account Name only:

{
  "accountName": "0000123456-00001"
}

Example Request Body, Account Name and SKU Number:

{
  "accountName": "0000123456-00001",
  "skuNumber": "SIMSec-IoT-Lt"
}

Success Responses

Status 200 A successful request returns an array of subscriptionList objects.

Example Success Response for Account Name only:

An example response when the request body included only the accountName. Information for all license types associated with the account is returned.

{
  "accountName": "0000123456-00001",
  "subscriptionList": [
    {
      "skuNumber": "SIMSec-IoT-Lt",
      "licenseType": "Lifetime",
      "licensePurchased": 336000,
      "licenseAssigned": 507,
      "licenseAvailable": 335493
    },
    {
      "skuNumber": "SIMSec-IoT",
      "licenseType": "Flexible",
      "licensePurchased": 100,
      "licenseAssigned": 5,
      "licenseAvailable": 95
    },
    {
      "skuNumber": "TS-BUNDLE-KTO-SIMSEC-MRC",
      "licenseType": "Flexible Bundle",
      "licensePurchased": 200,
      "licenseAssigned": 7,
      "licenseAvailable": 193
    }
  ]
}

Example Success Response for for Account Name and SKU Number:

An example response when your request body includes both the accountName and the skuNumber. Subscription information only for the specified license type is returned.


{
  "accountName": "0000123456-00001",
  "subscriptionList": [
    {
      "skuNumber": "SIMSec-IoT-Lt",
      "licenseType": "Lifetime",
      "licensePurchased": 336000,
      "licenseAssigned": 507,
      "licenseAvailable": 335493
    }
  ]
}

Success Parameters

Parameter NameData TypeDescription
accountNamestringThe name of the billing account.
subscriptionListarray of subscriptionList objectsThe list of SKU numbers and counts for each license type specified in the request.
skuNumberstringThe skuNumber that identifies the license type.
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.
TSS-IOT-INTLG-TIERED-SIMSEC. (Intelligent Bundle) The SIM Secure flexible license included in the intelligence bundle.
licenseTypestringThe license type associated with the skuNumber.
licensePurchasedintegerThe total number of licenses purchased for the license type.
licenseAssignedintegerThe total number of licenses for this license type that are assigned to device SIMs.
licenseAvailableintegerThe total number of licenses for this license type that are available to assign to device SIMs.

Failure Responses

Error messages are returned in this format:

{
  "errorCode": "error code string",
  "errorMessage": "error message string"
}

Error Codes and Messages

Error CodeError MessageDescription
Carrier.Service.INPUT_INVALID.Action.NotDefinedaccountName is a required field.Your request did not include an accountName.

On this page