POST api/DeviceAPI/Register
Request Information
URI Parameters
None.
Body Parameters
Device| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| Usuario | Usuario |
None. |
|
| SO | string |
None. |
|
| DeviceID | string |
Required |
|
| Token | string |
Required |
|
| Activado | boolean |
None. |
|
| FechaDeBaja | date |
None. |
|
| FechaDeModificacion | date |
None. |
|
| UsuarioDeModificacion | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": "f30492b3-8257-494c-9e5a-248564527fd1",
"Usuario": {
"Id": "dda94138-bb19-4e1d-b79c-dda1aeaf24c9",
"IdOwin": "sample string 2",
"Descripcion": "sample string 3",
"Email": "sample string 4",
"UserName": "sample string 5",
"FechaDeBaja": "2026-04-13T22:41:47.2455776-03:00",
"FechaDeModificacion": "2026-04-13T22:41:47.2455776-03:00",
"Lotes": [
{
"Id": "1c149d28-8b08-48ca-92d2-d12b8a85e2e4",
"IdLote": "9da7cd1a-b0b7-4535-8cb6-86e72f61ed47",
"IdUsuario": "c1859fb1-5b51-4fe4-a475-be8fdcf21646",
"FechaDeAsignacion": "2026-04-13T22:41:47.2455776-03:00",
"FechaDeDesasignacion": "2026-04-13T22:41:47.2455776-03:00"
},
{
"Id": "1c149d28-8b08-48ca-92d2-d12b8a85e2e4",
"IdLote": "9da7cd1a-b0b7-4535-8cb6-86e72f61ed47",
"IdUsuario": "c1859fb1-5b51-4fe4-a475-be8fdcf21646",
"FechaDeAsignacion": "2026-04-13T22:41:47.2455776-03:00",
"FechaDeDesasignacion": "2026-04-13T22:41:47.2455776-03:00"
}
]
},
"SO": "sample string 2",
"DeviceID": "sample string 3",
"Token": "sample string 4",
"Activado": true,
"FechaDeBaja": "2026-04-13T22:41:47.2455776-03:00",
"FechaDeModificacion": "2026-04-13T22:41:47.2455776-03:00",
"UsuarioDeModificacion": "sample string 6"
}
application/xml, text/xml
Sample:
<Device xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Entities">
<Activado>true</Activado>
<DeviceID>sample string 3</DeviceID>
<FechaDeBaja>2026-04-13T22:41:47.2455776-03:00</FechaDeBaja>
<FechaDeModificacion>2026-04-13T22:41:47.2455776-03:00</FechaDeModificacion>
<Id>f30492b3-8257-494c-9e5a-248564527fd1</Id>
<SO>sample string 2</SO>
<Token>sample string 4</Token>
<Usuario>
<Descripcion>sample string 3</Descripcion>
<Email>sample string 4</Email>
<FechaDeBaja>2026-04-13T22:41:47.2455776-03:00</FechaDeBaja>
<FechaDeModificacion>2026-04-13T22:41:47.2455776-03:00</FechaDeModificacion>
<Id>dda94138-bb19-4e1d-b79c-dda1aeaf24c9</Id>
<IdOwin>sample string 2</IdOwin>
<Lotes>
<LoteUsuario>
<FechaDeAsignacion>2026-04-13T22:41:47.2455776-03:00</FechaDeAsignacion>
<FechaDeDesasignacion>2026-04-13T22:41:47.2455776-03:00</FechaDeDesasignacion>
<Id>1c149d28-8b08-48ca-92d2-d12b8a85e2e4</Id>
<IdLote>9da7cd1a-b0b7-4535-8cb6-86e72f61ed47</IdLote>
<IdUsuario>c1859fb1-5b51-4fe4-a475-be8fdcf21646</IdUsuario>
</LoteUsuario>
<LoteUsuario>
<FechaDeAsignacion>2026-04-13T22:41:47.2455776-03:00</FechaDeAsignacion>
<FechaDeDesasignacion>2026-04-13T22:41:47.2455776-03:00</FechaDeDesasignacion>
<Id>1c149d28-8b08-48ca-92d2-d12b8a85e2e4</Id>
<IdLote>9da7cd1a-b0b7-4535-8cb6-86e72f61ed47</IdLote>
<IdUsuario>c1859fb1-5b51-4fe4-a475-be8fdcf21646</IdUsuario>
</LoteUsuario>
</Lotes>
<UserName>sample string 5</UserName>
</Usuario>
<UsuarioDeModificacion>sample string 6</UsuarioDeModificacion>
</Device>
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.