$links construct
- Last Updated: March 6, 2025
- 1 minute read
- Hybrid Data Pipeline
- Version 4.6
- Documentation
The examples in this topic use the following table structure:
Customer ---> Order ---> OrderItem
|
---> Contact
$links navigation is similar to Resource path navigation except that instead of returning the data for the referenced resource, a link to the referenced resource is returned.
For example, a query that lists the orders of a particular customer could be written as:
https://<myserver>:<port>/api/odata/SQLServerDS/Customers('3')/$links/Orders
where <myserver> is the DSN name or the IP address of the machine where Hybrid Data Pipeline is installed.
This returns links to the orders that belong to customer 3.