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": "afac4a4f-7efa-49c5-bf78-c1e38ea287c0",
"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": "f988f352-7626-449d-8805-65c7854566ab",
"ExternalDBCropName": "sample string 1",
"ExternalDBCropPurposeGUID": "f82cf825-0057-4442-81b2-dce985090f16",
"ExternalDBCropPurposeName": "sample string 2",
"Color": {
"Alpha": -1,
"Red": -1,
"Green": -1,
"Blue": -1
},
"ChemistryTypes": [
{
"ChemistryTypeGuid": "a6adb32b-d0dc-49ae-b326-0fdb366d8f49",
"Color": {
"Alpha": -1,
"Red": -1,
"Green": -1,
"Blue": -1
},
"ChemistryTypeName": "sample string 1"
},
{
"ChemistryTypeGuid": "a6adb32b-d0dc-49ae-b326-0fdb366d8f49",
"Color": {
"Alpha": -1,
"Red": -1,
"Green": -1,
"Blue": -1
},
"ChemistryTypeName": "sample string 1"
}
]
},
{
"ExternalDBCropGUID": "f988f352-7626-449d-8805-65c7854566ab",
"ExternalDBCropName": "sample string 1",
"ExternalDBCropPurposeGUID": "f82cf825-0057-4442-81b2-dce985090f16",
"ExternalDBCropPurposeName": "sample string 2",
"Color": {
"Alpha": -1,
"Red": -1,
"Green": -1,
"Blue": -1
},
"ChemistryTypes": [
{
"ChemistryTypeGuid": "a6adb32b-d0dc-49ae-b326-0fdb366d8f49",
"Color": {
"Alpha": -1,
"Red": -1,
"Green": -1,
"Blue": -1
},
"ChemistryTypeName": "sample string 1"
},
{
"ChemistryTypeGuid": "a6adb32b-d0dc-49ae-b326-0fdb366d8f49",
"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": "afac4a4f-7efa-49c5-bf78-c1e38ea287c0",
"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": "f988f352-7626-449d-8805-65c7854566ab",
"ExternalDBCropName": "sample string 1",
"ExternalDBCropPurposeGUID": "f82cf825-0057-4442-81b2-dce985090f16",
"ExternalDBCropPurposeName": "sample string 2",
"Color": {
"Alpha": -1,
"Red": -1,
"Green": -1,
"Blue": -1
},
"ChemistryTypes": [
{
"ChemistryTypeGuid": "a6adb32b-d0dc-49ae-b326-0fdb366d8f49",
"Color": {
"Alpha": -1,
"Red": -1,
"Green": -1,
"Blue": -1
},
"ChemistryTypeName": "sample string 1"
},
{
"ChemistryTypeGuid": "a6adb32b-d0dc-49ae-b326-0fdb366d8f49",
"Color": {
"Alpha": -1,
"Red": -1,
"Green": -1,
"Blue": -1
},
"ChemistryTypeName": "sample string 1"
}
]
},
{
"ExternalDBCropGUID": "f988f352-7626-449d-8805-65c7854566ab",
"ExternalDBCropName": "sample string 1",
"ExternalDBCropPurposeGUID": "f82cf825-0057-4442-81b2-dce985090f16",
"ExternalDBCropPurposeName": "sample string 2",
"Color": {
"Alpha": -1,
"Red": -1,
"Green": -1,
"Blue": -1
},
"ChemistryTypes": [
{
"ChemistryTypeGuid": "a6adb32b-d0dc-49ae-b326-0fdb366d8f49",
"Color": {
"Alpha": -1,
"Red": -1,
"Green": -1,
"Blue": -1
},
"ChemistryTypeName": "sample string 1"
},
{
"ChemistryTypeGuid": "a6adb32b-d0dc-49ae-b326-0fdb366d8f49",
"Color": {
"Alpha": -1,
"Red": -1,
"Green": -1,
"Blue": -1
},
"ChemistryTypeName": "sample string 1"
}
]
}
]
}
]
}
application/xml
Sample:
text/xml
Sample: