Page:
							api v1 intervention put_de
						
						
					
					
							Pages
							
							
								EGON
							
								Home
							
								Home_en
							
								api v1 compensation delete_de
							
								api v1 compensation get_de
							
								api v1 compensation json properties de
							
								api v1 compensation post_de
							
								api v1 compensation put_de
							
								api v1 deduction delete_de
							
								api v1 deduction get_de
							
								api v1 deduction json properties de
							
								api v1 deduction post_de
							
								api v1 deduction put_de
							
								api v1 ecoaccount delete_de
							
								api v1 ecoaccount get_de
							
								api v1 ecoaccount json properties de
							
								api v1 ecoaccount post_de
							
								api v1 ecoaccount put_de
							
								api v1 ema delete_de
							
								api v1 ema get_de
							
								api v1 ema json properties de
							
								api v1 ema post_de
							
								api v1 ema put_de
							
								api v1 intervention check_de
							
								api v1 intervention delete_de
							
								api v1 intervention get_de
							
								api v1 intervention json properties de
							
								api v1 intervention post_de
							
								api v1 intervention put_de
							
								api v1 share get_de
							
								api v1 share put_de
							
								api_de
							
								custom commands
							
								features
							
								features_de
							
								features_en
							
								generate_report_de
							
								konova codes
							
								recalculate_parcels_de
							
								technical documentation
							
								technical documentation_de
							
						
					 Clone
	
					3 
					
				
						api v1 intervention put_de
						
				
							
							mpeltriaux edited this page 2023-02-23 10:53:53 +01:00 
						
					Table of Contents
Spezifikation
Eingriff
Codes
Folgende Attribute referenzieren die Id eines oKey Eintrags für Eingriffe:
registration_officeconservation_officeprocess_typelawsEinträge
PUT
Mit PUT kann ein bestehender Eingriff bearbeitet werden. Die Eingriffsdaten werden im Request body als application/json gesendet. War der Request erfolgreich, erhält der Sender die id des überarbeiteten Eintrags.
/api/v1/intervention/<uuid>
Beispiel Body
{
    "type": "MultiPolygon",
    "coordinates": [
        [
            [
                [
                    7.593955993652341,
                    50.36244809879689
                ],
                [
                    7.592582702636717,
                    50.36023051515941
                ],
                [
                    7.601766586303708,
                    50.35823186336356
                ],
                [
                    7.603225708007811,
                    50.3628587510637
                ],
                [
                    7.599148750305174,
                    50.362557606415464
                ],
                [
                    7.596273422241207,
                    50.362612360130036
                ],
                [
                    7.593955993652341,
                    50.36244809879689
                ]
            ]
        ]
    ],
    "properties": {
        "title": "Tolles Baugebiet GEÄNDERT",
        "responsible": {
            "registration_office": "2143",
            "registration_file_number": "XY.12/ssd",
            "conservation_office": "25562",
            "conservation_file_number": "RTD-123.XA.5664",
            "handler": {
                "type": "24532",
                "detail": "Firma Mustermann234"
            }
        },
        "legal": {
            "registration_date": null,
            "binding_date": null,
            "process_type": null,
            "laws": [
                "456"
            ]
        }
    }
}
    
Beispiel Response
{
    "id": "75c656e3-fdb9-46d5-bbd2-8dd26b6d295f"
}