PUT api/Empresas/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
empresas| Name | Description | Type | Additional information |
|---|---|---|---|
| idempresas | integer |
None. |
|
| Documento | string |
None. |
|
| Nombre | string |
None. |
|
| Correo | string |
None. |
|
| Direccion | string |
None. |
|
| Telefono | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"idempresas": 1,
"Documento": "sample string 2",
"Nombre": "sample string 3",
"Correo": "sample string 4",
"Direccion": "sample string 5",
"Telefono": "sample string 6"
}
application/xml, text/xml
Sample:
<empresas xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Gana_Puntos.Models"> <Correo>sample string 4</Correo> <Direccion>sample string 5</Direccion> <Documento>sample string 2</Documento> <Nombre>sample string 3</Nombre> <Telefono>sample string 6</Telefono> <idempresas>1</idempresas> </empresas>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Respuesta| Name | Description | Type | Additional information |
|---|---|---|---|
| Mensaje | string |
None. |
|
| Error | boolean |
None. |
|
| Data | Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"Mensaje": "sample string 1",
"Error": true,
"Data": {}
}
application/xml, text/xml
Sample:
<Respuesta xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Gana_Puntos.Objetos"> <Data /> <Error>true</Error> <Mensaje>sample string 1</Mensaje> </Respuesta>