GET api/BillingService/QueryNewDevice?code={code}
Documentation for 'QueryNewDevice'.
Request Information
Parameters
| Name | Description | Additional information |
|---|---|---|
| code | Documentation for 'code'. |
Define this parameter in the request URI. |
Response Information
Response body formats
application/json, text/json
Sample:
{
"registered": true,
"device_guid": "sample string 2",
"identifier_type": 64,
"device_identifier": "sample string 4",
"content_server_name": "sample string 5",
"company_uuid": "sample string 6",
"enc_userid": "sample string 7",
"subscription_text_id": "sample string 8",
"device_plan_level": 1,
"device_plan_name": "sample string 9",
"registered_plan_level": 1,
"registered_plan_name": "sample string 10",
"free_trial_period_type": 64,
"free_trial_period": 1,
"is_success": true,
"error_message": "sample string 13",
"exception_name": "sample string 14",
"error_code": 15
}
application/xml, text/xml
Sample:
<QueryNewDeviceResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MMS.RestApi.Entities.Billing"> <error_code xmlns="http://schemas.datacontract.org/2004/07/Mandoe.Framework.WebApi">15</error_code> <error_message xmlns="http://schemas.datacontract.org/2004/07/Mandoe.Framework.WebApi">sample string 13</error_message> <exception_name xmlns="http://schemas.datacontract.org/2004/07/Mandoe.Framework.WebApi">sample string 14</exception_name> <is_success xmlns="http://schemas.datacontract.org/2004/07/Mandoe.Framework.WebApi">true</is_success> <company_uuid>sample string 6</company_uuid> <content_server_name>sample string 5</content_server_name> <device_guid>sample string 2</device_guid> <device_identifier>sample string 4</device_identifier> <device_plan_level>1</device_plan_level> <device_plan_name>sample string 9</device_plan_name> <enc_userid>sample string 7</enc_userid> <free_trial_period>1</free_trial_period> <free_trial_period_type>64</free_trial_period_type> <identifier_type>64</identifier_type> <registered>true</registered> <registered_plan_level>1</registered_plan_level> <registered_plan_name>sample string 10</registered_plan_name> <subscription_text_id>sample string 8</subscription_text_id> </QueryNewDeviceResponse>