POST api/PreBooking/Pr_TicketBooking

Request Information

URI Parameters

None.

Body Parameters

PreBookingViewModel
NameDescriptionTypeAdditional information
CustomerName

string

None.

MobileNo

string

None.

BookDate

date

None.

VisitDate

date

None.

BookingNumber

string

None.

DelegationName

string

None.

DelegationMobile

string

None.

FacilityName

string

None.

NoOfAdults

integer

None.

NoOfSenior

integer

None.

NoOfInfants

integer

None.

NoOfChildren

integer

None.

InfantsPrice

decimal number

None.

ChildrenPrice

decimal number

None.

AdultsPrice

decimal number

None.

SeniorPrice

decimal number

None.

TotalAdultPrice

decimal number

None.

TotalChildrenPrice

decimal number

None.

TotalInfantsPrice

decimal number

None.

TotalSeniorPrice

decimal number

None.

SubTotalAmount

decimal number

None.

TotalAmount

decimal number

None.

SpecialDiscount

decimal number

None.

PromoCodeDiscount

decimal number

None.

Pr_CustomerName

string

None.

Pr_CustomerMobile

string

None.

Pr_BookDate

date

None.

Pr_VisitDate

date

None.

Pr_BookingNumber

string

None.

Pr_DelegationName

string

None.

Pr_DelegationMobile

string

None.

Pr_NoOfAdults

integer

None.

Pr_NoOfSenior

integer

None.

Pr_NoOfInfants

integer

None.

Pr_NoOfChildren

integer

None.

Pr_InfantsPrice

decimal number

None.

Pr_ChildrenPrice

decimal number

None.

Pr_AdultsPrice

decimal number

None.

Pr_SeniorPrice

decimal number

None.

Pr_TotalPriceAdult

decimal number

None.

Pr_TotalPriceChild

decimal number

None.

Pr_TotalPriceInfant

decimal number

None.

Pr_TotalPriceSrCitizen

decimal number

None.

Pr_SubTotalAmount

decimal number

None.

Pr_TotalAmount

decimal number

None.

Pr_TotalDiscount

decimal number

None.

Pr_strBookDate

string

None.

Pr_strVisitDate

string

None.

PK_BookingID

integer

None.

FK_FacilitiesID

integer

None.

Pr_CGSTAmt

decimal number

None.

Pr_SGSTAmt

decimal number

None.

Pr_NetAmtWithTax

decimal number

None.

Pr_SubTotal

decimal number

None.

CountOfCoupencode

integer

None.

CouponCodes

string

None.

IdentityNumber

string

None.

IsActive

boolean

None.

IsDelete

boolean

None.

FK_CreatedBy

integer

None.

FK_ModifiedBy

integer

None.

CreatedDate

date

None.

ModifiedDate

date

None.

RowNumber

integer

None.

RecordCount

integer

None.

Result

string

None.

Message

string

None.

IsValid

boolean

None.

StatusCode

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "CustomerName": "sample string 1",
  "MobileNo": "sample string 2",
  "BookDate": "2026-10-19T08:23:00.3423768-07:00",
  "VisitDate": "2026-10-19T08:23:00.3423768-07:00",
  "BookingNumber": "sample string 3",
  "DelegationName": "sample string 4",
  "DelegationMobile": "sample string 5",
  "FacilityName": "sample string 6",
  "NoOfAdults": 7,
  "NoOfSenior": 8,
  "NoOfInfants": 9,
  "NoOfChildren": 10,
  "InfantsPrice": 11.0,
  "ChildrenPrice": 12.0,
  "AdultsPrice": 13.0,
  "SeniorPrice": 14.0,
  "TotalAdultPrice": 15.0,
  "TotalChildrenPrice": 16.0,
  "TotalInfantsPrice": 17.0,
  "TotalSeniorPrice": 18.0,
  "SubTotalAmount": 19.0,
  "TotalAmount": 20.0,
  "SpecialDiscount": 21.0,
  "PromoCodeDiscount": 22.0,
  "Pr_CustomerName": "sample string 23",
  "Pr_CustomerMobile": "sample string 24",
  "Pr_BookDate": "2026-10-19T08:23:00.3423768-07:00",
  "Pr_VisitDate": "2026-10-19T08:23:00.3423768-07:00",
  "Pr_BookingNumber": "sample string 25",
  "Pr_DelegationName": "sample string 26",
  "Pr_DelegationMobile": "sample string 27",
  "Pr_NoOfAdults": 28,
  "Pr_NoOfSenior": 29,
  "Pr_NoOfInfants": 30,
  "Pr_NoOfChildren": 31,
  "Pr_InfantsPrice": 32.0,
  "Pr_ChildrenPrice": 33.0,
  "Pr_AdultsPrice": 34.0,
  "Pr_SeniorPrice": 35.0,
  "Pr_TotalPriceAdult": 36.0,
  "Pr_TotalPriceChild": 37.0,
  "Pr_TotalPriceInfant": 38.0,
  "Pr_TotalPriceSrCitizen": 39.0,
  "Pr_SubTotalAmount": 40.0,
  "Pr_TotalAmount": 41.0,
  "Pr_TotalDiscount": 42.0,
  "Pr_strBookDate": "sample string 43",
  "Pr_strVisitDate": "sample string 44",
  "PK_BookingID": 45,
  "FK_FacilitiesID": 46,
  "Pr_CGSTAmt": 1.0,
  "Pr_SGSTAmt": 1.0,
  "Pr_NetAmtWithTax": 1.0,
  "Pr_SubTotal": 1.0,
  "CountOfCoupencode": 47,
  "CouponCodes": "sample string 48",
  "IdentityNumber": "sample string 49",
  "IsActive": true,
  "IsDelete": true,
  "FK_CreatedBy": 1,
  "FK_ModifiedBy": 1,
  "CreatedDate": "2026-10-19T08:23:00.3579929-07:00",
  "ModifiedDate": "2026-10-19T08:23:00.3579929-07:00",
  "RowNumber": 1,
  "RecordCount": 1,
  "Result": "sample string 50",
  "Message": "sample string 51",
  "IsValid": true,
  "StatusCode": 1
}

application/xml, text/xml

Sample:
<PreBookingViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TheEnjoyCity.Data.ViewModels.PreBooking">
  <CreatedDate xmlns="http://schemas.datacontract.org/2004/07/TheEnjoyCity.Data.ViewModels.Common">2026-10-19T08:23:00.3579929-07:00</CreatedDate>
  <FK_CreatedBy xmlns="http://schemas.datacontract.org/2004/07/TheEnjoyCity.Data.ViewModels.Common">1</FK_CreatedBy>
  <FK_ModifiedBy xmlns="http://schemas.datacontract.org/2004/07/TheEnjoyCity.Data.ViewModels.Common">1</FK_ModifiedBy>
  <IsActive xmlns="http://schemas.datacontract.org/2004/07/TheEnjoyCity.Data.ViewModels.Common">true</IsActive>
  <IsDelete xmlns="http://schemas.datacontract.org/2004/07/TheEnjoyCity.Data.ViewModels.Common">true</IsDelete>
  <IsValid xmlns="http://schemas.datacontract.org/2004/07/TheEnjoyCity.Data.ViewModels.Common">true</IsValid>
  <Message xmlns="http://schemas.datacontract.org/2004/07/TheEnjoyCity.Data.ViewModels.Common">sample string 51</Message>
  <ModifiedDate xmlns="http://schemas.datacontract.org/2004/07/TheEnjoyCity.Data.ViewModels.Common">2026-10-19T08:23:00.3579929-07:00</ModifiedDate>
  <RecordCount xmlns="http://schemas.datacontract.org/2004/07/TheEnjoyCity.Data.ViewModels.Common">1</RecordCount>
  <Result xmlns="http://schemas.datacontract.org/2004/07/TheEnjoyCity.Data.ViewModels.Common">sample string 50</Result>
  <RowNumber xmlns="http://schemas.datacontract.org/2004/07/TheEnjoyCity.Data.ViewModels.Common">1</RowNumber>
  <StatusCode xmlns="http://schemas.datacontract.org/2004/07/TheEnjoyCity.Data.ViewModels.Common">1</StatusCode>
  <AdultsPrice>13</AdultsPrice>
  <BookDate>2026-10-19T08:23:00.3423768-07:00</BookDate>
  <BookingNumber>sample string 3</BookingNumber>
  <ChildrenPrice>12</ChildrenPrice>
  <CountOfCoupencode>47</CountOfCoupencode>
  <CouponCodes>sample string 48</CouponCodes>
  <CustomerName>sample string 1</CustomerName>
  <DelegationMobile>sample string 5</DelegationMobile>
  <DelegationName>sample string 4</DelegationName>
  <FK_FacilitiesID>46</FK_FacilitiesID>
  <FacilityName>sample string 6</FacilityName>
  <IdentityNumber>sample string 49</IdentityNumber>
  <InfantsPrice>11</InfantsPrice>
  <MobileNo>sample string 2</MobileNo>
  <NoOfAdults>7</NoOfAdults>
  <NoOfChildren>10</NoOfChildren>
  <NoOfInfants>9</NoOfInfants>
  <NoOfSenior>8</NoOfSenior>
  <PK_BookingID>45</PK_BookingID>
  <Pr_AdultsPrice>34</Pr_AdultsPrice>
  <Pr_BookDate>2026-10-19T08:23:00.3423768-07:00</Pr_BookDate>
  <Pr_BookingNumber>sample string 25</Pr_BookingNumber>
  <Pr_CGSTAmt>1</Pr_CGSTAmt>
  <Pr_ChildrenPrice>33</Pr_ChildrenPrice>
  <Pr_CustomerMobile>sample string 24</Pr_CustomerMobile>
  <Pr_CustomerName>sample string 23</Pr_CustomerName>
  <Pr_DelegationMobile>sample string 27</Pr_DelegationMobile>
  <Pr_DelegationName>sample string 26</Pr_DelegationName>
  <Pr_InfantsPrice>32</Pr_InfantsPrice>
  <Pr_NetAmtWithTax>1</Pr_NetAmtWithTax>
  <Pr_NoOfAdults>28</Pr_NoOfAdults>
  <Pr_NoOfChildren>31</Pr_NoOfChildren>
  <Pr_NoOfInfants>30</Pr_NoOfInfants>
  <Pr_NoOfSenior>29</Pr_NoOfSenior>
  <Pr_SGSTAmt>1</Pr_SGSTAmt>
  <Pr_SeniorPrice>35</Pr_SeniorPrice>
  <Pr_SubTotal>1</Pr_SubTotal>
  <Pr_SubTotalAmount>40</Pr_SubTotalAmount>
  <Pr_TotalAmount>41</Pr_TotalAmount>
  <Pr_TotalDiscount>42</Pr_TotalDiscount>
  <Pr_TotalPriceAdult>36</Pr_TotalPriceAdult>
  <Pr_TotalPriceChild>37</Pr_TotalPriceChild>
  <Pr_TotalPriceInfant>38</Pr_TotalPriceInfant>
  <Pr_TotalPriceSrCitizen>39</Pr_TotalPriceSrCitizen>
  <Pr_VisitDate>2026-10-19T08:23:00.3423768-07:00</Pr_VisitDate>
  <Pr_strBookDate>sample string 43</Pr_strBookDate>
  <Pr_strVisitDate>sample string 44</Pr_strVisitDate>
  <PromoCodeDiscount>22</PromoCodeDiscount>
  <SeniorPrice>14</SeniorPrice>
  <SpecialDiscount>21</SpecialDiscount>
  <SubTotalAmount>19</SubTotalAmount>
  <TotalAdultPrice>15</TotalAdultPrice>
  <TotalAmount>20</TotalAmount>
  <TotalChildrenPrice>16</TotalChildrenPrice>
  <TotalInfantsPrice>17</TotalInfantsPrice>
  <TotalSeniorPrice>18</TotalSeniorPrice>
  <VisitDate>2026-10-19T08:23:00.3423768-07:00</VisitDate>
</PreBookingViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.