POST api/Empresa
Request Information
URI Parameters
None.
Body Parameters
EmpresaRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| nombreEmpresa | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"nombreEmpresa": "sample string 1"
}
application/xml, text/xml
Sample:
<EmpresaRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ST_Catalogos.Models"> <nombreEmpresa>sample string 1</nombreEmpresa> </EmpresaRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
EmpresaResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| responseCode | integer |
None. |
|
| responseMessage | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"responseCode": 1,
"responseMessage": "sample string 2"
}
application/xml, text/xml
Sample:
<EmpresaResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ST_Catalogos.Models"> <responseCode>1</responseCode> <responseMessage>sample string 2</responseMessage> </EmpresaResponse>