The free, searchable pesticide database operated by Washington State University!
GET api/v0/Public/GetLabelsByPestId?apiKey={apiKey}&pestId={pestId}¤tYear={currentYear}&state={state}&acceptTos={acceptTos}
Gets the labels by pest identifier.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
apiKey |
The API key. |
string |
Required |
pestId |
The pest identifier. |
integer |
Required |
currentYear |
if set to true results are restricted to the current registration year, otherwise all years results will be included. |
boolean |
Required |
state |
The ID of the state you wish to restrict your results to, -1 for all states. |
integer |
Required |
acceptTos |
if set to true [accept tos]. |
boolean |
Required |
Body Parameters
None.
Response Information
Resource Description
A JSON encoded collection of labels
Picol.Classes.Api.V0.ResultOfPicol.Classes.Api.V0.LabelName | Description | Type | Additional information |
---|---|---|---|
Error | boolean |
None. |
|
Message | string |
None. |
|
Data | Collection of Picol.Classes.Api.V0.Label |
None. |
Response Formats
application/json, text/json
Sample:
{ "Error": true, "Message": "sample string 2", "Data": [ { "Id": 1, "Name": "sample string 2", "EpaNumber": "sample string 3", "IntendedUser": { "Id": 1, "Name": "sample string 2", "Code": "sample string 3" }, "Ingredients": [ { "Id": 1, "Name": "sample string 2", "Code": "sample string 3", "Notes": "sample string 4", "Resistance": { "Id": 1, "Source": "sample string 2", "Code": "sample string 3", "MethodOfAction": "sample string 4" } }, { "Id": 1, "Name": "sample string 2", "Code": "sample string 3", "Notes": "sample string 4", "Resistance": { "Id": 1, "Source": "sample string 2", "Code": "sample string 3", "MethodOfAction": "sample string 4" } } ], "PesticideTypes": [ { "Id": 1, "Name": "sample string 2", "Code": "sample string 3" }, { "Id": 1, "Name": "sample string 2", "Code": "sample string 3" } ], "Registrant": { "Id": 1, "Name": "sample string 2", "Website": "sample string 3" }, "Sln": "sample string 4", "SlnName": "sample string 5", "SlnExpiration": "2023-05-15T06:22:28.7954229-07:00", "StateRecords": [ { "Id": 1, "StateId": 2, "Name": "sample string 3", "AgencyId": "sample string 4", "Version": "sample string 5", "Year": 6, "I502": true, "Essb6206": true }, { "Id": 1, "StateId": 2, "Name": "sample string 3", "AgencyId": "sample string 4", "Version": "sample string 5", "Year": 6, "I502": true, "Essb6206": true } ], "Supplemental": "sample string 6", "SupplementalName": "sample string 7", "SupplementalExpiration": "2023-05-15T06:22:28.7954229-07:00", "Formulation": "sample string 8", "SignalWord": "sample string 9", "Usage": "sample string 10", "Organic": true, "Spanish": true, "EsaNotice": true, "Section18": "sample string 11" }, { "Id": 1, "Name": "sample string 2", "EpaNumber": "sample string 3", "IntendedUser": { "Id": 1, "Name": "sample string 2", "Code": "sample string 3" }, "Ingredients": [ { "Id": 1, "Name": "sample string 2", "Code": "sample string 3", "Notes": "sample string 4", "Resistance": { "Id": 1, "Source": "sample string 2", "Code": "sample string 3", "MethodOfAction": "sample string 4" } }, { "Id": 1, "Name": "sample string 2", "Code": "sample string 3", "Notes": "sample string 4", "Resistance": { "Id": 1, "Source": "sample string 2", "Code": "sample string 3", "MethodOfAction": "sample string 4" } } ], "PesticideTypes": [ { "Id": 1, "Name": "sample string 2", "Code": "sample string 3" }, { "Id": 1, "Name": "sample string 2", "Code": "sample string 3" } ], "Registrant": { "Id": 1, "Name": "sample string 2", "Website": "sample string 3" }, "Sln": "sample string 4", "SlnName": "sample string 5", "SlnExpiration": "2023-05-15T06:22:28.7954229-07:00", "StateRecords": [ { "Id": 1, "StateId": 2, "Name": "sample string 3", "AgencyId": "sample string 4", "Version": "sample string 5", "Year": 6, "I502": true, "Essb6206": true }, { "Id": 1, "StateId": 2, "Name": "sample string 3", "AgencyId": "sample string 4", "Version": "sample string 5", "Year": 6, "I502": true, "Essb6206": true } ], "Supplemental": "sample string 6", "SupplementalName": "sample string 7", "SupplementalExpiration": "2023-05-15T06:22:28.7954229-07:00", "Formulation": "sample string 8", "SignalWord": "sample string 9", "Usage": "sample string 10", "Organic": true, "Spanish": true, "EsaNotice": true, "Section18": "sample string 11" } ] }
The database is currently updating, check back in 15 minutes for the latest data.