Category: Item

Доступы к OTAPI:

IMAGES IMAGES Method BatchSearchItemsFrame

Global search of the goods, simultaneously with additional blocks

Test request

Argument Type Value
instanceKey String
Key for working with OTAPI
language String
language for requested data
signature String
Signature to identify the request. Used only if the key has a secret. See details in Signing OT API requests.
timestamp String
Timestamp for signature. Used only if the key has a secret. See details in Signing OT API requests.
sessionId String
Buyer session identifier. See details in Sessions in OT API.
xmlParameters String (xml)
Search parameters:
framePosition Int32
Position of first requested element from the entire list. Numbering starts from 0, not 1. It isn't page number. If you want to get this value from page number, you need to multiply it by page size (frameSize parameter).
frameSize Int32
Number of requested elements from the entire list. Minimum value is 1, maximum value depends on context. This term is equivalent to page size.
blockList String
List of additional blocks. Valid blocks: SubCategories, SearchProperties, RootPath, Vendor, Brand, Category, HintCategories, AvailableSearchMethods. More details in documentation

Response

Argument Type Value
instanceKey String f867ebf2-219f-471a-81b8-078b434a1a78
language String en
sessionId String godMode
framePosition Int32 0
frameSize Int32 2
blockList String[] AvailableSearchMethods
xmlParameters String (xml)

Type
Request
curl -X GET "http://otapi.net/service/BatchSearchItemsFrame?instanceKey=f867ebf2-219f-471a-81b8-078b434a1a78&language=en&sessionId=godMode&framePosition=0&frameSize=2&blockList=AvailableSearchMethods&xmlParameters=%3CSearchItemsParameters%3E%3CItemTitle%3ECats%3C%2FItemTitle%3E%3C%2FSearchItemsParameters%3E"
curl -X POST "http://otapi.net/service/BatchSearchItemsFrame" -H "Content-Type: application/x-www-form-urlencoded" -d "instanceKey=f867ebf2-219f-471a-81b8-078b434a1a78&language=en&sessionId=godMode&framePosition=0&frameSize=2&blockList=AvailableSearchMethods&xmlParameters=%3CSearchItemsParameters%3E%3CItemTitle%3ECats%3C%2FItemTitle%3E%3C%2FSearchItemsParameters%3E"

Response

Argument Type Value
instanceKey String f867ebf2-219f-471a-81b8-078b434a1a78
language String en
sessionId String godMode
framePosition Int32 0
frameSize Int32 2
blockList String[] RootPath
xmlParameters String (xml)

Type
Request
curl -X GET "http://otapi.net/service/BatchSearchItemsFrame?instanceKey=f867ebf2-219f-471a-81b8-078b434a1a78&language=en&sessionId=godMode&framePosition=0&frameSize=2&blockList=RootPath&xmlParameters=%3CSearchItemsParameters%3E%3CImageUrl%3Ehttps%3A%2F%2Fcdn.pixabay.com%2Fphoto%2F2017%2F10%2F22%2F15%2F56%2Fpumpkins-2878159_960_720.jpg%3C%2FImageUrl%3E%3C%2FSearchItemsParameters%3E"
curl -X POST "http://otapi.net/service/BatchSearchItemsFrame" -H "Content-Type: application/x-www-form-urlencoded" -d "instanceKey=f867ebf2-219f-471a-81b8-078b434a1a78&language=en&sessionId=godMode&framePosition=0&frameSize=2&blockList=RootPath&xmlParameters=%3CSearchItemsParameters%3E%3CImageUrl%3Ehttps%3A%2F%2Fcdn.pixabay.com%2Fphoto%2F2017%2F10%2F22%2F15%2F56%2Fpumpkins-2878159_960_720.jpg%3C%2FImageUrl%3E%3C%2FSearchItemsParameters%3E"
Argument Type Value
instanceKey String f867ebf2-219f-471a-81b8-078b434a1a78
language String en
sessionId String godMode
framePosition Int32 0
frameSize Int32 2
blockList String[]
xmlParameters String (xml)

Type
Request
curl -X GET "http://otapi.net/service/BatchSearchItemsFrame?instanceKey=f867ebf2-219f-471a-81b8-078b434a1a78&language=en&sessionId=godMode&framePosition=0&frameSize=2&blockList=&xmlParameters=%3CSearchItemsParameters%3E%3CItemTitle%3ECats%3C%2FItemTitle%3E%3CFeatures%3E%3CFeature+Name%3D%22Discount%22%3Etrue%3C%2FFeature%3E%3C%2FFeatures%3E%3C%2FSearchItemsParameters%3E"
curl -X POST "http://otapi.net/service/BatchSearchItemsFrame" -H "Content-Type: application/x-www-form-urlencoded" -d "instanceKey=f867ebf2-219f-471a-81b8-078b434a1a78&language=en&sessionId=godMode&framePosition=0&frameSize=2&blockList=&xmlParameters=%3CSearchItemsParameters%3E%3CItemTitle%3ECats%3C%2FItemTitle%3E%3CFeatures%3E%3CFeature+Name%3D%22Discount%22%3Etrue%3C%2FFeature%3E%3C%2FFeatures%3E%3C%2FSearchItemsParameters%3E"
Argument Type Value
instanceKey String f867ebf2-219f-471a-81b8-078b434a1a78
language String en
sessionId String godMode
framePosition Int32 0
frameSize Int32 2
blockList String[]
xmlParameters String (xml)

Type
Request
curl -X GET "http://otapi.net/service/BatchSearchItemsFrame?instanceKey=f867ebf2-219f-471a-81b8-078b434a1a78&language=en&sessionId=godMode&framePosition=0&frameSize=2&blockList=&xmlParameters=%3CSearchItemsParameters%3E%3CCategoryId%3Eotc-110%3C%2FCategoryId%3E%3C%2FSearchItemsParameters%3E"
curl -X POST "http://otapi.net/service/BatchSearchItemsFrame" -H "Content-Type: application/x-www-form-urlencoded" -d "instanceKey=f867ebf2-219f-471a-81b8-078b434a1a78&language=en&sessionId=godMode&framePosition=0&frameSize=2&blockList=&xmlParameters=%3CSearchItemsParameters%3E%3CCategoryId%3Eotc-110%3C%2FCategoryId%3E%3C%2FSearchItemsParameters%3E"
Argument Type Value
instanceKey String f867ebf2-219f-471a-81b8-078b434a1a78
language String en
sessionId String godMode
framePosition Int32 0
frameSize Int32 2
blockList String[]
xmlParameters String (xml)

Type
Request
curl -X GET "http://otapi.net/service/BatchSearchItemsFrame?instanceKey=f867ebf2-219f-471a-81b8-078b434a1a78&language=en&sessionId=godMode&framePosition=0&frameSize=2&blockList=&xmlParameters=%3CSearchItemsParameters%3E%3CVendorId%3E%E4%BC%98%E8%A1%A3%E5%BA%93%E5%AE%98%E6%96%B9%E6%97%97%E8%88%B0%E5%BA%97%3C%2FVendorId%3E%3COrderBy%3EPrice%3AAsc%3C%2FOrderBy%3E%3C%2FSearchItemsParameters%3E"
curl -X POST "http://otapi.net/service/BatchSearchItemsFrame" -H "Content-Type: application/x-www-form-urlencoded" -d "instanceKey=f867ebf2-219f-471a-81b8-078b434a1a78&language=en&sessionId=godMode&framePosition=0&frameSize=2&blockList=&xmlParameters=%3CSearchItemsParameters%3E%3CVendorId%3E%E4%BC%98%E8%A1%A3%E5%BA%93%E5%AE%98%E6%96%B9%E6%97%97%E8%88%B0%E5%BA%97%3C%2FVendorId%3E%3COrderBy%3EPrice%3AAsc%3C%2FOrderBy%3E%3C%2FSearchItemsParameters%3E"
Argument Type Value
instanceKey String f867ebf2-219f-471a-81b8-078b434a1a78
language String en
sessionId String godMode
framePosition Int32 0
frameSize Int32 2
blockList String[]
xmlParameters String (xml)

Type
Request
curl -X GET "http://otapi.net/service/BatchSearchItemsFrame?instanceKey=f867ebf2-219f-471a-81b8-078b434a1a78&language=en&sessionId=godMode&framePosition=0&frameSize=2&blockList=&xmlParameters=%3CSearchItemsParameters%3E%3CProvider%3ETaobao%3C%2FProvider%3E%3CSearchMethod%3EDefault%3C%2FSearchMethod%3E%3CItemTitle%3EDogs%3C%2FItemTitle%3E%3CMinPrice%3E200%3C%2FMinPrice%3E%3C%2FSearchItemsParameters%3E"
curl -X POST "http://otapi.net/service/BatchSearchItemsFrame" -H "Content-Type: application/x-www-form-urlencoded" -d "instanceKey=f867ebf2-219f-471a-81b8-078b434a1a78&language=en&sessionId=godMode&framePosition=0&frameSize=2&blockList=&xmlParameters=%3CSearchItemsParameters%3E%3CProvider%3ETaobao%3C%2FProvider%3E%3CSearchMethod%3EDefault%3C%2FSearchMethod%3E%3CItemTitle%3EDogs%3C%2FItemTitle%3E%3CMinPrice%3E200%3C%2FMinPrice%3E%3C%2FSearchItemsParameters%3E"