GET MapInterface/GetAgvanceFieldCanBeMadeActive?agvanceFieldGuid={agvanceFieldGuid}

Tests to see if the Agvance field can be set as active

Request Information

URI Parameters

NameDescriptionTypeAdditional Information
agvanceFieldGuid

Agvance GUID of the field to validate

globally unique identifier

Required

Body Parameters

Response Information

Resource Description

Tests to see if the Agvance field can be set as active

AgvMapInterfaceField
NameDescriptionTypeAdditional Information
Status

0 = Success. 1 = An error occurred. 2 = An error occurred. 3 = Descriptive message, process was successful.

string
Message

Informational message that corresponds to the Status returned. 0 - Message will be "OK". 1 - Detailed message returned to give user an indication of what went wrong. 2 - Less Detailed message returned that may not mean anything to the user but that the application might use to take a corrective action. 3 - Not an error but something the user might need to know.

string
Count

Number of results returned.

string
FieldList

List of Properties and Values returned for each Agvance Field

Collection of ClsFieldGet

Response Formats

application/json, text/json

Sample:
{
  "Status": "sample string 1",
  "Message": "sample string 2",
  "Count": "2",
  "FieldList": [
    {
      "AgvanceGuid": "86e0bba2-39db-48e4-9d50-1e03fe972e43",
      "AgvanceGrowerGuid": "011dc9f0-c530-4e11-92e5-6b1a59a668ba",
      "GrowerId": "sample string 3",
      "GrowerFirstName": "sample string 4",
      "GrowerLastName": "sample string 5",
      "GrowerFullName": "sample string 4 sample string 5",
      "GrowerOracleId": "sample string 6",
      "FieldId": "sample string 7",
      "Name": "sample string 8",
      "Acres": 9.1,
      "MappingGuid": "4e4eb730-6fb2-41c5-9819-198db8e9b628",
      "Inactive": true,
      "FarmId": "sample string 11",
      "FarmName": "sample string 12",
      "FieldBoundaryWkt": "sample string 13",
      "Directions": "sample string 14",
      "Comments": "sample string 15"
    },
    {
      "AgvanceGuid": "86e0bba2-39db-48e4-9d50-1e03fe972e43",
      "AgvanceGrowerGuid": "011dc9f0-c530-4e11-92e5-6b1a59a668ba",
      "GrowerId": "sample string 3",
      "GrowerFirstName": "sample string 4",
      "GrowerLastName": "sample string 5",
      "GrowerFullName": "sample string 4 sample string 5",
      "GrowerOracleId": "sample string 6",
      "FieldId": "sample string 7",
      "Name": "sample string 8",
      "Acres": 9.1,
      "MappingGuid": "4e4eb730-6fb2-41c5-9819-198db8e9b628",
      "Inactive": true,
      "FarmId": "sample string 11",
      "FarmName": "sample string 12",
      "FieldBoundaryWkt": "sample string 13",
      "Directions": "sample string 14",
      "Comments": "sample string 15"
    }
  ]
}

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: No set method for property 'GrowerFullName' in type 'SKY.Core.Interfaces.HAAS.Model.ClsFieldGet'.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: No set method for property 'GrowerFullName' in type 'SKY.Core.Interfaces.HAAS.Model.ClsFieldGet'.