POST api/ScanCode/ApplyForRepair
Request Information
URI Parameters
None.
Body Parameters
ApplyForRepairInfoModel| Name | Description | Type | Additional information |
|---|---|---|---|
| AgentId | integer |
None. |
|
| MA001 | string |
None. |
|
| OpenId | string |
None. |
|
| Id | integer |
None. |
|
| Account | string |
None. |
|
| ShopName | string |
None. |
|
| BossName | string |
None. |
|
| Phone | string |
None. |
|
| Address | string |
None. |
|
| MA015 | string |
None. |
|
| MA017 | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"AgentId": 1,
"MA001": "sample string 2",
"OpenId": "sample string 3",
"Id": 4,
"Account": "sample string 5",
"ShopName": "sample string 6",
"BossName": "sample string 7",
"Phone": "sample string 8",
"Address": "sample string 9",
"MA015": "sample string 10",
"MA017": "sample string 11"
}
application/xml, text/xml
Sample:
<ApplyForRepairInfoModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Model.Agent"> <Account>sample string 5</Account> <Address>sample string 9</Address> <BossName>sample string 7</BossName> <Id>4</Id> <MA001 i:nil="true" /> <MA015>sample string 10</MA015> <MA017>sample string 11</MA017> <Phone>sample string 8</Phone> <ShopName>sample string 6</ShopName> <AgentId>1</AgentId> <MA001>sample string 2</MA001> <OpenId>sample string 3</OpenId> </ApplyForRepairInfoModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResultModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Code | integer |
None. |
|
| Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Code": 1,
"Message": "sample string 2"
}
application/xml, text/xml
Sample:
<ResultModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Model.Agent"> <Code>1</Code> <Message>sample string 2</Message> </ResultModel>