POST api/Empresa_Bulk
Request Information
URI Parameters
None.
Body Parameters
Collection of EmpresaRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| nombreEmpresa | string |
None. |
|
| idExterno | string |
None. |
|
| idSistema | integer |
None. |
|
| idMarca | integer |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"nombreEmpresa": "sample string 1",
"idExterno": "sample string 2",
"idSistema": 3,
"idMarca": 4
},
{
"nombreEmpresa": "sample string 1",
"idExterno": "sample string 2",
"idSistema": 3,
"idMarca": 4
}
]
application/xml, text/xml
Sample:
<ArrayOfEmpresaRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ST_Catalogos.IO">
<EmpresaRequest>
<idExterno>sample string 2</idExterno>
<idMarca>4</idMarca>
<idSistema>3</idSistema>
<nombreEmpresa>sample string 1</nombreEmpresa>
</EmpresaRequest>
<EmpresaRequest>
<idExterno>sample string 2</idExterno>
<idMarca>4</idMarca>
<idSistema>3</idSistema>
<nombreEmpresa>sample string 1</nombreEmpresa>
</EmpresaRequest>
</ArrayOfEmpresaRequest>
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.IO"> <responseCode>1</responseCode> <responseMessage>sample string 2</responseMessage> </EmpresaResponse>