4G and GSM devices do not have a PRL.
thingspace_oauth VZ-M2M-Token In: header
M2M Session Token (How to generate an M2M session token?)
In: header
application/json
Request to query device PRL.
TypeScript Definitions
Use the request body type in TypeScript.
Requests the current PRL (Preferred Roaming List) version for 2G or 3G devices, which can help determine which devices need a PRL update. (4G and GSM devices do not have a PRL.).
application/json
application/json
curl -X POST "https://example.com/m2m/v1/devices/prl/actions/list" \ -H "Content-Type: application/json" \ -d '{ "deviceIds": [ { "id": "A10085E5003861", "kind": "meid" }, { "id": "A10085E5003186", "kind": "meid" } ] }'{ "requestId": "595f5c44-c31c-4552-8670-020a1545a84d"}{ "errorCode": "error code string", "errorMessage": "error message string"}The devices for which you want the PRL version, specified by device identifier. You only need to provide one identifier per device. Do not use any of the other parameters if you specify device IDs.
The name of a billing account. This parameter is only required if you are passing groupName and the UWS account used for the current API session has access to multiple billing accounts, because the same device group name can exist in multiple accounts.An account name is usually numeric, and must include any leading zeros.
The names and values of custom fields, if you want to only include devices that have matching custom fields.
The name of a device group, if you want to only include devices in that group.
The name of a service plan, if you want to only include devices that have that service plan.