5. Transfer Prices

Version 2.1 by Giorgi Mdivnishvili on 2024/02/26 15:21

https://restapi.rustaronline.com/v1.01/api/transferprices

Method: GET

Parameters to pass: agentid, agentpassword, hotelid and transferdate

Sample URL:

https://restapi.rustaronline.com/v1.01/api/transferprices?agentid=test.test&agentpassword=TestP@ssw0rd&hotelid= d5f11cf4-acc1-4c0e-9736-e45697a22031&transferdate=2017-10-25T00:00:00

The method returns the prices for transfers from and to the specified hotel and date.

Return value example:

{
 "Code": "00",
 "Message": "",
 "Timestamp": "2017-10-15T16:10:09.9774545+04:00",
 "Version": "1.00",
 "ResponseID": "09cba63b-14fb-4f19-b8da-51129359c981",
 "Data": [{
     "vehicletypeid": "a9252005-0a92-4ed1-9603-0f2f14295c29",
     "vehicletypename": "GROUP",
     "adultplaces": 1,
     "childplaces": 1,
     "isgroup": true,
     "price": 20.00,
     "childprice": 10.00,
     "perpersonprice": true,
     "transfertype": "ARRIVAL",
     "terminalid": "a1ec1ee3-fe91-11e6-9414-44a84249a1e0",
     "terminalcode": "DXB"
    }, {
     "vehicletypeid": "a9252005-0a92-4ed1-9603-0f2f14295c29",
     "vehicletypename": "GROUP",
     "adultplaces": 1,
     "childplaces": 1,
     "isgroup": true,
     "price": 20.00,
     "childprice": 10.00,
     "perpersonprice": true,
     "transfertype": "ARRIVAL",
     "terminalid": "86848bc4-a416-465b-aaac-b23f190ea4b9",
     "terminalcode": "SHJ"
    }, {
     "vehicletypeid": "d776f913-bf2a-4b68-ab7c-c9abf4215d41",
     "vehicletypename": "TOYOTA COROLLA",
     "adultplaces": 3,
     "childplaces": 0,
     "isgroup": false,
     "price": 100.00,
     "childprice": 0.0,
     "perpersonprice": false,
     "transfertype": "DEPARTURE",
     "terminalid": "86848bc4-a416-465b-aaac-b23f190ea4b9",
     "terminalcode": "SHJ"
    }
  ]
}

vehicletypeid:          GUID of the vehicle type. Uniquely describes the vehicles like (“GROUP”, “TOYOTA COROLLA”)

vehicletypename:     string. Description of the vehicle/transfer. “GROUP”, “TOYOTA COROLLA”…

adultplaces:             integer. Max places for adults in the vehicle. For group transfers the value is 1

childplaces:              integer. Max places for children in the vehicle after all places for adults are occupied. For group transfers the value is 1

isgroup:                   boolean. For the group transfer prices the value id true, for individual transfers/vehicles the value is false

price:                       Price in USD for the transfer. For group transfers the price is the transfer price for one adult, for the individual transfer the price is per vehicle

childprice:                For the group transfer the field contains the price in USD for the transfer of the child. For individual transfers this field is not used and its value is 0

perpersonprice:       Boolean. Specifies if the price is per person or per vehicle. For group transfers it is true, for individual transfers it is false.

transfertype:            string. “ARRIVAL” or “DEPARTURE”.

terminalid:               GUID. Unique id of the airport terminal for the transfer

terminalcode:           string. Terminal code. 3 – 4 characters. (SHK, DXB, DXB2 …)