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": "b3d6d7a6-6c69-4fc0-940a-6a455473d3bb",
"LastModifiedByUser": "365ab8f0-85bd-4bd7-8c6c-3cd9084e4f92",
"LastModifiedDate": "2025-12-24T14:26:55.5118944",
"CreationDate": "2025-12-24T14:26:55.5128947",
"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>2025-12-24T14:26:55.5128947+00:00</CreationDate> <ExternalUniqueIdentifier>b3d6d7a6-6c69-4fc0-940a-6a455473d3bb</ExternalUniqueIdentifier> <LastChangeCounter>5</LastChangeCounter> <LastModifiedByUser>365ab8f0-85bd-4bd7-8c6c-3cd9084e4f92</LastModifiedByUser> <LastModifiedDate>2025-12-24T14:26:55.5118944+00: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. |