POST api/empresa/guardar/{nuevo}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| nuevo | boolean |
Required |
Body Parameters
Empresa| Name | Description | Type | Additional information |
|---|---|---|---|
| nombre | string |
None. |
|
| empresa_Id | integer |
None. |
|
| fechaRegistro | string |
None. |
|
| abreviaturaPais | string |
None. |
|
| activo | boolean |
None. |
|
| permiso | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"nombre": "sample string 1",
"empresa_Id": 2,
"fechaRegistro": "sample string 3",
"abreviaturaPais": "sample string 4",
"activo": true,
"permiso": true
}
text/html
Sample:
{"nombre":"sample string 1","empresa_Id":2,"fechaRegistro":"sample string 3","abreviaturaPais":"sample string 4","activo":true,"permiso":true}
application/xml, text/xml
Sample:
<Empresa xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Business.Models"> <abreviaturaPais>sample string 4</abreviaturaPais> <activo>true</activo> <empresa_Id>2</empresa_Id> <fechaRegistro>sample string 3</fechaRegistro> <nombre>sample string 1</nombre> <permiso>true</permiso> </Empresa>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |