Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [item-web-api]

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

Filter by
Sorted by
Tagged with
1 vote
1 answer
213 views

How to get all the fields & their values in Json

I'm trying to get all the custom field names & their values, in a JSON string. When I tried to serialize the item, it threw a StackOverflow exception: JsonConvert.Serialize(item) Then, I tried ...
sukesh's user avatar
  • 3,162
1 vote
2 answers
619 views

Sitecore api- create item with multilist and Media item

I am using sitecore rest api, I am able to create item, also populate Content item values (for Field type Single-line) with PoSt method. Content field values are being in passed in body of rest client ...
Akshay D's user avatar
2 votes
1 answer
124 views

Create item with branch as template using ItemService API

Good afternoon, I'm trying to create Item using REST API and branch ID as the Template ID the service returns a 400 "Template is invalid" error. Does anyone know if there is a way to create ...
Luiz's user avatar
  • 21
0 votes
0 answers
28 views

Sitecore 10 item api returns https only error when authorizing [duplicate]

We have a sitecore instance running on K8's, the traffic between our ingress controller and CM is http - and we're getting an https only error in both Sitecore Rocks and the sitecore item api. My ...
Sean T's user avatar
  • 252
0 votes
0 answers
66 views

How do we create a media item through the web API?

I am trying to use the create call but not sure how to send the media payload to it. Tried base64 to the "Media" field and that did not work.
Vinu Krishnaswamy's user avatar
5 votes
1 answer
204 views

Is Sitecore Item Web API v1.2 still available in Sitecore 9?

Have a 3rd party connector trying to use the Web API 1.2 to insert media items in to Sitecore. We are on Sitecore 9 and all the URLs are throwing a 404. The URLs start with "/-/item/v1/". It ...
Vinu Krishnaswamy's user avatar
3 votes
1 answer
190 views

Sitecore Item Web API returning "Https is required"

Have tried a bunch of things, including this: ItemWebService not working Have also tried these settings as well: <setting name="Sitecore.Services.SecurityPolicy" set:value="Sitecore....
Vinu Krishnaswamy's user avatar
0 votes
0 answers
327 views

Sitecore API - Get item by display name

we are using sitecore as backend headless api (Not JSS). What i want to do is get the item by path - but the path will be display name. i saw the question here to get item by display name - but that ...
Night Monger's user avatar
2 votes
0 answers
38 views

Create/Update Fields via ItemWebApi

I are working on a media sync application that moves media from an external system into a client's Sitecore instance using the ItemWebAPI. Creating a media item in a specified folder is no problem, ...
abowden1's user avatar
1 vote
0 answers
199 views

Upload Media Item to Media Library Folder Through HTTP Request via ItemWebAPI

I am using the ItemWebAPI and attempting to create a media item in a subfolder of my Media Library. The documentation I am referencing for this is here: https://doc.sitecore.com/SdnArchive/upload/sdn5/...
abowden1's user avatar
1 vote
1 answer
84 views

.Net SDK Wrapper for Sitecore SSC REST API Item Service

As we know, Sitecore provides the ItemService [link] for developers to have a REST API interface for interacting with Sitecore items. What I am trying to achieve is to consume this REST Api from the ...
Andrey Bobrov's user avatar
0 votes
2 answers
220 views

How to get workflow details from Item using Item Web API service

How Can I get workflow and workflow history for current Item using Sitecore API Item Service? Get item details using below query Query to get Item /item/{id}/database&language&version&...
Rameshkumar's user avatar
0 votes
1 answer
678 views

How can i get children Item from Item using Sitecore ItemService?

How can I get Children item using the Item service API? I retrieved parent item and fields using Item service API I got the result like below Json { "ItemID": "25a40733-babf-4f16-a025-...
Rameshkumar's user avatar
1 vote
1 answer
451 views

Use Sitecore service Client Get Item or Item Id based on the Search term using fields

Is there any way to get Item or Item id using Sitecore Service client based on the fields in the master database. Search term: http://{host}/sitecore/api/ssc/item/search?term=12345&...
Rameshkumar's user avatar
1 vote
1 answer
344 views

Sitecore item API for shell site not returning the content

When I click on the "insert link" of the general link field, then the complete tree is not opened (as shown in the screenshot below), due to which I am not able to select the item. When I checked the ...
Jumping Rabbit's user avatar
0 votes
2 answers
740 views

Is it possible to get page content dynamically (Not HTML but field values which are displayed on the page)?

Is it possible to get the few renderings' (present on the page) contents dynamically, but the catch is like I don't want HTML instead I want the field values which are used to be displayed on the page....
Jumping Rabbit's user avatar
-1 votes
1 answer
193 views

How to give few rendering's data in custom API response

Hi please see the picture below, so that I can tell you the requirement. Now, I have a requirement as, if I see page-1 there is content on this page which is coming from following renderings: Header, ...
Jumping Rabbit's user avatar
0 votes
0 answers
412 views

Is it possible to trigger publishing from Sitecore Item WebAPI

Is it somehow possible to trigger publishing of the item via Sitecore item web api? I found how to get items and similar things, but can't find the way to publish it. For instance, to get an item I ...
and85's user avatar
  • 211
2 votes
1 answer
358 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-...
Diego Gutierrez's user avatar
2 votes
1 answer
597 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.
Diego Gutierrez's user avatar
2 votes
2 answers
2k 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 ...
Amit Kumar's user avatar
3 votes
2 answers
3k 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 : ...
Adam Seabridge's user avatar
5 votes
1 answer
2k 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 ...
Adam Seabridge's user avatar
2 votes
2 answers
3k 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 ...
teebszet's user avatar
  • 141
4 votes
0 answers
526 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. ...
bushland25's user avatar
0 votes
1 answer
195 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 ...
Joel Alvarez Myrrie's user avatar
1 vote
1 answer
102 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). ...
Joel Alvarez Myrrie's user avatar