GET CropChemistry/GetCropChemistry?name={name}&activeFilter={activeFilter}

Returns a list of crop chemistry data.

Request Information

URI Parameters

NameDescriptionTypeAdditional Information
name

Crop Chemistry Name (optional)

string

Default value is string.Empty

activeFilter

Filter Crop Chemistry Types by Active, Inactive or All - valid entries are "Active", "Inactive", or "All" - default value is Active (optional)

string

Default value is Active

Body Parameters

Response Information

Resource Description

Returns a list of crop chemistry data.

AgvCropChemistry
NameDescriptionTypeAdditional Information
Status

Status of the API call.

string
Message

Message of the API call.

string
Count

Count of how many Crop Chemistry JSON Objects.

string
CropChemistryList

JSON Object of Crop Chemistry.

Collection of ClsCropChemistry

Response Formats

application/json, text/json

Sample:
{
  "Status": "sample string 1",
  "Message": "sample string 2",
  "Count": "2",
  "CropChemistryList": [
    {
      "UniqueId": "sample string 1",
      "Name": "sample string 2",
      "Inactive": true
    },
    {
      "UniqueId": "sample string 1",
      "Name": "sample string 2",
      "Inactive": true
    }
  ]
}

application/xml, text/xml

Sample:
<AgvCropChemistry xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AgvWebAPICSharp.Models.CropChemistry">
  <CropChemistryList xmlns:d2p1="http://schemas.datacontract.org/2004/07/SSI.Crop">
    <d2p1:CropChemistry>
      <d2p1:Inactive>true</d2p1:Inactive>
      <d2p1:Name>sample string 2</d2p1:Name>
      <d2p1:UniqueId>sample string 1</d2p1:UniqueId>
    </d2p1:CropChemistry>
    <d2p1:CropChemistry>
      <d2p1:Inactive>true</d2p1:Inactive>
      <d2p1:Name>sample string 2</d2p1:Name>
      <d2p1:UniqueId>sample string 1</d2p1:UniqueId>
    </d2p1:CropChemistry>
  </CropChemistryList>
  <Message>sample string 2</Message>
  <Status>sample string 1</Status>
</AgvCropChemistry>