GET AllProductList/ProductListGetProduct?ProductLocation={ProductLocation}&CropOnly={CropOnly}&DeptID={DeptID}&lastModifiedOnOrAfterUtc={lastModifiedOnOrAfterUtc}&lastModifiedOnOrBeforeUtc={lastModifiedOnOrBeforeUtc}

Returns a list of available products.

Request Information

URI Parameters

NameDescriptionTypeAdditional Information
ProductLocation

Product location of the product to search for. (optional)

string

Default value is string.Empty

CropOnly

CropOnly to return only seed products. (optional)

boolean

Default value is False

DeptID

Department ID of the product to search for. (optional)

string

Default value is string.Empty

lastModifiedOnOrAfterUtc

Filter the list of products to those changed on or after the supplied UTC date and time (optional) - format = yyyy-MM-ddTHH:mm:ss

string

Default value is string.Empty

lastModifiedOnOrBeforeUtc

Filter the list of products to those changed on or before the supplied UTC date and time (optional) - format = yyyy-MM-ddTHH:mm:ss

string

Default value is string.Empty

Body Parameters

Response Information

Resource Description

Returns a list of available products.

AgvAllProductList
NameDescriptionTypeAdditional Information
Status

Status of the API call.

string
Message

Message of the API call.

string
Count

Count of how many Product JSON dictionaries.

string
Products

JSON dictionary of Product.

Collection of ProductListItem

Response Formats

application/json, text/json

Sample:
{
  "Status": "sample string 1",
  "Message": "sample string 2",
  "Count": "sample string 3",
  "Products": [
    {
      "ProdId": "sample string 1",
      "ProductName": "sample string 2",
      "Trait": "sample string 3",
      "Variety": "sample string 4",
      "SuggestedRetailPrice": "sample string 5",
      "CropId": "sample string 6",
      "DeptId": "sample string 7"
    },
    {
      "ProdId": "sample string 1",
      "ProductName": "sample string 2",
      "Trait": "sample string 3",
      "Variety": "sample string 4",
      "SuggestedRetailPrice": "sample string 5",
      "CropId": "sample string 6",
      "DeptId": "sample string 7"
    }
  ]
}

application/xml, text/xml

Sample:
<AgvAllProductList 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>
  <Products>
    <ProductListItem>
      <CropId>sample string 6</CropId>
      <DeptId>sample string 7</DeptId>
      <ProdId>sample string 1</ProdId>
      <ProductName>sample string 2</ProductName>
      <SuggestedRetailPrice>sample string 5</SuggestedRetailPrice>
      <Trait>sample string 3</Trait>
      <Variety>sample string 4</Variety>
    </ProductListItem>
    <ProductListItem>
      <CropId>sample string 6</CropId>
      <DeptId>sample string 7</DeptId>
      <ProdId>sample string 1</ProdId>
      <ProductName>sample string 2</ProductName>
      <SuggestedRetailPrice>sample string 5</SuggestedRetailPrice>
      <Trait>sample string 3</Trait>
      <Variety>sample string 4</Variety>
    </ProductListItem>
  </Products>
  <Status>sample string 1</Status>
</AgvAllProductList>