GET Crop/GetCrop?name={name}

Returns a list of crop types and crop maintenance information.

Request Information

URI Parameters

NameDescriptionTypeAdditional Information
name

Crop Name or GUID (optional)

string

Default value is string.Empty

Body Parameters

Response Information

Resource Description

Returns a list of crop types and crop maintenance information.

AgvCrop
NameDescriptionTypeAdditional Information
Status

Status of the API call.

string
Message

Message of the API call.

string
Count

Count of how many Crop JSON Objects.

string
CropList

JSON Object of Crop.

Collection of clsCropMaint

Response Formats

application/json, text/json

Sample:
{
  "Status": "sample string 1",
  "Message": "sample string 2",
  "Count": "2",
  "CropList": [
    {
      "UniqueID": 1,
      "Description": "sample string 2",
      "Units": "sample string 3",
      "N": "sample string 4",
      "P": "sample string 5",
      "K": "sample string 6",
      "CA": "sample string 7",
      "MG": "sample string 8",
      "S": "sample string 9",
      "NA": "sample string 10",
      "ZN": "sample string 11",
      "FE": "sample string 12",
      "MN": "sample string 13",
      "CU": "sample string 14",
      "B": "sample string 15",
      "UD": "sample string 16",
      "NContrib": "sample string 17",
      "CropType": "sample string 18",
      "XRef": "sample string 19",
      "MPSGuid": "sample string 20",
      "MPSLbsPerMarketUnit": 28.1,
      "MPSTargetAdjustmentValue": 30.1,
      "MPSAdjustmentName": "sample string 32",
      "MPSYieldGoal": 34.1,
      "RateUnits": "sample string 40",
      "ExternalId": "sample string 41"
    },
    {
      "UniqueID": 1,
      "Description": "sample string 2",
      "Units": "sample string 3",
      "N": "sample string 4",
      "P": "sample string 5",
      "K": "sample string 6",
      "CA": "sample string 7",
      "MG": "sample string 8",
      "S": "sample string 9",
      "NA": "sample string 10",
      "ZN": "sample string 11",
      "FE": "sample string 12",
      "MN": "sample string 13",
      "CU": "sample string 14",
      "B": "sample string 15",
      "UD": "sample string 16",
      "NContrib": "sample string 17",
      "CropType": "sample string 18",
      "XRef": "sample string 19",
      "MPSGuid": "sample string 20",
      "MPSLbsPerMarketUnit": 28.1,
      "MPSTargetAdjustmentValue": 30.1,
      "MPSAdjustmentName": "sample string 32",
      "MPSYieldGoal": 34.1,
      "RateUnits": "sample string 40",
      "ExternalId": "sample string 41"
    }
  ]
}

application/xml, text/xml

Sample:
<AgvCrop xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AgvWebAPICSharp.Models.Crop">
  <CropList xmlns:d2p1="http://schemas.datacontract.org/2004/07/SSI.Crop">
    <d2p1:CropMaint>
      <d2p1:B>sample string 15</d2p1:B>
      <d2p1:CA>sample string 7</d2p1:CA>
      <d2p1:CU>sample string 14</d2p1:CU>
      <d2p1:CropType>sample string 18</d2p1:CropType>
      <d2p1:Description>sample string 2</d2p1:Description>
      <d2p1:ExternalId>sample string 41</d2p1:ExternalId>
      <d2p1:FE>sample string 12</d2p1:FE>
      <d2p1:K>sample string 6</d2p1:K>
      <d2p1:MG>sample string 8</d2p1:MG>
      <d2p1:MN>sample string 13</d2p1:MN>
      <d2p1:MPSAdjustmentName>sample string 32</d2p1:MPSAdjustmentName>
      <d2p1:MPSGuid>sample string 20</d2p1:MPSGuid>
      <d2p1:MPSLbsPerMarketUnit>28.1</d2p1:MPSLbsPerMarketUnit>
      <d2p1:MPSTargetAdjustmentValue>30.1</d2p1:MPSTargetAdjustmentValue>
      <d2p1:MPSYieldGoal>34.1</d2p1:MPSYieldGoal>
      <d2p1:N>sample string 4</d2p1:N>
      <d2p1:NA>sample string 10</d2p1:NA>
      <d2p1:NContrib>sample string 17</d2p1:NContrib>
      <d2p1:P>sample string 5</d2p1:P>
      <d2p1:RateUnits>sample string 40</d2p1:RateUnits>
      <d2p1:S>sample string 9</d2p1:S>
      <d2p1:UD>sample string 16</d2p1:UD>
      <d2p1:UniqueID>1</d2p1:UniqueID>
      <d2p1:Units>sample string 3</d2p1:Units>
      <d2p1:XRef>sample string 19</d2p1:XRef>
      <d2p1:ZN>sample string 11</d2p1:ZN>
    </d2p1:CropMaint>
    <d2p1:CropMaint>
      <d2p1:B>sample string 15</d2p1:B>
      <d2p1:CA>sample string 7</d2p1:CA>
      <d2p1:CU>sample string 14</d2p1:CU>
      <d2p1:CropType>sample string 18</d2p1:CropType>
      <d2p1:Description>sample string 2</d2p1:Description>
      <d2p1:ExternalId>sample string 41</d2p1:ExternalId>
      <d2p1:FE>sample string 12</d2p1:FE>
      <d2p1:K>sample string 6</d2p1:K>
      <d2p1:MG>sample string 8</d2p1:MG>
      <d2p1:MN>sample string 13</d2p1:MN>
      <d2p1:MPSAdjustmentName>sample string 32</d2p1:MPSAdjustmentName>
      <d2p1:MPSGuid>sample string 20</d2p1:MPSGuid>
      <d2p1:MPSLbsPerMarketUnit>28.1</d2p1:MPSLbsPerMarketUnit>
      <d2p1:MPSTargetAdjustmentValue>30.1</d2p1:MPSTargetAdjustmentValue>
      <d2p1:MPSYieldGoal>34.1</d2p1:MPSYieldGoal>
      <d2p1:N>sample string 4</d2p1:N>
      <d2p1:NA>sample string 10</d2p1:NA>
      <d2p1:NContrib>sample string 17</d2p1:NContrib>
      <d2p1:P>sample string 5</d2p1:P>
      <d2p1:RateUnits>sample string 40</d2p1:RateUnits>
      <d2p1:S>sample string 9</d2p1:S>
      <d2p1:UD>sample string 16</d2p1:UD>
      <d2p1:UniqueID>1</d2p1:UniqueID>
      <d2p1:Units>sample string 3</d2p1:Units>
      <d2p1:XRef>sample string 19</d2p1:XRef>
      <d2p1:ZN>sample string 11</d2p1:ZN>
    </d2p1:CropMaint>
  </CropList>
  <Message>sample string 2</Message>
  <Status>sample string 1</Status>
</AgvCrop>