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 5 Next »

Applicators detail uri:

/api/v2/third_party/applicators/{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": 78512,
    "name": "Empleado Juan",
    "address": null,
    "phoneNumber": null,
    "email": null,
    "dateCreated": {
        "date": "2022-03-03 09:59:28.000000",
        "timezone_type": 3,
        "timezone": "America/Argentina/Buenos_Aires"
    },
    "dateModified": {
        "date": "2022-03-03 09:59:48.000000",
        "timezone_type": 3,
        "timezone": "America/Argentina/Buenos_Aires"
    },
    "machines": [
        10487,
        10488,
        10490
    ]
}

Applicators list uri:

/api/v2/third_party/applicators

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
created_from: (datetime) optional

Response example:

{
    "items": [
        {
            "id": 73,
            "name": "Aplicador",
            "address": null,
            "phoneNumber": "",
            "email": "",
            "dateCreated": "2015-01-01T00:00:00-03:00",
            "dateModified": "2015-01-01T00:00:00-03:00",
            "machines": [
                68,
                625,
                757,
                1052
            ]
        },
        {
            "id": 84,
            "name": "Prueba 2015",
            "address": null,
            "phoneNumber": "",
            "email": "",
            "dateCreated": "2015-01-01T00:00:00-03:00",
            "dateModified": "2015-01-01T00:00:00-03:00",
            "machines": [
                79
            ]
        },
        {
            "id": 122,
            "name": "Test sin maquina",
            "address": null,
            "phoneNumber": "",
            "email": "",
            "dateCreated": "2015-01-01T00:00:00-03:00",
            "dateModified": "2015-01-01T00:00:00-03:00",
            "machines": []
        }
    ],
    "current_page": 1,
    "next_page": 1,
    "total_pages": 1,
    "total_items": 3
}

  • No labels