GET TargetPest/GetTargetPest

Returns a list of Target Pests.

Request Information

URI Parameters

Body Parameters

Response Information

Resource Description

Returns a list of Target Pests.

AgvTargetPest
NameDescriptionTypeAdditional Information
Status

Status of the API call.

string
Message

Message of the API call.

string
Count

Count of how many Target Pest JSON dictionaries.

string
TargetPestList

JSON dictionary of Target Pest

Collection of ClsTargetPest

Response Formats

application/json, text/json

Sample:
{
  "Status": "sample string 1",
  "Message": "sample string 2",
  "Count": "2",
  "TargetPestList": [
    {
      "UniqueId": "5",
      "PestName": "sample string 6"
    },
    {
      "UniqueId": "5",
      "PestName": "sample string 6"
    }
  ]
}

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 'UniqueIdForApi' in type 'SKY.Core.Agronomy.ClsTargetPest'.

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 'UniqueIdForApi' in type 'SKY.Core.Agronomy.ClsTargetPest'.