POST api/device/registerDevice
Request Information
URI Parameters
None.
Body Parameters
DeviceDataTransferModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Username | string |
None. |
|
| Password | string |
None. |
|
| AssetTag | string |
None. |
|
| ExternalUniqueIdentifier | globally unique identifier |
None. |
|
| LastModifiedByUser | globally unique identifier |
None. |
|
| LastModifiedDate | date |
None. |
|
| CreationDate | date |
None. |
|
| LastChangeCounter | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Username": "sample string 1",
"Password": "sample string 2",
"AssetTag": "sample string 3",
"ExternalUniqueIdentifier": "9c80af6c-23b5-48c1-8066-173366343a5f",
"LastModifiedByUser": "caaa484a-e847-42ce-b109-44160c735a55",
"LastModifiedDate": "2026-06-02T10:03:20.8550123",
"CreationDate": "2026-06-02T10:03:20.8550123",
"LastChangeCounter": 5
}
application/xml, text/xml
Sample:
<DeviceDataTransferModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HandsetWebService.DataTransferModels"> <CreationDate>2026-06-02T10:03:20.8550123+01:00</CreationDate> <ExternalUniqueIdentifier>9c80af6c-23b5-48c1-8066-173366343a5f</ExternalUniqueIdentifier> <LastChangeCounter>5</LastChangeCounter> <LastModifiedByUser>caaa484a-e847-42ce-b109-44160c735a55</LastModifiedByUser> <LastModifiedDate>2026-06-02T10:03:20.8550123+01:00</LastModifiedDate> <AssetTag>sample string 3</AssetTag> <Password>sample string 2</Password> <Username>sample string 1</Username> </DeviceDataTransferModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.
Response Information
Resource Description
HttpResponseMessage| Name | 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. |