GET SimilarProduct/GetSimilarProduct?LikeProduct={LikeProduct}&NotLikeProduct={NotLikeProduct}

Returns a list of products based upon a LIKE and NOT LIKE criteria.

Request Information

URI Parameters

NameDescriptionTypeAdditional Information
LikeProduct

Product name to include in the search using a LIKE match.

string

Required

NotLikeProduct

Product name to exclude from the search using a LIKE match.

string

Required

Body Parameters

Response Information

Resource Description

Returns a list of products based upon a LIKE and NOT LIKE criteria.

AgvSimilarProduct
NameDescriptionTypeAdditional Information
Status

Status of the API call.

string
Message

Message of the API call.

string
Count

Count of how many Seed Product JSON dictionaries.

string
SeedProducts

JSON dictionary of Seed Product.

Collection of SimilarProduct

Response Formats

application/json, text/json

Sample:
{
  "Status": "sample string 1",
  "Message": "sample string 2",
  "Count": "sample string 3",
  "SeedProducts": [
    {
      "ProdID": "sample string 1",
      "ProductName": "sample string 2"
    },
    {
      "ProdID": "sample string 1",
      "ProductName": "sample string 2"
    }
  ]
}

application/xml, text/xml

Sample:
<AgvSimilarProduct xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AgvWebAPICSharp.Models.Product">
  <Count>sample string 3</Count>
  <Message>sample string 2</Message>
  <SeedProducts>
    <SimilarProduct>
      <ProdID>sample string 1</ProdID>
      <ProductName>sample string 2</ProductName>
    </SimilarProduct>
    <SimilarProduct>
      <ProdID>sample string 1</ProdID>
      <ProductName>sample string 2</ProductName>
    </SimilarProduct>
  </SeedProducts>
  <Status>sample string 1</Status>
</AgvSimilarProduct>