PUT api/DeviceAPI/Put/{id}
Modifica un Device
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | globally unique identifier |
Required |
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": "793475af-af5b-4eaf-8d82-9727d9caec72",
"Usuario": {
"Id": "91205995-7b59-447b-a4a6-b674352be70e",
"IdOwin": "sample string 2",
"Descripcion": "sample string 3",
"Email": "sample string 4",
"UserName": "sample string 5",
"FechaDeBaja": "2026-08-14T14:33:01.3501388-03:00",
"FechaDeModificacion": "2026-08-14T14:33:01.3501388-03:00",
"Lotes": [
{
"Id": "d081f707-b7b3-40df-9943-e82bbadbeefe",
"IdLote": "7234937e-a190-407e-acb0-173867b09a7d",
"IdUsuario": "814cd8f5-6b38-4a1d-b0d4-e5f7068b2b3a",
"FechaDeAsignacion": "2026-08-14T14:33:01.3501388-03:00",
"FechaDeDesasignacion": "2026-08-14T14:33:01.3501388-03:00"
},
{
"Id": "d081f707-b7b3-40df-9943-e82bbadbeefe",
"IdLote": "7234937e-a190-407e-acb0-173867b09a7d",
"IdUsuario": "814cd8f5-6b38-4a1d-b0d4-e5f7068b2b3a",
"FechaDeAsignacion": "2026-08-14T14:33:01.3501388-03:00",
"FechaDeDesasignacion": "2026-08-14T14:33:01.3501388-03:00"
}
]
},
"SO": "sample string 2",
"DeviceID": "sample string 3",
"Token": "sample string 4",
"Activado": true,
"FechaDeBaja": "2026-08-14T14:33:01.3501388-03:00",
"FechaDeModificacion": "2026-08-14T14:33:01.3501388-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-08-14T14:33:01.3501388-03:00</FechaDeBaja>
<FechaDeModificacion>2026-08-14T14:33:01.3501388-03:00</FechaDeModificacion>
<Id>793475af-af5b-4eaf-8d82-9727d9caec72</Id>
<SO>sample string 2</SO>
<Token>sample string 4</Token>
<Usuario>
<Descripcion>sample string 3</Descripcion>
<Email>sample string 4</Email>
<FechaDeBaja>2026-08-14T14:33:01.3501388-03:00</FechaDeBaja>
<FechaDeModificacion>2026-08-14T14:33:01.3501388-03:00</FechaDeModificacion>
<Id>91205995-7b59-447b-a4a6-b674352be70e</Id>
<IdOwin>sample string 2</IdOwin>
<Lotes>
<LoteUsuario>
<FechaDeAsignacion>2026-08-14T14:33:01.3501388-03:00</FechaDeAsignacion>
<FechaDeDesasignacion>2026-08-14T14:33:01.3501388-03:00</FechaDeDesasignacion>
<Id>d081f707-b7b3-40df-9943-e82bbadbeefe</Id>
<IdLote>7234937e-a190-407e-acb0-173867b09a7d</IdLote>
<IdUsuario>814cd8f5-6b38-4a1d-b0d4-e5f7068b2b3a</IdUsuario>
</LoteUsuario>
<LoteUsuario>
<FechaDeAsignacion>2026-08-14T14:33:01.3501388-03:00</FechaDeAsignacion>
<FechaDeDesasignacion>2026-08-14T14:33:01.3501388-03:00</FechaDeDesasignacion>
<Id>d081f707-b7b3-40df-9943-e82bbadbeefe</Id>
<IdLote>7234937e-a190-407e-acb0-173867b09a7d</IdLote>
<IdUsuario>814cd8f5-6b38-4a1d-b0d4-e5f7068b2b3a</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.