Planting Times detail uri:
/api/v2/third_party/planting_times/{id}
Method:
GET
Header:
'X-SIMA-APIKEY: {API-KEY}', 'X-SIMA-SYSTEM-ID: 8', 'Accept: application/json', 'Content-Type: application/json'
Parameters:
id: (int)
Response example:
{ "id": 1, "countru": 1, "name": "De primera", "dateModified": "2020-09-29T18:39:27-03:00" }
Planting Times list uri:
/api/v2/third_party/planting_times
Method:
GET
Header:
'X-SIMA-APIKEY: {{API-KEY}}', 'X-SIMA-SYSTEM-ID: 8', 'Accept: application/json', 'Content-Type: application/json'
Parameters:
page: (int) default value 1 size: (int) default value 10 find: (string) optional id: (int) optional updated_from: (datetime) optional
Response example:
{ "items": [ { "id": 1, "countru": 1, "name": "De primera", "dateModified": "2020-09-29T18:39:27-03:00" }, { "id": 2, "countru": 1, "name": "De segunda", "dateModified": "2020-09-29T18:39:27-03:00" }, { "id": 3, "countru": 1, "name": "Tardío", "dateModified": "2020-09-29T18:39:27-03:00" }, { "id": 4, "countru": 2, "name": "Safra", "dateModified": "2020-09-29T18:39:27-03:00" }, { "id": 5, "countru": 2, "name": "Safrinha", "dateModified": "2020-09-29T18:39:28-03:00" }, { "id": 6, "countru": 3, "name": "Semestre A", "dateModified": "2020-09-29T18:39:28-03:00" }, { "id": 7, "countru": 3, "name": "Semestre B", "dateModified": "2020-09-29T18:39:28-03:00" }, { "id": 8, "countru": 4, "name": "Primavera / Verano", "dateModified": "2020-09-29T18:39:28-03:00" }, { "id": 9, "countru": 4, "name": "Otoño / Invierno", "dateModified": "2020-09-29T18:39:28-03:00" }, { "id": 10, "countru": 6, "name": "De primera", "dateModified": "2020-09-29T18:39:28-03:00" } ], "current_page": 1, "next_page": 2, "total_pages": 2, "total_items": 20 }