The free, searchable pesticide database operated by Washington State University!
GET api/v0/Public/GetPesticideTypes?apiKey={apiKey}&acceptTos={acceptTos}
Gets the pesticide types.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
apiKey |
The API key. |
string |
Required |
acceptTos |
if set to true [accept tos]. |
boolean |
Required |
Body Parameters
None.
Response Information
Resource Description
A JSON encoded collection of pesticide types
Picol.Classes.Api.V0.ResultOfPicol.Classes.Api.V0.PesticideTypeName | Description | Type | Additional information |
---|---|---|---|
Error | boolean |
None. |
|
Message | string |
None. |
|
Data | Collection of Picol.Classes.Api.V0.PesticideType |
None. |
Response Formats
application/json, text/json
Sample:
{ "Error": true, "Message": "sample string 2", "Data": [ { "Id": 1, "Name": "sample string 2", "Code": "sample string 3" }, { "Id": 1, "Name": "sample string 2", "Code": "sample string 3" } ] }
The database is currently updating, check back in 15 minutes for the latest data.