POST api/Agents/CreateSharedBookings

Request Information

URI Parameters

None.

Body Parameters

SharedBookingsbyEA
NameDescriptionTypeAdditional information
SharedBookingID

integer

None.

ExAgentID

integer

None.

EACompanyID

integer

None.

SharedPackageKey

string

None.

ServiceType

string

None.

CreatedDate

date

None.

CheckInDate

date

None.

BookingAmount

string

None.

Status

string

None.

MinistryLicenseNumber

integer

None.

JsonRequestOfExA

string

None.

PropertyName

string

None.

provider

string

None.

CurrencyCode

string

None.

UmrahHotelCode

string

None.

Vendor

string

None.

TotalAdult

string

None.

TotalChild

string

None.

companyNameAR

string

None.

routeName

string

None.

routeNameAR

string

None.

vehicleType

string

None.

vehicleTypeAR

string

None.

categoryName

string

None.

categoryNameAR

string

None.

quantity

string

None.

noOfPax

string

None.

firstName

string

None.

lastName

string

None.

GroupNumber

string

None.

ApprovalConfirmation

string

None.

Request Formats

application/json, text/json

Sample:
{
  "SharedBookingID": 1,
  "ExAgentID": 2,
  "EACompanyID": 3,
  "SharedPackageKey": "sample string 4",
  "ServiceType": "sample string 5",
  "CreatedDate": "2023-12-05T17:35:59.6249794+03:00",
  "CheckInDate": "2023-12-05T17:35:59.6249794+03:00",
  "BookingAmount": "sample string 8",
  "Status": "sample string 9",
  "MinistryLicenseNumber": 10,
  "JsonRequestOfExA": "sample string 11",
  "PropertyName": "sample string 12",
  "provider": "sample string 13",
  "CurrencyCode": "sample string 14",
  "UmrahHotelCode": "sample string 15",
  "Vendor": "sample string 16",
  "TotalAdult": "sample string 17",
  "TotalChild": "sample string 18",
  "companyNameAR": "sample string 19",
  "routeName": "sample string 20",
  "routeNameAR": "sample string 21",
  "vehicleType": "sample string 22",
  "vehicleTypeAR": "sample string 23",
  "categoryName": "sample string 24",
  "categoryNameAR": "sample string 25",
  "quantity": "sample string 26",
  "noOfPax": "sample string 27",
  "firstName": "sample string 28",
  "lastName": "sample string 29",
  "GroupNumber": "sample string 30",
  "ApprovalConfirmation": "sample string 31"
}

application/xml, text/xml

Sample:
<AgentsController.SharedBookingsbyEA xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TheZowarAPI.Controllers">
  <ApprovalConfirmation>sample string 31</ApprovalConfirmation>
  <BookingAmount>sample string 8</BookingAmount>
  <CheckInDate>2023-12-05T17:35:59.6249794+03:00</CheckInDate>
  <CreatedDate>2023-12-05T17:35:59.6249794+03:00</CreatedDate>
  <CurrencyCode>sample string 14</CurrencyCode>
  <EACompanyID>3</EACompanyID>
  <ExAgentID>2</ExAgentID>
  <GroupNumber>sample string 30</GroupNumber>
  <JsonRequestOfExA>sample string 11</JsonRequestOfExA>
  <MinistryLicenseNumber>10</MinistryLicenseNumber>
  <PropertyName>sample string 12</PropertyName>
  <ServiceType>sample string 5</ServiceType>
  <SharedBookingID>1</SharedBookingID>
  <SharedPackageKey>sample string 4</SharedPackageKey>
  <Status>sample string 9</Status>
  <TotalAdult>sample string 17</TotalAdult>
  <TotalChild>sample string 18</TotalChild>
  <UmrahHotelCode>sample string 15</UmrahHotelCode>
  <Vendor>sample string 16</Vendor>
  <categoryName>sample string 24</categoryName>
  <categoryNameAR>sample string 25</categoryNameAR>
  <companyNameAR>sample string 19</companyNameAR>
  <firstName>sample string 28</firstName>
  <lastName>sample string 29</lastName>
  <noOfPax>sample string 27</noOfPax>
  <provider>sample string 13</provider>
  <quantity>sample string 26</quantity>
  <routeName>sample string 20</routeName>
  <routeNameAR>sample string 21</routeNameAR>
  <vehicleType>sample string 22</vehicleType>
  <vehicleTypeAR>sample string 23</vehicleTypeAR>
</AgentsController.SharedBookingsbyEA>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Object

None.

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/" />