Page:
							api v1 intervention check_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 check_de
						
				
							
							Michel Peltriaux edited this page 2022-01-28 15:02:10 +01:00 
						
					Table of Contents
Spezifikation
Eingriff
Achtung: Für die Prüfung sind die Rechte der Zulassungsbehörde nötig.
GET
Mit GET kann ein bestehender Eingriff auf logische Fehler geprüft werden. Als Response erhält der Sender immer eine Auskunft über den Erfolg der Prüfung (success) sowie eine Detailübersicht (details), aus welcher die gefundenen Fehler hervorgehen.
/api/v1/intervention/<uuid>/check
Beispiel Response Erfolg
{
    "success": true,
    "details": {
        "intervention": {
            "id": "97d7cce8-83e9-4043-bc76-317caf983a41",
            "errors": []
        },
        "compensations": [
            {
                "id": "d68e9874-70c0-41c5-bd05-9dda97d70ac0",
                "errors": []
            },
            {
                "id": "128d387d-9ef5-499c-a33f-9aa0ff4ea731",
                "errors": []
            },
            {
                "id": "a57ed186-7a64-4b25-bbae-185fb96a132d",
                "errors": []
            },
            {
                "id": "d0ef1ef2-0bfd-4162-b8ac-15a560a2346f",
                "errors": []
            },
            {
                "id": "7303afbb-693c-4623-adb0-8ab115d6bacc",
                "errors": []
            },
            {
                "id": "71a0d04e-8d6a-4d95-845a-6889d920b5f6",
                "errors": []
            }
        ]
    }
}
    
Beispiel Response Fehler
{
    "success": false,
    "details": {
        "intervention": {
            "id": "97d7cce8-83e9-4043-bc76-317caf983a41",
            "errors": [
                "Aktenzeichen Zulassungsbehörde fehlt"
            ]
        },
        "compensations": [
            {
                "id": "d68e9874-70c0-41c5-bd05-9dda97d70ac0",
                "errors": []
            },
            {
                "id": "128d387d-9ef5-499c-a33f-9aa0ff4ea731",
                "errors": [
                    "Ungleiche Zustandsflächenmengen"
                ]
            },
            {
                "id": "a57ed186-7a64-4b25-bbae-185fb96a132d",
                "errors": []
            },
            {
                "id": "d0ef1ef2-0bfd-4162-b8ac-15a560a2346f",
                "errors": []
            },
            {
                "id": "7303afbb-693c-4623-adb0-8ab115d6bacc",
                "errors": []
            },
            {
                "id": "71a0d04e-8d6a-4d95-845a-6889d920b5f6",
                "errors": []
            }
        ]
    }
}