quick background, got a standalone app (.exe) which imports "products" into a Sitecore site and basically i need to do a content search for a field on the external product e.g. productId
(saved on the sitecore item equavalent of that products, so i can work out if that product exists or i need to create a new one.
So far, the best way i have is to get the children from sitecore products parent and loop through them to check using e.g. http://{host}/sitecore/api/ssc/item/{guid}/children?database=master
but as you can image with a lot of products this is going to take ages.
Ideally i want to do something like http://{host}/sitecore/api/ssc/item/?searchterm=productId&database=master
, so that i can pass the term to search , in this case the productid
, and get either 1 item back or null.
I have seen a few examples using the old web API with something like query:fast wonder if there is something similar in the new API.
Please can you provide some examples to try, keep in mind am still new to sitecore as well so treat me like i dont know anything at all :).