Get Partners API
The Get Partners API allows you to retrieve the list of partners associated with a specific GNet ID (griddid). This is useful for Gateways or users who manage multiple operators or need to sync partner data.
Endpoint
GET https://core.grdd.net/api/partner/[griddid]?format={format}
Headers
Include one of the following headers for authentication:- OAuth Bearer Token:
- Legacy Token:
[NOTE]
If the token belongs to a Gateway user, you can query the partners of different [griddid] values, provided they are listed under your platform.
Example: A Fasttrak Gateway token can retrieve partners for any operator using Fasttrak technology (e.g., “xyz limo”).
Parameters
| Parameter | Type | Description |
|---|---|---|
griddid | string | (Required) The unique GNet ID of the operator whose partners you want to retrieve. |
format | string | (Optional) JSON response format. Options: full (default) or short. |
Response
Full Format (format=full)
Short Format (format=short)
Error Handling
Ensure you handle potential errors, such as:- 401 Unauthorized: If authentication headers are missing or invalid.
- 403 Forbidden: If the token allows access but not to the requested
griddid. - 404 Not Found: If the
griddiddoes not exist.