POST api/admin/UpdateDevice
Request Information
URI Parameters
None.
Body Parameters
NepsEditDeviceDTOName | Description | Type | Additional information |
---|---|---|---|
MAC | string |
None. |
|
newMAC | string |
None. |
|
DeviceType | string |
None. |
|
AcquisitionCode | string |
None. |
|
LocationAccountNumber | string |
None. |
|
Assigned | boolean |
None. |
|
Notes | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "MAC": "sample string 1", "newMAC": "sample string 2", "DeviceType": "sample string 3", "AcquisitionCode": "sample string 4", "LocationAccountNumber": "sample string 5", "Assigned": true, "Notes": "sample string 7" }
application/xml, text/xml
Sample:
<NepsEditDeviceDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MSPApi.DTO"> <AcquisitionCode>sample string 4</AcquisitionCode> <Assigned>true</Assigned> <DeviceType>sample string 3</DeviceType> <LocationAccountNumber>sample string 5</LocationAccountNumber> <MAC>sample string 1</MAC> <Notes>sample string 7</Notes> <newMAC>sample string 2</newMAC> </NepsEditDeviceDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | 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. |