Api.Gapi

<back to all web services

Throw500

The following routes are available for this service:
GET/throw500

To override the Content-type in your clients HTTP Accept Header, append the .xml suffix or ?format=xml

HTTP + XML

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /xml/reply/Throw500 HTTP/1.1 
Host: gapi-api.hotelplan.co.uk 
Content-Type: application/xml
Content-Length: length

<Throw500 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Api.Gapi.Client.Dto.Error">
  <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>
</Throw500>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<ThrowResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Api.Gapi.Client.Dto.Error">
  <Timestamp>String</Timestamp>
</ThrowResponse>