/
Establishments endpoint V2
Establishments endpoint V2
Versión | Fecha | Comentarios |
---|---|---|
Versión actual (v. 2) | 13/09/2023 | Juan Sosa |
Establishment detail uri:
/api/v2/third_party/establishments/{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": 82510,
"name": "Design",
"farmer_id": 65848,
"deleted_at": null,
"date_modified": "2022-12-07T03:40:25-03:00
}
Establishment list uri:
/api/v2/third_party/establishments
Method:
GET
Header:
'X-SIMA-APIKEY: {{API-KEY}}',
'X-SIMA-SYSTEM-ID: 8',
'Accept: application/json',
'Content-Type: application/json'
Parameters:
page: (int) {1..} default 1
size: (int) {1..} default 10
id: (int)
search: (string)
farmer_id: (int)
deleted_from:(date-ATOM) {YYYY-MM-DDTHH:MM:SSZ}
deleted_to:(date-ATOM) {YYYY-MM-DDTHH:MM:SSZ}
only_deleted:(int) {0,1}
Response example:
{
"items": [
{
"id": 32,
"name": "Establecimiento Prueba",
"farmer_id": 40,
"deleted_at": null,
"date_modified": "2014-01-12T11:39:22-03:00"
},...
],
"current_page": 1,
"next_page": 1,
"total_pages": 1,
"total_items": 1
}
, multiple selections available,
Related content
Integration Protocol Documentation - Third Party -
Integration Protocol Documentation - Third Party -
Read with this
Work Order endpoints
Work Order endpoints
Read with this
Components EndPoint
Components EndPoint
Read with this
Establishments endpoint
Establishments endpoint
Read with this
Cultivation endpoints (v3)
Cultivation endpoints (v3)
More like this
Establishment endpoints (v3)
Establishment endpoints (v3)
More like this