GET Crop/GetCrop?name={name}&SMPCropGUID={SMPCropGUID}
Returns a list of crop types and crop maintenance information.
Request Information
URI Parameters
| Name | Description | Type | Additional Information |
|---|---|---|---|
| name |
Crop Name or GUID (optional) |
string |
Default value is string.Empty |
| SMPCropGUID |
Sky Mapping Premium Crop GUID (optional) |
globally unique identifier |
Body Parameters
Response Information
Resource Description
Returns a list of crop types and crop maintenance information.
AgvCrop| Name | Description | Type | Additional 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": "4b0e419a-4e1a-48ef-9671-4f5df85993a9",
"MPSLbsPerMarketUnit": 28.1,
"MPSTargetAdjustmentValue": 30.1,
"MPSAdjustmentName": "sample string 32",
"MPSYieldGoal": 34.1,
"RateUnits": "sample string 40",
"ExternalId": "sample string 41",
"CropColor": {
"Alpha": -1,
"Red": -1,
"Green": -1,
"Blue": -1
},
"ExternalDBCropPurposes": [
{
"ExternalDBCropGUID": "3c06a8a2-b474-4a70-892e-1ecd78a15382",
"ExternalDBCropName": "sample string 1",
"ExternalDBCropPurposeGUID": "bf7fe9ab-b068-4ce9-b49e-bb8515f646ff",
"ExternalDBCropPurposeName": "sample string 2",
"Color": {
"Alpha": -1,
"Red": -1,
"Green": -1,
"Blue": -1
},
"ChemistryTypes": [
{
"ChemistryTypeGuid": "1d358be0-a161-4c31-8cd6-be6c81f053d3",
"Color": {
"Alpha": -1,
"Red": -1,
"Green": -1,
"Blue": -1
},
"ChemistryTypeName": "sample string 1"
},
{
"ChemistryTypeGuid": "1d358be0-a161-4c31-8cd6-be6c81f053d3",
"Color": {
"Alpha": -1,
"Red": -1,
"Green": -1,
"Blue": -1
},
"ChemistryTypeName": "sample string 1"
}
]
},
{
"ExternalDBCropGUID": "3c06a8a2-b474-4a70-892e-1ecd78a15382",
"ExternalDBCropName": "sample string 1",
"ExternalDBCropPurposeGUID": "bf7fe9ab-b068-4ce9-b49e-bb8515f646ff",
"ExternalDBCropPurposeName": "sample string 2",
"Color": {
"Alpha": -1,
"Red": -1,
"Green": -1,
"Blue": -1
},
"ChemistryTypes": [
{
"ChemistryTypeGuid": "1d358be0-a161-4c31-8cd6-be6c81f053d3",
"Color": {
"Alpha": -1,
"Red": -1,
"Green": -1,
"Blue": -1
},
"ChemistryTypeName": "sample string 1"
},
{
"ChemistryTypeGuid": "1d358be0-a161-4c31-8cd6-be6c81f053d3",
"Color": {
"Alpha": -1,
"Red": -1,
"Green": -1,
"Blue": -1
},
"ChemistryTypeName": "sample string 1"
}
]
}
]
},
{
"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": "4b0e419a-4e1a-48ef-9671-4f5df85993a9",
"MPSLbsPerMarketUnit": 28.1,
"MPSTargetAdjustmentValue": 30.1,
"MPSAdjustmentName": "sample string 32",
"MPSYieldGoal": 34.1,
"RateUnits": "sample string 40",
"ExternalId": "sample string 41",
"CropColor": {
"Alpha": -1,
"Red": -1,
"Green": -1,
"Blue": -1
},
"ExternalDBCropPurposes": [
{
"ExternalDBCropGUID": "3c06a8a2-b474-4a70-892e-1ecd78a15382",
"ExternalDBCropName": "sample string 1",
"ExternalDBCropPurposeGUID": "bf7fe9ab-b068-4ce9-b49e-bb8515f646ff",
"ExternalDBCropPurposeName": "sample string 2",
"Color": {
"Alpha": -1,
"Red": -1,
"Green": -1,
"Blue": -1
},
"ChemistryTypes": [
{
"ChemistryTypeGuid": "1d358be0-a161-4c31-8cd6-be6c81f053d3",
"Color": {
"Alpha": -1,
"Red": -1,
"Green": -1,
"Blue": -1
},
"ChemistryTypeName": "sample string 1"
},
{
"ChemistryTypeGuid": "1d358be0-a161-4c31-8cd6-be6c81f053d3",
"Color": {
"Alpha": -1,
"Red": -1,
"Green": -1,
"Blue": -1
},
"ChemistryTypeName": "sample string 1"
}
]
},
{
"ExternalDBCropGUID": "3c06a8a2-b474-4a70-892e-1ecd78a15382",
"ExternalDBCropName": "sample string 1",
"ExternalDBCropPurposeGUID": "bf7fe9ab-b068-4ce9-b49e-bb8515f646ff",
"ExternalDBCropPurposeName": "sample string 2",
"Color": {
"Alpha": -1,
"Red": -1,
"Green": -1,
"Blue": -1
},
"ChemistryTypes": [
{
"ChemistryTypeGuid": "1d358be0-a161-4c31-8cd6-be6c81f053d3",
"Color": {
"Alpha": -1,
"Red": -1,
"Green": -1,
"Blue": -1
},
"ChemistryTypeName": "sample string 1"
},
{
"ChemistryTypeGuid": "1d358be0-a161-4c31-8cd6-be6c81f053d3",
"Color": {
"Alpha": -1,
"Red": -1,
"Green": -1,
"Blue": -1
},
"ChemistryTypeName": "sample string 1"
}
]
}
]
}
]
}
application/xml
Sample:
text/xml
Sample: