PUT MapInterface/PutAgvanceMappingRemoveLink

Removes the Mapping GUID from all Agvance fields containing this cross reference key.

Request Information

URI Parameters

Body Parameters

The model for the Updating of an Agvance Field.

ClsFieldPutRemoveMappingLink
NameDescriptionTypeAdditional Information
MappingGuid

Mapping GUID to be removed from any Agvance field

globally unique identifier

Required

(Hexadecimal 8-4-4-4-12)

Request Formats

application/json, text/json

Sample:
{
  "MappingGuid": "e65f821c-a6a5-48cd-9c44-a2649f7d90eb"
}

application/xml, text/xml

Sample:
<ClsFieldPutRemoveMappingLink xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SKY.Core.Interfaces.HAAS.Model">
  <MappingGuid>e65f821c-a6a5-48cd-9c44-a2649f7d90eb</MappingGuid>
</ClsFieldPutRemoveMappingLink>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'ClsFieldPutRemoveMappingLink'.

Response Information

Resource Description

Removes the Mapping GUID from all Agvance fields containing this cross reference key.

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": "1c026f85-a82d-4fa3-9184-7e3230f51b91",
      "AgvanceGrowerGuid": "56c8a351-f6e3-4c27-97ba-bc8a181b07a3",
      "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": "48d52993-890b-4c99-b267-f3bd21126da4",
      "Inactive": true,
      "FarmId": "sample string 11",
      "FarmName": "sample string 12",
      "FieldBoundaryWkt": "sample string 13",
      "Directions": "sample string 14",
      "Comments": "sample string 15"
    },
    {
      "AgvanceGuid": "1c026f85-a82d-4fa3-9184-7e3230f51b91",
      "AgvanceGrowerGuid": "56c8a351-f6e3-4c27-97ba-bc8a181b07a3",
      "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": "48d52993-890b-4c99-b267-f3bd21126da4",
      "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'.