GET MapInterface/GetSkyMappingSoilSampleEvents?agvFieldGuid={agvFieldGuid}

Gets a list of all Agvance Soil Sampling Events for the provided Agvance Field GUID

Request Information

URI Parameters

NameDescriptionTypeAdditional Information
agvFieldGuid

Filter to return only the sampling events for the selected field

globally unique identifier

Required

Body Parameters

Response Information

Resource Description

Gets a list of all Agvance Soil Sampling Events for the provided Agvance Field GUID

AgvMapInterfaceEvent
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
ErrorList

List of errors from the API

Collection of string
WarningList

List of warnings from the API

Collection of string
Count

Number of results returned

string
Data

List of properties and values returned for the callin that was created

Collection of ClsSummaryResult

Response Formats

application/json, text/json

Sample:
{
  "Status": "sample string 1",
  "Message": "sample string 2",
  "ErrorList": [
    "sample string 1",
    "sample string 2"
  ],
  "WarningList": [
    "sample string 1",
    "sample string 2"
  ],
  "Count": "2",
  "Data": [
    {
      "croppingSeasonName": "sample string 1",
      "croppingSeasonGuid": "274ed365-63dc-4a2d-954f-65ec14d12ffb",
      "agEventTypeName": "sample string 2",
      "agEventTransactionTypeGuid": "c1aa9e72-fab5-4343-88f4-65358f878bc0",
      "agEventDisplayName": "sample string 3",
      "eventDate": "sample string 4",
      "modifiedDate": "sample string 5",
      "modifiedBy": "sample string 6",
      "agEventName": "sample string 7",
      "agEventGeneralGuid": "85adf7be-d901-4734-9326-6597b2360066",
      "gridArea": "sample string 8",
      "cropDisplayName": "sample string 9",
      "cropGuids": [
        "e292bede-4ccf-4bb6-b29b-d7fde8849c61",
        "2a32bebd-8550-4acc-a843-fa3f1093927e"
      ],
      "fieldGuid": "82972f2c-545a-49cc-9d24-4efe5ea9ac0a",
      "agEventGuid": "9713d778-2283-4ed7-a7d2-e47977f1781b",
      "hasSoilSampleResults": true,
      "numberOfSampleDepths": "sample string 11",
      "eventId": "sample string 12",
      "calculatedArea": 1.1,
      "importPoints": {
        "importedPoints": 1,
        "totalPoints": 1
      },
      "importedStatus": 1,
      "activeYn": true,
      "isImportedYn": true,
      "isFromEquationRec": true,
      "aggregatedEvent": true,
      "productMixName": "sample string 17",
      "interpolationType": "sample string 18"
    },
    {
      "croppingSeasonName": "sample string 1",
      "croppingSeasonGuid": "274ed365-63dc-4a2d-954f-65ec14d12ffb",
      "agEventTypeName": "sample string 2",
      "agEventTransactionTypeGuid": "c1aa9e72-fab5-4343-88f4-65358f878bc0",
      "agEventDisplayName": "sample string 3",
      "eventDate": "sample string 4",
      "modifiedDate": "sample string 5",
      "modifiedBy": "sample string 6",
      "agEventName": "sample string 7",
      "agEventGeneralGuid": "85adf7be-d901-4734-9326-6597b2360066",
      "gridArea": "sample string 8",
      "cropDisplayName": "sample string 9",
      "cropGuids": [
        "e292bede-4ccf-4bb6-b29b-d7fde8849c61",
        "2a32bebd-8550-4acc-a843-fa3f1093927e"
      ],
      "fieldGuid": "82972f2c-545a-49cc-9d24-4efe5ea9ac0a",
      "agEventGuid": "9713d778-2283-4ed7-a7d2-e47977f1781b",
      "hasSoilSampleResults": true,
      "numberOfSampleDepths": "sample string 11",
      "eventId": "sample string 12",
      "calculatedArea": 1.1,
      "importPoints": {
        "importedPoints": 1,
        "totalPoints": 1
      },
      "importedStatus": 1,
      "activeYn": true,
      "isImportedYn": true,
      "isFromEquationRec": true,
      "aggregatedEvent": true,
      "productMixName": "sample string 17",
      "interpolationType": "sample string 18"
    }
  ]
}

application/xml, text/xml

Sample:
<AgvMapInterfaceEvent xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AgvWebAPICSharp.Models.Map.HAAS">
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/SKY.Core.Interfaces.HAAS.Model">
    <d2p1:ClsEventModels.ClsSummaryResult>
      <d2p1:activeYn>true</d2p1:activeYn>
      <d2p1:agEventDisplayName>sample string 3</d2p1:agEventDisplayName>
      <d2p1:agEventGeneralGuid>85adf7be-d901-4734-9326-6597b2360066</d2p1:agEventGeneralGuid>
      <d2p1:agEventGuid>9713d778-2283-4ed7-a7d2-e47977f1781b</d2p1:agEventGuid>
      <d2p1:agEventName>sample string 7</d2p1:agEventName>
      <d2p1:agEventTransactionTypeGuid>c1aa9e72-fab5-4343-88f4-65358f878bc0</d2p1:agEventTransactionTypeGuid>
      <d2p1:agEventTypeName>sample string 2</d2p1:agEventTypeName>
      <d2p1:aggregatedEvent>true</d2p1:aggregatedEvent>
      <d2p1:calculatedArea>1.1</d2p1:calculatedArea>
      <d2p1:cropDisplayName>sample string 9</d2p1:cropDisplayName>
      <d2p1:cropGuids xmlns:d4p1="http://schemas.datacontract.org/2004/07/System">
        <d4p1:guid>e292bede-4ccf-4bb6-b29b-d7fde8849c61</d4p1:guid>
        <d4p1:guid>2a32bebd-8550-4acc-a843-fa3f1093927e</d4p1:guid>
      </d2p1:cropGuids>
      <d2p1:croppingSeasonGuid>274ed365-63dc-4a2d-954f-65ec14d12ffb</d2p1:croppingSeasonGuid>
      <d2p1:croppingSeasonName>sample string 1</d2p1:croppingSeasonName>
      <d2p1:eventDate>sample string 4</d2p1:eventDate>
      <d2p1:eventId>sample string 12</d2p1:eventId>
      <d2p1:fieldGuid>82972f2c-545a-49cc-9d24-4efe5ea9ac0a</d2p1:fieldGuid>
      <d2p1:gridArea>sample string 8</d2p1:gridArea>
      <d2p1:hasSoilSampleResults>true</d2p1:hasSoilSampleResults>
      <d2p1:importPoints>
        <d2p1:importedPoints>1</d2p1:importedPoints>
        <d2p1:totalPoints>1</d2p1:totalPoints>
      </d2p1:importPoints>
      <d2p1:importedStatus>1</d2p1:importedStatus>
      <d2p1:interpolationType>sample string 18</d2p1:interpolationType>
      <d2p1:isFromEquationRec>true</d2p1:isFromEquationRec>
      <d2p1:isImportedYn>true</d2p1:isImportedYn>
      <d2p1:modifiedBy>sample string 6</d2p1:modifiedBy>
      <d2p1:modifiedDate>sample string 5</d2p1:modifiedDate>
      <d2p1:numberOfSampleDepths>sample string 11</d2p1:numberOfSampleDepths>
      <d2p1:productMixName>sample string 17</d2p1:productMixName>
    </d2p1:ClsEventModels.ClsSummaryResult>
    <d2p1:ClsEventModels.ClsSummaryResult>
      <d2p1:activeYn>true</d2p1:activeYn>
      <d2p1:agEventDisplayName>sample string 3</d2p1:agEventDisplayName>
      <d2p1:agEventGeneralGuid>85adf7be-d901-4734-9326-6597b2360066</d2p1:agEventGeneralGuid>
      <d2p1:agEventGuid>9713d778-2283-4ed7-a7d2-e47977f1781b</d2p1:agEventGuid>
      <d2p1:agEventName>sample string 7</d2p1:agEventName>
      <d2p1:agEventTransactionTypeGuid>c1aa9e72-fab5-4343-88f4-65358f878bc0</d2p1:agEventTransactionTypeGuid>
      <d2p1:agEventTypeName>sample string 2</d2p1:agEventTypeName>
      <d2p1:aggregatedEvent>true</d2p1:aggregatedEvent>
      <d2p1:calculatedArea>1.1</d2p1:calculatedArea>
      <d2p1:cropDisplayName>sample string 9</d2p1:cropDisplayName>
      <d2p1:cropGuids xmlns:d4p1="http://schemas.datacontract.org/2004/07/System">
        <d4p1:guid>e292bede-4ccf-4bb6-b29b-d7fde8849c61</d4p1:guid>
        <d4p1:guid>2a32bebd-8550-4acc-a843-fa3f1093927e</d4p1:guid>
      </d2p1:cropGuids>
      <d2p1:croppingSeasonGuid>274ed365-63dc-4a2d-954f-65ec14d12ffb</d2p1:croppingSeasonGuid>
      <d2p1:croppingSeasonName>sample string 1</d2p1:croppingSeasonName>
      <d2p1:eventDate>sample string 4</d2p1:eventDate>
      <d2p1:eventId>sample string 12</d2p1:eventId>
      <d2p1:fieldGuid>82972f2c-545a-49cc-9d24-4efe5ea9ac0a</d2p1:fieldGuid>
      <d2p1:gridArea>sample string 8</d2p1:gridArea>
      <d2p1:hasSoilSampleResults>true</d2p1:hasSoilSampleResults>
      <d2p1:importPoints>
        <d2p1:importedPoints>1</d2p1:importedPoints>
        <d2p1:totalPoints>1</d2p1:totalPoints>
      </d2p1:importPoints>
      <d2p1:importedStatus>1</d2p1:importedStatus>
      <d2p1:interpolationType>sample string 18</d2p1:interpolationType>
      <d2p1:isFromEquationRec>true</d2p1:isFromEquationRec>
      <d2p1:isImportedYn>true</d2p1:isImportedYn>
      <d2p1:modifiedBy>sample string 6</d2p1:modifiedBy>
      <d2p1:modifiedDate>sample string 5</d2p1:modifiedDate>
      <d2p1:numberOfSampleDepths>sample string 11</d2p1:numberOfSampleDepths>
      <d2p1:productMixName>sample string 17</d2p1:productMixName>
    </d2p1:ClsEventModels.ClsSummaryResult>
  </Data>
  <ErrorList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </ErrorList>
  <Message>sample string 2</Message>
  <Status>sample string 1</Status>
  <WarningList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </WarningList>
</AgvMapInterfaceEvent>