POST api/ScanCode/GetScanCodeInfo
Request Information
URI Parameters
None.
Body Parameters
ScanCodeQueryModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Code | string |
None. |
|
| AppId | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Code": "sample string 1",
"AppId": "sample string 2"
}
application/xml, text/xml
Sample:
<ScanCodeQueryModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Model.Agent"> <AppId>sample string 2</AppId> <Code>sample string 1</Code> </ScanCodeQueryModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ScanCodeResultModel| Name | Description | Type | Additional information |
|---|---|---|---|
| AgentInfo | QRCodeAgentInfoModel |
None. |
|
| OpenId | string |
None. |
|
| Code | integer |
None. |
|
| Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"AgentInfo": {
"Id": 1,
"MA001": "sample string 2",
"MA002": "sample string 3",
"Brand": "sample string 4",
"MA015": "sample string 5",
"MA017": "sample string 6",
"AppId": "sample string 7"
},
"OpenId": "sample string 1",
"Code": 2,
"Message": "sample string 3"
}
application/xml, text/xml
Sample:
<ScanCodeResultModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Model.Agent">
<Code>2</Code>
<Message>sample string 3</Message>
<AgentInfo>
<AppId>sample string 7</AppId>
<Brand>sample string 4</Brand>
<Id>1</Id>
<MA001>sample string 2</MA001>
<MA002>sample string 3</MA002>
<MA015>sample string 5</MA015>
<MA017>sample string 6</MA017>
</AgentInfo>
<OpenId>sample string 1</OpenId>
</ScanCodeResultModel>