POST api/ChangeFreeService
Request Information
URI Parameters
None.
Body Parameters
ChangeServiceReq| Name | Description | Type | Additional information |
|---|---|---|---|
| appId | string |
None. |
|
| token | string |
None. |
|
| deviceId | string |
None. |
|
| mobile | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"appId": "sample string 1",
"token": "sample string 2",
"deviceId": "sample string 3",
"mobile": "sample string 4"
}
application/xml, text/xml
Sample:
<ChangeServiceReq xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PoultryExpAPI.Models"> <appId>sample string 1</appId> <deviceId>sample string 3</deviceId> <mobile>sample string 4</mobile> <token>sample string 2</token> </ChangeServiceReq>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ErrorRes| Name | Description | Type | Additional information |
|---|---|---|---|
| errCode | string |
None. |
|
| errDesc | string |
None. |
|
| errFlag | string |
None. |
|
| token | string |
None. |
|
| recordId | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"errCode": "sample string 1",
"errDesc": "sample string 2",
"errFlag": "sample string 3",
"token": "sample string 4",
"recordId": "sample string 5"
}
application/xml, text/xml
Sample:
<ErrorRes xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PoultryExpAPI.Models"> <errCode>sample string 1</errCode> <errDesc>sample string 2</errDesc> <errFlag>sample string 3</errFlag> <recordId>sample string 5</recordId> <token>sample string 4</token> </ErrorRes>