Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

« Previous Version 3 Next »

Versión

Fecha

Comentarios

Versión actual (v. 1)

sep 2, 2024 14:57

Angel Javier Larrosa

Establishment create uri:

/api/v3/third_party/establishments

Method:

POST

Header:

    'X-SIMA-APIKEY: {API-KEY}',
    'X-SIMA-SYSTEM-ID: {API-SYSTEM-ID}',
    'Accept: application/json',
    'Content-Type: application/json'

Body:

{   
    "farmer_id": 13873,    
    "name": "Establecimiento 1",
    "observations": "Una observación"
}

Response example:

{
    "id": 118422,
    "farmer_id": 13873,
    "name": "Establecimiento 1",
    "observations": "Una observación",
    "created_at": "2024-08-30T18:03:13-03:00",
    "modified_at": "2024-08-30T18:03:13-03:00",
    "deleted_at": null,
    "active": true
}

  • No labels