POST api/bookkaru/v1/ticketing/seat-reserve

Request Information

URI Parameters

None.

Body Parameters

BookingPayload
NameDescriptionTypeAdditional information
TotalFare

integer

None.

SourceCityId

integer

None.

DestCityId

integer

None.

CompanyId

integer

None.

RouteId

integer

None.

BusTypeId

integer

None.

GenderId

integer

None.

ScheduleDate

date

None.

ScheduleTime

time interval

None.

Email

string

None.

ContactNo

string

None.

passengers

Collection of BookingPassenger

None.

Request Formats

application/json, text/json

Sample:
{
  "TotalFare": 1,
  "SourceCityId": 2,
  "DestCityId": 3,
  "CompanyId": 4,
  "RouteId": 5,
  "BusTypeId": 6,
  "GenderId": 7,
  "ScheduleDate": "2026-06-05T15:48:29.0385872+05:00",
  "ScheduleTime": "00:00:00.1234567",
  "Email": "sample string 10",
  "ContactNo": "sample string 11",
  "passengers": [
    {
      "PassengerName": "sample string 1",
      "CNIC": "sample string 2",
      "Seatnumbers": 3,
      "SeatId": 4,
      "SeatTypeId": 5,
      "Fare": 6,
      "Discount": 7,
      "Gst": 8,
      "Email": "sample string 9",
      "ContactNo": "sample string 10",
      "IsDisablePerson": true,
      "AssigneType": "sample string 12",
      "IsPrimaryPassenger": true
    },
    {
      "PassengerName": "sample string 1",
      "CNIC": "sample string 2",
      "Seatnumbers": 3,
      "SeatId": 4,
      "SeatTypeId": 5,
      "Fare": 6,
      "Discount": 7,
      "Gst": 8,
      "Email": "sample string 9",
      "ContactNo": "sample string 10",
      "IsDisablePerson": true,
      "AssigneType": "sample string 12",
      "IsPrimaryPassenger": true
    }
  ]
}

application/xml, text/xml

Sample:
<BookingPayload xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Repository.Views">
  <BusTypeId>6</BusTypeId>
  <CompanyId>4</CompanyId>
  <ContactNo>sample string 11</ContactNo>
  <DestCityId>3</DestCityId>
  <Email>sample string 10</Email>
  <GenderId>7</GenderId>
  <RouteId>5</RouteId>
  <ScheduleDate>2026-06-05T15:48:29.0385872+05:00</ScheduleDate>
  <ScheduleTime>PT0.1234567S</ScheduleTime>
  <SourceCityId>2</SourceCityId>
  <TotalFare>1</TotalFare>
  <passengers>
    <BookingPassenger>
      <AssigneType>sample string 12</AssigneType>
      <CNIC>sample string 2</CNIC>
      <ContactNo>sample string 10</ContactNo>
      <Discount>7</Discount>
      <Email>sample string 9</Email>
      <Fare>6</Fare>
      <Gst>8</Gst>
      <IsDisablePerson>true</IsDisablePerson>
      <IsPrimaryPassenger>true</IsPrimaryPassenger>
      <PassengerName>sample string 1</PassengerName>
      <SeatId>4</SeatId>
      <SeatTypeId>5</SeatTypeId>
      <Seatnumbers>3</Seatnumbers>
    </BookingPassenger>
    <BookingPassenger>
      <AssigneType>sample string 12</AssigneType>
      <CNIC>sample string 2</CNIC>
      <ContactNo>sample string 10</ContactNo>
      <Discount>7</Discount>
      <Email>sample string 9</Email>
      <Fare>6</Fare>
      <Gst>8</Gst>
      <IsDisablePerson>true</IsDisablePerson>
      <IsPrimaryPassenger>true</IsPrimaryPassenger>
      <PassengerName>sample string 1</PassengerName>
      <SeatId>4</SeatId>
      <SeatTypeId>5</SeatTypeId>
      <Seatnumbers>3</Seatnumbers>
    </BookingPassenger>
  </passengers>
</BookingPayload>

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.