{ "openapi": "3.0.4", "info": { "title": "Modulair Pakket Thuis API", "version": "1.0" }, "paths": { "/v1/Mpt": { "post": { "tags": [ "Mpt" ], "summary": "Opvragen MPT gegevens op basis van BSN, jaar en maand", "description": "De volgende foutomschrijvingen kunnen voorkomen :\r\n- BSN onjuist formaat (niet numeriek)\r\n- BSN onjuist formaat(verkeerde lengte)\r\n- Maand onjuist formaat(niet numeriek)\r\n- Maand onjuiste waarde(niet tussen 1 en 12)\r\n- Jaar onjuist formaat(niet numeriek)\r\n- Jaar onjuist formaat(verkeerde lengte)\r\n- Jaar onjuiste waarde(voor 2016)", "operationId": "GetModulairPakketThuisByBsnAsync", "requestBody": { "content": { "application/json": { "schema": { "allOf": [ { "$ref": "#/components/schemas/DeclaratieRequest" } ] } }, "text/json": { "schema": { "allOf": [ { "$ref": "#/components/schemas/DeclaratieRequest" } ] } }, "application/*+json": { "schema": { "allOf": [ { "$ref": "#/components/schemas/DeclaratieRequest" } ] } } } }, "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/MptResponse" } }, "text/json": { "schema": { "$ref": "#/components/schemas/MptResponse" } } } }, "400": { "description": "Bad Request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ProblemDetails" } } } } } } } }, "components": { "schemas": { "DeclaratieRequest": { "type": "object", "properties": { "bsn": { "type": "integer", "format": "int32" }, "jaar": { "type": "integer", "format": "int32" }, "maand": { "type": "integer", "format": "int32" } }, "additionalProperties": false }, "DeclaratieResponse": { "type": "object", "properties": { "uzovicodeZorgkantoor": { "type": "string", "readOnly": true }, "naamZorgkantoor": { "type": "string", "readOnly": true }, "agbcodeZorgaanbieder": { "type": "string", "readOnly": true }, "naamZorgaanbieder": { "type": "string", "readOnly": true }, "begindatumPrestatie": { "type": "string", "readOnly": true }, "einddatumPrestatie": { "type": "string", "readOnly": true }, "aanduidingPrestatiecodelijst": { "type": "string", "readOnly": true }, "prestatieCode": { "type": "string", "readOnly": true }, "prestatieOmschrijving": { "type": "string", "readOnly": true }, "aantalPrestaties": { "type": "string", "readOnly": true }, "tijdseenheidZorgperiode": { "type": "string", "readOnly": true }, "tijdseenheidZorgperiodeOmschrijving": { "type": "string", "readOnly": true }, "aantalMinutenZorgBerekend": { "type": "string", "readOnly": true } }, "additionalProperties": false }, "MptResponse": { "type": "object", "properties": { "bsn": { "type": "integer", "format": "int32", "readOnly": true }, "jaar": { "type": "integer", "format": "int32", "readOnly": true }, "maand": { "type": "integer", "format": "int32", "readOnly": true }, "declaraties": { "type": "array", "items": { "$ref": "#/components/schemas/DeclaratieResponse" }, "readOnly": true } }, "additionalProperties": false }, "ProblemDetails": { "type": "object", "properties": { "type": { "type": "string", "nullable": true }, "title": { "type": "string", "nullable": true }, "status": { "type": "integer", "format": "int32", "nullable": true }, "detail": { "type": "string", "nullable": true }, "instance": { "type": "string", "nullable": true } }, "additionalProperties": { } } }, "securitySchemes": { "ApiKey": { "type": "apiKey", "description": "API key. Tevens is een geldig VECOZO of Sectigo clientcertificaat vereist.", "name": "Authorization", "in": "header" } } }, "security": [ { } ], "tags": [ { "name": "Mpt" } ] }