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

Machines detail uri:

/api/v2/third_party/machines/{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": 12661,
    "brand": "AD259KZ AMAROK DC 2.02L TDI 180CV CONFORLINE 4X2",
    "model": null,
    "year": null,
    "beak_distance": null,
    "tank": null,
    "driver": null,
    "applicator_id": 79376,
    "application_method_id": 4,
    "platform_width": null,
    "has_pilot": null,
    "has_harvest_map": null,
    "machine_type_if": 5,
    "machine_threshing_system_id": null,
    "machine_head_id": null,
    "date_modified": "2022-07-07T15:32:25-03:00",
    "date_created": "2022-04-08T15:35:48-03:00"
}

Machines list uri:

/api/v2/third_party/machines

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": 234,
            "brand": "Pla",
            "model": null,
            "year": null,
            "beak_distance": "35.000000",
            "tank": null,
            "driver": "Riba Nestor",
            "applicator_id": 3,
            "application_method_id": 2,
            "platform_width": null,
            "has_pilot": null,
            "has_harvest_map": null,
            "machine_type_if": 1,
            "machine_threshing_system_id": null,
            "machine_head_id": null,
            "date_modified": "2016-11-09T10:48:24-03:00",
            "date_created": "2016-11-09T10:48:24-03:00"
        },
        {
            "id": 88,
            "brand": "Releyco",
            "model": "",
            "year": 0,
            "beak_distance": "35.000000",
            "tank": 3500,
            "driver": "Varios",
            "applicator_id": 4,
            "application_method_id": 3,
            "platform_width": "21.70",
            "has_pilot": null,
            "has_harvest_map": null,
            "machine_type_if": 1,
            "machine_threshing_system_id": null,
            "machine_head_id": null,
            "date_modified": "2015-01-01T00:00:00-03:00",
            "date_created": "2015-01-01T00:00:00-03:00"
        },
        {
            "id": 2400,
            "brand": "Fertec 3000",
            "model": null,
            "year": 2010,
            "beak_distance": null,
            "tank": null,
            "driver": null,
            "applicator_id": 5,
            "application_method_id": null,
            "platform_width": "21.00",
            "has_pilot": false,
            "has_harvest_map": false,
            "machine_type_if": 4,
            "machine_threshing_system_id": null,
            "machine_head_id": null,
            "date_modified": "2019-05-14T11:11:41-03:00",
            "date_created": "2019-05-14T11:11:41-03:00"
        },
        {
            "id": 23,
            "brand": "PA3000",
            "model": "",
            "year": 0,
            "beak_distance": "0.000000",
            "tank": 0,
            "driver": "",
            "applicator_id": 22,
            "application_method_id": 4,
            "platform_width": null,
            "has_pilot": null,
            "has_harvest_map": null,
            "machine_type_if": 1,
            "machine_threshing_system_id": null,
            "machine_head_id": null,
            "date_modified": "2015-01-01T00:00:00-03:00",
            "date_created": "2015-01-01T00:00:00-03:00"
        },
        {
            "id": 9720,
            "brand": "AviĆ³n amarillo",
            "model": null,
            "year": 0,
            "beak_distance": "0.000000",
            "tank": 0,
            "driver": null,
            "applicator_id": 30,
            "application_method_id": 1,
            "platform_width": "0.00",
            "has_pilot": false,
            "has_harvest_map": false,
            "machine_type_if": 1,
            "machine_threshing_system_id": null,
            "machine_head_id": null,
            "date_modified": "2021-11-18T18:11:29-03:00",
            "date_created": "2021-11-18T18:11:29-03:00"
        },
        {
            "id": 86,
            "brand": "Caiman",
            "model": "",
            "year": 0,
            "beak_distance": "0.000000",
            "tank": 0,
            "driver": "",
            "applicator_id": 90,
            "application_method_id": 2,
            "platform_width": null,
            "has_pilot": null,
            "has_harvest_map": null,
            "machine_type_if": 1,
            "machine_threshing_system_id": null,
            "machine_head_id": null,
            "date_modified": "2015-01-01T00:00:00-03:00",
            "date_created": "2015-01-01T00:00:00-03:00"
        },
        {
            "id": 87,
            "brand": "Gimetal (Fertilizadora)",
            "model": "",
            "year": 0,
            "beak_distance": "0.000000",
            "tank": 1500,
            "driver": "",
            "applicator_id": 90,
            "application_method_id": 3,
            "platform_width": "16.00",
            "has_pilot": null,
            "has_harvest_map": null,
            "machine_type_if": 1,
            "machine_threshing_system_id": null,
            "machine_head_id": null,
            "date_modified": "2015-01-01T00:00:00-03:00",
            "date_created": "2015-01-01T00:00:00-03:00"
        },
        {
            "id": 103,
            "brand": "Metalfor Multiple 7035",
            "model": "2014",
            "year": 0,
            "beak_distance": "0.000000",
            "tank": 0,
            "driver": "Rafael",
            "applicator_id": 105,
            "application_method_id": 2,
            "platform_width": null,
            "has_pilot": null,
            "has_harvest_map": null,
            "machine_type_if": 1,
            "machine_threshing_system_id": null,
            "machine_head_id": null,
            "date_modified": "2015-01-01T00:00:00-03:00",
            "date_created": "2015-01-01T00:00:00-03:00"
        },
        {
            "id": 107,
            "brand": "",
            "model": "",
            "year": 0,
            "beak_distance": "0.000000",
            "tank": 0,
            "driver": "Tincho",
            "applicator_id": 109,
            "application_method_id": 2,
            "platform_width": null,
            "has_pilot": null,
            "has_harvest_map": null,
            "machine_type_if": 1,
            "machine_threshing_system_id": null,
            "machine_head_id": null,
            "date_modified": "2015-01-01T00:00:00-03:00",
            "date_created": "2015-01-01T00:00:00-03:00"
        },
        {
            "id": 275,
            "brand": "John Deree",
            "model": "Sin Duales",
            "year": 0,
            "beak_distance": "0.000000",
            "tank": 0,
            "driver": "Pato",
            "applicator_id": 278,
            "application_method_id": 4,
            "platform_width": null,
            "has_pilot": false,
            "has_harvest_map": false,
            "machine_type_if": 2,
            "machine_threshing_system_id": 2,
            "machine_head_id": 2,
            "date_modified": "2017-03-14T12:14:52-03:00",
            "date_created": "2017-03-14T12:14:52-03:00"
        }
    ],
    "current_page": 1,
    "next_page": 2,
    "total_pages": 4,
    "total_items": 34
}

  • No labels