{"id":72747,"date":"2026-10-21T20:23:40","date_gmt":"2026-10-21T12:23:40","guid":{"rendered":"https:\/\/oihelp.corporate.ifs.com\/help\/?page_id=72747"},"modified":"2026-10-22T20:48:45","modified_gmt":"2026-10-22T12:48:45","slug":"oi-odata-primer","status":"publish","type":"page","link":"https:\/\/oihelp.corporate.ifs.com\/help\/oi-odata\/oi-odata-primer\/","title":{"rendered":"OI OData Primer"},"content":{"rendered":"<p class=\"intro-text\">This primer explains what OData is, how the OI OData Adaptor turns an OData query into a dataset, and how Explorer's objects map to the equipment and records in your operation.<\/p>\n<div id=\"toc_container\" class=\"toc_white no_bullets toc_title_center\" role=\"navigation\" aria-label=\"Table of Contents\">\n\n<\/div>\n<p class=\"left-bar\">This article applies to version 26R2 and later of IFS OI Explorer.<\/p>\n<h2 id=\"what-is-odata\" class=\"page-subheading\">What is OData?<\/h2>\n<p class=\"intro-text\">OData (Open Data Protocol) is an industry-standard way to query data by writing options into a URL. Instead of writing SQL against a database, you name an object and add options that start with $:<\/p>\n<p class=\"intro-text\"><span style=\"font-family: Monaco, Consolas, 'Andale Mono', 'DejaVu Sans Mono', monospace; font-size: 13px; background-color: #eeeeee; padding: 2px 5px; white-space: nowrap;\">Tags?$filter=startswith(Name,'A12_')&amp;$select=Name,Description&amp;$orderby=Name<\/span><\/p>\n<p class=\"intro-text\">This reads: <em>from Tags, keep the rows whose Name starts with A12_, return only Name and Description, and sort by Name.<\/em><\/p>\n<p class=\"intro-text\">The same query language works in Explorer datasets, Excel, Power BI, Python and any other tool that can call a URL. Explorer uses OData version 4.<\/p>\n<table style=\"width: 100%; border-collapse: collapse; border: 1px solid #cccccc;\">\n<thead>\n<tr>\n<th style=\"border: 1px solid #cccccc; padding: 6px 8px; text-align: left;\">Part<\/th>\n<th style=\"border: 1px solid #cccccc; padding: 6px 8px; text-align: left;\">Example<\/th>\n<th style=\"border: 1px solid #cccccc; padding: 6px 8px; text-align: left;\">Meaning<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"border: 1px solid #cccccc; padding: 6px 8px;\">Object (entity set)<\/td>\n<td style=\"border: 1px solid #cccccc; padding: 6px 8px;\"><span style=\"font-family: Monaco, Consolas, 'Andale Mono', 'DejaVu Sans Mono', monospace; font-size: 13px;\">Tags<\/span><\/td>\n<td style=\"border: 1px solid #cccccc; padding: 6px 8px;\">What to query<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #cccccc; padding: 6px 8px;\"><span style=\"font-family: Monaco, Consolas, 'Andale Mono', 'DejaVu Sans Mono', monospace; font-size: 13px;\">?<\/span><\/td>\n<td style=\"border: 1px solid #cccccc; padding: 6px 8px;\">\u00a0<\/td>\n<td style=\"border: 1px solid #cccccc; padding: 6px 8px;\">Starts the query options<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #cccccc; padding: 6px 8px;\">Query option<\/td>\n<td style=\"border: 1px solid #cccccc; padding: 6px 8px;\"><span style=\"font-family: Monaco, Consolas, 'Andale Mono', 'DejaVu Sans Mono', monospace; font-size: 13px;\">$filter=...<\/span><\/td>\n<td style=\"border: 1px solid #cccccc; padding: 6px 8px;\">One instruction, such as filter, select or sort<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #cccccc; padding: 6px 8px;\"><span style=\"font-family: Monaco, Consolas, 'Andale Mono', 'DejaVu Sans Mono', monospace; font-size: 13px;\">&amp;<\/span><\/td>\n<td style=\"border: 1px solid #cccccc; padding: 6px 8px;\">\u00a0<\/td>\n<td style=\"border: 1px solid #cccccc; padding: 6px 8px;\">Separates query options<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<hr \/>\n<h2 id=\"how-the-oi-odata-adaptor-works\" class=\"page-subheading\">How the OI OData Adaptor works<\/h2>\n<p class=\"intro-text\">The OI OData Adaptor is a dataset adaptor, like the SQL Server or Oracle adaptors. The difference is where it gets its data: instead of connecting to an external database, it queries this Explorer server's own OData service.<\/p>\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2026\/10\/Designer-8.png\" rel=\"lightbox-0\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-72764\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2026\/10\/Designer-8-1080x360.png\" alt=\"\" width=\"671\" height=\"224\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2026\/10\/Designer-8-1080x360.png 1080w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2026\/10\/Designer-8-600x200.png 600w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2026\/10\/Designer-8-150x50.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2026\/10\/Designer-8-768x256.png 768w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2026\/10\/Designer-8-1536x512.png 1536w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2026\/10\/Designer-8-2048x682.png 2048w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2026\/10\/Designer-8-1210x403.png 1210w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2026\/10\/Designer-8-48x16.png 48w\" sizes=\"auto, (max-width: 671px) 100vw, 671px\" \/><\/a><\/p>\n<ol class=\"intro-text\">\n<li>A page asks for a dataset, passing any parameter values the user picked.<\/li>\n<li>The Data Broker replaces any <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/oi-odata\/parameters\/\">parameter keywords<\/a> in the dataset's query text.<\/li>\n<li>The adaptor adds the server's OData address to the front of the query text and sends the request, signed in as the user who is viewing the page.<\/li>\n<li>The OData service runs the query, applying that user's security, and returns the rows.<\/li>\n<li>The adaptor turns the rows into a dataset table: one column per property, with matching data types. See <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/oi-odata\/writing-queries\/#how-results-become-columns\">How results become columns<\/a>.<\/li>\n<\/ol>\n<p class=\"intro-text\">Because the adaptor always talks to its own server, it needs no connection details. You choose the adaptor, save the datasource, and start writing queries.<\/p>\n<hr \/>\n<h2 id=\"security\" class=\"page-subheading\">Security<\/h2>\n<p class=\"intro-text\">Every OI OData query runs as a real Explorer user. Results are filtered by that user's Explorer privileges:<\/p>\n<ul class=\"intro-text\">\n<li>Assets, hierarchies, templates, tags, datasets and datasources follow their access control lists.<\/li>\n<li>Private workspaces, and the workbooks and pages in them, are only visible to their owner.<\/li>\n<li>Draft and Pending entries are only visible to their author, unless the user has Admin rights on the Entries module.<\/li>\n<li>An entry's fields are limited to the fields on its forms the user has access to, plus its built-in fields, unless the user is an entries admin.<\/li>\n<li>Attachments are only visible on entries the user can see.<\/li>\n<li>Sentinel events, usage analytics, security memberships (<span style=\"font-family: Monaco, Consolas, 'Andale Mono', 'DejaVu Sans Mono', monospace; font-size: 13px;\">UserRoles<\/span>, <span style=\"font-family: Monaco, Consolas, 'Andale Mono', 'DejaVu Sans Mono', monospace; font-size: 13px;\">UserGroupUsers<\/span>, <span style=\"font-family: Monaco, Consolas, 'Andale Mono', 'DejaVu Sans Mono', monospace; font-size: 13px;\">UserGroupRoles<\/span>) and log sheets aren't filtered. Every signed-in user sees all of them.<\/li>\n<\/ul>\n<p class=\"intro-text\"><strong>On a page, the dataset runs as the person viewing the page.<\/strong> Two users can open the same page and see different rows. This is deliberate: a dataset never shows a user data they couldn't see elsewhere in Explorer.<\/p>\n<p class=\"intro-text\">The adaptor never falls back to a system account. If a dataset is requested without a signed-in user, the request fails.<\/p>\n<hr \/>\n<h2 id=\"how-explorers-objects-map-to-your-operation\" class=\"page-subheading\">How Explorer's objects map to your operation<\/h2>\n<p class=\"intro-text\">Explorer uses general-purpose names for its objects. This table maps them to everyday oil and gas concepts.<\/p>\n<table style=\"width: 100%; border-collapse: collapse; border: 1px solid #cccccc;\">\n<thead>\n<tr>\n<th style=\"border: 1px solid #cccccc; padding: 6px 8px; text-align: left;\">Explorer object<\/th>\n<th style=\"border: 1px solid #cccccc; padding: 6px 8px; text-align: left;\">What it is<\/th>\n<th style=\"border: 1px solid #cccccc; padding: 6px 8px; text-align: left;\">Example<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"border: 1px solid #cccccc; padding: 6px 8px;\"><strong>Entity<\/strong><\/td>\n<td style=\"border: 1px solid #cccccc; padding: 6px 8px;\">A physical or logical asset<\/td>\n<td style=\"border: 1px solid #cccccc; padding: 6px 8px;\">Well <span style=\"font-family: Monaco, Consolas, 'Andale Mono', 'DejaVu Sans Mono', monospace; font-size: 13px;\">WELL-A12<\/span>, separator <span style=\"font-family: Monaco, Consolas, 'Andale Mono', 'DejaVu Sans Mono', monospace; font-size: 13px;\">SEP-01<\/span>, compressor <span style=\"font-family: Monaco, Consolas, 'Andale Mono', 'DejaVu Sans Mono', monospace; font-size: 13px;\">K-201<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #cccccc; padding: 6px 8px;\"><strong>Hierarchy<\/strong><\/td>\n<td style=\"border: 1px solid #cccccc; padding: 6px 8px;\">A named asset tree<\/td>\n<td style=\"border: 1px solid #cccccc; padding: 6px 8px;\">\"Production Hierarchy\": Field \u25b8 Platform \u25b8 Manifold \u25b8 Well<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #cccccc; padding: 6px 8px;\"><strong>Entity relationship<\/strong><\/td>\n<td style=\"border: 1px solid #cccccc; padding: 6px 8px;\">One parent-to-child link in a hierarchy<\/td>\n<td style=\"border: 1px solid #cccccc; padding: 6px 8px;\">Platform <span style=\"font-family: Monaco, Consolas, 'Andale Mono', 'DejaVu Sans Mono', monospace; font-size: 13px;\">ALPHA<\/span> \u25b8 Well <span style=\"font-family: Monaco, Consolas, 'Andale Mono', 'DejaVu Sans Mono', monospace; font-size: 13px;\">WELL-A12<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #cccccc; padding: 6px 8px;\"><strong>Template<\/strong><\/td>\n<td style=\"border: 1px solid #cccccc; padding: 6px 8px;\">An asset class: the standard measurements for a type of equipment<\/td>\n<td style=\"border: 1px solid #cccccc; padding: 6px 8px;\">\"Gas Lift Well\", \"ESP Well\", \"3-Phase Separator\"<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #cccccc; padding: 6px 8px;\"><strong>Attribute<\/strong><\/td>\n<td style=\"border: 1px solid #cccccc; padding: 6px 8px;\">A measurement or property defined on a template<\/td>\n<td style=\"border: 1px solid #cccccc; padding: 6px 8px;\">\"Tubing Head Pressure\", \"Water Cut\"<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #cccccc; padding: 6px 8px;\"><strong>Attribute value<\/strong><\/td>\n<td style=\"border: 1px solid #cccccc; padding: 6px 8px;\">A variant of an attribute, bound to a tag or calculation<\/td>\n<td style=\"border: 1px solid #cccccc; padding: 6px 8px;\">\"Actual\", \"Target\", \"Alarm High\"<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #cccccc; padding: 6px 8px;\"><strong>Template instance<\/strong><\/td>\n<td style=\"border: 1px solid #cccccc; padding: 6px 8px;\">The link that says \"this asset uses this template\"<\/td>\n<td style=\"border: 1px solid #cccccc; padding: 6px 8px;\"><span style=\"font-family: Monaco, Consolas, 'Andale Mono', 'DejaVu Sans Mono', monospace; font-size: 13px;\">WELL-A12<\/span> is a \"Gas Lift Well\"<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #cccccc; padding: 6px 8px;\"><strong>Attribute value instance<\/strong><\/td>\n<td style=\"border: 1px solid #cccccc; padding: 6px 8px;\">The resolved value or tag for one asset<\/td>\n<td style=\"border: 1px solid #cccccc; padding: 6px 8px;\"><span style=\"font-family: Monaco, Consolas, 'Andale Mono', 'DejaVu Sans Mono', monospace; font-size: 13px;\">WELL-A12<\/span> Tubing Head Pressure (Actual) \u2192 PI tag <span style=\"font-family: Monaco, Consolas, 'Andale Mono', 'DejaVu Sans Mono', monospace; font-size: 13px;\">A12_THP.PV<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #cccccc; padding: 6px 8px;\"><strong>Tag<\/strong><\/td>\n<td style=\"border: 1px solid #cccccc; padding: 6px 8px;\">A time-series point in a historian or SCADA system<\/td>\n<td style=\"border: 1px solid #cccccc; padding: 6px 8px;\">PI tag <span style=\"font-family: Monaco, Consolas, 'Andale Mono', 'DejaVu Sans Mono', monospace; font-size: 13px;\">A12_THP.PV<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #cccccc; padding: 6px 8px;\"><strong>Calculation \/ Dataset<\/strong><\/td>\n<td style=\"border: 1px solid #cccccc; padding: 6px 8px;\">A query or calculation against a datasource<\/td>\n<td style=\"border: 1px solid #cccccc; padding: 6px 8px;\">\"Daily Allocated Oil by Well\"<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #cccccc; padding: 6px 8px;\"><strong>Datasource<\/strong><\/td>\n<td style=\"border: 1px solid #cccccc; padding: 6px 8px;\">A connected source system<\/td>\n<td style=\"border: 1px solid #cccccc; padding: 6px 8px;\">OSIsoft PI, AspenTech IP.21, SQL Server, Snowflake<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #cccccc; padding: 6px 8px;\"><strong>Case \/ Issue \/ Summary \/ Time window<\/strong><\/td>\n<td style=\"border: 1px solid #cccccc; padding: 6px 8px;\">Entries with configurable fields<\/td>\n<td style=\"border: 1px solid #cccccc; padding: 6px 8px;\">Deferment events, equipment issues, shift handovers, downtime windows<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #cccccc; padding: 6px 8px;\"><strong>Form \/ Form schema<\/strong><\/td>\n<td style=\"border: 1px solid #cccccc; padding: 6px 8px;\">A form definition, and the fields behind it<\/td>\n<td style=\"border: 1px solid #cccccc; padding: 6px 8px;\">\"Well Downtime\" form<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #cccccc; padding: 6px 8px;\"><strong>Named list<\/strong><\/td>\n<td style=\"border: 1px solid #cccccc; padding: 6px 8px;\">A drop-down picklist used by forms<\/td>\n<td style=\"border: 1px solid #cccccc; padding: 6px 8px;\">Deferment reason codes<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #cccccc; padding: 6px 8px;\"><strong>Log sheet<\/strong><\/td>\n<td style=\"border: 1px solid #cccccc; padding: 6px 8px;\">A grid of readings entered by time<\/td>\n<td style=\"border: 1px solid #cccccc; padding: 6px 8px;\">Hourly flow and pressure on a shift log<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #cccccc; padding: 6px 8px;\"><strong>Sentinel event<\/strong><\/td>\n<td style=\"border: 1px solid #cccccc; padding: 6px 8px;\">An event raised by a Sentinel monitor<\/td>\n<td style=\"border: 1px solid #cccccc; padding: 6px 8px;\">\"THP below minimum on WELL-A12\"<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #cccccc; padding: 6px 8px;\"><strong>Workspace \/ Workbook \/ Page<\/strong><\/td>\n<td style=\"border: 1px solid #cccccc; padding: 6px 8px;\">Explorer content<\/td>\n<td style=\"border: 1px solid #cccccc; padding: 6px 8px;\">The \"Production Ops\" workspace, its shift-log workbook and its trends<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #cccccc; padding: 6px 8px;\"><strong>Analytics event<\/strong><\/td>\n<td style=\"border: 1px solid #cccccc; padding: 6px 8px;\">One recorded action in Explorer<\/td>\n<td style=\"border: 1px solid #cccccc; padding: 6px 8px;\">A user opening a page or a trend<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p class=\"intro-text\">How the asset model fits together:<br \/>\n<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2026\/10\/Designer-7-1.png\" rel=\"lightbox-1\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-72761\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2026\/10\/Designer-7-1-1080x360.png\" alt=\"\" width=\"665\" height=\"222\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2026\/10\/Designer-7-1-1080x360.png 1080w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2026\/10\/Designer-7-1-600x200.png 600w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2026\/10\/Designer-7-1-150x50.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2026\/10\/Designer-7-1-768x256.png 768w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2026\/10\/Designer-7-1-1536x512.png 1536w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2026\/10\/Designer-7-1-2048x683.png 2048w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2026\/10\/Designer-7-1-1210x403.png 1210w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2026\/10\/Designer-7-1-48x16.png 48w\" sizes=\"auto, (max-width: 665px) 100vw, 665px\" \/><\/a><\/p>\n<hr \/>\n<h2 id=\"two-kinds-of-object-live-and-database-backed\" class=\"page-subheading\">Two kinds of object: live and database-backed<\/h2>\n<p class=\"intro-text\">Several objects come in two versions:<\/p>\n<table style=\"width: 100%; border-collapse: collapse; border: 1px solid #cccccc;\">\n<thead>\n<tr>\n<th style=\"border: 1px solid #cccccc; padding: 6px 8px; text-align: left;\">Live object<\/th>\n<th style=\"border: 1px solid #cccccc; padding: 6px 8px; text-align: left;\">Database-backed equivalent<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"border: 1px solid #cccccc; padding: 6px 8px;\"><span style=\"font-family: Monaco, Consolas, 'Andale Mono', 'DejaVu Sans Mono', monospace; font-size: 13px;\">Templates<\/span><\/td>\n<td style=\"border: 1px solid #cccccc; padding: 6px 8px;\"><span style=\"font-family: Monaco, Consolas, 'Andale Mono', 'DejaVu Sans Mono', monospace; font-size: 13px;\">TemplateDefinitions<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #cccccc; padding: 6px 8px;\"><span style=\"font-family: Monaco, Consolas, 'Andale Mono', 'DejaVu Sans Mono', monospace; font-size: 13px;\">Tags<\/span><\/td>\n<td style=\"border: 1px solid #cccccc; padding: 6px 8px;\"><span style=\"font-family: Monaco, Consolas, 'Andale Mono', 'DejaVu Sans Mono', monospace; font-size: 13px;\">TagDefinitions<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #cccccc; padding: 6px 8px;\"><span style=\"font-family: Monaco, Consolas, 'Andale Mono', 'DejaVu Sans Mono', monospace; font-size: 13px;\">Calculations<\/span><\/td>\n<td style=\"border: 1px solid #cccccc; padding: 6px 8px;\"><span style=\"font-family: Monaco, Consolas, 'Andale Mono', 'DejaVu Sans Mono', monospace; font-size: 13px;\">Datasets<\/span><\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1px solid #cccccc; padding: 6px 8px;\"><span style=\"font-family: Monaco, Consolas, 'Andale Mono', 'DejaVu Sans Mono', monospace; font-size: 13px;\">SapiCases<\/span>,<br \/>\n<span style=\"font-family: Monaco, Consolas, 'Andale Mono', 'DejaVu Sans Mono', monospace; font-size: 13px;\">SapiIssues<\/span>,<br \/>\n<span style=\"font-family: Monaco, Consolas, 'Andale Mono', 'DejaVu Sans Mono', monospace; font-size: 13px;\">SapiSummaries<\/span>,<br \/>\n<span style=\"font-family: Monaco, Consolas, 'Andale Mono', 'DejaVu Sans Mono', monospace; font-size: 13px;\">SapiTimeWindows<\/span><\/td>\n<td style=\"border: 1px solid #cccccc; padding: 6px 8px;\"><span style=\"font-family: Monaco, Consolas, 'Andale Mono', 'DejaVu Sans Mono', monospace; font-size: 13px;\">EntryRecords<\/span>,<br \/>\n<span style=\"font-family: Monaco, Consolas, 'Andale Mono', 'DejaVu Sans Mono', monospace; font-size: 13px;\">EntryForms<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<ul class=\"intro-text\">\n<li><strong>Sapi objects<\/strong> (<span style=\"font-family: Monaco, Consolas, 'Andale Mono', 'DejaVu Sans Mono', monospace; font-size: 13px;\">SapiCases<\/span>, <span style=\"font-family: Monaco, Consolas, 'Andale Mono', 'DejaVu Sans Mono', monospace; font-size: 13px;\">SapiIssues<\/span>, <span style=\"font-family: Monaco, Consolas, 'Andale Mono', 'DejaVu Sans Mono', monospace; font-size: 13px;\">SapiSummaries<\/span>, <span style=\"font-family: Monaco, Consolas, 'Andale Mono', 'DejaVu Sans Mono', monospace; font-size: 13px;\">SapiTimeWindows<\/span> and <span style=\"font-family: Monaco, Consolas, 'Andale Mono', 'DejaVu Sans Mono', monospace; font-size: 13px;\">SapiComments<\/span>) are read through SAPI, Explorer's own server API, which is what the <span style=\"font-family: Monaco, Consolas, 'Andale Mono', 'DejaVu Sans Mono', monospace; font-size: 13px;\">Sapi<\/span> prefix tells you. They return what Explorer itself shows, including live values for data-entry fields. <span style=\"font-family: Monaco, Consolas, 'Andale Mono', 'DejaVu Sans Mono', monospace; font-size: 13px;\">SapiComments<\/span> has no database-backed equivalent.<\/li>\n<li><strong>Live objects<\/strong> are read through Explorer's server services, the same way Explorer itself reads them. They are convenient, use friendly names as keys, and include extras such as live values for data-entry fields. Filtering, sorting and grouping are evaluated over at most 5,000 source rows.<\/li>\n<li><strong>Database-backed objects<\/strong> are read directly from the database. Filtering, sorting and grouping run in SQL with no 5,000-row cap. They also support the <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/oi-odata\/oi-query-functions\/\">OI query functions<\/a>, <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/oi-odata\/combining-data\/\">Union and $crossjoin<\/a>.<\/li>\n<\/ul>\n<p class=\"note\"><strong>Rule of thumb:<\/strong> use the live object to look things up, and the database-backed object to count, group or search large volumes. See <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/oi-odata\/limits-and-performance\/\">Limits and Performance<\/a>.<\/p>\n<hr \/>\n<h2 id=\"when-to-use-oi-odata\" class=\"page-subheading\">When to use OI OData<\/h2>\n<p class=\"intro-text\">OI OData is a good fit when you want to:<\/p>\n<ul class=\"intro-text\">\n<li><strong>Report on Explorer itself<\/strong>: page usage, active users, workbook activity, publishing history, configuration changes.<\/li>\n<li><strong>Report on operational records<\/strong>: deferment cases, issues, shift summaries, log sheet readings, Sentinel events.<\/li>\n<li><strong>Audit the asset model<\/strong>: which assets use which template, which tag sits behind each measurement, which pages show a tag.<\/li>\n<li><strong>Avoid direct database access.<\/strong> OI OData applies security, is read-only, and keeps working when the database schema changes between releases.<\/li>\n<\/ul>\n<p class=\"intro-text\">OI OData is <strong>not<\/strong> a historian. To trend tag values over time, use Explorer's tag datasources as usual. OI OData returns tag <em>configuration<\/em> (names, descriptions, datasources), not time-series values.<\/p>\n<hr \/>\n<p class=\"left-bar\"><strong>Next:<\/strong> <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/oi-odata\/getting-started\/\">Getting Started<\/a><\/p>\n<p class=\"left-bar\"><strong>Related:<\/strong> <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-explorer\/explorer-primers\/\">Explorer<\/a> \u00b7 <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/security\/\">Server Security<\/a><\/p>\n<div style=\"clear: both;\">\u00a0<\/div>\n","protected":false},"excerpt":{"rendered":"<p>This primer explains what OData is, how the OI OData Adaptor turns an OData query into a dataset, and how Explorer's objects map to the equipment and records in your operation. This article applies to version 26R2 and later of IFS OI Explorer. What is OData? OData (Open Data Protocol)\u2026<\/p>\n<p class=\"continue-reading-button\"> <a class=\"continue-reading-link\" href=\"https:\/\/oihelp.corporate.ifs.com\/help\/oi-odata\/oi-odata-primer\/\">Read more<i class=\"crycon-right-dir\"><\/i><\/a><\/p>\n","protected":false},"author":38,"featured_media":0,"parent":72744,"menu_order":1,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-72747","page","type-page","status-publish","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/pages\/72747","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/users\/38"}],"replies":[{"embeddable":true,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/comments?post=72747"}],"version-history":[{"count":19,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/pages\/72747\/revisions"}],"predecessor-version":[{"id":72901,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/pages\/72747\/revisions\/72901"}],"up":[{"embeddable":true,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/pages\/72744"}],"wp:attachment":[{"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/media?parent=72747"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/categories?post=72747"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/tags?post=72747"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}