POST api/Retail/AddTicketPayment?ticketNumber={ticketNumber}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
ticketNumber

string

Required

Body Parameters

HeartlandTicketPaymentAdd
NameDescriptionTypeAdditional information
amount

decimal number

None.

type

string

None.

payment_type_id

integer

None.

deposit

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "amount": 1.1,
  "type": "sample string 2",
  "payment_type_id": 3,
  "deposit": true
}

application/xml, text/xml

Sample:
<HeartlandTicketPaymentAdd xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <amount>1.1</amount>
  <type>sample string 2</type>
  <payment_type_id>3</payment_type_id>
  <deposit>true</deposit>
</HeartlandTicketPaymentAdd>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.