Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [item-web-api]

All the questions related to Item Web APIs directly or indirectly related to Sitecore.

2
votes
1answer
39 views

Receive display names when retrieving Sitecore Items using the REST API

Using the REST API for ItemService to retrieve Sitecore Items with Multilist fields. curl --cookie ".ASPXAUTH=abcd" -X GET "https://localhost/sitecore/api/ssc/item/7ff9d310-abcd-abcd-abcd-...
2
votes
1answer
43 views

ItemService REST API - retrieve children of an item in batches

I'm wondering if there is a way to retrieve the item children in batches, I saw this ability other REST APIs where we can set pagination parameters like startIndex and itemPerPage.
1
vote
1answer
109 views

Share Sitecore content to Native Mobile Apps (IOS swift and Android java)

If we wanted to provide data (get/set operations on content tree, analytics, personalization, tracking data) from Sitecore 9 to native mobile apps (not based on Sitecore Mobile SDK and Xamarin but ...
0
votes
0answers
47 views

Create item through ItemService REST API fails with InternalServerError (500)

I'm trying to create an item through the ItemService RESTful API, but when I call this I get an InternalServerError (500), and in the log file there's this error: ERROR [Sitecore Services]: System....
1
vote
2answers
290 views

Authentication / Login for Custom ServicesApiController

I've created a custom API Controller that inherits from ServicesApiController. I've created also custom route and it all works fine. Something like the following: public class ExampleController : ...
2
votes
1answer
482 views

Getting a list of items from the ItemService API matching a specific field value

I'm trying to get a list of items from Sitecore that match a custom tag field. This is from an external application so I need to use one of the APIs to do this. I've tried using the Sitecore ...
2
votes
2answers
232 views

How to correctly login as Virtual User to use the Sitecore Content Editor? (Avoid Media Library Search redirects)

I have a situation where I need to use VirtualLogin to enable a user to access the sitecore shell and use the Content Editor / Media Library editor. This is the code for the Virtual Login (from many ...
0
votes
2answers
202 views

How to copy item A to item B without loosing the ID of B?

I want to make the item B (destination) identical to item A (source), without changing the ID of B. I tried with the following: var sourceXmlString = source.GetOuterXml(false); var sourceXml = ...
0
votes
0answers
243 views

How to get Sitecore.Data.Items.Item datatype programmatically from WEB API Request?

By passing the following URL, we will get output in JSON format. http://<host_name>/-/item/v1/?sc_itemid={M60ACD61-A6JB-4182-8329-C957982CEC74} 1) How can I programmatically trigger the same ...
5
votes
0answers
186 views

How do you update an attachment in the Media Library using Sitecore's Web API?

I am currently using Sitecore's RESTful ItemService API and CURL to create assets in the Media Library and have that working just fine. However, in some cases, I need to update the attachment (i.e. ...
0
votes
1answer
97 views

Item Web API returning field with empty string

In Sitecore 7.2, I am using the Item Web API to retrieve an item. The thing is, I get some fields as empty, and when I look in the content tree they are not empty, specifically an image type. Any ...
1
vote
1answer
59 views

WebApi queries on nonexistent resource returns 200

I am using the Sitecore 7.2 Item Web API to retrieve some items. Using fast queries I am not able get a "404" in case an item doesn't exist (even if i don't use fast queries, i still don't get 404). ...