POST api/ORCodeAI/ScanningQRCode
Request Information
URI Parameters
None.
Body Parameters
UploadPara| Name | Description | Type | Additional information |
|---|---|---|---|
| file | HttpPostedFileBase |
None. |
|
| UserID | integer |
None. |
|
| IsAsynchronous | boolean |
None. |
|
| Guid | string |
None. |
|
| MD5 | string |
None. |
|
| TotalChunkValue | integer |
None. |
|
| ResourceFormat | string |
None. |
|
| ResourceSize | integer |
None. |
|
| ReOrginName | string |
None. |
|
| Path | string |
None. |
|
| fileName | string |
None. |
|
| chunk | integer |
None. |
|
| IsChunk | integer |
None. |
|
| ConvertState | integer |
None. |
|
| MergeState | integer |
None. |
|
| State | integer |
None. |
|
| IsValidate | integer |
None. |
|
| ValidateType | integer |
None. |
|
| ValidateConditon | string |
None. |
|
| IsContent | integer |
None. |
|
| BaiDuAID | string |
None. |
|
| BaiDuSK | string |
None. |
|
| ConvertFilePath | string |
None. |
|
| IsRrturnData | integer |
None. |
|
| Base64 | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"UserID": 1,
"IsAsynchronous": true,
"Guid": "sample string 3",
"MD5": "sample string 4",
"TotalChunkValue": 1,
"ResourceFormat": "sample string 5",
"ResourceSize": 6,
"ReOrginName": "sample string 7",
"Path": "sample string 8",
"fileName": "sample string 9",
"chunk": 10,
"IsChunk": 1,
"ConvertState": 11,
"MergeState": 12,
"State": 13,
"IsValidate": 14,
"ValidateType": 15,
"ValidateConditon": "sample string 16",
"IsContent": 17,
"BaiDuAID": "sample string 18",
"BaiDuSK": "sample string 19",
"ConvertFilePath": "sample string 20",
"IsRrturnData": 21,
"Base64": "sample string 22"
}
text/html
Sample:
{"UserID":1,"IsAsynchronous":true,"Guid":"sample string 3","MD5":"sample string 4","TotalChunkValue":1,"ResourceFormat":"sample string 5","ResourceSize":6,"ReOrginName":"sample string 7","Path":"sample string 8","fileName":"sample string 9","chunk":10,"IsChunk":1,"ConvertState":11,"MergeState":12,"State":13,"IsValidate":14,"ValidateType":15,"ValidateConditon":"sample string 16","IsContent":17,"BaiDuAID":"sample string 18","BaiDuSK":"sample string 19","ConvertFilePath":"sample string 20","IsRrturnData":21,"Base64":"sample string 22"}
application/xml, text/xml
Sample:
<UploadPara xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/YLS.Common.Models"> <BaiDuAID>sample string 18</BaiDuAID> <BaiDuSK>sample string 19</BaiDuSK> <Base64>sample string 22</Base64> <ConvertFilePath>sample string 20</ConvertFilePath> <ConvertState>11</ConvertState> <Guid>sample string 3</Guid> <IsAsynchronous>true</IsAsynchronous> <IsChunk>1</IsChunk> <IsContent>17</IsContent> <IsRrturnData>21</IsRrturnData> <IsValidate>14</IsValidate> <MD5>sample string 4</MD5> <MergeState>12</MergeState> <Path>sample string 8</Path> <ReOrginName>sample string 7</ReOrginName> <ResourceFormat>sample string 5</ResourceFormat> <ResourceSize>6</ResourceSize> <State>13</State> <TotalChunkValue>1</TotalChunkValue> <UserID>1</UserID> <ValidateConditon>sample string 16</ValidateConditon> <ValidateType>15</ValidateType> <chunk>10</chunk> <file xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Web" i:nil="true" /> <fileName>sample string 9</fileName> </UploadPara>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
JsonRtnOfObject| Name | Description | Type | Additional information |
|---|---|---|---|
| state | RtnState |
None. |
|
| message | string |
None. |
|
| data | Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"state": 200,
"message": "sample string 1",
"data": {}
}
text/html
Sample:
{"state":200,"message":"sample string 1","data":{}}
application/xml, text/xml
Sample:
<JsonRtnOfanyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/YLS.Common"> <data /> <message>sample string 1</message> <state>sucess</state> </JsonRtnOfanyType>