GET | /extras/transport/{id} | Get transport extras in HAPI. |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Id | form | GUID | Yes | The WRAPI GUID to retrieve a cached session / extras |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Items | form | List<WrapiSimpleExtra> | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
WrapiType | form | WrapiItemType | No | |
Id | form | string | No | |
ServiceReferenceId | form | string | No | |
Code | form | string | No | |
Tag | form | string | No | |
Description | form | string | No | |
Price | form | string | No | |
Start | form | string | No | |
End | form | string | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /extras/transport/{id} HTTP/1.1 Host: wrapi-api.dev.hotelplan.co.uk Accept: application/json
HTTP/1.1 200 OK Content-Type: application/json Content-Length: length {"items":[{"wrapiType":"Unknown","id":"String","serviceReferenceId":"String","code":"String","tag":"String","description":"String","price":"String","start":"String","end":"String"}]}