Sphinx.Api

<back to all web services

GetResort

This service is used to get the information about the country / region / resorts hierarchy for a specific resort code.

The following routes are available for this service:
GET/{brandCode}/{programcode}/resorts/{code}

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

HTTP + CSV

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

POST /csv/reply/GetResort HTTP/1.1 
Host: sphinx-api-v2.dev.hotelplan.co.uk 
Content-Type: text/csv
Content-Length: length

{Unable to show example output for type 'GetResort' using the custom 'csv' filter}No parameterless constructor defined for this object.
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

Item,RequestId,ResponseStatus
,00000000000000000000000000000000,"{errorCode:String,message:String,stackTrace:String,errors:[{errorCode:String,fieldName:String,message:String}]}"