Formulated detail uri:
/api/v2/third_party/active_ingredients/{id}
Method:
GET
Header:
'X-SIMA-APIKEY: {API-KEY}', 'X-SIMA-SYSTEM-ID: {API-SYSTEM-ID}', 'Accept: application/json', 'Content-Type: application/json'
Parameters:
id: (int)
Response example:
{ "id": 1, "name": "Amitraz", "modified_at": { "date": "2015-11-01 00:00:00.000000", "timezone_type": 3, "timezone": "America/Argentina/Buenos_Aires" } }
Formulated list uri:
/api/v2/third_party/active_ingredients
Method:
GET
Header:
'X-SIMA-APIKEY: {API-KEY}', 'X-SIMA-SYSTEM-ID: {API-SYSTEM-ID}', 'Accept: application/json', 'Content-Type: application/json'
Parameters:
page: (int) default value 1 size: (int) default value 10 country_id: (int) use_id: (int) cultivation_id (int) find: (string) updated_from: (string) (datetime) optional updated_to: (string) (datetime) optional
Response example:
{ "items": [ { "id": 1, "name": "Amitraz", "modified_at": { "date": "2015-11-01 00:00:00.000000", "timezone_type": 3, "timezone": "America/Argentina/Buenos_Aires" } }, { "id": 2, "name": "Dicofol + tetradifon", "modified_at": { "date": "2015-11-01 00:00:00.000000", "timezone_type": 3, "timezone": "America/Argentina/Buenos_Aires" } }, { "id": 3, "name": "Hexitiazox", "modified_at": { "date": "2015-11-01 00:00:00.000000", "timezone_type": 3, "timezone": "America/Argentina/Buenos_Aires" } }, { "id": 4, "name": "Clofentezine", "modified_at": { "date": "2015-11-01 00:00:00.000000", "timezone_type": 3, "timezone": "America/Argentina/Buenos_Aires" } }, { "id": 5, "name": "Propargite", "modified_at": { "date": "2015-11-01 00:00:00.000000", "timezone_type": 3, "timezone": "America/Argentina/Buenos_Aires" } }, { "id": 6, "name": "Formetanato", "modified_at": { "date": "2015-11-01 00:00:00.000000", "timezone_type": 3, "timezone": "America/Argentina/Buenos_Aires" } }, { "id": 7, "name": "Piridaben", "modified_at": { "date": "2015-11-01 00:00:00.000000", "timezone_type": 3, "timezone": "America/Argentina/Buenos_Aires" } }, { "id": 8, "name": "Cyhexatin", "modified_at": { "date": "2015-11-01 00:00:00.000000", "timezone_type": 3, "timezone": "America/Argentina/Buenos_Aires" } }, { "id": 9, "name": "Flufenoxuron", "modified_at": { "date": "2015-11-01 00:00:00.000000", "timezone_type": 3, "timezone": "America/Argentina/Buenos_Aires" } }, { "id": 10, "name": "Fenpiroximato", "modified_at": { "date": "2015-11-01 00:00:00.000000", "timezone_type": 3, "timezone": "America/Argentina/Buenos_Aires" } } ], "current_page": 1, "next_page": 2, "total_pages": 202, "total_items": 2017 }