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

Version 1 Current »

Applicators detail uri:

/api/v2/third_party/warehouses/{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": 4961,
    "name": "Deposito SIMA",
    "description": "",
    "modifiedAt": "2021-10-18T11:12:01-03:00"
}

Warehouses list uri:

/api/v2/third_party/warehouses

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
search: (string) optional
id: (int) optional
updated_from: (datetime) optional

Response example:

{
    "items": [
        {
            "id": 4961,
            "name": "Deposito SIMA",
            "description": "",
            "modifiedAt": "2021-10-18T11:12:01-03:00"
        },
        {
            "id": 4962,
            "name": "Granos",
            "description": "",
            "modifiedAt": "2021-10-18T11:12:01-03:00"
        },
        {
            "id": 4963,
            "name": "Insumos controla stock",
            "description": "",
            "modifiedAt": "2021-10-18T11:12:01-03:00"
        },
        {
            "id": 4964,
            "name": "Insumos no controla stock",
            "description": "",
            "modifiedAt": "2021-10-18T11:12:01-03:00"
        },
        {
            "id": 4965,
            "name": "suplementación",
            "description": "",
            "modifiedAt": "2021-10-18T11:12:01-03:00"
        }
    ],
    "current_page": 1,
    "next_page": 1,
    "total_pages": 1,
    "total_items": 5
}

  • No labels