POST api/v1/products/searchproducts

Request Information

URI Parameters

None.

Body Parameters

ProductSearch
NameDescriptionTypeAdditional information
Id

integer

None.

BranchId

integer

None.

CompanyId

integer

None.

Status

Collection of string

None.

Categories

Collection of integer

None.

Suppliers

Collection of integer

None.

DynamicConcepts

Collection of integer

None.

CustomerId

integer

None.

BranchIdNotExists

integer

None.

ShowMobile

boolean

None.

ShowRecommendation

boolean

None.

RecommendationCustomerId

integer

None.

ExcludeRecipeProductId

integer

None.

Search

string

None.

Skip

integer

None.

Take

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "BranchId": 2,
  "CompanyId": 3,
  "Status": [
    "sample string 1",
    "sample string 2"
  ],
  "Categories": [
    1,
    2
  ],
  "Suppliers": [
    1,
    2
  ],
  "DynamicConcepts": [
    1,
    2
  ],
  "CustomerId": 4,
  "BranchIdNotExists": 5,
  "ShowMobile": true,
  "ShowRecommendation": true,
  "RecommendationCustomerId": 8,
  "ExcludeRecipeProductId": 9,
  "Search": "sample string 10",
  "Skip": 11,
  "Take": 12
}

application/xml, text/xml

Sample:
<ProductSearch xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MWS.Core.Models.Products">
  <BranchId>2</BranchId>
  <BranchIdNotExists>5</BranchIdNotExists>
  <Categories xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </Categories>
  <CompanyId>3</CompanyId>
  <CustomerId>4</CustomerId>
  <DynamicConcepts xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:long>1</d2p1:long>
    <d2p1:long>2</d2p1:long>
  </DynamicConcepts>
  <ExcludeRecipeProductId>9</ExcludeRecipeProductId>
  <Id>1</Id>
  <RecommendationCustomerId>8</RecommendationCustomerId>
  <Search>sample string 10</Search>
  <ShowMobile>true</ShowMobile>
  <ShowRecommendation>true</ShowRecommendation>
  <Skip>11</Skip>
  <Status xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </Status>
  <Suppliers xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </Suppliers>
  <Take>12</Take>
</ProductSearch>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResponseModelOfListOfProduct
NameDescriptionTypeAdditional information
Success

boolean

None.

Message

string

None.

Data

Collection of Product

None.

Pagination

Pagination

None.

Response Formats

application/json, text/json

Sample:

Sample not available.