POST api/Turnos
Request Information
URI Parameters
None.
Body Parameters
Turnos| Name | Description | Type | Additional information |
|---|---|---|---|
| Cod | integer |
None. |
|
| Empresa | integer |
None. |
|
| FechaInicio | string |
None. |
|
| FechaFin | string |
None. |
|
| TotalVentas | decimal number |
None. |
|
| CantPedidos | decimal number |
None. |
|
| CantOrdenes | decimal number |
None. |
|
| Estado | boolean |
None. |
|
| EmpleadoAbre | integer |
None. |
|
| EmpleadoCierra | integer |
None. |
|
| TotalDescuentos | decimal number |
None. |
|
| CantDescuentos | decimal number |
None. |
|
| CantToppings | decimal number |
None. |
|
| ConexionBd | Conexion |
None. |
Request Formats
application/json, text/json
Sample:
{
"ConexionBd": {
"BdPrincipal": "sample string 1",
"BdCliente": "sample string 2"
},
"Cod": 1,
"Empresa": 2,
"FechaInicio": "sample string 3",
"FechaFin": "sample string 4",
"TotalVentas": 1.0,
"CantPedidos": 1.0,
"CantOrdenes": 1.0,
"Estado": true,
"EmpleadoAbre": 1,
"EmpleadoCierra": 1,
"TotalDescuentos": 1.0,
"CantDescuentos": 1.0,
"CantToppings": 1.0
}
application/xml, text/xml
Sample:
<Turnos xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ComandasApi.Models">
<CantDescuentos>1</CantDescuentos>
<CantOrdenes>1</CantOrdenes>
<CantPedidos>1</CantPedidos>
<CantToppings>1</CantToppings>
<Cod>1</Cod>
<ConexionBd>
<BdCliente>sample string 2</BdCliente>
<BdPrincipal>sample string 1</BdPrincipal>
</ConexionBd>
<EmpleadoAbre>1</EmpleadoAbre>
<EmpleadoCierra>1</EmpleadoCierra>
<Empresa>2</Empresa>
<Estado>true</Estado>
<FechaFin>sample string 4</FechaFin>
<FechaInicio>sample string 3</FechaInicio>
<TotalDescuentos>1</TotalDescuentos>
<TotalVentas>1</TotalVentas>
</Turnos>
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.