Change a device's service plan to use 5G BI.
This is where the ThingSpace token, from Getting Started is used
In: header
application/json
This endpoint is for use when changing a device's service plan to a 5G BI service plan. The service plan can change for an active device up to four times per month but will require address validation for each change. The service plan cannot be changed for a device while its service is suspended.
TypeScript Definitions
Use the request body type in TypeScript.
application/json
application/json
curl -X PUT "https://example.com/actions/plan" \ -H "Content-Type: application/json" \ -d '{ "accountName": "0000123456-00001", "servicePlan": "5G BI service plan name being changed to", "deviceListWithServiceAddress": [ { "deviceId": [ { "id": "15-digit IMEI", "kind": "imei" } ] }, { "primaryPlaceofuse": { "address": { "addressLine1": "street number and name", "city": "city of address", "state": "2-letter state ID (conforms to ISO 3166-2)", "zip": "5-digit ZIP code", "zip+4": "the +4 digits used for ZIP codes" }, "customerName": { "firstName": "First name", "lastName": "Surname or Last Name" } } } ], "currentServicePlan": "Optional name of the plan being changed from" }'{ "requestId": "d1f08526-5443-4054-9a29-4456490ea9f8"}{ "errorCode": "The 3-digit HTML error code", "errorMessage": "a description of the error"}