POST api/DEW/DeviceInService
Request Information
URI Parameters
None.
Body Parameters
DeviceInServiceRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| DevNum | integer |
None. |
|
| Comment | string |
None. |
|
| SessionNum | integer |
None. |
|
| SessionPassword | Collection of byte |
None. |
|
| ApplicationCode | string |
None. |
|
| StagesURL | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"DevNum": 1,
"Comment": "sample string 1",
"SessionNum": 2,
"SessionPassword": "QEA=",
"ApplicationCode": "sample string 3",
"StagesURL": "sample string 4"
}
application/xml, text/xml
Sample:
<DeviceInServiceRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RapidAPI.Models"> <StagesURL>sample string 4</StagesURL> <ApplicationCode>sample string 3</ApplicationCode> <SessionNum>2</SessionNum> <SessionPassword>QEA=</SessionPassword> <Comment>sample string 1</Comment> <DevNum>1</DevNum> </DeviceInServiceRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
DeviceInServiceResult| Name | Description | Type | Additional information |
|---|---|---|---|
| Success | boolean |
None. |
|
| ErrorMessage | string |
None. |
|
| DISR | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"Success": true,
"ErrorMessage": "sample string 2",
"DISR": 3
}
application/xml, text/xml
Sample:
<DeviceInServiceResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RapidAPI.Models"> <DISR>3</DISR> <ErrorMessage>sample string 2</ErrorMessage> <Success>true</Success> </DeviceInServiceResult>