POST api/Categorias
Request Information
URI Parameters
None.
Body Parameters
Categorias| Name | Description | Type | Additional information |
|---|---|---|---|
| Cod | integer |
None. |
|
| Nombre | string |
String length: inclusive between 0 and 200 |
|
| Empresa | integer |
None. |
|
| ConexionBd | Conexion |
None. |
Request Formats
application/json, text/json
Sample:
{
"ConexionBd": {
"BdPrincipal": "sample string 1",
"BdCliente": "sample string 2"
},
"Cod": 1,
"Nombre": "sample string 2",
"Empresa": 3
}
application/xml, text/xml
Sample:
<Categorias xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ComandasApi.Models">
<Cod>1</Cod>
<ConexionBd>
<BdCliente>sample string 2</BdCliente>
<BdPrincipal>sample string 1</BdPrincipal>
</ConexionBd>
<Empresa>3</Empresa>
<Nombre>sample string 2</Nombre>
</Categorias>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.