mpeltriaux
80896731a8
* adds creation tests with minimum data for intervention, compensation, ema and ecoaccount * fixes bug where empty geometry would not be created properly using the API * reworks key fetching from POST data, so inproperly stated keys will lead to an error for the API user, instead of silently working and use default data * adds some logical checks for deductable_surface of eco account creation using api * fixes bug that would have occured on creating compensations via api
21 lines
520 B
JSON
21 lines
520 B
JSON
{
|
|
"type": "MultiPolygon",
|
|
"coordinates": [
|
|
],
|
|
"properties": {
|
|
"title": "Test_intervention",
|
|
"responsible": {
|
|
"registration_office": null,
|
|
"registration_file_number": null,
|
|
"conservation_office": null,
|
|
"conservation_file_number": null,
|
|
"handler": null
|
|
},
|
|
"legal": {
|
|
"registration_date": null,
|
|
"binding_date": null,
|
|
"process_type": null,
|
|
"laws": []
|
|
}
|
|
}
|
|
} |