OData Input
DescriptionThe OData Input transform enables you to query OData (Open Data Protocol) services. OData is an OASIS standard that defines a set of best practices for building and consuming RESTful APIs. For more information, visit the official OData Documentation. This transform performs GET requests against OData Entity Sets, maps JSON properties to Apache Hop rows, and automatically handles relative pagination using standard |
Connection Options
The Connection tab allows you to configure the service endpoint and optional credentials.
| Option | Description |
|---|---|
Transform name | Name of this transform as it appears in the pipeline workspace. |
OData Service Root URL | The base URL of the OData service (e.g., |
Authentication Type | The authentication type to use: * |
Username (Basic Auth) | The username for Basic authentication. |
Password (Basic Auth) | The password for Basic authentication. |
Token (Bearer / OAuth2) | The bearer token value. |
OData Entity Set | The OData entity set to query (e.g., |
Get Entity Sets | Retrieves and displays a drop-down list of available entity sets from the service endpoint. |
Query Options
The OData Query tab allows you to configure filtering, ordering, and field selection properties.
| Option | Description |
|---|---|
$select | A comma-separated list of properties to select (e.g., |
$filter | An OData expression to filter matching entities (e.g., |
$orderby | Specifies the sorting order of the results (e.g., |
$top | Limits the number of entities returned on each page request (e.g., |
$skip | Specifies the number of entities to skip from the beginning of the list. |
Fields Mapping
The Fields tab defines how properties in the returned OData JSON response map to Apache Hop row fields.
| Option | Description |
|---|---|
Name in Hop | The name of the field as it will be produced in the Apache Hop pipeline. |
OData Path | The JSON property path of the field within the entity JSON object (e.g., |
Type | The Hop data type (String, Integer, Number, Date, Boolean, BigNumber). |
Format | Optional parsing format for date or numeric fields. |
Get Fields | Connects to the |
Example
To query a public OData service: 1. Set the Service Root URL to https://services.odata.org/V4/TripPinServiceRW/. 2. Set the Entity Set to People. 3. Go to the Fields tab and click Get Fields to pull all metadata fields (UserName, FirstName, LastName, etc.). 4. (Optional) In the OData Query tab, add a $filter such as FirstName eq 'John' or a $select of UserName,Emails. 5. Run the pipeline to stream entities into downstream transforms.