Questions tagged [odata]

The Open Data Protocol (OData) is a standardized protocol for building REST APIs. OData specifies many best practices for REST APIs, including a terse, hypermedia-oriented JSON format. Use this tag for all specification versions (v2, v3, v4.x).

Filter by
Sorted by
Tagged with
0 votes
0 answers
17 views

How to handle IndirectLookUp datatype in Odata Service Metadata(odata.raml) for Mule 4

In Salesforce External Datasource we are trying to Consuming Mule Application via Odata. As part of this, client requirement is for one of the field datatype is IndirectLookup which links to ...
saieem ali's user avatar
-1 votes
0 answers
17 views

SAP ODATA update entities from JSON [closed]

I am facing with some issues implementing an update method which is updates multiple entities according to a JSON object which contains the primary keys and the updatable contet eg.: a username. I ...
komlo's user avatar
  • 1
0 votes
0 answers
9 views

Why am I getting an OData BadRequest_MethodNotImplemented error with business central using a complex expression as a filter?

Using OData with Business Central (22.2) I'm trying to get a result using the following filter: &$filter=description+eq+%27%40*ca+cu*%27+or+(description+eq+%27%40*ca*%27)+and+(description+eq+%27%...
Wiemar's user avatar
  • 11
0 votes
0 answers
40 views

IEEE754Compatible=true doesn't return int64s in string format in ASP.NET Core OData 8

According to the spec, OData v4 services should return int64 and decimal types in string format when IEEE754Compatible=true is included in the Content-Type request header. Here are the relevant ...
Kyohei Kaneko's user avatar
0 votes
0 answers
22 views

How to query Microsoft Defender for Cloud Alerts for last 1 hour using OData filter

I am trying to query High severity Microsoft Defender for Cloud Alerts for last 1 hour using OData filter. I have tried to consult many articles but none of them is working. Is anyone aware of the fix?...
Tanmoy Dey's user avatar
0 votes
0 answers
16 views

OData8 Swagger Request too long (ASP.NET Web API)

So I have setup OData in my Web API and it is working fine in postman as in making requests etc. However, in swagger it shows a crazy amount of options and those are being applied to my request URI. ...
Waz's user avatar
  • 5
0 votes
0 answers
20 views

How to retrieve position history in SAP SuccessFactors API via OData

I'm extracting data from SAP SuccessFactors via OData API. And I need the status history of a Position entity, i.e. how and when the position's status had been changed. Unfortunately I can not find ...
Jair Olivares's user avatar
0 votes
1 answer
29 views

ASP.NET Core OData response json serialization nullvalue handling

Consider two endpoints exposing data as OData. The first in an ODataController: private static readonly string[] Summaries = new[] { "Freezing", "Bracing", "Chilly", &...
Jimmy Hannon's user avatar
0 votes
1 answer
19 views

Should SSIS OData source have an XML config file?

I am getting a Root Element Is Missing error when I test all my OData connections to Sharepoint. Root element is missing. (Microsoft.SqlServer.IntegrationServices.ODataConnectionManager) I can only ...
JahmezQuestions's user avatar
-1 votes
0 answers
15 views

Filter rows that are n days before today in Odata V4

I'm trying to filter rows where certified_date_time >= today - 2 from this data set. The OData V4 endpoint is https://opendata.usac.org/api/odata/v4/jt8s-3q52. I don't want to hard code the date ...
Dagi's user avatar
  • 1
0 votes
0 answers
8 views

OData expanded not nullable property filtered out by the DB throws "The property '{0}[Nullable=False]' of type '{1}' has a null value..."

I have an OData WebApi application that uses EF6 DB first. RLS has been introduced to the database on some tables and data can be filtered out. When expanding on such an entity, if the data is ...
kiesoo's user avatar
  • 101
0 votes
1 answer
28 views

Extracting XSD from an API

I have the URL and credentials to call an Odata API which has as an operation a POST request to create an entity, however is it possible by having only this information somehow to retrieve the XSD for ...
Joel's user avatar
  • 7
0 votes
1 answer
27 views

Table 'Filter' sending 2 oData requests, with 2 different paging queries

I have a simple sap.m.Table, which is bound to an entityset. There is a searchfield which when used will do a simple filter on the binding and return the results. It all works fine but for some ...
Fishrage_'s user avatar
0 votes
0 answers
80 views

SSIS OData source to Sharepoint stopped working

We have a number of SSIS packages which extract data from Sharepoint lists to a SQL database using a service account. This stopped working suddenly with the errors "Data Flow Task:Error: OData ...
JahmezQuestions's user avatar
1 vote
1 answer
73 views

Python Filtering OData Entity by Parent - Requests Library

I have an OData API I'm trying to query using the Python Requests library. I'm trying to filter a table based on the parent table for an incremental data pull. The children tables don't use a ...
krewsayder's user avatar
0 votes
0 answers
23 views

List all ODATA.NEXTLINK without getting values

Anybody have an idea how in powershell we could list all @ODATA.NEXTLINK without crawling the values. We have 130k users and using the paging of invoke-restmethod on https://graph.microsoft.com/v1.0/...
Olivier Ernest's user avatar
1 vote
0 answers
32 views

How to use UI5 to $expand (oData) in detail page?

How can i use $expand in detail page, on master detail template in ui5 url (oData): /Orders?$expand=Products List.xml (master) <List id="orders" items=&...
Eli's user avatar
  • 606
0 votes
0 answers
45 views

Odata $count and Search by Entity Id Not Working in Dot Net 6

Odata Count is not supporting, not sure what is missing. https://localhost:7080/odata/Person?$count Microsoft.OData.ODataException: The value for OData query '$count' cannot be empty. at Microsoft....
Dave's user avatar
  • 3
0 votes
0 answers
31 views

How to load binary properties with Microsoft.OData.Client?

I am using Microsoft.OData.Client (7.18.0) and have the following code in a Blazor component that is pulling data from an OData WebAPI: var reportData = await Odata.ReportData.ByKey(ReportData.Id)....
MaxWolodin's user avatar
0 votes
0 answers
48 views

OData Query parameters are not working in 8.2.3

We have migrated our API from 2.2 to 6.0 and we are upgraded OData also to 8.2.3. Before update custom methods with query parameters are working well but after update no luck. Basic OData methods and ...
Gopi's user avatar
  • 92
1 vote
1 answer
62 views

OData - GET_STREAM Method to download an attachment file didn't triggered from SAPUI5 Controller

Background I'm working with UploadSet component to upload, display and download attachment from GOS; to get it there I'm following this tutorial by ABAP Police although there's a little bit adjustment ...
wildGhifari's user avatar
0 votes
1 answer
39 views

Take Page Size Value from Config file in EnableQuery Attribute

I want to fetch page size value from the app settings file and use it on the controller attribute [EnableQuery(PageSize = 5)] instead of hardcoding. public class PersonController : ODataController { ...
Dave's user avatar
  • 3
0 votes
0 answers
39 views

OData error response in .NET Core is not supported

I need to send a response in case if error which is mentioned below: Example "error": { "code": "501", "message": "Unsupported functionality", ...
Dave's user avatar
  • 3
0 votes
1 answer
27 views

How can I parse Annotations with Olingo?

My Java application uses SAP's repackaged Olingo library for v2 OData services, https://mvnrepository.com/artifact/com.sap.cds.repackaged/odata-v2-lib, to parse the metadata.xml document of an OData ...
Florian's user avatar
  • 4,881
0 votes
1 answer
29 views

How can one perform the equivalent Microsoft Graph Query using the SDK in C#?

Given a group ID, I wish to retrieve the DisplayName (only) for the group. Using the online Microsoft Graph Explorer, I can do this. I want to do it from an application in C#. The problem is that ...
Shripathi Kamath's user avatar
0 votes
0 answers
31 views

Using SQL_VARIANT in OData query ($select, $orderby)

Is there any way to use a SQL_VARIANT column in OData queries? we are talking about $select, $orderby, $filter etc. I'm trying to create a table on the web side that will display data from several ...
blane's user avatar
  • 179
0 votes
2 answers
54 views

Invalid context URL when pulling Business Central data using Azure Data Factory

I have set up a linked service in Azure Data Factory using a service principle. The connection is all good, but the problem arises when trying to get data from any entity in Business Central. I get ...
Motan127 s's user avatar
0 votes
1 answer
32 views

Any Microsoft Dataverse database backend for Django?

I'd like to write a frontend for my Microsoft Dataverse database backend so as to manage Dataverse data easily. Django comes with an easy-to-configure admin which suits my needs fine. I would like to ...
Baytars's user avatar
  • 113
0 votes
0 answers
19 views

.NET Core OData: override the entity set routing convention for navigation key

In non-Core project with Microsoft.AspNet.OData package, it was possible to override SelectAction(ODataPath odataPath, HttpControllerContext context, ILookup<string, HttpActionDescriptor> ...
Oleg Shirokikh's user avatar
0 votes
0 answers
76 views

How can I find the ODATA Service URL associated with my Fiori app?

I have a series of Fiori apps I want to programatically extract the data from using the pyodata rest api. In order to do this, I need a endpoint URL which is available somewhere in SAP. My understand ...
Sam Richardson's user avatar
0 votes
1 answer
70 views

How to query result count with SAP Cloud SDK java in a batch

I am using the OData v2 Type-safe Client API to get a list of entities with a filter. The filter list and the entity count is quite long, so I need to use a batch request and paging. If I do not use ...
Gergely Gerlics's user avatar
0 votes
0 answers
85 views

OData how to filter child collection and return only items with condition

I have been struggling with returning items from a collection that have a certain condition. With the any call I receive 3/3 items in the collection while 1/3 has met the condition. With the all call ...
Takkie253's user avatar
  • 166
0 votes
1 answer
34 views

How to configure AWS Glue to access SAP data via pyodata API and an established VPC?

I'm trying to use the pyodata API to fetch data from SAP services, which I then want to process with AWS Glue. The SAP system is on a private network but connected to my AWS through a VPC and TGW. I ...
Sam Richardson's user avatar
0 votes
1 answer
33 views

Get data from Odata service Business Central

I want to consume Business Central Odata service from ASP.NET project. This is Odata URI: http://windowsbc:7048/BC230/ODataV4/Company('Copia%20Cronus')/Power_BI_Vendor_List This is result in Postman: &...
user2231301's user avatar
0 votes
0 answers
19 views

ASP.NET Core OData 8.x How to implement /me alias for /users/<my_user_id>/

Hello trying to implement an OData alias like /me/calendarGroups which would return the same, assuming my id=1, as /users/1/calendarGroups. What I have thus far is a singleton MeController with for ...
Aktaeon's user avatar
  • 189
0 votes
1 answer
41 views

API implemented using ODataController does not return the complete object in output

I have implemented an API using the ODataController When I hit the API at https://localhost:4046/v1/Search, I am only able to get the backupId and count in the GranularSeachResult object. The ...
Riya's user avatar
  • 23
0 votes
0 answers
50 views

Get error when using $filter and $expand in postman

I am having two entitities in SAP BYD : Account * Account_id Value Company Company * Company_id Date Account has a 1:n association to Company this is a example url i used: /sap/opu/odata/sap/...
dat_aventra's user avatar
0 votes
0 answers
44 views

Implementation of an OData v4 Endpoint for Large File Transfer in ASP.NET Core 6 Web API

I am a novice in developing REST APIs in OData and am working on a project that requires the creation of an OData v4 endpoint in ASP.NET Core 6 Web API, using the Microsoft.AspNetCore.OData (v8.2.3) ...
Khan75's user avatar
  • 1
0 votes
0 answers
22 views

How to handle a String multi-selection with dynamic approvers in Power Automate Flow?

My MS Form includes a multi-selection question: "Interests". The responses for "Interests" could be 1~15. "Interests" list includes: Appliance, Auto Products, Beverage, ...
MMM KKK's user avatar
  • 11
0 votes
0 answers
38 views

OData with Multiple tables joins in ASP.NET Core Web API

I have worked with OData before from individual tables. Example: public class Person { [Key] public String ID { get; set; } [Required] public String Name { get; set; } public ...
Dave's user avatar
  • 3
0 votes
1 answer
76 views

odata API $count deserializing issue in azure synapse copy activity

I am trying to get count from API call where I used /$count keyword. I want to capture this count for further validation and using copy activity. But unfortunately I am getting the following issue. ...
Anoop M's user avatar
  • 23
0 votes
1 answer
63 views

Change the behavior of a filter on a standard unmanaged query

I have added a field to the Supplier List Fiori app by extending the underlying CDS views C_SupplierList and C_Supplier. This new field holds a concatenation of the Supplier's Industry sectors in a ...
Cutter's user avatar
  • 1,697
0 votes
0 answers
13 views

SAP CDS Endpoint Erroring Out When Receiving An OData Create (PUT) Request

When I post to my sap cds OData endpoint, I get an error (see below). The actual http return is a 'Connection Refused', status code 0. The indication of the error is an emission to stdout where cds ...
Slade Stewart's user avatar
0 votes
0 answers
13 views

SSIS OData Connection Manager Not Hooking Up With SharePoint

I'm being forced to move away from a fileshare that was working perfectly to SharePoint. I've spent the past hour trying to create the needed connection string between SSIS and SharePoint but am ...
Jimmy Genslinger's user avatar
0 votes
1 answer
29 views

How to replace a service provider configured in odata AddRouteComponents in integration test?

I've already known how to replace a service in asp.net core in integration test as per: replace-service-with-mocked-using-webapplicationfactory But the added services when AddRouteComponents() seem to ...
kaulctin's user avatar
0 votes
1 answer
16 views

oData expand - expanding null object showing all null properties

We have an oData rest api for querying data. ( written in c# ) This is a question about how $expand works when you are expanding a null reference. I'm not sure what the expected behavior should be. If ...
Derek's user avatar
  • 7,785
0 votes
0 answers
15 views

OData JSON Batching returning 200 ok with empty response (ODATA D365 BATCH PATCH CALL)

I am trying to update a d365 environment using batch patch calls and I am getting a 200 ok response but no updates are happening within d365. I am using postman to test this out. Here is the sample ...
ZambianPrince's user avatar
0 votes
1 answer
72 views

Azure cognitive search escape special characters

I am trying to query a azure search index which has special chars. I am not getting the intended results with the following query, { "search": "*", "filter": "...
Joshua's user avatar
  • 79
0 votes
0 answers
72 views

OData V2 query to get null date records in filter

I am writing OData V2 query to get records from SAP SuccessFactors using SAP CPI. One of the filter criteria for me is to get the employees records with no "Actual Return Date". That field ...
Pradeep Bondla's user avatar
0 votes
1 answer
28 views

Power BI Rest API OData Package

I am trying to create an application using Power BI Rest API. The data returned from Power BI is in the form of OData structure. Just wonder where I can download the data structure classes in C#?
JamesW's user avatar
  • 61

1
2 3 4 5
152