curl --request GET \
--url https://api.grdd.net/Platform.svc/getReservationByTransactionId/{TRANSACTIONID}/{version} \
--header 'token: <api-key>'import requests
url = "https://api.grdd.net/Platform.svc/getReservationByTransactionId/{TRANSACTIONID}/{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/getReservationByTransactionId/{TRANSACTIONID}/{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/getReservationByTransactionId/{TRANSACTIONID}/{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/getReservationByTransactionId/{TRANSACTIONID}/{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/getReservationByTransactionId/{TRANSACTIONID}/{version}")
.header("token", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.grdd.net/Platform.svc/getReservationByTransactionId/{TRANSACTIONID}/{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>"
}
}Get Reservation by Transaction ID
Retrieve the latest snapshot of a reservation by Transaction ID
curl --request GET \
--url https://api.grdd.net/Platform.svc/getReservationByTransactionId/{TRANSACTIONID}/{version} \
--header 'token: <api-key>'import requests
url = "https://api.grdd.net/Platform.svc/getReservationByTransactionId/{TRANSACTIONID}/{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/getReservationByTransactionId/{TRANSACTIONID}/{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/getReservationByTransactionId/{TRANSACTIONID}/{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/getReservationByTransactionId/{TRANSACTIONID}/{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/getReservationByTransactionId/{TRANSACTIONID}/{version}")
.header("token", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.grdd.net/Platform.svc/getReservationByTransactionId/{TRANSACTIONID}/{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>"
}
}Authorizations
Security token obtained from getToken2.
Path Parameters
Transaction ID for the trip.
API version. Must be set to V1.
V1 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.
Header section of the payload: GNet member IDs of the sender and receiver, their reservation numbers, and the command field.
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Number of passengers.
"1"
Show child attributes
Show child attributes
Requested vehicle type. See the Vehicle Types reference.
"SEDAN"
Reservation type. QUOTE requests return pricing without creating a reservation.
REGULAR, ONDEMAND, QUOTE ID of preferred chauffeur.
Run type.
TRANSPORT, AIRPORT, HOURLY Status code of the reservation.
"BOOKING_REQUEST"
Date the reservation was created, local time, YYYY-MM-DDTHH:mm:ss.
Trip notes and instructions.
Estimated total cost of trip.
Trip duration in minutes. For hourly trips, the estimated minutes.
Total trip distance.
Name sign instructions.
URL for the name sign.
Number of pieces of luggage.
Meet and greet instructions.
Operator ID.
Trip origination code or identifier.
Target for submission.
Required when updating a reservation. Leave blank for NEW reservations.
Set to WAIT to process synchronously and wait for the result. Leave blank otherwise.
"WAIT"
Charge line items.
Show child attributes
Show child attributes
Affiliate notes.
Show child attributes
Show child attributes
Account information of the SENDER in the RECEIVER system.
Show child attributes
Show child attributes