โ˜๏ธ
Flow IFS Cloud Development Guidelines
  • Flow IFS Cloud Development Guidelines
  • ๐Ÿ‘ถGetting started
    • OData Basics
    • IFS Cloud
    • Terminology
    • Useful Applications
    • IFS documentation
      • IFS API Explorer
      • Entity details
    • Setting up the OData connector
      • Configure connection between Flow Server and IFS Cloud
      • Selecting which configurations are visible in Flow Server
  • ๐Ÿ‘ฉโ€๐Ÿ’ปFlow Development with OData
    • Architecture
    • Flow development and distribution strategy
    • Implementation
      • Operations in OData machine steps
      • Missing operations
      • Translations
      • Iteration
      • Join data sets
      • Misc Tips and trix
      • Document / Media Library Management
      • Response status handling
        • Errors from IFS
      • Operation specific notes
        • Set input parameters using flow script
        • Update
        • ๐Ÿ› ๏ธWIP - Create
        • Read
    • Configuration
      • Authentication models
        • Setup Client credential flow
        • ๐Ÿ› ๏ธSetup Password credentials flow
        • ๐Ÿ› ๏ธSetup Authorization code flow
        • ๐Ÿ› ๏ธSetup OpenID flow
        • Obtaining Authentication related URLs from IFS Cloud
      • Projection administration
        • Administrating new projections
        • Administrating updated projections
      • Configuring projections in IFS
        • Custom Entities
        • Custom Projections
        • ๐Ÿ› ๏ธWIP - Query Designer
        • Quick Reports
    • Trigger Flows from IFS Cloud
      • Trigger User Flows via External Navigation Links
      • Trigger Machine Flows via BPA using commands
      • ๐Ÿ› ๏ธTrigger Flow via Event Action
    • Debugging and Testing
      • Aurena debugging
        • Inspect in web browser
        • IFS debug console
      • OData Connector Log
  • ๐Ÿช„Advanced
    • Custom Request
    • C# usage in the OData connector
      • Different methods
      • Building request
      • ๐Ÿ› ๏ธWIP - Code examples
Powered by GitBook
On this page
  • What is OData?
  • OData examples
  • OData tutorials

Was this helpful?

  1. Getting started

OData Basics

This page gives an brief introduction to OData

PreviousFlow IFS Cloud Development GuidelinesNextIFS Cloud

Last updated 2 years ago

Was this helpful?

What is OData?

"An open protocol to allow the creation and consumption of queryable and interoperable RESTful APIs in a simple and standard way" - odata.org

OData is short for Open Data Protocol. It's an standardized protocol which allows the creation and consumption of RESTful APIs. RESTful services is a well know and established interface concept throughout the modern internet. The most common protocol used for REST services is HTTP and the URI in a RESTful services should refer to a resource combined with a HTTP method, GET, POST, PATCH etc. Request and payloads is most commonly formatted as JSON but XML and other formats is also possible.

OData extends on the RESTful concepts with standards like: request and payload headers ,URL conventions, payload formats, query keywords etc.

OData examples

The below examples is from the tutorial you will find in the next section.

GET request examples

By clicking the URLs below your browser will perform a HTTP GET requests. The response will be a JSON.

  • GET the resource People the URL would look like:

  • GET and individual resource of the entity People the URL would look like:

  • Query for People with certain conditions and $top,$select and $filter parameters:

POST example

POST https://services.odata.org/v4/(S(34wtn2c0hkuk5ekg0pjr513b))/TripPinServiceRW/People HTTP/1.1
OData-Version: 4.0
OData-MaxVersion: 4.0
Content-Length: 428
Content-Type: application/json
{
    'UserName':'lewisblack',
    'FirstName':'Lewis',
    'LastName':'Black',
    'Emails':[
        'lewisblack@example.com'
    ],
    'AddressInfo':[
        {
            Address: '187 Suffolk Ln.',
            City: {
CountryRegion: 'United States',
Name: 'Boise',
Region: 'ID'
            }
        }
    ],
    'Gender': 'Male',
    'Concurrency':635519729375200400
}

OData tutorials

A good and comprehensive way to quickly learn basics of OData is to go through the tutorials provided by odata.org. You should go through the "For absolute beginners" and "Basic tutorial".

When using the Novacura OData Connector you will interact with the OData services in a "No code"-manner by abstracting away the complexity of OData. But having OData knowledge will ease IFS debugging and overall understanding; ultimately making you a better developer. Follow the link below.

๐Ÿ‘ถ
https://services.odata.org/v4/TripPinServiceRW/People
https://services.odata.org/v4/TripPinServiceRW/People('russellwhyte')
https://services.odata.org/v4/(S(i1jaylafcdysy0xtxlukhcqw))/TripPinServiceRW/People?$top=2%20&%20$select=FirstName,%20LastName%20&%20$filter=Trips/any(d:d/Budget%20gt%203000)
Getting Started ยท OData - the Best Way to REST
Click the link to go to tutorials
Logo
Tutorials at odata.org