POST api/pagarTicket

Request Information

URI Parameters

None.

Body Parameters

pagarTicketPOST
NameDescriptionTypeAdditional information
ticket

string

None.

id

integer

None.

valor

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "ticket": "sample string 1",
  "id": 2,
  "valor": 3.0
}

application/xml, text/xml

Sample:
<pagarTicketPOST xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ShopperREST.Models">
  <id>2</id>
  <ticket>sample string 1</ticket>
  <valor>3</valor>
</pagarTicketPOST>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

RespostaPadraoSimples
NameDescriptionTypeAdditional information
status

string

None.

mensagem

string

None.

Response Formats

application/json, text/json

Sample:
{
  "status": "sample string 1",
  "mensagem": "sample string 2"
}

application/xml, text/xml

Sample:
<RespostaPadraoSimples xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ShopperREST.Models">
  <mensagem>sample string 2</mensagem>
  <status>sample string 1</status>
</RespostaPadraoSimples>