POST api/Usuarios/update
Request Information
URI Parameters
None.
Body Parameters
userObj| Name | Description | Type | Additional information |
|---|---|---|---|
| idUser | integer |
None. |
|
| Nombre | string |
None. |
|
| Correo | string |
None. |
|
| Telefono | string |
None. |
|
| AreaId | integer |
None. |
|
| RolId | integer |
None. |
|
| EmpresaID | integer |
None. |
|
| ClaimCargaEmpresa | string |
None. |
|
| permisoLists | Collection of integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"idUser": 1,
"Nombre": "sample string 2",
"Correo": "sample string 3",
"Telefono": "sample string 4",
"AreaId": 5,
"RolId": 6,
"EmpresaID": 7,
"ClaimCargaEmpresa": "sample string 8",
"permisoLists": [
1,
2
]
}
application/xml, text/xml
Sample:
<userObj xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EXPU_Backend.Models">
<AreaId>5</AreaId>
<ClaimCargaEmpresa>sample string 8</ClaimCargaEmpresa>
<Correo>sample string 3</Correo>
<EmpresaID>7</EmpresaID>
<Nombre>sample string 2</Nombre>
<RolId>6</RolId>
<Telefono>sample string 4</Telefono>
<idUser>1</idUser>
<permisoLists xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>1</d2p1:int>
<d2p1:int>2</d2p1:int>
</permisoLists>
</userObj>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
defaultResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| status | integer |
None. |
|
| message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"status": 1,
"message": "sample string 2"
}
application/xml, text/xml
Sample:
<defaultResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EXPU_Backend.Models"> <message>sample string 2</message> <status>1</status> </defaultResponse>