POST api/Cart/SaveInvoice
Request Information
URI Parameters
None.
Body Parameters
InvoiceParam| Name | Description | Type | Additional information |
|---|---|---|---|
| PaymentId | integer |
None. |
|
| Total | decimal number |
None. |
|
| TipoDeRetiroId | integer |
None. |
|
| RetiroId | integer |
None. |
|
| EsPedido | boolean |
None. |
|
| CodCompId | integer |
None. |
|
| Sucursal | integer |
None. |
|
| NroComp | integer |
None. |
|
| CuponId | integer |
None. |
|
| TransporteId | integer |
None. |
|
| TransporteDesc | string |
None. |
|
| OpcionDePagoId | integer |
None. |
|
| OpcionDePagoDesc | string |
None. |
|
| DireccionEntrega | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"PaymentId": 1,
"Total": 2.0,
"TipoDeRetiroId": 3,
"RetiroId": 4,
"EsPedido": true,
"CodCompId": 1,
"Sucursal": 1,
"NroComp": 1,
"CuponId": 1,
"TransporteId": 1,
"TransporteDesc": "sample string 6",
"OpcionDePagoId": 1,
"OpcionDePagoDesc": "sample string 7",
"DireccionEntrega": "sample string 8"
}
application/xml, text/xml
Sample:
<InvoiceParam xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mastersoft.Ecommerce.Entities"> <CodCompId>1</CodCompId> <CuponId>1</CuponId> <DireccionEntrega>sample string 8</DireccionEntrega> <EsPedido>true</EsPedido> <NroComp>1</NroComp> <OpcionDePagoDesc>sample string 7</OpcionDePagoDesc> <OpcionDePagoId>1</OpcionDePagoId> <PaymentId>1</PaymentId> <RetiroId>4</RetiroId> <Sucursal>1</Sucursal> <TipoDeRetiroId>3</TipoDeRetiroId> <Total>2</Total> <TransporteDesc>sample string 6</TransporteDesc> <TransporteId>1</TransporteId> </InvoiceParam>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.