BookingService


Click here for a complete list of operations.

SetCart

Test

The test form is only available for requests from the local machine.

SOAP 1.1

The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.

POST /Modules/CineSite/Booking/BookingService.asmx HTTP/1.1
Host: bishwojyoti.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://tempuri.org/SetCart"

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <SetCart xmlns="http://tempuri.org/">
      <objBooking>
        <BookingID>int</BookingID>
        <BookingNo>string</BookingNo>
        <ShowID>int</ShowID>
        <Movie>string</Movie>
        <MovieID>int</MovieID>
        <Screen>string</Screen>
        <ScreenID>int</ScreenID>
        <ShowDate>string</ShowDate>
        <ShowTime>string</ShowTime>
        <ShowTimeID>int</ShowTimeID>
        <Seats>string</Seats>
        <Foods>string</Foods>
        <ThreeDCharge>decimal</ThreeDCharge>
        <CoverCharge>decimal</CoverCharge>
        <GrandTotal>decimal</GrandTotal>
        <IsBooking>boolean</IsBooking>
        <TicketInfo>
          <BookingDetailsInfo>
            <ItemID>int</ItemID>
            <ItemName>string</ItemName>
            <Quantity>int</Quantity>
            <Price>decimal</Price>
            <TicketType>int</TicketType>
            <SeatIDs>string</SeatIDs>
            <SubTotal>decimal</SubTotal>
            <Tax>decimal</Tax>
            <Total>decimal</Total>
            <IsActive>boolean</IsActive>
            <SeatID>int</SeatID>
            <SeatNo>string</SeatNo>
            <DeliveryTimeMin>int</DeliveryTimeMin>
            <Scope>string</Scope>
            <Notes>string</Notes>
            <ThreeDCharge>decimal</ThreeDCharge>
            <CoverCharge>decimal</CoverCharge>
            <IsDiscountable>boolean</IsDiscountable>
          </BookingDetailsInfo>
          <BookingDetailsInfo>
            <ItemID>int</ItemID>
            <ItemName>string</ItemName>
            <Quantity>int</Quantity>
            <Price>decimal</Price>
            <TicketType>int</TicketType>
            <SeatIDs>string</SeatIDs>
            <SubTotal>decimal</SubTotal>
            <Tax>decimal</Tax>
            <Total>decimal</Total>
            <IsActive>boolean</IsActive>
            <SeatID>int</SeatID>
            <SeatNo>string</SeatNo>
            <DeliveryTimeMin>int</DeliveryTimeMin>
            <Scope>string</Scope>
            <Notes>string</Notes>
            <ThreeDCharge>decimal</ThreeDCharge>
            <CoverCharge>decimal</CoverCharge>
            <IsDiscountable>boolean</IsDiscountable>
          </BookingDetailsInfo>
        </TicketInfo>
        <FoodInfo>
          <BookingDetailsInfo>
            <ItemID>int</ItemID>
            <ItemName>string</ItemName>
            <Quantity>int</Quantity>
            <Price>decimal</Price>
            <TicketType>int</TicketType>
            <SeatIDs>string</SeatIDs>
            <SubTotal>decimal</SubTotal>
            <Tax>decimal</Tax>
            <Total>decimal</Total>
            <IsActive>boolean</IsActive>
            <SeatID>int</SeatID>
            <SeatNo>string</SeatNo>
            <DeliveryTimeMin>int</DeliveryTimeMin>
            <Scope>string</Scope>
            <Notes>string</Notes>
            <ThreeDCharge>decimal</ThreeDCharge>
            <CoverCharge>decimal</CoverCharge>
            <IsDiscountable>boolean</IsDiscountable>
          </BookingDetailsInfo>
          <BookingDetailsInfo>
            <ItemID>int</ItemID>
            <ItemName>string</ItemName>
            <Quantity>int</Quantity>
            <Price>decimal</Price>
            <TicketType>int</TicketType>
            <SeatIDs>string</SeatIDs>
            <SubTotal>decimal</SubTotal>
            <Tax>decimal</Tax>
            <Total>decimal</Total>
            <IsActive>boolean</IsActive>
            <SeatID>int</SeatID>
            <SeatNo>string</SeatNo>
            <DeliveryTimeMin>int</DeliveryTimeMin>
            <Scope>string</Scope>
            <Notes>string</Notes>
            <ThreeDCharge>decimal</ThreeDCharge>
            <CoverCharge>decimal</CoverCharge>
            <IsDiscountable>boolean</IsDiscountable>
          </BookingDetailsInfo>
        </FoodInfo>
        <TimeDiff>int</TimeDiff>
        <LocationID>int</LocationID>
        <ContactNo>string</ContactNo>
        <Notes>string</Notes>
        <OrderSource>string</OrderSource>
        <Email>string</Email>
      </objBooking>
      <PayementType>int</PayementType>
      <cartCode>string</cartCode>
      <auth>
        <UserModuleID>int</UserModuleID>
        <Username>string</Username>
        <PortalID>int</PortalID>
        <SecureToken>string</SecureToken>
      </auth>
    </SetCart>
  </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <SetCartResponse xmlns="http://tempuri.org/">
      <SetCartResult>int</SetCartResult>
    </SetCartResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.

POST /Modules/CineSite/Booking/BookingService.asmx HTTP/1.1
Host: bishwojyoti.com
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <SetCart xmlns="http://tempuri.org/">
      <objBooking>
        <BookingID>int</BookingID>
        <BookingNo>string</BookingNo>
        <ShowID>int</ShowID>
        <Movie>string</Movie>
        <MovieID>int</MovieID>
        <Screen>string</Screen>
        <ScreenID>int</ScreenID>
        <ShowDate>string</ShowDate>
        <ShowTime>string</ShowTime>
        <ShowTimeID>int</ShowTimeID>
        <Seats>string</Seats>
        <Foods>string</Foods>
        <ThreeDCharge>decimal</ThreeDCharge>
        <CoverCharge>decimal</CoverCharge>
        <GrandTotal>decimal</GrandTotal>
        <IsBooking>boolean</IsBooking>
        <TicketInfo>
          <BookingDetailsInfo>
            <ItemID>int</ItemID>
            <ItemName>string</ItemName>
            <Quantity>int</Quantity>
            <Price>decimal</Price>
            <TicketType>int</TicketType>
            <SeatIDs>string</SeatIDs>
            <SubTotal>decimal</SubTotal>
            <Tax>decimal</Tax>
            <Total>decimal</Total>
            <IsActive>boolean</IsActive>
            <SeatID>int</SeatID>
            <SeatNo>string</SeatNo>
            <DeliveryTimeMin>int</DeliveryTimeMin>
            <Scope>string</Scope>
            <Notes>string</Notes>
            <ThreeDCharge>decimal</ThreeDCharge>
            <CoverCharge>decimal</CoverCharge>
            <IsDiscountable>boolean</IsDiscountable>
          </BookingDetailsInfo>
          <BookingDetailsInfo>
            <ItemID>int</ItemID>
            <ItemName>string</ItemName>
            <Quantity>int</Quantity>
            <Price>decimal</Price>
            <TicketType>int</TicketType>
            <SeatIDs>string</SeatIDs>
            <SubTotal>decimal</SubTotal>
            <Tax>decimal</Tax>
            <Total>decimal</Total>
            <IsActive>boolean</IsActive>
            <SeatID>int</SeatID>
            <SeatNo>string</SeatNo>
            <DeliveryTimeMin>int</DeliveryTimeMin>
            <Scope>string</Scope>
            <Notes>string</Notes>
            <ThreeDCharge>decimal</ThreeDCharge>
            <CoverCharge>decimal</CoverCharge>
            <IsDiscountable>boolean</IsDiscountable>
          </BookingDetailsInfo>
        </TicketInfo>
        <FoodInfo>
          <BookingDetailsInfo>
            <ItemID>int</ItemID>
            <ItemName>string</ItemName>
            <Quantity>int</Quantity>
            <Price>decimal</Price>
            <TicketType>int</TicketType>
            <SeatIDs>string</SeatIDs>
            <SubTotal>decimal</SubTotal>
            <Tax>decimal</Tax>
            <Total>decimal</Total>
            <IsActive>boolean</IsActive>
            <SeatID>int</SeatID>
            <SeatNo>string</SeatNo>
            <DeliveryTimeMin>int</DeliveryTimeMin>
            <Scope>string</Scope>
            <Notes>string</Notes>
            <ThreeDCharge>decimal</ThreeDCharge>
            <CoverCharge>decimal</CoverCharge>
            <IsDiscountable>boolean</IsDiscountable>
          </BookingDetailsInfo>
          <BookingDetailsInfo>
            <ItemID>int</ItemID>
            <ItemName>string</ItemName>
            <Quantity>int</Quantity>
            <Price>decimal</Price>
            <TicketType>int</TicketType>
            <SeatIDs>string</SeatIDs>
            <SubTotal>decimal</SubTotal>
            <Tax>decimal</Tax>
            <Total>decimal</Total>
            <IsActive>boolean</IsActive>
            <SeatID>int</SeatID>
            <SeatNo>string</SeatNo>
            <DeliveryTimeMin>int</DeliveryTimeMin>
            <Scope>string</Scope>
            <Notes>string</Notes>
            <ThreeDCharge>decimal</ThreeDCharge>
            <CoverCharge>decimal</CoverCharge>
            <IsDiscountable>boolean</IsDiscountable>
          </BookingDetailsInfo>
        </FoodInfo>
        <TimeDiff>int</TimeDiff>
        <LocationID>int</LocationID>
        <ContactNo>string</ContactNo>
        <Notes>string</Notes>
        <OrderSource>string</OrderSource>
        <Email>string</Email>
      </objBooking>
      <PayementType>int</PayementType>
      <cartCode>string</cartCode>
      <auth>
        <UserModuleID>int</UserModuleID>
        <Username>string</Username>
        <PortalID>int</PortalID>
        <SecureToken>string</SecureToken>
      </auth>
    </SetCart>
  </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <SetCartResponse xmlns="http://tempuri.org/">
      <SetCartResult>int</SetCartResult>
    </SetCartResponse>
  </soap12:Body>
</soap12:Envelope>