POST api/compraFull

Request Information

URI Parameters

None.

Body Parameters

BuyFullCreditCardReq
NameDescriptionTypeAdditional information
nome_Completo

string

None.

CPF

string

None.

email

string

None.

parcelas

integer

None.

valor

decimal number

None.

loja_tipo

string

None.

pv_loja_id

integer

None.

tipo

string

None.

cartao

CardFullReq

None.

Request Formats

application/json, text/json

Sample:
{
  "nome_Completo": "sample string 1",
  "CPF": "sample string 2",
  "email": "sample string 3",
  "parcelas": 4,
  "valor": 5.0,
  "loja_tipo": "sample string 6",
  "pv_loja_id": 7,
  "tipo": "sample string 8",
  "cartao": {
    "cardType": "sample string 1",
    "cardNumber": "sample string 2",
    "cardHolder": "sample string 3",
    "code": "sample string 4",
    "expirationDate": "2024-10-12T04:40:13.5428869-03:00",
    "brand": "sample string 5"
  }
}

application/xml, text/xml

Sample:
<BuyFullCreditCardReq xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ShopperREST.Models">
  <CPF>sample string 2</CPF>
  <cartao>
    <brand>sample string 5</brand>
    <cardHolder>sample string 3</cardHolder>
    <cardNumber>sample string 2</cardNumber>
    <cardType>sample string 1</cardType>
    <code>sample string 4</code>
    <expirationDate>2024-10-12T04:40:13.5428869-03:00</expirationDate>
  </cartao>
  <email>sample string 3</email>
  <loja_tipo>sample string 6</loja_tipo>
  <nome_Completo>sample string 1</nome_Completo>
  <parcelas>4</parcelas>
  <pv_loja_id>7</pv_loja_id>
  <tipo>sample string 8</tipo>
  <valor>5</valor>
</BuyFullCreditCardReq>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.