POST api/Cart/SaveInvoice

Request Information

URI Parameters

None.

Body Parameters

InvoiceParam
NameDescriptionTypeAdditional 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.

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
}

application/xml, text/xml

Sample:
<InvoiceParam xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mastersoft.BigDipper.Entities">
  <CodCompId>1</CodCompId>
  <CuponId>1</CuponId>
  <EsPedido>true</EsPedido>
  <NroComp>1</NroComp>
  <PaymentId>1</PaymentId>
  <RetiroId>4</RetiroId>
  <Sucursal>1</Sucursal>
  <TipoDeRetiroId>3</TipoDeRetiroId>
  <Total>2</Total>
</InvoiceParam>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'InvoiceParam'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.