Api.Gapi

<back to all web services

GetResort

This service is used to get resort data for an Inghams resort.

The following routes are available for this service:
GET/resorts/{resort}Gets Inghams data from Inghams website.

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

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

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

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

{"resort":"String","brand":"String","appNameString":"String","version":"String","requestUrl":"String","ip":"String","requestId":"00000000000000000000000000000000","page":0,"pageSize":0,"sortField":"String","sortOrder":"String","metaData":{"String":"String"}}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"item":{"imageUrls":"String","description":"String","url":"String"}}