Questions tagged [odata]

Open Data Protocol, is an open protocol to allow the creation and consumption of queryable and interoperable RESTful APIs in a simple and standard way. All question related to OData in reference with Sitecore should use this tag.

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

Generate downloadable link in Odata item service

I want add some media and files in sitecore and expose it through Odata Item Service to so that an external system can download the file from sitecore. But when we request any item over Odata, getting ...
0
votes
0answers
21 views

OData Item Service Return Template Section

Is there a way out of the box to return a template section using OData Item Service? This is for version 9.1. Otherwise I believe the only way is to create a custom entity and return that instead.
0
votes
0answers
40 views

Fetch related items with Sitecore odata API result

I have a field in an item, which is data sourced as a multi list. When I try to access my item fields using OData Service, I am getting the multi-list field values as selected Item Ids. Is there any ...
2
votes
1answer
114 views

How to make Connect call to Commerce Engine

I am in the middle of writing a plugin to get product recommendations from a particular user to display on the XP Storefront side. I wrote my plugin to return a RecommendationList (which inherits from ...
4
votes
1answer
211 views

Component is an OData Entity and thus a NavigationProperty

I am using Sitecore Commerce Experience 9 update-2, and want to add a custom child component to an entity. The Sitecore.Commerce.Core.Component has a Key annotation (of type System.ComponentModel....
0
votes
1answer
114 views

Sitecore Commerce 8.2.1 Get all carts of a given user

I need to give the customers the possibility to have more than one cart, and I am not able to find a way to retrieve all the carts related to a given customer. I'm creating carts with this name ...
5
votes
1answer
865 views

How to expand children ( multi level ) with FieldValues with OData

Trying to $expand multiple levels of an item's children. I have tried queries with //* at the end, but that didn't work, for example: /sitecore/api/ssc/aggregate/content/Items('/sitecore/content/Site/...
9
votes
2answers
2k views

Can I call the oData service directly in xConnect?

I've been playing round with Sitecore 9 recently and the xConnect api and had a question around oData. Underneath the api layer there is an oData service that can be reached via: https://...
1
vote
1answer
3k views

ODATA search against a string collection field, searching for one or more values

I've this document called entities. I would like to execute this query that contains "IN" to allow me to select a document based on whether one or more values are contained in a string list field: ...