...
PATCH /api/v1/groundworks/{gipodId} (Swagger)
Scopes
TBD
Example(s)
TBDModify period and estimated duration in days of a groundwork.
Code Block |
---|
|
Code sample TBD[
{
"key": "Period",
"value": {
"start": "2019-11-20T08:00:00Z",
"typeend": "string"2019-12-20T08:00:00Z"
}
},
{
"titlekey": "stringEstimatedDurationDays",
"value": 3
}
]
|
Modify only the period of a groundwork.
Code Block |
---|
|
[
{
"statuskey": 0"Period",
"value": {
"detailstart": "string2019-11-20T08:00:00Z",
"end": "2019-12-20T08:00:00Z"
"instance }
}
]
|
Modify the description of a groundwork.
Code Block |
---|
|
[
{
"key": "stringDescription",
"property1value": {},
"property2": {}
} "The new description of the groundwork."
}
]
|
...
Panel |
---|
|
POST /api/v1/groundworks
|
...
Code Block |
---|
language | xml |
---|
theme | DJango | collapse | true |
---|
|
{
"reference": "Reference of the groundwork",
"description": "Description of the groundwork",
"url": [
"https://vlaanderen.be/"
],
"groundworkZone": "POLYGON((122980.5 183762,122973.5 183742.75,123007 183740.5,122980.5 183762))",
"publicDomainOccupancyStatusId": "3232baa5-a157-4126-a2be-354ad1e480f7", // Voorontwerp
"contactOrganisation": [
{
"organisationId": null, // If not specified the contactorganisation will be the organisation that registered the groundwork
"roleId": "aad5e947-f7bf-4592-a84a-f591555b0b8b", // Dossierbeheerder
"website": "https://www.vlaanderen.be/",
"lastName": "Foo",
"firstName": "Bar",
"telephone": "0481234567",
"fax": "",
"email": "foo.bar@vlaanderen.be", // email is required
"address": null,
"isPublic": false
}
],
"categoryId": "bb0b471a-7f4d-4eaa-b788-adae1aaf30f8", // Category 1
"publicDomainOccupancyTypeId": [
"a486a968-e498-4708-8820-901686f0712f" // Electriciteit
],
"period": {
"start": "2020-06-30T22:00:00Z",
"end": "2020-07-31T22:00:00Z",
"duration": null
},
"isRelocationGroundwork": false,
"causingGroundwork": [ ],
"specificationTypeId": [
"57438692-f1e3-4010-a1c8-725f42b85f56", // HerAanleg
"466a03a3-2327-4919-a672-e303b7c9040d" // Verkavelingswerk
],
"estimatedDurationDays": 3
}
|
...