POST api/v1/products/search
Request Information
URI Parameters
None.
Body Parameters
ProductsSearchRequestName | Description | Type | Additional information |
---|---|---|---|
SearchText | string |
Required |
|
Skip | integer |
None. |
|
Top | integer |
None. |
|
ApiKey | globally unique identifier |
Required |
|
ApplicationVersion | integer |
Required |
|
Udid | string |
Required |
|
UserID | globally unique identifier |
Required |
|
ZoneID | integer |
Required |
Request Formats
application/json, text/json
Sample:
{ "SearchText": "sample string 1", "Skip": 1, "Top": 1, "ApiKey": "68234e1f-5080-43ef-9920-b832ebbb1240", "ApplicationVersion": 3, "Udid": "sample string 4", "UserID": "f14b9eb6-b843-474b-891f-a76d10158986", "ZoneID": 6 }
application/xml, text/xml
Sample:
<ProductsSearchRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/agilys.myshopi.mvc.leaflets.services.Models.Products.Requests.v1"> <ApiKey xmlns="http://schemas.datacontract.org/2004/07/agilys.myshopi.mvc.leaflets.services.Models">68234e1f-5080-43ef-9920-b832ebbb1240</ApiKey> <ApplicationVersion xmlns="http://schemas.datacontract.org/2004/07/agilys.myshopi.mvc.leaflets.services.Models">3</ApplicationVersion> <Udid xmlns="http://schemas.datacontract.org/2004/07/agilys.myshopi.mvc.leaflets.services.Models">sample string 4</Udid> <UserID xmlns="http://schemas.datacontract.org/2004/07/agilys.myshopi.mvc.leaflets.services.Models">f14b9eb6-b843-474b-891f-a76d10158986</UserID> <ZoneID xmlns="http://schemas.datacontract.org/2004/07/agilys.myshopi.mvc.leaflets.services.Models">6</ZoneID> <SearchText>sample string 1</SearchText> <Skip>1</Skip> <Top>1</Top> </ProductsSearchRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ProductsSearchResultName | Description | Type | Additional information |
---|---|---|---|
Products | Collection of ProductDto |
None. |
Response Formats
application/json, text/json
Sample:
{ "Products": [ { "ProductType": 1, "Title": "sample string 1", "Description": "sample string 2", "ImageUrl": "sample string 3", "Price": 1.1, "DiscountedPrice": 1.1, "WebshopUrl": "sample string 4", "RetailerID": "070364b0-4fa7-484b-a3aa-a36bd044b31d", "RetailerImageUrl": "sample string 6", "RetailerName": "sample string 7" }, { "ProductType": 1, "Title": "sample string 1", "Description": "sample string 2", "ImageUrl": "sample string 3", "Price": 1.1, "DiscountedPrice": 1.1, "WebshopUrl": "sample string 4", "RetailerID": "070364b0-4fa7-484b-a3aa-a36bd044b31d", "RetailerImageUrl": "sample string 6", "RetailerName": "sample string 7" } ] }
application/xml, text/xml
Sample:
<ProductsSearchResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/agilys.myshopi.mvc.leaflets.services.Models.Products.Responses.v1" />