The free, searchable pesticide database operated by Washington State University!
GET api/v1/Public/GetLabelsByCropIds?apiKey={apiKey}&cropIds[0]={cropIds[0]}&cropIds[1]={cropIds[1]}¤tYear={currentYear}&state={state}&acceptTos={acceptTos}
Gets the labels that are associated with a crop ID contained in the provided array of Crop ID's
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
apiKey |
The API key. |
string |
Required |
cropIds |
The crop ids. |
Collection of 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.V1.ResultOfPicol.Classes.Api.V1.LabelName | Description | Type | Additional information |
---|---|---|---|
Error | boolean |
None. |
|
Message | string |
None. |
|
Data | Collection of Picol.Classes.Api.V1.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:23:23.0120323-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:23:23.0120323-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:23:23.0120323-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:23:23.0120323-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.