POST EventManagement/BookingTickets
Request Information
URI Parameters
None.
Body Parameters
BookingModel| Name | Description | Type | Additional information |
|---|---|---|---|
| BookingID | string |
None. |
|
| EventID | string |
None. |
|
| CustomerName | string |
None. |
|
| CustomerMobile | string |
None. |
|
| CustomerEmail | string |
None. |
|
| TotalQty | integer |
None. |
|
| TotalAmount | decimal number |
None. |
|
| DiscountAmount | decimal number |
None. |
|
| CouponCode | string |
None. |
|
| PayableAmount | decimal number |
None. |
|
| PaidAmount | decimal number |
None. |
|
| QRToken | string |
None. |
|
| AllowedUses | integer |
None. |
|
| UsedCount | integer |
None. |
|
| BookingStatus | string |
None. |
|
| CreatedOn | date |
None. |
|
| PaidOn | date |
None. |
|
| PaymentGateway | string |
None. |
|
| TransactionID | string |
None. |
|
| Taxper | decimal number |
None. |
|
| TaxAmt | decimal number |
None. |
|
| CGST | decimal number |
None. |
|
| SGST | decimal number |
None. |
|
| CouponAmt | decimal number |
None. |
|
| TicketPayment | Collection of paymentModel |
None. |
|
| TicketType | Collection of BookingItemModel |
None. |
Request Formats
application/json, text/json
Sample:
{
"BookingID": "sample string 1",
"EventID": "sample string 2",
"CustomerName": "sample string 3",
"CustomerMobile": "sample string 4",
"CustomerEmail": "sample string 5",
"TotalQty": 6,
"TotalAmount": 7.0,
"DiscountAmount": 8.0,
"CouponCode": "sample string 9",
"PayableAmount": 10.0,
"PaidAmount": 11.0,
"QRToken": "sample string 12",
"AllowedUses": 13,
"UsedCount": 14,
"BookingStatus": "sample string 15",
"CreatedOn": "2025-12-26T17:25:18.1634133+05:30",
"PaidOn": "2025-12-26T17:25:18.1634133+05:30",
"PaymentGateway": "sample string 16",
"TransactionID": "sample string 17",
"Taxper": 18.0,
"TaxAmt": 19.0,
"CGST": 20.0,
"SGST": 21.0,
"CouponAmt": 22.0,
"TicketPayment": [
{
"PaymentID": "sample string 1",
"BookingID": "sample string 2",
"PaymentGateway": "sample string 3",
"TransactionID": "sample string 4",
"PaymentMode": "sample string 5",
"AmountPaid": 6.0,
"PaymentStatus": "sample string 7",
"PaymentTime": "2025-12-26T17:25:18.1644071+05:30"
},
{
"PaymentID": "sample string 1",
"BookingID": "sample string 2",
"PaymentGateway": "sample string 3",
"TransactionID": "sample string 4",
"PaymentMode": "sample string 5",
"AmountPaid": 6.0,
"PaymentStatus": "sample string 7",
"PaymentTime": "2025-12-26T17:25:18.1644071+05:30"
}
],
"TicketType": [
{
"BookingItemID": "sample string 1",
"BookingID": "sample string 2",
"TicketTypeID": "sample string 3",
"TicketName": "sample string 4",
"Quantity": 5,
"UnitPrice": 6.0,
"LineAmount": 7.0,
"CreatedOn": "2025-12-26T17:25:18.1644071+05:30"
},
{
"BookingItemID": "sample string 1",
"BookingID": "sample string 2",
"TicketTypeID": "sample string 3",
"TicketName": "sample string 4",
"Quantity": 5,
"UnitPrice": 6.0,
"LineAmount": 7.0,
"CreatedOn": "2025-12-26T17:25:18.1644071+05:30"
}
]
}
application/xml, text/xml
Sample:
<BookingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EventManagementAPI.Models">
<AllowedUses>13</AllowedUses>
<BookingID>sample string 1</BookingID>
<BookingStatus>sample string 15</BookingStatus>
<CGST>20</CGST>
<CouponAmt>22</CouponAmt>
<CouponCode>sample string 9</CouponCode>
<CreatedOn>2025-12-26T17:25:18.1634133+05:30</CreatedOn>
<CustomerEmail>sample string 5</CustomerEmail>
<CustomerMobile>sample string 4</CustomerMobile>
<CustomerName>sample string 3</CustomerName>
<DiscountAmount>8</DiscountAmount>
<EventID>sample string 2</EventID>
<PaidAmount>11</PaidAmount>
<PaidOn>2025-12-26T17:25:18.1634133+05:30</PaidOn>
<PayableAmount>10</PayableAmount>
<PaymentGateway>sample string 16</PaymentGateway>
<QRToken>sample string 12</QRToken>
<SGST>21</SGST>
<TaxAmt>19</TaxAmt>
<Taxper>18</Taxper>
<TicketPayment>
<paymentModel>
<AmountPaid>6</AmountPaid>
<BookingID>sample string 2</BookingID>
<PaymentGateway>sample string 3</PaymentGateway>
<PaymentID>sample string 1</PaymentID>
<PaymentMode>sample string 5</PaymentMode>
<PaymentStatus>sample string 7</PaymentStatus>
<PaymentTime>2025-12-26T17:25:18.1644071+05:30</PaymentTime>
<TransactionID>sample string 4</TransactionID>
</paymentModel>
<paymentModel>
<AmountPaid>6</AmountPaid>
<BookingID>sample string 2</BookingID>
<PaymentGateway>sample string 3</PaymentGateway>
<PaymentID>sample string 1</PaymentID>
<PaymentMode>sample string 5</PaymentMode>
<PaymentStatus>sample string 7</PaymentStatus>
<PaymentTime>2025-12-26T17:25:18.1644071+05:30</PaymentTime>
<TransactionID>sample string 4</TransactionID>
</paymentModel>
</TicketPayment>
<TicketType>
<BookingItemModel>
<BookingID>sample string 2</BookingID>
<BookingItemID>sample string 1</BookingItemID>
<CreatedOn>2025-12-26T17:25:18.1644071+05:30</CreatedOn>
<LineAmount>7</LineAmount>
<Quantity>5</Quantity>
<TicketName>sample string 4</TicketName>
<TicketTypeID>sample string 3</TicketTypeID>
<UnitPrice>6</UnitPrice>
</BookingItemModel>
<BookingItemModel>
<BookingID>sample string 2</BookingID>
<BookingItemID>sample string 1</BookingItemID>
<CreatedOn>2025-12-26T17:25:18.1644071+05:30</CreatedOn>
<LineAmount>7</LineAmount>
<Quantity>5</Quantity>
<TicketName>sample string 4</TicketName>
<TicketTypeID>sample string 3</TicketTypeID>
<UnitPrice>6</UnitPrice>
</BookingItemModel>
</TicketType>
<TotalAmount>7</TotalAmount>
<TotalQty>6</TotalQty>
<TransactionID>sample string 17</TransactionID>
<UsedCount>14</UsedCount>
</BookingModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ObjectNone.
Response Formats
application/json, text/json
Sample:
{}
application/xml, text/xml
Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />