Device Assignment API is used to add a subsidized Tablet device in TG5 & NLAD to a SIM-only order if the customer is eligible.
It will display an error if the customer is not eligible for the subsidized Tablet device.
Here is a sample request of the Device Assignment API-
{
"action": "assign_device",
"source": "WEBSITE",
"enrollment_id": "EGMD326",
"device_id": "97688746567555",
"request_name": "inventory",
"agent_id": "ewebsiteapi"
}
API success response-
The device will be successfully updated in TG5, after the API was successful-
The device will be successfully updated in NLAD after the API was successful-
The Device purchase will be reflected in the invoice section-
Customer notes will reflect the same-
All of the scenarios in which you will receive errors-
You will get this error if you process this API with a SIM ID instead of a device ID-
You will get this error if you process this API with a phone instead of a device ID-
You will get this error if you process this API with a tagged device(a device which is tagged with an ESN)-
You will get this error if the customer is not eligible for the copay tablet-
You will get this error if the device is already attached with the customer-
You will get this error if the customer failed in NLAD due to any reason. The device will not be attached to the customer in this case-