POST api/Usuarios/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
Usuario| Name | Description | Type | Additional information |
|---|---|---|---|
| EmpresaID | integer |
None. |
|
| UsuarioID | integer |
None. |
|
| Nombres | string |
None. |
|
| Apellidos | string |
None. |
|
| Correo | string |
None. |
|
| Telefonos | string |
None. |
|
| Direccion | string |
None. |
|
| PuestoID | integer |
None. |
|
| DUI | string |
None. |
|
| NIT | string |
None. |
|
| FechaContratacion | date |
None. |
|
| FechaCreacion | date |
None. |
|
| Estado | string |
None. |
|
| FechaBaja | date |
None. |
|
| FechaModificacion | date |
None. |
|
| foto | string |
None. |
|
| token | string |
None. |
|
| clave | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"EmpresaID": 1,
"UsuarioID": 1,
"Nombres": "sample string 2",
"Apellidos": "sample string 3",
"Correo": "sample string 4",
"Telefonos": "sample string 5",
"Direccion": "sample string 6",
"PuestoID": 1,
"DUI": "sample string 7",
"NIT": "sample string 8",
"FechaContratacion": "2025-12-13T19:40:28.2319464+00:00",
"FechaCreacion": "2025-12-13T19:40:28.2319464+00:00",
"Estado": "sample string 9",
"FechaBaja": "2025-12-13T19:40:28.2319464+00:00",
"FechaModificacion": "2025-12-13T19:40:28.2319464+00:00",
"foto": "sample string 10",
"token": "sample string 11",
"clave": "sample string 12"
}
application/xml, text/xml
Sample:
<Usuario xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/siscor_entidades"> <Apellidos>sample string 3</Apellidos> <Correo>sample string 4</Correo> <DUI>sample string 7</DUI> <Direccion>sample string 6</Direccion> <EmpresaID>1</EmpresaID> <Estado>sample string 9</Estado> <FechaBaja>2025-12-13T19:40:28.2319464+00:00</FechaBaja> <FechaContratacion>2025-12-13T19:40:28.2319464+00:00</FechaContratacion> <FechaCreacion>2025-12-13T19:40:28.2319464+00:00</FechaCreacion> <FechaModificacion>2025-12-13T19:40:28.2319464+00:00</FechaModificacion> <NIT>sample string 8</NIT> <Nombres>sample string 2</Nombres> <PuestoID>1</PuestoID> <Telefonos>sample string 5</Telefonos> <UsuarioID>1</UsuarioID> <clave>sample string 12</clave> <foto>sample string 10</foto> <token>sample string 11</token> </Usuario>
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.