/
Establishments endpoint
Establishments endpoint
Version | Date | Comment |
---|---|---|
Current Version (v. 2) | Sept 13, 2023 13:54 | Angel Javier Larrosa |
v. 1 | Aug 22, 2023 20:03 | Angel Javier Larrosa |
IMPORTANT: NEXT TO BE DEPRECATED
List
Uri:
/api/v2/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
only_deleted: (int) {1-0} default 0
deleted_from: (date) {YYYY-mm-dd}
farmer_id: (int)
search: (string)
Response example:
{
"items": [
{
"id": 14143,
"name": "capo",
"farmer_id": 10666,
"farmer_name": "El Mostro",
"externalCode": null,
"deleted_at": "2018-04-13 10:57:39",
"modified_by": "gero@sociedad.com",
"parent_deleted_at": "2018-04-13 10:57:39"
}
],
"current_page": 1,
"next_page": 2,
"total_pages": 2,
"total_items": 14
}
, multiple selections available,
Related content
Establishments endpoint V2
Establishments endpoint V2
Read with this
Establishment endpoints (v3)
Establishment endpoints (v3)
More like this
Warehouses endpoints (v3)
Warehouses endpoints (v3)
More like this
FormulatedUse endpoint
FormulatedUse endpoint
More like this
Work Order endpoints
Work Order endpoints
Read with this
Application Order Labour Types Endpoint
Application Order Labour Types Endpoint
More like this