Get reservation by Reservation #
curl --request GET \
--url https://api.grdd.net/Platform.svc/getReservationByReservationId/{GRIDDID}/{RESERVATIONID}/{version} \
--header 'token: <api-key>'import requests
url = "https://api.grdd.net/Platform.svc/getReservationByReservationId/{GRIDDID}/{RESERVATIONID}/{version}"
headers = {"token": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {token: '<api-key>'}};
fetch('https://api.grdd.net/Platform.svc/getReservationByReservationId/{GRIDDID}/{RESERVATIONID}/{version}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.grdd.net/Platform.svc/getReservationByReservationId/{GRIDDID}/{RESERVATIONID}/{version}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"token: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.grdd.net/Platform.svc/getReservationByReservationId/{GRIDDID}/{RESERVATIONID}/{version}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("token", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.grdd.net/Platform.svc/getReservationByReservationId/{GRIDDID}/{RESERVATIONID}/{version}")
.header("token", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.grdd.net/Platform.svc/getReservationByReservationId/{GRIDDID}/{RESERVATIONID}/{version}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["token"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"affiliateReservation": {
"action": "NEW",
"requesterId": "5StarLimo",
"providerId": "littlestarLimo",
"requesterResNo": "22121",
"providerResNo": "<string>",
"status": "<string>"
},
"locations": {
"pickup": {
"locationType": "ADDRESS",
"address": "<string>",
"address1": "<string>",
"city": "<string>",
"state": "<string>",
"zipCode": "<string>",
"country": "<string>",
"time": "2016-04-13T19:15:00",
"address2": "<string>",
"lat": "<string>",
"lon": "<string>",
"landmark": "<string>",
"FBO": "<string>",
"specialInstructions": "<string>",
"pointOnLocation": "<string>",
"meetAndGreet": "<string>",
"stopNumber": "<string>",
"flightInfo": {
"airlineCode": "UA",
"flightNumber": "2323"
}
},
"dropOff": {
"locationType": "ADDRESS",
"address": "<string>",
"address1": "<string>",
"city": "<string>",
"state": "<string>",
"zipCode": "<string>",
"country": "<string>",
"time": "2016-04-13T19:15:00",
"address2": "<string>",
"lat": "<string>",
"lon": "<string>",
"landmark": "<string>",
"FBO": "<string>",
"specialInstructions": "<string>",
"pointOnLocation": "<string>",
"meetAndGreet": "<string>",
"stopNumber": "<string>",
"flightInfo": {
"airlineCode": "UA",
"flightNumber": "2323"
}
},
"stops": [
{
"locationType": "ADDRESS",
"address": "<string>",
"address1": "<string>",
"city": "<string>",
"state": "<string>",
"zipCode": "<string>",
"country": "<string>",
"time": "2016-04-13T19:15:00",
"address2": "<string>",
"lat": "<string>",
"lon": "<string>",
"landmark": "<string>",
"FBO": "<string>",
"specialInstructions": "<string>",
"pointOnLocation": "<string>",
"meetAndGreet": "<string>",
"stopNumber": "<string>",
"flightInfo": {
"airlineCode": "UA",
"flightNumber": "2323"
}
}
]
},
"passengerCount": "1",
"passengers": [
{
"firstName": "<string>",
"lastName": "<string>",
"phones": [
{
"number": "+12122221212",
"type": "mobile",
"attributes": {
"sendNotification": "<string>",
"visibleToPassenger": "<string>"
}
}
],
"middleName": "<string>",
"alias": "<string>",
"email": "<string>",
"accountNumber": "<string>",
"phoneNumber": "<string>",
"imageURL": "<string>",
"active": "<string>",
"commentsForDispatcher": "<string>",
"commentsForDriver": "<string>",
"defaultLanguage": "<string>",
"defaultTimezone": "<string>"
}
],
"preferredVehicleType": "SEDAN",
"reservationType": "REGULAR",
"preferredChauffeurNo": "<string>",
"runType": "TRANSPORT",
"status": "BOOKING_REQUEST",
"reservationDate": "<string>",
"specialInstructions": "<string>",
"totalAmount": "<string>",
"totalTripDuration": "<string>",
"totalTripDist": "<string>",
"namesignInstructions": "<string>",
"namesignURL": "<string>",
"luggageCount": "<string>",
"meetAndGreet": "<string>",
"operatorId": "<string>",
"origination": "<string>",
"submissionTarget": "<string>",
"transactionId": "<string>",
"submitMode": "WAIT",
"fees": [
{
"code": "base",
"currency": "USD",
"description": "Base charges",
"fee": "75.00",
"percent": "<string>",
"reimbursable": "<string>",
"type": "EXPENSE",
"vehType": "SEDAN",
"name": "Business Sedan",
"passengerCount": "3",
"luggageCount": "2",
"images": [
"<string>"
]
}
],
"notes": [
{
"context": "AFFILIATE",
"message": "<string>",
"user": "<string>",
"status": "<string>"
}
],
"account": {
"accountNumber": "<string>",
"accountName": "<string>",
"callerName": "<string>",
"callerEmail": "<string>",
"callerNumber": "<string>"
}
}Reservations
Get Reservation by Reservation ID
Retrieve a reservation snapshot by GRiDD ID and Reservation #
GET
/
getReservationByReservationId
/
{GRIDDID}
/
{RESERVATIONID}
/
{version}
Get reservation by Reservation #
curl --request GET \
--url https://api.grdd.net/Platform.svc/getReservationByReservationId/{GRIDDID}/{RESERVATIONID}/{version} \
--header 'token: <api-key>'import requests
url = "https://api.grdd.net/Platform.svc/getReservationByReservationId/{GRIDDID}/{RESERVATIONID}/{version}"
headers = {"token": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {token: '<api-key>'}};
fetch('https://api.grdd.net/Platform.svc/getReservationByReservationId/{GRIDDID}/{RESERVATIONID}/{version}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.grdd.net/Platform.svc/getReservationByReservationId/{GRIDDID}/{RESERVATIONID}/{version}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"token: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.grdd.net/Platform.svc/getReservationByReservationId/{GRIDDID}/{RESERVATIONID}/{version}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("token", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.grdd.net/Platform.svc/getReservationByReservationId/{GRIDDID}/{RESERVATIONID}/{version}")
.header("token", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.grdd.net/Platform.svc/getReservationByReservationId/{GRIDDID}/{RESERVATIONID}/{version}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["token"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"affiliateReservation": {
"action": "NEW",
"requesterId": "5StarLimo",
"providerId": "littlestarLimo",
"requesterResNo": "22121",
"providerResNo": "<string>",
"status": "<string>"
},
"locations": {
"pickup": {
"locationType": "ADDRESS",
"address": "<string>",
"address1": "<string>",
"city": "<string>",
"state": "<string>",
"zipCode": "<string>",
"country": "<string>",
"time": "2016-04-13T19:15:00",
"address2": "<string>",
"lat": "<string>",
"lon": "<string>",
"landmark": "<string>",
"FBO": "<string>",
"specialInstructions": "<string>",
"pointOnLocation": "<string>",
"meetAndGreet": "<string>",
"stopNumber": "<string>",
"flightInfo": {
"airlineCode": "UA",
"flightNumber": "2323"
}
},
"dropOff": {
"locationType": "ADDRESS",
"address": "<string>",
"address1": "<string>",
"city": "<string>",
"state": "<string>",
"zipCode": "<string>",
"country": "<string>",
"time": "2016-04-13T19:15:00",
"address2": "<string>",
"lat": "<string>",
"lon": "<string>",
"landmark": "<string>",
"FBO": "<string>",
"specialInstructions": "<string>",
"pointOnLocation": "<string>",
"meetAndGreet": "<string>",
"stopNumber": "<string>",
"flightInfo": {
"airlineCode": "UA",
"flightNumber": "2323"
}
},
"stops": [
{
"locationType": "ADDRESS",
"address": "<string>",
"address1": "<string>",
"city": "<string>",
"state": "<string>",
"zipCode": "<string>",
"country": "<string>",
"time": "2016-04-13T19:15:00",
"address2": "<string>",
"lat": "<string>",
"lon": "<string>",
"landmark": "<string>",
"FBO": "<string>",
"specialInstructions": "<string>",
"pointOnLocation": "<string>",
"meetAndGreet": "<string>",
"stopNumber": "<string>",
"flightInfo": {
"airlineCode": "UA",
"flightNumber": "2323"
}
}
]
},
"passengerCount": "1",
"passengers": [
{
"firstName": "<string>",
"lastName": "<string>",
"phones": [
{
"number": "+12122221212",
"type": "mobile",
"attributes": {
"sendNotification": "<string>",
"visibleToPassenger": "<string>"
}
}
],
"middleName": "<string>",
"alias": "<string>",
"email": "<string>",
"accountNumber": "<string>",
"phoneNumber": "<string>",
"imageURL": "<string>",
"active": "<string>",
"commentsForDispatcher": "<string>",
"commentsForDriver": "<string>",
"defaultLanguage": "<string>",
"defaultTimezone": "<string>"
}
],
"preferredVehicleType": "SEDAN",
"reservationType": "REGULAR",
"preferredChauffeurNo": "<string>",
"runType": "TRANSPORT",
"status": "BOOKING_REQUEST",
"reservationDate": "<string>",
"specialInstructions": "<string>",
"totalAmount": "<string>",
"totalTripDuration": "<string>",
"totalTripDist": "<string>",
"namesignInstructions": "<string>",
"namesignURL": "<string>",
"luggageCount": "<string>",
"meetAndGreet": "<string>",
"operatorId": "<string>",
"origination": "<string>",
"submissionTarget": "<string>",
"transactionId": "<string>",
"submitMode": "WAIT",
"fees": [
{
"code": "base",
"currency": "USD",
"description": "Base charges",
"fee": "75.00",
"percent": "<string>",
"reimbursable": "<string>",
"type": "EXPENSE",
"vehType": "SEDAN",
"name": "Business Sedan",
"passengerCount": "3",
"luggageCount": "2",
"images": [
"<string>"
]
}
],
"notes": [
{
"context": "AFFILIATE",
"message": "<string>",
"user": "<string>",
"status": "<string>"
}
],
"account": {
"accountNumber": "<string>",
"accountName": "<string>",
"callerName": "<string>",
"callerEmail": "<string>",
"callerNumber": "<string>"
}
}Do not call this endpoint in a loop or on a timer — that’s what webhooks are for.
Path Parameters
Response
Latest reservation snapshot
The GNet reservation payload. See the Object Model reference for full field-by-field documentation. Dates/times in location sections are local to the pickup location, format YYYY-MM-DDTHH:mm:ss.