POST api/UberArrendo/v2/agencias/{aIdAgencia}/contratos/{aIdContrato}/notas
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| aIdAgencia | integer |
Required |
|
| aIdContrato | integer |
Required |
Body Parameters
NotaRequestDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| IdCotizacion | integer |
None. |
|
| IdContrato | integer |
None. |
|
| IdPersona | integer |
None. |
|
| NumeroSemana | integer |
None. |
|
| Detalle | Collection of DetalleNotaRequestDTO |
None. |
|
| Total | decimal number |
None. |
|
| Referencia | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"IdCotizacion": 1,
"IdContrato": 2,
"IdPersona": 3,
"NumeroSemana": 4,
"Detalle": [
{
"IdConcepto": 1,
"Descripcion": "sample string 2",
"Cantidad": 3.0,
"PrecioUnitario": 4.0,
"Importe": 12.0,
"Total": 13.92
},
{
"IdConcepto": 1,
"Descripcion": "sample string 2",
"Cantidad": 3.0,
"PrecioUnitario": 4.0,
"Importe": 12.0,
"Total": 13.92
}
],
"Total": 27.84,
"Referencia": "sample string 5"
}
application/xml, text/xml
Sample:
<NotaRequestDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DVA_ArrendoUber.DTO.Request">
<Detalle>
<DetalleNotaRequestDTO>
<Cantidad>3</Cantidad>
<Descripcion>sample string 2</Descripcion>
<IdConcepto>1</IdConcepto>
<PrecioUnitario>4</PrecioUnitario>
</DetalleNotaRequestDTO>
<DetalleNotaRequestDTO>
<Cantidad>3</Cantidad>
<Descripcion>sample string 2</Descripcion>
<IdConcepto>1</IdConcepto>
<PrecioUnitario>4</PrecioUnitario>
</DetalleNotaRequestDTO>
</Detalle>
<IdContrato>2</IdContrato>
<IdCotizacion>1</IdCotizacion>
<IdPersona>3</IdPersona>
<NumeroSemana>4</NumeroSemana>
<Referencia>sample string 5</Referencia>
</NotaRequestDTO>
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.