POST v1/device
Registers a new device.
Request Information
URI Parameters
None.
Body Parameters
Device Information
DeviceFullInfo| Name | Description | Type | Additional information |
|---|---|---|---|
| DeviceId | unsigned integer |
None. |
|
| ManufacturerId | unsigned integer |
None. |
|
| ProductId | unsigned integer |
None. |
|
| ProfileId | unsigned integer |
None. |
|
| HardwareVersion | string |
None. |
|
| FirmwareVersion | string |
None. |
|
| ManufacturingFactoryId | string |
None. |
|
| ManufacturingLineId | string |
None. |
|
| ManufacturingDateTime | date |
None. |
|
| SalesAgent | string |
None. |
|
| SalesDateTime | date |
None. |
|
| OwnerId | string |
None. |
|
| EncryptionOtaKey | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"DeviceId": 1,
"ManufacturerId": 2,
"ProductId": 3,
"ProfileId": 4,
"HardwareVersion": "sample string 5",
"FirmwareVersion": "sample string 6",
"ManufacturingFactoryId": "sample string 7",
"ManufacturingLineId": "sample string 8",
"ManufacturingDateTime": "2025-11-08T20:20:35.8483559+09:00",
"SalesAgent": "sample string 10",
"SalesDateTime": "2025-11-08T20:20:35.8483559+09:00",
"OwnerId": "sample string 12",
"EncryptionOtaKey": "sample string 13"
}
application/xml, text/xml
Sample:
<DeviceFullInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Kimin.Cloud.Api.Models">
<DeviceId>1</DeviceId>
<EncryptionOtaKey>sample string 13</EncryptionOtaKey>
<FirmwareVersion>sample string 6</FirmwareVersion>
<HardwareVersion>sample string 5</HardwareVersion>
<ManufacturerId>2</ManufacturerId>
<ManufacturingDateTime xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
<d2p1:DateTime>2025-11-08T11:20:35.8483559Z</d2p1:DateTime>
<d2p1:OffsetMinutes>540</d2p1:OffsetMinutes>
</ManufacturingDateTime>
<ManufacturingFactoryId>sample string 7</ManufacturingFactoryId>
<ManufacturingLineId>sample string 8</ManufacturingLineId>
<OwnerId>sample string 12</OwnerId>
<ProductId>3</ProductId>
<ProfileId>4</ProfileId>
<SalesAgent>sample string 10</SalesAgent>
<SalesDateTime xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
<d2p1:DateTime>2025-11-08T11:20:35.8483559Z</d2p1:DateTime>
<d2p1:OffsetMinutes>540</d2p1:OffsetMinutes>
</SalesDateTime>
</DeviceFullInfo>
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.