POST v1/gw/update-nw-fw-config
Request Information
URI Parameters
None.
Body Parameters
LabCare.Data.WebApi.Models.GatewayMasterHWDeviceConfig| Name | Description | Type | Additional information |
|---|---|---|---|
| hwid | integer |
None. |
|
| sid | integer |
None. |
|
| fw | string |
None. |
|
| hw | string |
None. |
|
| ip | string |
None. |
|
| mac | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"hwid": 1,
"sid": 2,
"fw": "sample string 3",
"hw": "sample string 4",
"ip": "sample string 5",
"mac": "sample string 6"
}
application/xml, text/xml
Sample:
<GatewayMasterHWDeviceConfig xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LabCare.Data.WebApi.Models"> <FirmwareVersion>sample string 3</FirmwareVersion> <HardwareID>1</HardwareID> <HardwareVersion>sample string 4</HardwareVersion> <IPAddress>sample string 5</IPAddress> <MACAddress>sample string 6</MACAddress> <SoftHardwareID>2</SoftHardwareID> </GatewayMasterHWDeviceConfig>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
System.Net.Http.HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | System.Version |
None. |
|
| Content | System.Net.Http.HttpContent |
None. |
|
| StatusCode | System.Net.HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | System.Net.Http.HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |