Difference between revisions of "OData Feed URLs"
Line 2: | Line 2: | ||
OdataLink will expose your [[Data Files|data files]] data using [[OData]] compliant URLs. | OdataLink will expose your [[Data Files|data files]] data using [[OData]] compliant URLs. | ||
There are | There are three types of URLs: | ||
* Service URL | * Service URL | ||
* Meta Data Url | |||
* Data URL | * Data URL | ||
Line 20: | Line 21: | ||
'''Example''' <br /> | '''Example''' <br /> | ||
''<nowiki>https://nodata.odatalink.com/test-account/test-model/test-data-file/</nowiki>'' | ''<nowiki>https://nodata.odatalink.com/test-account/test-model/test-data-file/</nowiki>'' | ||
= Meta Data URLs = | |||
The meta data URLs are not used directly but exist to specify the meta data for the data urls. It catalogues all the objects and fields. | |||
The syntax is as follows: <br /> | |||
''<nowiki>https::// servername / account code / model code / data file code / $metadata</nowiki>'' | |||
'''Example''' <br /> | |||
''<nowiki>https://nodata.odatalink.com/test-account/test-model/test-data-file/$metadata</nowiki>'' | |||
Latest revision as of 19:44, 3 February 2021
OdataLink will expose your data files data using OData compliant URLs.
There are three types of URLs:
- Service URL
- Meta Data Url
- Data URL
OdataLink's URLs ensures that each account will have different URLs so as to protect your organisation's data.
It also ensures that each model will have different URLs so as to control how they can be used.
Service URLs
The service URLs are the main will you will use directly and exposes all endpoints for a given model and data file.
The syntax is as follows:
https::// servername / account code / model code / data file code
Example
https://nodata.odatalink.com/test-account/test-model/test-data-file/
Meta Data URLs
The meta data URLs are not used directly but exist to specify the meta data for the data urls. It catalogues all the objects and fields.
The syntax is as follows:
https::// servername / account code / model code / data file code / $metadata
Example
https://nodata.odatalink.com/test-account/test-model/test-data-file/$metadata
Data URLs
The data URLs exposes a single endpoints for a given model and data file.
The syntax is as follows:
https::// servername / account code / model code / data file code / endpoint
Example
https://nodata.odatalink.com/test-account/test-model/test-data-file/accounts
URL parts
- Account Code
- This is the code generated for your account.
- Model Code
- These are the codes generated for your models.
- Data File Code
- These are the codes generated for your data files.
- Endpoint
- These are the endpoints you chose to include for your models.
Related Topics
Managing my account
Configuring models
Configuring data files
Integrating with OdataLink
Account
Models
Data Files
Endpoints