POST api/reports/TransferHotelCheckList

Serves a file report for requested transfers.

Request Information

URI Parameters

None.

Body Parameters

An instance of the TransferHotelCheckListDTO.

Cyberlogic.eTourism.Mappings.Web.Dto.Reports.TransferHotelCheckListDTO
NameDescriptionTypeAdditional information
ReportId

integer

None.

HotelIds

Collection of integer

None.

TransferTypeId

integer

None.

DateFrom

string

None.

DateTo

string

None.

CustomerIds

Collection of integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ReportId": 1,
  "HotelIds": [
    1,
    2
  ],
  "TransferTypeId": 2,
  "DateFrom": "sample string 3",
  "DateTo": "sample string 4",
  "CustomerIds": [
    1,
    2
  ]
}

text/html

Sample:
{"ReportId":1,"HotelIds":[1,2],"TransferTypeId":2,"DateFrom":"sample string 3","DateTo":"sample string 4","CustomerIds":[1,2]}

application/xml, text/xml

Sample:
<TransferHotelCheckListDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cyberlogic.eTourism.Mappings.Web.Dto.Reports">
  <CustomerIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </CustomerIds>
  <DateFrom>sample string 3</DateFrom>
  <DateTo>sample string 4</DateTo>
  <HotelIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </HotelIds>
  <ReportId>1</ReportId>
  <TransferTypeId>2</TransferTypeId>
</TransferHotelCheckListDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

A a file report with a list of transfers using the layout with given reportId.

System.Net.Http.HttpResponseMessage
NameDescriptionTypeAdditional 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.