Standard APIs5G Business InternetAPI Reference

5G Business Internet Device Attributes

Device Attributes

POST /m2m/v1/devices/actions/list

This endpoint returns all of the device's details based on its 20-digit Integrated Circuit Card ID (ICCID).

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 request header containing a valid Bearer token: Authorization: Bearer {token}
VZ-M2M-Token (required)stringA valid session token returned by a Connectivity Management POST /session/login request.
Content-Type (required)stringMust be application/json.

HTTP Request

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

Request Parameters

ParameterData TypeDescription
deviceId (required)objectThe deviceId object contains the id and kind of the device identifier used in the query. The query requires the Integrated Circuit Card ID (ICCID) value.

Request Body

Example Request Body

"deviceId": {
      "id": "20-digit ICCID",
      "kind": "iccid"
   }

Success Responses

Status 200

{
    "hasMoreData": false,
    "devices": [
        {
            "accountName": "0000123456-00001",
            "billingCycleEndDate": "2022-11-10T00:00:00Z",
            "carrierInformations": [
                {
                    "carrierName": "Verizon Wireless",
                    "state": "deactive"
                }
            ],
            "connected": false,
            "createdAt": "2022-10-20T18:23:41Z",
            "customFields": [
                {
                    "key": "CustomField1",
                    "value": "CF271"
                },
                {
                    "key": "CustomField2",
                    "value": "CF272"
                },
                {
                    "key": "CustomField3",
                    "value": "CF273"
                },
                {
                    "key": "CustomField4",
                    "value": "CF274"
                },
                {
                    "key": "CustomField5",
                    "value": "CF275"
                }
            ],
            "deviceIds": [
                {
                    "id": "15 digit IMSI",
                    "kind": "imsi"
                },
                {
                    "id": "15-digit IMEI",
                    "kind": "imei"
                },
                {
                    "id": "20-digit ICCID",
                    "kind": "iccId"
                }
            ],
            "extendedAttributes": [
                {
                    "key": "PrimaryPlaceOfUseTitle"
                },
                {
                    "key": "PrimaryPlaceOfUseFirstName",
                    "value": "string"
                },
                {
                    "key": "PrimaryPlaceOfUseMiddleName"
                },
                {
                    "key": "PrimaryPlaceOfUseLastName",
                    "value": "string"
                },
                {
                    "key": "PrimaryPlaceOfUseSuffix"
                },
                {
                    "key": "PrimaryPlaceOfUseAddressLine1",
                    "value": "string"
                },
                {
                    "key": "PrimaryPlaceOfUseAddressLine2"
                },
                {
                    "key": "PrimaryPlaceOfUseCity",
                    "value": "string"
                },
                {
                    "key": "PrimaryPlaceOfUseState",
                    "value": "2-character state code"
                },
                {
                    "key": "PrimaryPlaceOfUseCountry",
                    "value": "USA"
                },
                {
                    "key": "PrimaryPlaceOfUseZipCode",
                    "value": "string"
                },
                {
                    "key": "PrimaryPlaceOfUseZipCode4"
                },
                {
                    "key": "PrimaryPlaceOfUseCBRPhone"
                },
                {
                    "key": "PrimaryPlaceOfUseCBRPhoneType"
                },
                {
                    "key": "PrimaryPlaceOfUseEmailAddress"
                },
                {
                    "key": "AccountNumber",
                    "value": "0000123456-00001"
                },
                {
                    "key": "SmsrOid"
                },
                {
                    "key": "ProfileStatus"
                },
                {
                    "key": "SkuNumber",
                    "value": "VZW080000250071"
                },
                {
                    "key": "CostCenterCode",
                    "value": ""
                },
                {
                    "key": "PreIMEI",
                    "value": "15-digit IMEI"
                },
                {
                    "key": "PreSKU",
                    "value": "VZW080000250071"
                },
                {
                    "key": "SIMOTADate",
                    "value": "2022-11-02T21:39:55Z"
                },
                {
                    "key": "RoamingStatus",
                    "value": "Unavailable"
                }
            ],
            "groupNames": [
                "Default: 0000123456-00001"
            ],
            "ipAddress": "0.0.0.0",
            "lastActivationBy": "user name",
            "lastActivationDate": "2022-11-02T21:36:18Z"
        }
    ]
}

Success Parameters

Parameter NameData TypeDescription
hasMoreDatabooleanIndicates if there is more than one page of data returned: true - more than one page of data, false - all data is displayed.
devicesarrayAn array of device property objects including the device ID, the address of the device and account information.
accountNamestringThe numeric name of the account the device is associated with.
billingCycleEndDatestring ($date-time)The system-assigned date of the end of the device's billing cycle.
carrierInformationsarrayAn array of objects showing the service providers name (carrierName) and the status (state) of the device on that service provider's network (pending, active or deactive).
connectedbooleanIndicates if the device is currently connected to a servie provider's network (true) or not (false).
createdAtstring ($date-time)Timestamp for when the device's record was created.
customFieldsarrayAn array of custom fields that can be used as additional descriptors. Valid key values are: CustomField1, CustomField2, CustomField3, CustomField4, and CustomField5. The value can contain any combination of alpha, numeric or special characters.
deviceIdsarrayAn array of objects listing the identifying values of the device where kind can be imei, imsi or iccid and id is the value of the corresponding kind.
extendedAttributesarrayAn array of the device's address and additional account attributes where key is the name of the attribute and value is the information defining the key. Since not all of the key values are required to be defined, the response will either show no value or a null.
groupNamesstringThe user defined groups the device is associated with.
ipAddressstringThis will show an assigned IP address if the device is activated as Public Static.
lastActivationBystringThe user name of the device's activator.
lastActivationDatestring ($date-time)The time stamp of the device's activation.

Failure Responses

All error messages are returned in this format:

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

On this page