POST api/DarshanBook_Booking?TYPE={TYPE}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| TYPE | string |
Required |
Body Parameters
DarshanBook_Booking| Name | Description | Type | Additional information |
|---|---|---|---|
| TR_ID | string |
None. |
|
| NO_SEATS | string |
None. |
|
| TRB_PRICE | string |
None. |
|
| Tax_Amount | decimal number |
None. |
|
| Tax_Perc | decimal number |
None. |
|
| CONVINIENCE_FEE | decimal number |
None. |
|
| Booking_Amt | decimal number |
None. |
|
| TRB_TOTALPRICE | string |
None. |
|
| REFERAN_CODE | string |
None. |
|
| ID_PROOF | string |
None. |
|
| ID_PROOF_NO | string |
None. |
|
| TRB_DATE | string |
None. |
|
| TTS_ID | string |
None. |
|
| PAYMENT_TYPE | string |
None. |
|
| TRANSACTION_ID | string |
None. |
|
| PAYMENT_STATUS | string |
None. |
|
| USER_ID | string |
None. |
|
| EXTRA | string |
None. |
|
| TRANSACTION_AMT | string |
None. |
|
| ADDRESS | string |
None. |
|
| ID_PROOF_PIC | Collection of byte |
None. |
|
| BookingPersonDetails | Collection of BookingPersonDetail |
None. |
|
| CouponCodeID | integer |
None. |
|
| CouponCodeAmount | string |
None. |
|
| WalletAmount | string |
None. |
|
| ApplicationType | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"TR_ID": "sample string 1",
"NO_SEATS": "sample string 2",
"TRB_PRICE": "sample string 3",
"Tax_Amount": 1.0,
"Tax_Perc": 1.0,
"CONVINIENCE_FEE": 1.0,
"Booking_Amt": 1.0,
"TRB_TOTALPRICE": "sample string 4",
"REFERAN_CODE": "sample string 5",
"ID_PROOF": "sample string 6",
"ID_PROOF_NO": "sample string 7",
"TRB_DATE": "sample string 8",
"TTS_ID": "sample string 9",
"PAYMENT_TYPE": "sample string 10",
"TRANSACTION_ID": "sample string 11",
"PAYMENT_STATUS": "sample string 12",
"USER_ID": "sample string 13",
"EXTRA": "sample string 14",
"TRANSACTION_AMT": "sample string 15",
"ADDRESS": "sample string 16",
"ID_PROOF_PIC": "QEA=",
"BookingPersonDetails": [
{
"Name": "sample string 1",
"Age": 2,
"Gender": "sample string 3"
},
{
"Name": "sample string 1",
"Age": 2,
"Gender": "sample string 3"
}
],
"CouponCodeID": 1,
"CouponCodeAmount": "sample string 17",
"WalletAmount": "sample string 18",
"ApplicationType": "sample string 19"
}
application/xml, text/xml
Sample:
<DarshanBook_Booking xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApiNamo.Models">
<ADDRESS>sample string 16</ADDRESS>
<ApplicationType>sample string 19</ApplicationType>
<BookingPersonDetails>
<BookingPersonDetail>
<Age>2</Age>
<Gender>sample string 3</Gender>
<Name>sample string 1</Name>
</BookingPersonDetail>
<BookingPersonDetail>
<Age>2</Age>
<Gender>sample string 3</Gender>
<Name>sample string 1</Name>
</BookingPersonDetail>
</BookingPersonDetails>
<Booking_Amt>1</Booking_Amt>
<CONVINIENCE_FEE>1</CONVINIENCE_FEE>
<CouponCodeAmount>sample string 17</CouponCodeAmount>
<CouponCodeID>1</CouponCodeID>
<EXTRA>sample string 14</EXTRA>
<ID_PROOF>sample string 6</ID_PROOF>
<ID_PROOF_NO>sample string 7</ID_PROOF_NO>
<ID_PROOF_PIC>QEA=</ID_PROOF_PIC>
<NO_SEATS>sample string 2</NO_SEATS>
<PAYMENT_STATUS>sample string 12</PAYMENT_STATUS>
<PAYMENT_TYPE>sample string 10</PAYMENT_TYPE>
<REFERAN_CODE>sample string 5</REFERAN_CODE>
<TRANSACTION_AMT>sample string 15</TRANSACTION_AMT>
<TRANSACTION_ID>sample string 11</TRANSACTION_ID>
<TRB_DATE>sample string 8</TRB_DATE>
<TRB_PRICE>sample string 3</TRB_PRICE>
<TRB_TOTALPRICE>sample string 4</TRB_TOTALPRICE>
<TR_ID>sample string 1</TR_ID>
<TTS_ID>sample string 9</TTS_ID>
<Tax_Amount>1</Tax_Amount>
<Tax_Perc>1</Tax_Perc>
<USER_ID>sample string 13</USER_ID>
<WalletAmount>sample string 18</WalletAmount>
</DarshanBook_Booking>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |