POST api/ReActivateDevice?Key={Key}&DeviceId={DeviceId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| Key | string |
Required |
|
| DeviceId | integer |
Required |
Body Parameters
ReActivateDeviceDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| OldSerial | string |
None. |
|
| DeviceType | string |
None. |
|
| CaseType | string |
None. |
|
| DeviceModel | string |
None. |
|
| ProcessorName | string |
None. |
|
| MotherboardName | string |
None. |
|
| MacAddress | string |
None. |
|
| RamSize | string |
None. |
|
| Drive1Model | string |
None. |
|
| Drive1Type | string |
None. |
|
| Drive1Serial | string |
None. |
|
| Drive1Size | string |
None. |
|
| Drive2Model | string |
None. |
|
| Drive2Type | string |
None. |
|
| Drive2Serial | string |
None. |
|
| Drive2Size | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"OldSerial": "sample string 1",
"DeviceType": "sample string 2",
"CaseType": "sample string 3",
"DeviceModel": "sample string 4",
"ProcessorName": "sample string 5",
"MotherboardName": "sample string 6",
"MacAddress": "sample string 7",
"RamSize": "sample string 8",
"Drive1Model": "sample string 9",
"Drive1Type": "sample string 10",
"Drive1Serial": "sample string 11",
"Drive1Size": "sample string 12",
"Drive2Model": "sample string 13",
"Drive2Type": "sample string 14",
"Drive2Serial": "sample string 15",
"Drive2Size": "sample string 16"
}
application/xml, text/xml
Sample:
<ReActivateDeviceDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZahranItCustomers.DTOS"> <CaseType>sample string 3</CaseType> <DeviceModel>sample string 4</DeviceModel> <DeviceType>sample string 2</DeviceType> <Drive1Model>sample string 9</Drive1Model> <Drive1Serial>sample string 11</Drive1Serial> <Drive1Size>sample string 12</Drive1Size> <Drive1Type>sample string 10</Drive1Type> <Drive2Model>sample string 13</Drive2Model> <Drive2Serial>sample string 15</Drive2Serial> <Drive2Size>sample string 16</Drive2Size> <Drive2Type>sample string 14</Drive2Type> <MacAddress>sample string 7</MacAddress> <MotherboardName>sample string 6</MotherboardName> <OldSerial>sample string 1</OldSerial> <ProcessorName>sample string 5</ProcessorName> <RamSize>sample string 8</RamSize> </ReActivateDeviceDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.