If an existing API does not already exist for GNet integration, you can consume GNet’s object model for receiving trips. GNet requires one web service on the receive side to acceptDocumentation Index
Fetch the complete documentation index at: https://docs.grdd.dev/llms.txt
Use this file to discover all available pages before exploring further.
NEW, UPDATE, and CANCEL requests — all in a single endpoint. To provide status updates for incoming trips, you call providerUpdateStatusByResNo on GNet. This endpoint should be called whenever there is a change in Status, Driver Info, Vehicle Info, Charge line items, or Total.
The GNet team will work with your technical team to determine how to communicate with your web service, capture confirmation numbers, and capture error messages in case a trip has to be rejected.
Interpreting the payload
The web service receiving trip payloads from GNet must look at theaffiliateReservation section to determine whether the payload is requesting a NEW trip, or whether it is an UPDATE or CANCEL for an existing trip.
affiliateReservation.action tells your web service what needs to be done:
| Action | Meaning |
|---|---|
NEW | A new trip. |
UPDATE | An update of an existing trip. |
CANCEL | A request to cancel a trip. |
Key fields
| Field | Description |
|---|---|
affiliateReservation.requesterId | The GNet ID of the sending company. |
affiliateReservation.requesterResNo | The reservation number of the sending company. |
affiliateReservation.providerId | The GNet ID of the receiving company. |
affiliateReservation.providerResNo | The reservation number of the receiving company. Populated when action = UPDATE or CANCEL. |
Providing status updates
Once you have received and accepted a trip, push status changes back to GNet by callingproviderUpdateStatusByResNo or providerUpdateStatusByTransactionId. Send an update whenever any of the following change:
- Status Code (see Status Codes)
- Driver / Chauffeur info
- Vehicle info
- Charge line items (fees)
- Total amount
Webhook Callbacks
GNet relays these updates back to the original sender via real-time webhook callbacks.