Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
{
    "header": {
        "system_id": "third_party",
        "local_id": null,
        "external_id": null,
        "local_code": null,
        "external_code": null,
        "date": "20212022-1007-27T15:56:09Z04T17:03:14-03:00",
        "voucher_date": "20202022-07-01T0004T00:00:00-03:00Z00",
        "name": "name-testbarbecho largo L1 y L2 / MAIZ-04/07/2022",
        "is_read_only": truefalse,
        "concurrency_token": null,
        "currency": {
            "originlocal_id": {
   null,
            "localexternal_id": null,
                "externallocal_idcode": null,
   
            "localexternal_code": null,

               "external_code"origin": null{
            },             "local_id": null,
                "external_id": null,
                "local_code": null,
                "external_code": null
        },    }
    "observations": "Barbecho - Servicio : FTW - Insumo : RizoSpray Corrector,Power Plus II,24D"    },
        "observations": null,
        "state": {
            "pending": falsetrue,
            "executed": false,
            "confirmed": truefalse
        },
        "extra_fields": {
            "company": {
                "local_id": null32,
                "external_id": null,
                "local_code": null,
                "external_code": null
            },
            "voucher_type": {
                "local_id": 7,
                "external_id": null,
                "local_code": null,
                "external_code": null
            },
            "dimension": {
                "local_id": null,
                "external_id": null,
                "local_code": null,
                "external_code": null
            }
        },
    },
    "local_idsupplies": null,[
        {
  "external_id": null,         "local_codeid": null,
            "external_codeid": null,
    },        "supplieslocal_code": null,
  [          {"external_code": null,
            "cultivation": {
                "local_id": 146740243405,
                "external_id": null,
                "local_code": null,
                "external_code": null
            },
            "date": "2020-08-03T00:00:00Z2022-07-04T17:03:14-03:00",
            "area_applied": 45.0037,
            "state": {
                "pending": falsetrue,
                "executed": false,
                "confirmed": truefalse
            },
            "date_applied": "2020-08-19T00:00:00Z"null,
            "formulated": {
                "local_id": 195748844,
                "external_id": null,
                "local_code": null,
                "external_code": null
            },
            "warehouse": {
  null,
             "localtotal_idapplied": null59.999,
                "externalextra_idfields": null,{
                "localvoucher_codetype": null, {
                    "externallocal_codeid": null7,
            },             "total_applied"external_id": 0.2250null,
            "extra_fields": {                 "voucher_type": {
                    "local_idcode": 7null,
                    "external_idcode": null,
                    "local_code": null,
   },
                "externalquotation_codecoefficient": null
                },
                "quotationunit_coefficientprice": null,
            }
   "unit_price": null    },
        },{
            "local_id": null,
            "external_id": null,
            "local_code": null,
            "external_code": null
        }
    ],
    "labours":
[         {             "cultivation": {
                "local_id": 146740243405,
                "external_id": null,
                "local_code": null,
                "external_code": null
            },
            "date": "2020-08-03T00:00:00Z2022-07-04T17:03:14-03:00",
            "area_applied": 45.0037,
            "unit_dose": 1.00,
            "state"state": {
                "pending": falsetrue,
                "executed": false,
                "confirmed": truefalse
            },
            "date_applied": "2020-08-19T00:00:00Z"null,
            "applicatorsformulated": [],
  {
         "machines": [],             "contractors"local_id": [],
         39034,
  "service": {                 "price"external_id": null,
                "local_idcode": null,
                "external_idcode": null,
                "local_code": null},
                "external_code"warehouse": null,
            } "total_applied": 19.999,
            "extra_fields": {
                "voucher_type": {
                    "local_id": 7,
                    "external_id": null,
                    "local_code": null,
                    "external_code": null
                },
                "quotation_coefficient": null,
                "unit_price": null
            }
        },
        {
            "local_id": null,
            "external_id": null,
            "local_code": null,
            "external_code": null,
        }    "cultivation": {
          ]
}

Response example:

...

Workorder edit uri:

Code Block
/integration/api/v1/workOrders/{externalId/externalCode/localId}

Method:

Code Block
PATCH

Header:

Code Block
    'X-SIMA-APIKEY: {API-KEY}',
    'X-SIMA-SYSTEM-ID: {API-SYSTEM-ID}'      "local_id": 243405,
                "external_id": null,
                "local_code": null,
                "external_code": null
            },
            "date": "2022-07-04T17:03:14-03:00",
    'Accept: application/json',     'Content-Type: application/json'

Body example:

...

Response example:

code
  "area_applied": 37,
            "state": {
                "pending": true,
                "executed": false,
                "confirmed": false
            },
            "date_applied": null,
            "formulated": {
                "local_id": 89,
                "external_id": null,
                "local_code": null,
                "external_code": null
            },
            "warehouse": null,
            "total_applied": 7.5,
            "extra_fields": {
                "voucher_type": {
                    "local_id": 7,
                    "external_id": null,
                    "local_code": null,
                    "external_code": null
                },
                "quotation_coefficient": null,
                "unit_price": null
            }
        },
        {
            "local_id": null,
            "external_id": null,
            "local_code": null,
            "external_code": null,
            "cultivation": {
                "local_id": 243405,
                "external_id": null,
                "local_code": null,
                "external_code": null
            },
            "date": "2022-07-04T17:03:14-03:00",
            "area_applied": 37,
            "state": {
                "pending": true,
                "executed": false,
                "confirmed": false
            },
            "date_applied": null,
            "formulated": {
                "local_id": 170,
                "external_id": null,
                "local_code": null,
                "external_code": null
            },
            "warehouse": null,
            "total_applied": 34.998,
            "extra_fields": {
                "voucher_type": {
                    "local_id": 7,
                    "external_id": null,
                    "local_code": null,
                    "external_code": null
                },
                "quotation_coefficient": null,
                "unit_price": null
            }
        },
        {
            "local_id": null,
            "external_id": null,
            "local_code": null,
            "external_code": null,
            "cultivation": {
                "local_id": 243406,
                "external_id": null,
                "local_code": null,
                "external_code": null
            },
            "date": "2022-07-04T17:03:14-03:00",
            "area_applied": 37,
            "state": {
                "pending": true,
                "executed": false,
                "confirmed": false
            },
            "date_applied": null,
            "formulated": {
                "local_id": 8844,
                "external_id": null,
                "local_code": null,
                "external_code": null
            },
            "warehouse": null,
            "total_applied": 59.999,
            "extra_fields": {
                "voucher_type": {
                    "local_id": 7,
                    "external_id": null,
                    "local_code": null,
                    "external_code": null
                },
                "quotation_coefficient": null,
                "unit_price": null
            }
        },
        {
            "local_id": null,
            "external_id": null,
            "local_code": null,
            "external_code": null,
            "cultivation": {
                "local_id": 243406,
                "external_id": null,
                "local_code": null,
                "external_code": null
            },
            "date": "2022-07-04T17:03:14-03:00",
            "area_applied": 37,
            "state": {
                "pending": true,
                "executed": false,
                "confirmed": false
            },
            "date_applied": null,
            "formulated": {
                "local_id": 39034,
                "external_id": null,
                "local_code": null,
                "external_code": null
            },
            "warehouse": null,
            "total_applied": 19.999,
            "extra_fields": {
                "voucher_type": {
                    "local_id": 7,
                    "external_id": null,
                    "local_code": null,
                    "external_code": null
                },
                "quotation_coefficient": null,
                "unit_price": null
            }
        },
        {
            "local_id": null,
            "external_id": null,
            "local_code": null,
            "external_code": null,
            "cultivation": {
                "local_id": 243406,
                "external_id": null,
                "local_code": null,
                "external_code": null
            },
            "date": "2022-07-04T17:03:14-03:00",
            "area_applied": 37,
            "state": {
                "pending": true,
                "executed": false,
                "confirmed": false
            },
            "date_applied": null,
            "formulated": {
                "local_id": 89,
                "external_id": null,
                "local_code": null,
                "external_code": null
            },
            "warehouse": null,
            "total_applied": 7.5,
            "extra_fields": {
                "voucher_type": {
                    "local_id": 7,
                    "external_id": null,
                    "local_code": null,
                    "external_code": null
                },
                "quotation_coefficient": null,
                "unit_price": null
            }
        },
        {
            "local_id": null,
            "external_id": null,
            "local_code": null,
            "external_code": null,
            "cultivation": {
                "local_id": 243406,
                "external_id": null,
                "local_code": null,
                "external_code": null
            },
            "date": "2022-07-04T17:03:14-03:00",
            "area_applied": 37,
            "state": {
                "pending": true,
                "executed": false,
                "confirmed": false
            },
            "date_applied": null,
            "formulated": {
                "local_id": 170,
                "external_id": null,
                "local_code": null,
                "external_code": null
            },
            "warehouse": null,
            "total_applied": 34.998,
            "extra_fields": {
                "voucher_type": {
                    "local_id": 7,
                    "external_id": null,
                    "local_code": null,
                    "external_code": null
                },
                "quotation_coefficient": null,
                "unit_price": null
            }
        }
    ],
    "labours": [
        {
            "local_id": null,
            "external_id": null,
            "local_code": null,
            "external_code": null,
            "cultivation": {
                "local_id": 243405,
                "external_id": null,
                "local_code": null,
                "external_code": null
            },
            "date": "2022-07-04T00:00:00-03:00",
            "area_applied": 37,
            "unit_dose": null,
            "state": {
                "pending": true,
                "executed": false,
                "confirmed": false
            },
            "date_applied": null,
            "applicators": [],
            "contractors": [
                {
                    "local_id": 3056,
                    "external_id": null,
                    "local_code": null,
                    "external_code": null
                }
            ],
            "machines": [
                {
                    "local_id": 4419,
                    "external_id": null,
                    "local_code": null,
                    "external_code": null
                }
            ],
            "service": {
                "local_id": null,
                "external_id": null,
                "local_code": null,
                "external_code": null,
                "price": null
            },
            "extra_fields": {
                "voucher_type": {
                    "local_id": 7,
                    "external_id": null,
                    "local_code": null,
                    "external_code": null
                },
                "quotation_coefficient": null,
                "unit_price": null
            }
        },
        {
            "local_id": null,
            "external_id": null,
            "local_code": null,
            "external_code": null,
            "cultivation": {
                "local_id": 243406,
                "external_id": null,
                "local_code": null,
                "external_code": null
            },
            "date": "2022-07-04T00:00:00-03:00",
            "area_applied": 37,
            "unit_dose": null,
            "state": {
                "pending": true,
                "executed": false,
                "confirmed": false
            },
            "date_applied": null,
            "applicators": [],
            "contractors": [
                {
                    "local_id": 3056,
                    "external_id": null,
                    "local_code": null,
                    "external_code": null
                }
            ],
            "machines": [
                {
                    "local_id": 4419,
                    "external_id": null,
                    "local_code": null,
                    "external_code": null
                }
            ],
            "service": {
                "local_id": null,
                "external_id": null,
                "local_code": null,
                "external_code": null,
                "price": null
            },
            "extra_fields": {
                "voucher_type": {
                    "local_id": 7,
                    "external_id": null,
                    "local_code": null,
                    "external_code": null
                },
                "quotation_coefficient": null,
                "unit_price": null
            }
        }
    ]
}

Response example:

Code Block
{
    "data": {
        "header": {
            "system_id": "sima",
            "local_id": 292781,
            "external_id": null,
            "local_code": null,
            "external_code": null,
            "date": "2022-08-08T10:07:36-03:00",
            "voucher_date": "2022-07-04T00:00:00-03:00",
            "name": "barbecho largo L1 y L2 / MAIZ-04/07/2022",
            "is_read_only": false,
            "concurrency_token": null,
            "currency": {
                "local_id": null,
                "external_id": null,
                "local_code": null,
                "external_code": null,
                "origin": {
                    "local_id": null,
                    "external_id": null,
                    "local_code": null,
                    "external_code": null
                }
            },
            "observations": null,
            "state": {
                "pending": true,
                "executed": false,
                "confirmed": false
            },
            "extra_fields": {
                "company": {
                    "local_id": 32,
                    "external_id": null,
                    "local_code": null,
                    "external_code": null
                },
                "voucher_type": {
                    "local_id": 7,
                    "external_id": null,
                    "local_code": null,
                    "external_code": null
                },
                "dimension": {
                    "local_id": null,
                    "external_id": null,
                    "local_code": null,
                    "external_code": null
                }
            }
        },
        "supplies": [
            {
                "local_id": 2517893,
                "external_id": null,
                "local_code": null,
                "external_code": null,
                "cultivation": {
                    "local_id": 243405,
                    "external_id": null,
                    "local_code": null,
                    "external_code": null
                },
                "date": "2022-08-08T10:07:36-03:00",
                "area_applied": 37,
                "state": {
                    "pending": true,
                    "executed": false,
                    "confirmed": false
                },
                "date_applied": null,
                "formulated": {
                    "local_id": 8844,
                    "external_id": null,
                    "local_code": null,
                    "external_code": null
                },
                "warehouse": null,
                "total_applied": 119.998,
                "extra_fields": {
                    "voucher_type": {
                        "local_id": 7,
                        "external_id": null,
                        "local_code": null,
                        "external_code": null
                    },
                    "quotation_coefficient": null,
                    "unit_price": null
                }
            },
            {
                "local_id": 2517894,
                "external_id": null,
                "local_code": null,
                "external_code": null,
                "cultivation": {
                    "local_id": 243405,
                    "external_id": null,
                    "local_code": null,
                    "external_code": null
                },
                "date": "2022-08-08T10:07:36-03:00",
                "area_applied": 37,
                "state": {
                    "pending": true,
                    "executed": false,
                    "confirmed": false
                },
                "date_applied": null,
                "formulated": {
                    "local_id": 39034,
                    "external_id": null,
                    "local_code": null,
                    "external_code": null
                },
                "warehouse": null,
                "total_applied": 39.998,
                "extra_fields": {
                    "voucher_type": {
                        "local_id": 7,
                        "external_id": null,
                        "local_code": null,
                        "external_code": null
                    },
                    "quotation_coefficient": null,
                    "unit_price": null
                }
            },
            {
                "local_id": 2517895,
                "external_id": null,
                "local_code": null,
                "external_code": null,
                "cultivation": {
                    "local_id": 243405,
                    "external_id": null,
                    "local_code": null,
                    "external_code": null
                },
                "date": "2022-08-08T10:07:36-03:00",
                "area_applied": 37,
                "state": {
                    "pending": true,
                    "executed": false,
                    "confirmed": false
                },
                "date_applied": null,
                "formulated": {
                    "local_id": 89,
                    "external_id": null,
                    "local_code": null,
                    "external_code": null
                },
                "warehouse": null,
                "total_applied": 15,
                "extra_fields": {
                    "voucher_type": {
                        "local_id": 7,
                        "external_id": null,
                        "local_code": null,
                        "external_code": null
                    },
                    "quotation_coefficient": null,
                    "unit_price": null
                }
            },
            {
                "local_id": 2517896,
                "external_id": null,
                "local_code": null,
                "external_code": null,
                "cultivation": {
                    "local_id": 243405,
                    "external_id": null,
                    "local_code": null,
                    "external_code": null
                },
                "date": "2022-08-08T10:07:36-03:00",
                "area_applied": 37,
                "state": {
                    "pending": true,
                    "executed": false,
                    "confirmed": false
                },
                "date_applied": null,
                "formulated": {
                    "local_id": 170,
                    "external_id": null,
                    "local_code": null,
                    "external_code": null
                },
                "warehouse": null,
                "total_applied": 69.996,
                "extra_fields": {
                    "voucher_type": {
                        "local_id": 7,
                        "external_id": null,
                        "local_code": null,
                        "external_code": null
                    },
                    "quotation_coefficient": null,
                    "unit_price": null
                }
            },
            {
                "local_id": 2517897,
                "external_id": null,
                "local_code": null,
                "external_code": null,
                "cultivation": {
                    "local_id": 243406,
                    "external_id": null,
                    "local_code": null,
                    "external_code": null
                },
                "date": "2022-08-08T10:07:36-03:00",
                "area_applied": 37,
                "state": {
                    "pending": true,
                    "executed": false,
                    "confirmed": false
                },
                "date_applied": null,
                "formulated": {
                    "local_id": 8844,
                    "external_id": null,
                    "local_code": null,
                    "external_code": null
                },
                "warehouse": null,
                "total_applied": 119.998,
                "extra_fields": {
                    "voucher_type": {
                        "local_id": 7,
                        "external_id": null,
                        "local_code": null,
                        "external_code": null
                    },
                    "quotation_coefficient": null,
                    "unit_price": null
                }
            },
            {
                "local_id": 2517898,
                "external_id": null,
                "local_code": null,
                "external_code": null,
                "cultivation": {
                    "local_id": 243406,
                    "external_id": null,
                    "local_code": null,
                    "external_code": null
                },
                "date": "2022-08-08T10:07:36-03:00",
                "area_applied": 37,
                "state": {
                    "pending": true,
                    "executed": false,
                    "confirmed": false
                },
                "date_applied": null,
                "formulated": {
                    "local_id": 39034,
                    "external_id": null,
                    "local_code": null,
                    "external_code": null
                },
                "warehouse": null,
                "total_applied": 39.998,
                "extra_fields": {
                    "voucher_type": {
                        "local_id": 7,
                        "external_id": null,
                        "local_code": null,
                        "external_code": null
                    },
                    "quotation_coefficient": null,
                    "unit_price": null
                }
            },
            {
                "local_id": 2517899,
                "external_id": null,
                "local_code": null,
                "external_code": null,
                "cultivation": {
                    "local_id": 243406,
                    "external_id": null,
                    "local_code": null,
                    "external_code": null
                },
                "date": "2022-08-08T10:07:36-03:00",
                "area_applied": 37,
                "state": {
                    "pending": true,
                    "executed": false,
                    "confirmed": false
                },
                "date_applied": null,
                "formulated": {
                    "local_id": 89,
                    "external_id": null,
                    "local_code": null,
                    "external_code": null
                },
                "warehouse": null,
                "total_applied": 15,
                "extra_fields": {
                    "voucher_type": {
                        "local_id": 7,
                        "external_id": null,
                        "local_code": null,
                        "external_code": null
                    },
                    "quotation_coefficient": null,
                    "unit_price": null
                }
            },
            {
                "local_id": 2517900,
                "external_id": null,
                "local_code": null,
                "external_code": null,
                "cultivation": {
                    "local_id": 243406,
                    "external_id": null,
                    "local_code": null,
                    "external_code": null
                },
                "date": "2022-08-08T10:07:36-03:00",
                "area_applied": 37,
                "state": {
                    "pending": true,
                    "executed": false,
                    "confirmed": false
                },
                "date_applied": null,
                "formulated": {
                    "local_id": 170,
                    "external_id": null,
                    "local_code": null,
                    "external_code": null
                },
                "warehouse": null,
                "total_applied": 69.996,
                "extra_fields": {
                    "voucher_type": {
                        "local_id": 7,
                        "external_id": null,
                        "local_code": null,
                        "external_code": null
                    },
                    "quotation_coefficient": null,
                    "unit_price": null
                }
            }
        ],
        "labours": [
            {
                "local_id": 761553,
                "external_id": null,
                "local_code": null,
                "external_code": null,
                "cultivation": {
                    "local_id": 243405,
                    "external_id": null,
                    "local_code": null,
                    "external_code": null
                },
                "date": "2022-07-04T00:00:00-03:00",
                "area_applied": 37,
                "unit_dose": null,
                "state": {
                    "pending": true,
                    "executed": false,
                    "confirmed": false
                },
                "date_applied": null,
                "applicators": [],
                "contractors": [
                    {
                        "local_id": 3056,
                        "external_id": null,
                        "local_code": null,
                        "external_code": null
                    }
                ],
                "machines": [
                    {
                        "local_id": 4419,
                        "external_id": null,
                        "local_code": null,
                        "external_code": null
                    }
                ],
                "service": {
                    "local_id": null,
                    "external_id": null,
                    "local_code": null,
                    "external_code": null,
                    "price": null
                },
                "extra_fields": {
                    "voucher_type": {
                        "local_id": 7,
                        "external_id": null,
                        "local_code": null,
                        "external_code": null
                    },
                    "quotation_coefficient": null,
                    "unit_price": null
                }
            },
            {
                "local_id": 761554,
                "external_id": null,
                "local_code": null,
                "external_code": null,
                "cultivation": {
                    "local_id": 243406,
                    "external_id": null,
                    "local_code": null,
                    "external_code": null
                },
                "date": "2022-07-04T00:00:00-03:00",
                "area_applied": 37,
                "unit_dose": null,
                "state": {
                    "pending": true,
                    "executed": false,
                    "confirmed": false
                },
                "date_applied": null,
                "applicators": [],
                "contractors": [
                    {
                        "local_id": 3056,
                        "external_id": null,
                        "local_code": null,
                        "external_code": null
                    }
                ],
                "machines": [
                    {
                        "local_id": 4419,
                        "external_id": null,
                        "local_code": null,
                        "external_code": null
                    }
                ],
                "service": {
                    "local_id": null,
                    "external_id": null,
                    "local_code": null,
                    "external_code": null,
                    "price": null
                },
                "extra_fields": {
                    "voucher_type": {
                        "local_id": 7,
                        "external_id": null,
                        "local_code": null,
                        "external_code": null
                    },
                    "quotation_coefficient": null,
                    "unit_price": null
                }
            }
        ]
    }
}

Workorder edit uri:

Code Block
/integration/api/v1/workOrders/{externalId/externalCode/localId}

Method:

Code Block
PATCH

Header:

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

Body example:

Code Block
{
    "header": {
        "system_id": "third_party",
        "local_id": 292781,
        "external_id": null,
        "local_code": null,
        "external_code": null,
        "date": "2022-08-08T10:07:36-03:00",
        "voucher_date": "2022-07-04T00:00:00-03:00",
        "name": "barbecho largo L1 y L2 / MAIZ-04/07/2022",
        "is_read_only": false,
        "concurrency_token": null,
        "currency": {
            "local_id": null,
            "external_id": null,
            "local_code": null,
            "external_code": null,
            "origin": {
                "local_id": null,
                "external_id": null,
                "local_code": null,
                "external_code": null
            }
        },
        "observations": "Una observación",
        "state": {
            "pending": true,
            "executed": false,
            "confirmed": false
        },
        "extra_fields": {
            "company": {
                "local_id": 32,
                "external_id": null,
                "local_code": null,
                "external_code": null
            },
            "voucher_type": {
                "local_id": 7,
                "external_id": null,
                "local_code": null,
                "external_code": null
            },
            "dimension": {
                "local_id": null,
                "external_id": null,
                "local_code": null,
                "external_code": null
            }
        }
    },
    "supplies": [
        {
            "local_id": 2517893,
            "external_id": null,
            "local_code": null,
            "external_code": null,
            "cultivation": {
                "local_id": 243405,
                "external_id": null,
                "local_code": null,
                "external_code": null
            },
            "date": "2022-08-08T10:07:36-03:00",
            "area_applied": 37,
            "state": {
                "pending": true,
                "executed": false,
                "confirmed": false
            },
            "date_applied": null,
            "formulated": {
                "local_id": 8844,
                "external_id": null,
                "local_code": null,
                "external_code": null
            },
            "warehouse": null,
            "total_applied": 119.998,
            "extra_fields": {
                "voucher_type": {
                    "local_id": 7,
                    "external_id": null,
                    "local_code": null,
                    "external_code": null
                },
                "quotation_coefficient": null,
                "unit_price": null
            }
        },
        {
            "local_id": 2517894,
            "external_id": null,
            "local_code": null,
            "external_code": null,
            "cultivation": {
                "local_id": 243405,
                "external_id": null,
                "local_code": null,
                "external_code": null
            },
            "date": "2022-08-08T10:07:36-03:00",
            "area_applied": 37,
            "state": {
                "pending": true,
                "executed": false,
                "confirmed": false
            },
            "date_applied": null,
            "formulated": {
                "local_id": 39034,
                "external_id": null,
                "local_code": null,
                "external_code": null
            },
            "warehouse": null,
            "total_applied": 39.998,
            "extra_fields": {
                "voucher_type": {
                    "local_id": 7,
                    "external_id": null,
                    "local_code": null,
                    "external_code": null
                },
                "quotation_coefficient": null,
                "unit_price": null
            }
        },
        {
            "local_id": 2517895,
            "external_id": null,
            "local_code": null,
            "external_code": null,
            "cultivation": {
                "local_id": 243405,
                "external_id": null,
                "local_code": null,
                "external_code": null
            },
            "date": "2022-08-08T10:07:36-03:00",
            "area_applied": 37,
            "state": {
                "pending": true,
                "executed": false,
                "confirmed": false
            },
            "date_applied": null,
            "formulated": {
                "local_id": 89,
                "external_id": null,
                "local_code": null,
                "external_code": null
            },
            "warehouse": null,
            "total_applied": 15,
            "extra_fields": {
                "voucher_type": {
                    "local_id": 7,
                    "external_id": null,
                    "local_code": null,
                    "external_code": null
                },
                "quotation_coefficient": null,
                "unit_price": null
            }
        },
        {
            "local_id": 2517896,
            "external_id": null,
            "local_code": null,
            "external_code": null,
            "cultivation": {
                "local_id": 243405,
                "external_id": null,
                "local_code": null,
                "external_code": null
            },
            "date": "2022-08-08T10:07:36-03:00",
            "area_applied": 37,
            "state": {
                "pending": true,
                "executed": false,
                "confirmed": false
            },
            "date_applied": null,
            "formulated": {
                "local_id": 170,
                "external_id": null,
                "local_code": null,
                "external_code": null
            },
            "warehouse": null,
            "total_applied": 69.996,
            "extra_fields": {
                "voucher_type": {
                    "local_id": 7,
                    "external_id": null,
                    "local_code": null,
                    "external_code": null
                },
                "quotation_coefficient": null,
                "unit_price": null
            }
        },
        {
            "local_id": 2517897,
            "external_id": null,
            "local_code": null,
            "external_code": null,
            "cultivation": {
                "local_id": 243406,
                "external_id": null,
                "local_code": null,
                "external_code": null
            },
            "date": "2022-08-08T10:07:36-03:00",
            "area_applied": 37,
            "state": {
                "pending": true,
                "executed": false,
                "confirmed": false
            },
            "date_applied": null,
            "formulated": {
                "local_id": 8844,
                "external_id": null,
                "local_code": null,
                "external_code": null
            },
            "warehouse": null,
            "total_applied": 119.998,
            "extra_fields": {
                "voucher_type": {
                    "local_id": 7,
                    "external_id": null,
                    "local_code": null,
                    "external_code": null
                },
                "quotation_coefficient": null,
                "unit_price": null
            }
        },
        {
            "local_id": 2517898,
            "external_id": null,
            "local_code": null,
            "external_code": null,
            "cultivation": {
                "local_id": 243406,
                "external_id": null,
                "local_code": null,
                "external_code": null
            },
            "date": "2022-08-08T10:07:36-03:00",
            "area_applied": 37,
            "state": {
                "pending": true,
                "executed": false,
                "confirmed": false
            },
            "date_applied": null,
            "formulated": {
                "local_id": 39034,
                "external_id": null,
                "local_code": null,
                "external_code": null
            },
            "warehouse": null,
            "total_applied": 39.998,
            "extra_fields": {
                "voucher_type": {
                    "local_id": 7,
                    "external_id": null,
                    "local_code": null,
                    "external_code": null
                },
                "quotation_coefficient": null,
                "unit_price": null
            }
        },
        {
            "local_id": 2517899,
            "external_id": null,
            "local_code": null,
            "external_code": null,
            "cultivation": {
                "local_id": 243406,
                "external_id": null,
                "local_code": null,
                "external_code": null
            },
            "date": "2022-08-08T10:07:36-03:00",
            "area_applied": 37,
            "state": {
                "pending": true,
                "executed": false,
                "confirmed": false
            },
            "date_applied": null,
            "formulated": {
                "local_id": 89,
                "external_id": null,
                "local_code": null,
                "external_code": null
            },
            "warehouse": null,
            "total_applied": 15,
            "extra_fields": {
                "voucher_type": {
                    "local_id": 7,
                    "external_id": null,
                    "local_code": null,
                    "external_code": null
                },
                "quotation_coefficient": null,
                "unit_price": null
            }
        },
        {
            "local_id": 2517900,
            "external_id": null,
            "local_code": null,
            "external_code": null,
            "cultivation": {
                "local_id": 243406,
                "external_id": null,
                "local_code": null,
                "external_code": null
            },
            "date": "2022-08-08T10:07:36-03:00",
            "area_applied": 37,
            "state": {
                "pending": true,
                "executed": false,
                "confirmed": false
            },
            "date_applied": null,
            "formulated": {
                "local_id": 170,
                "external_id": null,
                "local_code": null,
                "external_code": null
            },
            "warehouse": null,
            "total_applied": 69.996,
            "extra_fields": {
                "voucher_type": {
                    "local_id": 7,
                    "external_id": null,
                    "local_code": null,
                    "external_code": null
                },
                "quotation_coefficient": null,
                "unit_price": null
            }
        }
    ],
    "labours": [
        {
            "local_id": 761553,
            "external_id": null,
            "local_code": null,
            "external_code": null,
            "cultivation": {
                "local_id": 243405,
                "external_id": null,
                "local_code": null,
                "external_code": null
            },
            "date": "2022-07-04T00:00:00-03:00",
            "area_applied": 37,
            "unit_dose": null,
            "state": {
                "pending": true,
                "executed": false,
                "confirmed": false
            },
            "date_applied": null,
            "applicators": [],
            "contractors": [
                {
                    "local_id": 3056,
                    "external_id": null,
                    "local_code": null,
                    "external_code": null
                }
            ],
            "machines": [
                {
                    "local_id": 4419,
                    "external_id": null,
                    "local_code": null,
                    "external_code": null
                }
            ],
            "service": {
                "local_id": null,
                "external_id": null,
                "local_code": null,
                "external_code": null,
                "price": null
            },
            "extra_fields": {
                "voucher_type": {
                    "local_id": 7,
                    "external_id": null,
                    "local_code": null,
                    "external_code": null
                },
                "quotation_coefficient": null,
                "unit_price": null
            }
        },
        {
            "local_id": 761554,
            "external_id": null,
            "local_code": null,
            "external_code": null,
            "cultivation": {
                "local_id": 243406,
                "external_id": null,
                "local_code": null,
                "external_code": null
            },
            "date": "2022-07-04T00:00:00-03:00",
            "area_applied": 37,
            "unit_dose": null,
            "state": {
                "pending": true,
                "executed": false,
                "confirmed": false
            },
            "date_applied": null,
            "applicators": [],
            "contractors": [
                {
                    "local_id": 3056,
                    "external_id": null,
                    "local_code": null,
                    "external_code": null
                }
            ],
            "machines": [
                {
                    "local_id": 4419,
                    "external_id": null,
                    "local_code": null,
                    "external_code": null
                }
            ],
            "service": {
                "local_id": null,
                "external_id": null,
                "local_code": null,
                "external_code": null,
                "price": null
            },
            "extra_fields": {
                "voucher_type": {
                    "local_id": 7,
                    "external_id": null,
                    "local_code": null,
                    "external_code": null
                },
                "quotation_coefficient": null,
                "unit_price": null
            }
        }
    ]
}

Response example:

Code Block
{
    "data": {
        "header": {
            "system_id": "sima",
            "local_id": 292781,
            "external_id": null,
            "local_code": null,
            "external_code": null,
            "date": "2022-08-08T10:28:59-03:00",
            "voucher_date": "2022-07-04T00:00:00-03:00",
            "name": "barbecho largo L1 y L2 / MAIZ-04/07/2022",
            "is_read_only": false,
            "concurrency_token": null,
            "currency": {
                "local_id": null,
                "external_id": null,
                "local_code": null,
                "external_code": null,
                "origin": {
                    "local_id": null,
                    "external_id": null,
                    "local_code": null,
                    "external_code": null
                }
            },
            "observations": "Una observación",
            "state": {
                "pending": true,
                "executed": false,
                "confirmed": false
            },
            "extra_fields": {
                "company": {
                    "local_id": 32,
                    "external_id": null,
                    "local_code": null,
                    "external_code": null
                },
                "voucher_type": {
                    "local_id": 7,
                    "external_id": null,
                    "local_code": null,
                    "external_code": null
                },
                "dimension": {
                    "local_id": null,
                    "external_id": null,
                    "local_code": null,
                    "external_code": null
                }
            }
        },
        "supplies": [
            {
                "local_id": 2517917,
                "external_id": null,
                "local_code": null,
                "external_code": null,
                "cultivation": {
                    "local_id": 243405,
                    "external_id": null,
                    "local_code": null,
                    "external_code": null
                },
                "date": "2022-08-08T10:28:59-03:00",
                "area_applied": 37,
                "state": {
                    "pending": true,
                    "executed": false,
                    "confirmed": false
                },
                "date_applied": null,
                "formulated": {
                    "local_id": 8844,
                    "external_id": null,
                    "local_code": null,
                    "external_code": null
                },
                "warehouse": null,
                "total_applied": 119.991,
                "extra_fields": {
                    "voucher_type": {
                        "local_id": 7,
                        "external_id": null,
                        "local_code": null,
                        "external_code": null
                    },
                    "quotation_coefficient": null,
                    "unit_price": null
                }
            },
            {
                "local_id": 2517918,
                "external_id": null,
                "local_code": null,
                "external_code": null,
                "cultivation": {
                    "local_id": 243405,
                    "external_id": null,
                    "local_code": null,
                    "external_code": null
                },
                "date": "2022-08-08T10:28:59-03:00",
                "area_applied": 37,
                "state": {
                    "pending": true,
                    "executed": false,
                    "confirmed": false
                },
                "date_applied": null,
                "formulated": {
                    "local_id": 39034,
                    "external_id": null,
                    "local_code": null,
                    "external_code": null
                },
                "warehouse": null,
                "total_applied": 39.997,
                "extra_fields": {
                    "voucher_type": {
                        "local_id": 7,
                        "external_id": null,
                        "local_code": null,
                        "external_code": null
                    },
                    "quotation_coefficient": null,
                    "unit_price": null
                }
            },
            {
                "local_id": 2517919,
                "external_id": null,
                "local_code": null,
                "external_code": null,
                "cultivation": {
                    "local_id": 243405,
                    "external_id": null,
                    "local_code": null,
                    "external_code": null
                },
                "date": "2022-08-08T10:28:59-03:00",
                "area_applied": 37,
                "state": {
                    "pending": true,
                    "executed": false,
                    "confirmed": false
                },
                "date_applied": null,
                "formulated": {
                    "local_id": 89,
                    "external_id": null,
                    "local_code": null,
                    "external_code": null
                },
                "warehouse": null,
                "total_applied": 14.985000000000001,
                "extra_fields": {
                    "voucher_type": {
                        "local_id": 7,
                        "external_id": null,
                        "local_code": null,
                        "external_code": null
                    },
                    "quotation_coefficient": null,
                    "unit_price": null
                }
            },
            {
                "local_id": 2517920,
                "external_id": null,
                "local_code": null,
                "external_code": null,
                "cultivation": {
                    "local_id": 243405,
                    "external_id": null,
                    "local_code": null,
                    "external_code": null
                },
                "date": "2022-08-08T10:28:59-03:00",
                "area_applied": 37,
                "state": {
                    "pending": true,
                    "executed": false,
                    "confirmed": false
                },
                "date_applied": null,
                "formulated": {
                    "local_id": 170,
                    "external_id": null,
                    "local_code": null,
                    "external_code": null
                },
                "warehouse": null,
                "total_applied": 70.00399999999999,
                "extra_fields": {
                    "voucher_type": {
                        "local_id": 7,
                        "external_id": null,
                        "local_code": null,
                        "external_code": null
                    },
                    "quotation_coefficient": null,
                    "unit_price": null
                }
            },
            {
                "local_id": 2517921,
                "external_id": null,
                "local_code": null,
                "external_code": null,
                "cultivation": {
                    "local_id": 243406,
                    "external_id": null,
                    "local_code": null,
                    "external_code": null
                },
                "date": "2022-08-08T10:28:59-03:00",
                "area_applied": 37,
                "state": {
                    "pending": true,
                    "executed": false,
                    "confirmed": false
                },
                "date_applied": null,
                "formulated": {
                    "local_id": 8844,
                    "external_id": null,
                    "local_code": null,
                    "external_code": null
                },
                "warehouse": null,
                "total_applied": 119.991,
                "extra_fields": {
                    "voucher_type": {
                        "local_id": 7,
                        "external_id": null,
                        "local_code": null,
                        "external_code": null
                    },
                    "quotation_coefficient": null,
                    "unit_price": null
                }
            },
            {
                "local_id": 2517922,
                "external_id": null,
                "local_code": null,
                "external_code": null,
                "cultivation": {
                    "local_id": 243406,
                    "external_id": null,
                    "local_code": null,
                    "external_code": null
                },
                "date": "2022-08-08T10:28:59-03:00",
                "area_applied": 37,
                "state": {
                    "pending": true,
                    "executed": false,
                    "confirmed": false
                },
                "date_applied": null,
                "formulated": {
                    "local_id": 39034,
                    "external_id": null,
                    "local_code": null,
                    "external_code": null
                },
                "warehouse": null,
                "total_applied": 39.997,
                "extra_fields": {
                    "voucher_type": {
                        "local_id": 7,
                        "external_id": null,
                        "local_code": null,
                        "external_code": null
                    },
                    "quotation_coefficient": null,
                    "unit_price": null
                }
            },
            {
                "local_id": 2517923,
                "external_id": null,
                "local_code": null,
                "external_code": null,
                "cultivation": {
                    "local_id": 243406,
                    "external_id": null,
                    "local_code": null,
                    "external_code": null
                },
                "date": "2022-08-08T10:28:59-03:00",
                "area_applied": 37,
                "state": {
                    "pending": true,
                    "executed": false,
                    "confirmed": false
                },
                "date_applied": null,
                "formulated": {
                    "local_id": 89,
                    "external_id": null,
                    "local_code": null,
                    "external_code": null
                },
                "warehouse": null,
                "total_applied": 14.985000000000001,
                "extra_fields": {
                    "voucher_type": {
                        "local_id": 7,
                        "external_id": null,
                        "local_code": null,
                        "external_code": null
                    },
                    "quotation_coefficient": null,
                    "unit_price": null
                }
            },
            {
                "local_id": 2517924,
                "external_id": null,
                "local_code": null,
                "external_code": null,
                "cultivation": {
                    "local_id": 243406,
                    "external_id": null,
                    "local_code": null,
                    "external_code": null
                },
                "date": "2022-08-08T10:28:59-03:00",
                "area_applied": 37,
                "state": {
                    "pending": true,
                    "executed": false,
                    "confirmed": false
                },
                "date_applied": null,
                "formulated": {
                    "local_id": 170,
                    "external_id": null,
                    "local_code": null,
                    "external_code": null
                },
                "warehouse": null,
                "total_applied": 70.00399999999999,
                "extra_fields": {
                    "voucher_type": {
                        "local_id": 7,
                        "external_id": null,
                        "local_code": null,
                        "external_code": null
                    },
                    "quotation_coefficient": null,
                    "unit_price": null
                }
            }
        ],
        "labours": [
            {
                "local_id": 761559,
                "external_id": null,
                "local_code": null,
                "external_code": null,
                "cultivation": {
                    "local_id": 243405,
                    "external_id": null,
                    "local_code": null,
                    "external_code": null
                },
                "date": "2022-07-04T00:00:00-03:00",
                "area_applied": 37,
                "unit_dose": null,
                "state": {
                    "pending": true,
                    "executed": false,
                    "confirmed": false
                },
                "date_applied": null,
                "applicators": [],
                "contractors": [
                    {
                        "local_id": 3056,
                        "external_id": null,
                        "local_code": null,
                        "external_code": null
                    }
                ],
                "machines": [
                    {
                        "local_id": 4419,
                        "external_id": null,
                        "local_code": null,
                        "external_code": null
                    }
                ],
                "service": {
                    "local_id": null,
                    "external_id": null,
                    "local_code": null,
                    "external_code": null,
                    "price": null
                },
                "extra_fields": {
                    "voucher_type": {
                        "local_id": 7,
                        "external_id": null,
                        "local_code": null,
                        "external_code": null
                    },
                    "quotation_coefficient": null,
                    "unit_price": null
                }
            },
            {
                "local_id": 761560,
                "external_id": null,
                "local_code": null,
                "external_code": null,
                "cultivation": {
                    "local_id": 243406,
                    "external_id": null,
                    "local_code": null,
                    "external_code": null
                },
                "date": "2022-07-04T00:00:00-03:00",
                "area_applied": 37,
                "unit_dose": null,
                "state": {
                    "pending": true,
                    "executed": false,
                    "confirmed": false
                },
                "date_applied": null,
                "applicators": [],
                "contractors": [
                    {
                        "local_id": 3056,
                        "external_id": null,
                        "local_code": null,
                        "external_code": null
                    }
                ],
                "machines": [
                    {
                        "local_id": 4419,
                        "external_id": null,
                        "local_code": null,
                        "external_code": null
                    }
                ],
                "service": {
                    "local_id": null,
                    "external_id": null,
                    "local_code": null,
                    "external_code": null,
                    "price": null
                },
                "extra_fields": {
                    "voucher_type": {
                        "local_id": 7,
                        "external_id": null,
                        "local_code": null,
                        "external_code": null
                    },
                    "quotation_coefficient": null,
                    "unit_price": null
                }
            }
        ]
    }
}

Workorder delete uri:

Code Block
 /integration/api/v1/workOrders/{externalId/externalCode/localId}

...