POST api/BusinessToBusiness/Issue

Request Information

URI Parameters

None.

Body Parameters

IssueTicketModel
NameDescriptionTypeAdditional information
bookingId

integer

Required

pinCode

integer

Required

PaymentTypeId

integer

Required

Request Formats

application/json, text/json

Sample:
{
  "bookingId": 1,
  "pinCode": 2,
  "PaymentTypeId": 3
}

application/xml, text/xml

Sample:
<IssueTicketModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Flynet.API.Models">
  <PaymentTypeId>3</PaymentTypeId>
  <bookingId>1</bookingId>
  <pinCode>2</pinCode>
</IssueTicketModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>