POST api/orders/hotels
Request Information
URI Parameters
None.
Body Parameters
Cyberlogic.eTourism.Domain.Models.Transfers.DTO.HotelsRequestByOrderName | Description | Type | Additional information |
---|---|---|---|
OrderId | integer |
None. |
|
FlightId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "OrderId": 1, "FlightId": 2 }
text/html
Sample:
{"OrderId":1,"FlightId":2}
application/xml, text/xml
Sample:
<HotelsRequestByOrder xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cyberlogic.eTourism.Domain.Models.Transfers.DTO"> <FlightId>2</FlightId> <OrderId>1</OrderId> </HotelsRequestByOrder>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
System.Net.Http.HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | System.Version |
None. |
|
Content | System.Net.Http.HttpContent |
None. |
|
StatusCode | System.Net.HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | System.Net.Http.HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |