Api.Gapi

<back to all web services

GetMyXWelcomePack

This service is used to get welcome pack url from general database.

The following routes are available for this service:
GET/welcomepack/{programcode}/{locationcode}

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/GetMyXWelcomePack HTTP/1.1 
Host: gapi-api.hotelplan.co.uk 
Content-Type: application/json
Content-Length: length

{"programCode":"String","locationCode":"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":"String"}