POST api/test/UploadCycle?deviceNo={deviceNo}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| deviceNo | string |
Required |
Body Parameters
UploadCycleModel| Name | Description | Type | Additional information |
|---|---|---|---|
| UploadType | integer |
None. |
|
| UploadModel | integer |
None. |
|
| Timing1 | integer |
None. |
|
| Timing2 | integer |
None. |
|
| Timing3 | integer |
None. |
|
| Timing4 | integer |
None. |
|
| Timing5 | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"UploadType": 1,
"UploadModel": 2,
"Timing1": 3,
"Timing2": 4,
"Timing3": 5,
"Timing4": 6,
"Timing5": 7
}
application/xml, text/xml
Sample:
<UploadCycleModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/YuXun.EntityDTO"> <Timing1>3</Timing1> <Timing2>4</Timing2> <Timing3>5</Timing3> <Timing4>6</Timing4> <Timing5>7</Timing5> <UploadModel>2</UploadModel> <UploadType>1</UploadType> </UploadCycleModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |