HTTP + XML
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /xml/reply/SearchCompetitorSeason HTTP/1.1
Host: gapi-api.hotelplan.co.uk
Content-Type: application/xml
Content-Length: length
<SearchCompetitorSeason xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Api.Gapi.Client.Dto.CompetitorSeason">
<AppNameString xmlns="http://schemas.datacontract.org/2004/07/Api.Gapi.Client.Dto.Base">String</AppNameString>
<Ip xmlns="http://schemas.datacontract.org/2004/07/Api.Gapi.Client.Dto.Base">String</Ip>
<MetaData xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/Api.Gapi.Client.Dto.Base">
<d2p1:KeyValueOfstringstring>
<d2p1:Key>String</d2p1:Key>
<d2p1:Value>String</d2p1:Value>
</d2p1:KeyValueOfstringstring>
</MetaData>
<Page xmlns="http://schemas.datacontract.org/2004/07/Api.Gapi.Client.Dto.Base">0</Page>
<PageSize xmlns="http://schemas.datacontract.org/2004/07/Api.Gapi.Client.Dto.Base">0</PageSize>
<RequestId xmlns="http://schemas.datacontract.org/2004/07/Api.Gapi.Client.Dto.Base">00000000-0000-0000-0000-000000000000</RequestId>
<RequestUrl xmlns="http://schemas.datacontract.org/2004/07/Api.Gapi.Client.Dto.Base">String</RequestUrl>
<SortField xmlns="http://schemas.datacontract.org/2004/07/Api.Gapi.Client.Dto.Base">String</SortField>
<SortOrder xmlns="http://schemas.datacontract.org/2004/07/Api.Gapi.Client.Dto.Base">String</SortOrder>
<Version xmlns="http://schemas.datacontract.org/2004/07/Api.Gapi.Client.Dto.Base">String</Version>
<CompetitorId>0</CompetitorId>
<DayOfWeek>String</DayOfWeek>
<DeparturePoint>String</DeparturePoint>
<Duration>0</Duration>
<DynamicBaseUrl>String</DynamicBaseUrl>
<EndDate>0001-01-01T00:00:00</EndDate>
<Id>0</Id>
<Pax>0</Pax>
<StartDate>0001-01-01T00:00:00</StartDate>
</SearchCompetitorSeason>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<ApiMultipleResultsOfCompetitorSeason_S_P2_S5T7R xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Api.Gapi.Client.Dto">
<Items xmlns:d2p1="http://schemas.datacontract.org/2004/07/Api.Gapi.Client.Model.CompetitorSeason" i:nil="true" />
<RecordsFiltered>0</RecordsFiltered>
<TotalRecords>0</TotalRecords>
</ApiMultipleResultsOfCompetitorSeason_S_P2_S5T7R>