Sudwest-Fryslan / OpenZaakBrug

Een vertaler om de bestaande applicaties, die het oude zds-standaard praten, toch met een zgw-zaaksysteem te laten werken.
European Union Public License 1.2
5 stars 7 forks source link

"Rol: Initiator niet gevonden bij Zaaktype: LP00000014" error while it existits in roltypes (paging not implemented) #176

Open EduardWitteveen opened 3 years ago

EduardWitteveen commented 3 years ago

Due to paging on on GET /zgw/catalogi/api/v1/roltypen , roltype's cannot be found when there are a lot of roltypes. It is expected that this error also occur for statustypes/informatieobjecttypes/...

There should at least be an error when the result-count is larger than the results received, also it could be more efficent to to retrieve the rollen/statussen from within the zaaktype.

Also, we need to know what the best approach is to get a Roltype by name for a specific Zaaktype: to retrieve it by retrieving all roltypes and selecting the correct one, or use the zaaktype and look for all the roltypes what the omschrijving is.

Example of zaaktype result (to find the roltype)

{
    "url": "https://localhost:8080/catalogi/api/v1/zaaktypen/e9c19527-c47d-4ee8-9982-4ec6b61d4a8b",
    "identificatie": "LP00000014",
    "omschrijving": "Geautomatiseerde test",
    "omschrijvingGeneriek": "",
    "vertrouwelijkheidaanduiding": "vertrouwelijk",
    "doel": "Het uitvoeren van een periodieke test van een systeem of applicatie",
    "aanleiding": "Dit werkproces wordt intern getriggerd.",
    "toelichting": "Dit werkproces betreft het uitvoeren van een periodieke test van een systeem of applicatie. Het kan hierbij bijvoorbeeld gaan om het testen van de back-up-procedure, een koppeling tussen applicaties of om een zogeheten penetratietest (of pentest) om de kwetsbaarheden voor inbraak in een systeem of applicatie te testen. Indien de uitkomst van de test daar aanleiding toe geeft, zal een incidentmelding of een kwetsbaarheidmelding bij de IBD worden gedaan.",
    "indicatieInternOfExtern": "intern",
    "handelingInitiator": "Melden",
    "onderwerp": "Periodieke test systeem of applicatie",
    "handelingBehandelaar": "Uitvoeren",
    "doorlooptijd": "P1D",
    "servicenorm": null,
    "opschortingEnAanhoudingMogelijk": false,
    "verlengingMogelijk": false,
    "verlengingstermijn": null,
    "trefwoorden": [
        "Geautomatiseerde test"
    ],
    "publicatieIndicatie": false,
    "publicatietekst": "",
    "verantwoordingsrelatie": [],
    "productenOfDiensten": [
        "https://referentielijsten-api.vng.cloud/api/v1/procestypen/2f296607-9faa-41e1-800f-e8fcaf55b9c8"
    ],
    "selectielijstProcestype": "https://selectielijst.openzaak.nl/api/v1/procestypen/d5f61062-8493-47b5-a8e3-b74f66c298e8",
    "referentieproces": {
        "naam": "Beheren automatisering",
        "link": "https://www.gemmaonline.nl/index.php/GEMMA2/0.9/id-e3aa69cd-6ad0-4535-83ee-ff1581207082"
    },
    "catalogus": "https://localhost:8080/catalogi/api/v1/catalogussen/a932b39e-b11d-44ca-9b77-793d82395827",
    "statustypen": [
        "https://localhost:8080/catalogi/api/v1/statustypen/80187c5c-8f5c-401e-bb87-35615e0b568a",
        "https://localhost:8080/catalogi/api/v1/statustypen/c77caa6a-eb05-4603-b7a8-58ad3450dd22",
        "https://localhost:8080/catalogi/api/v1/statustypen/55d56dac-7e69-4b66-bee7-b88be196365a",
        "https://localhost:8080/catalogi/api/v1/statustypen/0d96201d-68db-466b-bf26-45d6fad7309b",
        "https://localhost:8080/catalogi/api/v1/statustypen/a3e7d408-25a6-44c7-b863-d273b05ec9d4"
    ],
    "resultaattypen": [
        "https://localhost:8080/catalogi/api/v1/resultaattypen/cac99484-089e-4bad-a928-6f8b848e3ab8",
        "https://localhost:8080/catalogi/api/v1/resultaattypen/92828155-3eb7-4093-a847-fc0400711905"
    ],
    "eigenschappen": [],
    "informatieobjecttypen": [
        "https://localhost:8080/catalogi/api/v1/informatieobjecttypen/1131933d-bc28-4894-b29f-e752d70dce32",
        "https://localhost:8080/catalogi/api/v1/informatieobjecttypen/8d3be1ff-d2c1-42cb-95b4-ced46061596e",
        "https://localhost:8080/catalogi/api/v1/informatieobjecttypen/58216f86-0b3d-4352-b95f-2b982b7f7803",
        "https://localhost:8080/catalogi/api/v1/informatieobjecttypen/9f3541f7-4cd5-4855-ad20-e4475a009766"
    ],
    "roltypen": [
        "https://localhost:8080/catalogi/api/v1/roltypen/2987d5eb-57eb-453e-ad68-edeb27f0d6b5",
        "https://localhost:8080/catalogi/api/v1/roltypen/aebe8c35-6d24-4cfa-9f61-86230d494e47",
        "https://localhost:8080/catalogi/api/v1/roltypen/9ffaffa6-edaf-4557-a68a-459f80dc6821"
    ],
    "besluittypen": [],
    "deelzaaktypen": [],
    "gerelateerdeZaaktypen": [],
    "beginGeldigheid": "2021-05-05",
    "eindeGeldigheid": null,
    "versiedatum": "2021-05-05",
    "concept": false
}

Example of roltype result (to find the roltype):


{
    "count": 417,
    "next": "https://localhost:8080/catalogi/api/v1/roltypen?page=2",
    "previous": null,
    "results": [
        {
            "url": "https://localhost:8080/catalogi/api/v1/roltypen/277f7220-7d17-4844-b20e-515b48cf2615",
            "zaaktype": "https://localhost:8080/catalogi/api/v1/zaaktypen/f24861d5-5c3c-4d0b-be2a-30f56432c93f",
            "omschrijving": "Uitvoerende",
            "omschrijvingGeneriek": "behandelaar"
        },
        {
            "url": "https://localhost:8080/catalogi/api/v1/roltypen/95650c05-e9d5-4123-8f28-0600265d3fa0",
            "zaaktype": "https://localhost:8080/catalogi/api/v1/zaaktypen/f24861d5-5c3c-4d0b-be2a-30f56432c93f",
            "omschrijving": "Initiator",
            "omschrijvingGeneriek": "initiator"
        },
        {
            "url": "https://localhost:8080/catalogi/api/v1/roltypen/caaae32f-924e-415b-b254-9396cf672a6a",
            "zaaktype": "https://localhost:8080/catalogi/api/v1/zaaktypen/f24861d5-5c3c-4d0b-be2a-30f56432c93f",
            "omschrijving": "Behandelaar",
            "omschrijvingGeneriek": "behandelaar"
        },
        {
            "url": "https://localhost:8080/catalogi/api/v1/roltypen/b496101d-2b55-4984-b8f3-6dc7dcd60bbc",
            "zaaktype": "https://localhost:8080/catalogi/api/v1/zaaktypen/0b633b8d-9ae4-4a40-8d1c-669f68d6efe5",
            "omschrijving": "Uitvoerende",
            "omschrijvingGeneriek": "behandelaar"
        },
        {
            "url": "https://localhost:8080/catalogi/api/v1/roltypen/24188f47-9c8e-4f71-8563-144f86bed813",
            "zaaktype": "https://localhost:8080/catalogi/api/v1/zaaktypen/0b633b8d-9ae4-4a40-8d1c-669f68d6efe5",
            "omschrijving": "Initiator",
            "omschrijvingGeneriek": "initiator"
        },
        {
            "url": "https://localhost:8080/catalogi/api/v1/roltypen/f8de6a27-2949-4f1c-ba82-cb55448449f7",
            "zaaktype": "https://localhost:8080/catalogi/api/v1/zaaktypen/0b633b8d-9ae4-4a40-8d1c-669f68d6efe5",
            "omschrijving": "Behandelaar",
            "omschrijvingGeneriek": "behandelaar"
        },
        {
            "url": "https://localhost:8080/catalogi/api/v1/roltypen/a240ba57-968e-4a3a-aa57-dae61bf13481",
            "zaaktype": "https://localhost:8080/catalogi/api/v1/zaaktypen/42786a22-5431-428a-ad0d-3111764dbc65",
            "omschrijving": "Verantwoordelijke",
            "omschrijvingGeneriek": "beslisser"
        },
        {
            "url": "https://localhost:8080/catalogi/api/v1/roltypen/ea7228d4-a6bf-412e-b03b-4429addcc96e",
            "zaaktype": "https://localhost:8080/catalogi/api/v1/zaaktypen/42786a22-5431-428a-ad0d-3111764dbc65",
            "omschrijving": "Uitvoerende",
            "omschrijvingGeneriek": "behandelaar"
        },
        {
            "url": "https://localhost:8080/catalogi/api/v1/roltypen/16968629-fb06-4c8f-b52e-d7ba9dc3311b",
            "zaaktype": "https://localhost:8080/catalogi/api/v1/zaaktypen/42786a22-5431-428a-ad0d-3111764dbc65",
            "omschrijving": "Initiator",
            "omschrijvingGeneriek": "initiator"
        },
        {
            "url": "https://localhost:8080/catalogi/api/v1/roltypen/e23f0ce1-67ce-4fc7-9f3e-a4b9288579f6",
            "zaaktype": "https://localhost:8080/catalogi/api/v1/zaaktypen/42786a22-5431-428a-ad0d-3111764dbc65",
            "omschrijving": "BetrekkingOp",
            "omschrijvingGeneriek": "belanghebbende"
        },
        {
            "url": "https://localhost:8080/catalogi/api/v1/roltypen/74d1e90f-45b5-48b9-9ce9-f52f91d72350",
            "zaaktype": "https://localhost:8080/catalogi/api/v1/zaaktypen/42786a22-5431-428a-ad0d-3111764dbc65",
            "omschrijving": "Belanghebbende",
            "omschrijvingGeneriek": "belanghebbende"
        },
        {
            "url": "https://localhost:8080/catalogi/api/v1/roltypen/aff11a7c-d3a7-4d38-a5ef-c3e5e89b068b",
            "zaaktype": "https://localhost:8080/catalogi/api/v1/zaaktypen/aed4a4dc-4fcb-4d96-a240-727339186e38",
            "omschrijving": "Verantwoordelijke",
            "omschrijvingGeneriek": "beslisser"
        },
        {
            "url": "https://localhost:8080/catalogi/api/v1/roltypen/003dbfd3-4cfb-4d81-b619-dbd6e95c7e49",
            "zaaktype": "https://localhost:8080/catalogi/api/v1/zaaktypen/aed4a4dc-4fcb-4d96-a240-727339186e38",
            "omschrijving": "Uitvoerende",
            "omschrijvingGeneriek": "behandelaar"
        },
        {
            "url": "https://localhost:8080/catalogi/api/v1/roltypen/89026bfe-8a32-46c7-bb07-c5211dd55feb",
            "zaaktype": "https://localhost:8080/catalogi/api/v1/zaaktypen/aed4a4dc-4fcb-4d96-a240-727339186e38",
            "omschrijving": "Initiator",
            "omschrijvingGeneriek": "initiator"
        },
        {
            "url": "https://localhost:8080/catalogi/api/v1/roltypen/e0950bd2-4267-486c-9559-f47e8c20b906",
            "zaaktype": "https://localhost:8080/catalogi/api/v1/zaaktypen/aed4a4dc-4fcb-4d96-a240-727339186e38",
            "omschrijving": "BetrekkingOp",
            "omschrijvingGeneriek": "belanghebbende"
        },
        {
            "url": "https://localhost:8080/catalogi/api/v1/roltypen/57d75554-c240-48d7-9e3d-1130bb4f9ea0",
            "zaaktype": "https://localhost:8080/catalogi/api/v1/zaaktypen/aed4a4dc-4fcb-4d96-a240-727339186e38",
            "omschrijving": "Belanghebbende",
            "omschrijvingGeneriek": "belanghebbende"
        },
        {
            "url": "https://localhost:8080/catalogi/api/v1/roltypen/86c79544-5ffa-47da-92d3-9a800db276b2",
            "zaaktype": "https://localhost:8080/catalogi/api/v1/zaaktypen/a10027b8-6bd5-4982-b854-b93000e6c50f",
            "omschrijving": "Verantwoordelijke",
            "omschrijvingGeneriek": "beslisser"
        },
        {
            "url": "https://localhost:8080/catalogi/api/v1/roltypen/a1f48496-745e-482c-b067-691aa8d18c21",
            "zaaktype": "https://localhost:8080/catalogi/api/v1/zaaktypen/a10027b8-6bd5-4982-b854-b93000e6c50f",
            "omschrijving": "Uitvoerende",
            "omschrijvingGeneriek": "behandelaar"
        },
        {
            "url": "https://localhost:8080/catalogi/api/v1/roltypen/f5f2ac5d-10d4-483f-917e-c3576ebf8a14",
            "zaaktype": "https://localhost:8080/catalogi/api/v1/zaaktypen/a10027b8-6bd5-4982-b854-b93000e6c50f",
            "omschrijving": "Initiator",
            "omschrijvingGeneriek": "initiator"
        },
        {
            "url": "https://localhost:8080/catalogi/api/v1/roltypen/3f43725e-caa5-4922-8d9c-89da7cac197d",
            "zaaktype": "https://localhost:8080/catalogi/api/v1/zaaktypen/a10027b8-6bd5-4982-b854-b93000e6c50f",
            "omschrijving": "BetrekkingOp",
            "omschrijvingGeneriek": "belanghebbende"
        },
        {
            "url": "https://localhost:8080/catalogi/api/v1/roltypen/e3f9b3da-f1ff-47fe-aca0-96212455cd7e",
            "zaaktype": "https://localhost:8080/catalogi/api/v1/zaaktypen/a10027b8-6bd5-4982-b854-b93000e6c50f",
            "omschrijving": "Belanghebbende",
            "omschrijvingGeneriek": "belanghebbende"
        },
        {
            "url": "https://localhost:8080/catalogi/api/v1/roltypen/a496a877-2e42-4da9-bbee-eb02ec2ce826",
            "zaaktype": "https://localhost:8080/catalogi/api/v1/zaaktypen/dd362c4f-ef8c-46e8-97d5-02c6b696a461",
            "omschrijving": "Verantwoordelijke",
            "omschrijvingGeneriek": "beslisser"
        },
        {
            "url": "https://localhost:8080/catalogi/api/v1/roltypen/5cedd003-f973-4072-bd3c-ea4a0f205e98",
            "zaaktype": "https://localhost:8080/catalogi/api/v1/zaaktypen/dd362c4f-ef8c-46e8-97d5-02c6b696a461",
            "omschrijving": "Uitvoerende",
            "omschrijvingGeneriek": "behandelaar"
        },
        {
            "url": "https://localhost:8080/catalogi/api/v1/roltypen/2d6bec8c-4f02-4687-ab5b-adbbd07544d1",
            "zaaktype": "https://localhost:8080/catalogi/api/v1/zaaktypen/dd362c4f-ef8c-46e8-97d5-02c6b696a461",
            "omschrijving": "Initiator",
            "omschrijvingGeneriek": "initiator"
        },
        {
            "url": "https://localhost:8080/catalogi/api/v1/roltypen/1a6e4f94-c30f-4d1c-b8dc-014fade9f262",
            "zaaktype": "https://localhost:8080/catalogi/api/v1/zaaktypen/dd362c4f-ef8c-46e8-97d5-02c6b696a461",
            "omschrijving": "BetrekkingOp",
            "omschrijvingGeneriek": "belanghebbende"
        },
        {
            "url": "https://localhost:8080/catalogi/api/v1/roltypen/1e682a4b-74b4-4505-8728-0eb08f09037c",
            "zaaktype": "https://localhost:8080/catalogi/api/v1/zaaktypen/dd362c4f-ef8c-46e8-97d5-02c6b696a461",
            "omschrijving": "Belanghebbende",
            "omschrijvingGeneriek": "belanghebbende"
        },
        {
            "url": "https://localhost:8080/catalogi/api/v1/roltypen/62c47e17-deee-4764-8c46-2138153efcf7",
            "zaaktype": "https://localhost:8080/catalogi/api/v1/zaaktypen/bacf389f-43f8-437c-ae11-2d2cab4f9881",
            "omschrijving": "Verantwoordelijke",
            "omschrijvingGeneriek": "beslisser"
        },
        {
            "url": "https://localhost:8080/catalogi/api/v1/roltypen/aef18dd9-1366-42b3-9062-de0a2fd112ed",
            "zaaktype": "https://localhost:8080/catalogi/api/v1/zaaktypen/bacf389f-43f8-437c-ae11-2d2cab4f9881",
            "omschrijving": "Uitvoerende",
            "omschrijvingGeneriek": "behandelaar"
        },
        {
            "url": "https://localhost:8080/catalogi/api/v1/roltypen/90e3574a-0404-4c65-bd98-83d22b189da7",
            "zaaktype": "https://localhost:8080/catalogi/api/v1/zaaktypen/bacf389f-43f8-437c-ae11-2d2cab4f9881",
            "omschrijving": "Initiator",
            "omschrijvingGeneriek": "initiator"
        },
        {
            "url": "https://localhost:8080/catalogi/api/v1/roltypen/c242ffc9-4191-4f43-8948-2fd829957b6a",
            "zaaktype": "https://localhost:8080/catalogi/api/v1/zaaktypen/bacf389f-43f8-437c-ae11-2d2cab4f9881",
            "omschrijving": "BetrekkingOp",
            "omschrijvingGeneriek": "belanghebbende"
        },
        {
            "url": "https://localhost:8080/catalogi/api/v1/roltypen/0b7a6578-1837-449a-985e-09cc97a9416b",
            "zaaktype": "https://localhost:8080/catalogi/api/v1/zaaktypen/bacf389f-43f8-437c-ae11-2d2cab4f9881",
            "omschrijving": "Belanghebbende",
            "omschrijvingGeneriek": "belanghebbende"
        },
        {
            "url": "https://localhost:8080/catalogi/api/v1/roltypen/533ba2d3-6d3d-4514-8fbe-e3fbb5032004",
            "zaaktype": "https://localhost:8080/catalogi/api/v1/zaaktypen/ec93b2aa-0470-4c1a-ae06-70651958d3cb",
            "omschrijving": "Verantwoordelijke",
            "omschrijvingGeneriek": "beslisser"
        },
        {
            "url": "https://localhost:8080/catalogi/api/v1/roltypen/05a3945a-ea56-4e2a-8692-e984c15c7794",
            "zaaktype": "https://localhost:8080/catalogi/api/v1/zaaktypen/ec93b2aa-0470-4c1a-ae06-70651958d3cb",
            "omschrijving": "Uitvoerende",
            "omschrijvingGeneriek": "behandelaar"
        },
        {
            "url": "https://localhost:8080/catalogi/api/v1/roltypen/ab7c2e3c-b518-405c-bbc6-059637a3be9d",
            "zaaktype": "https://localhost:8080/catalogi/api/v1/zaaktypen/ec93b2aa-0470-4c1a-ae06-70651958d3cb",
            "omschrijving": "Initiator",
            "omschrijvingGeneriek": "initiator"
        },
        {
            "url": "https://localhost:8080/catalogi/api/v1/roltypen/b9d73044-a53b-4f68-9d09-fa1b706d8272",
            "zaaktype": "https://localhost:8080/catalogi/api/v1/zaaktypen/ec93b2aa-0470-4c1a-ae06-70651958d3cb",
            "omschrijving": "BetrekkingOp",
            "omschrijvingGeneriek": "belanghebbende"
        },
        {
            "url": "https://localhost:8080/catalogi/api/v1/roltypen/848e06b9-5fc5-4883-aeaa-addeca399ef7",
            "zaaktype": "https://localhost:8080/catalogi/api/v1/zaaktypen/ec93b2aa-0470-4c1a-ae06-70651958d3cb",
            "omschrijving": "Belanghebbende",
            "omschrijvingGeneriek": "belanghebbende"
        },
        {
            "url": "https://localhost:8080/catalogi/api/v1/roltypen/96007822-b47b-48c2-ae40-b4b358d453cc",
            "zaaktype": "https://localhost:8080/catalogi/api/v1/zaaktypen/79a9328c-4692-40fe-a4c9-66cfadf4ecbf",
            "omschrijving": "Verantwoordelijke",
            "omschrijvingGeneriek": "beslisser"
        },
        {
            "url": "https://localhost:8080/catalogi/api/v1/roltypen/6180bc19-27d9-4bd8-99a0-f1c80c3306c8",
            "zaaktype": "https://localhost:8080/catalogi/api/v1/zaaktypen/79a9328c-4692-40fe-a4c9-66cfadf4ecbf",
            "omschrijving": "Uitvoerende",
            "omschrijvingGeneriek": "behandelaar"
        },
        {
            "url": "https://localhost:8080/catalogi/api/v1/roltypen/a3335eab-4c07-4f81-b3e1-e91c7c69d307",
            "zaaktype": "https://localhost:8080/catalogi/api/v1/zaaktypen/79a9328c-4692-40fe-a4c9-66cfadf4ecbf",
            "omschrijving": "Initiator",
            "omschrijvingGeneriek": "initiator"
        },
        {
            "url": "https://localhost:8080/catalogi/api/v1/roltypen/8876754a-9054-4770-9ab1-dab3a3f88283",
            "zaaktype": "https://localhost:8080/catalogi/api/v1/zaaktypen/79a9328c-4692-40fe-a4c9-66cfadf4ecbf",
            "omschrijving": "BetrekkingOp",
            "omschrijvingGeneriek": "belanghebbende"
        },
        {
            "url": "https://localhost:8080/catalogi/api/v1/roltypen/c4719d5d-2172-44ae-ac51-2256640e2d35",
            "zaaktype": "https://localhost:8080/catalogi/api/v1/zaaktypen/79a9328c-4692-40fe-a4c9-66cfadf4ecbf",
            "omschrijving": "Belanghebbende",
            "omschrijvingGeneriek": "belanghebbende"
        },
        {
            "url": "https://localhost:8080/catalogi/api/v1/roltypen/afe1f846-5784-4238-8c18-f5c39b4cfefc",
            "zaaktype": "https://localhost:8080/catalogi/api/v1/zaaktypen/02a295c0-2907-4c6c-97b5-f26ba8b19487",
            "omschrijving": "Verantwoordelijke",
            "omschrijvingGeneriek": "beslisser"
        },
        {
            "url": "https://localhost:8080/catalogi/api/v1/roltypen/380c7e88-33c0-44a4-a71e-b342f59cd397",
            "zaaktype": "https://localhost:8080/catalogi/api/v1/zaaktypen/02a295c0-2907-4c6c-97b5-f26ba8b19487",
            "omschrijving": "Uitvoerende",
            "omschrijvingGeneriek": "behandelaar"
        },
        {
            "url": "https://localhost:8080/catalogi/api/v1/roltypen/f752fad7-2a5d-4f30-b98c-6878bbc462e6",
            "zaaktype": "https://localhost:8080/catalogi/api/v1/zaaktypen/02a295c0-2907-4c6c-97b5-f26ba8b19487",
            "omschrijving": "Belanghebbende",
            "omschrijvingGeneriek": "belanghebbende"
        },
        {
            "url": "https://localhost:8080/catalogi/api/v1/roltypen/35565064-795e-4f86-b72c-5822597fa64d",
            "zaaktype": "https://localhost:8080/catalogi/api/v1/zaaktypen/02a295c0-2907-4c6c-97b5-f26ba8b19487",
            "omschrijving": "BetrekkingOp",
            "omschrijvingGeneriek": "belanghebbende"
        },
        {
            "url": "https://localhost:8080/catalogi/api/v1/roltypen/fc174a44-194f-4748-a359-20c31979009a",
            "zaaktype": "https://localhost:8080/catalogi/api/v1/zaaktypen/02a295c0-2907-4c6c-97b5-f26ba8b19487",
            "omschrijving": "Initiator",
            "omschrijvingGeneriek": "initiator"
        },
        {
            "url": "https://localhost:8080/catalogi/api/v1/roltypen/8e6fc37f-79e5-4a6a-922c-37aae0d43fba",
            "zaaktype": "https://localhost:8080/catalogi/api/v1/zaaktypen/02a295c0-2907-4c6c-97b5-f26ba8b19487",
            "omschrijving": "Behandelaar",
            "omschrijvingGeneriek": "behandelaar"
        },
        {
            "url": "https://localhost:8080/catalogi/api/v1/roltypen/2afdb528-e9ce-4639-b526-794feb147c68",
            "zaaktype": "https://localhost:8080/catalogi/api/v1/zaaktypen/004e6f92-d728-4def-9ec6-abe9ee547ef1",
            "omschrijving": "Verantwoordelijke",
            "omschrijvingGeneriek": "beslisser"
        },
        {
            "url": "https://localhost:8080/catalogi/api/v1/roltypen/62752c2c-040b-472d-9a2d-dabb11c4a91e",
            "zaaktype": "https://localhost:8080/catalogi/api/v1/zaaktypen/004e6f92-d728-4def-9ec6-abe9ee547ef1",
            "omschrijving": "Uitvoerende",
            "omschrijvingGeneriek": "behandelaar"
        },
        {
            "url": "https://localhost:8080/catalogi/api/v1/roltypen/9f0e71e4-8c64-4325-b670-c05b1273ab05",
            "zaaktype": "https://localhost:8080/catalogi/api/v1/zaaktypen/004e6f92-d728-4def-9ec6-abe9ee547ef1",
            "omschrijving": "Initiator",
            "omschrijvingGeneriek": "initiator"
        },
        {
            "url": "https://localhost:8080/catalogi/api/v1/roltypen/5df34974-b417-4f49-a4cc-8899d60bb652",
            "zaaktype": "https://localhost:8080/catalogi/api/v1/zaaktypen/004e6f92-d728-4def-9ec6-abe9ee547ef1",
            "omschrijving": "BetrekkingOp",
            "omschrijvingGeneriek": "belanghebbende"
        },
        {
            "url": "https://localhost:8080/catalogi/api/v1/roltypen/eb4de6ed-6400-49b5-be36-9c17be73602e",
            "zaaktype": "https://localhost:8080/catalogi/api/v1/zaaktypen/004e6f92-d728-4def-9ec6-abe9ee547ef1",
            "omschrijving": "Belanghebbende",
            "omschrijvingGeneriek": "belanghebbende"
        },
        {
            "url": "https://localhost:8080/catalogi/api/v1/roltypen/d1b9c25b-65bf-4caa-8515-9b3ce2a0a3cf",
            "zaaktype": "https://localhost:8080/catalogi/api/v1/zaaktypen/468c4ea9-343b-46f8-b113-93d7604f4805",
            "omschrijving": "Verantwoordelijke",
            "omschrijvingGeneriek": "beslisser"
        },
        {
            "url": "https://localhost:8080/catalogi/api/v1/roltypen/c32ead68-3723-4d56-8b0f-8859f6416b61",
            "zaaktype": "https://localhost:8080/catalogi/api/v1/zaaktypen/468c4ea9-343b-46f8-b113-93d7604f4805",
            "omschrijving": "Uitvoerende",
            "omschrijvingGeneriek": "behandelaar"
        },
        {
            "url": "https://localhost:8080/catalogi/api/v1/roltypen/0028f62f-2e81-47be-bf29-593db4ceb4f7",
            "zaaktype": "https://localhost:8080/catalogi/api/v1/zaaktypen/468c4ea9-343b-46f8-b113-93d7604f4805",
            "omschrijving": "Initiator",
            "omschrijvingGeneriek": "initiator"
        },
        {
            "url": "https://localhost:8080/catalogi/api/v1/roltypen/f35c1a10-5102-4ddf-96f9-e97683713479",
            "zaaktype": "https://localhost:8080/catalogi/api/v1/zaaktypen/468c4ea9-343b-46f8-b113-93d7604f4805",
            "omschrijving": "BetrekkingOp",
            "omschrijvingGeneriek": "belanghebbende"
        },
        {
            "url": "https://localhost:8080/catalogi/api/v1/roltypen/99031054-d3fe-4190-8e43-3e08a08370ed",
            "zaaktype": "https://localhost:8080/catalogi/api/v1/zaaktypen/468c4ea9-343b-46f8-b113-93d7604f4805",
            "omschrijving": "Belanghebbende",
            "omschrijvingGeneriek": "belanghebbende"
        },
        {
            "url": "https://localhost:8080/catalogi/api/v1/roltypen/19c8d017-44cd-43d1-a564-7d297efa8a55",
            "zaaktype": "https://localhost:8080/catalogi/api/v1/zaaktypen/2535175a-e78b-4b6c-9c3f-5750d8078c91",
            "omschrijving": "Verantwoordelijke",
            "omschrijvingGeneriek": "beslisser"
        },
        {
            "url": "https://localhost:8080/catalogi/api/v1/roltypen/6592013d-98be-4dfe-b110-345ea76a5da7",
            "zaaktype": "https://localhost:8080/catalogi/api/v1/zaaktypen/2535175a-e78b-4b6c-9c3f-5750d8078c91",
            "omschrijving": "Uitvoerende",
            "omschrijvingGeneriek": "behandelaar"
        },
        {
            "url": "https://localhost:8080/catalogi/api/v1/roltypen/403151ab-5432-407b-81bf-db38e9655ad2",
            "zaaktype": "https://localhost:8080/catalogi/api/v1/zaaktypen/2535175a-e78b-4b6c-9c3f-5750d8078c91",
            "omschrijving": "Initiator",
            "omschrijvingGeneriek": "initiator"
        },
        {
            "url": "https://localhost:8080/catalogi/api/v1/roltypen/b3e47ca5-2bed-43fd-98cc-4662f1092f75",
            "zaaktype": "https://localhost:8080/catalogi/api/v1/zaaktypen/2535175a-e78b-4b6c-9c3f-5750d8078c91",
            "omschrijving": "BetrekkingOp",
            "omschrijvingGeneriek": "belanghebbende"
        },
        {
            "url": "https://localhost:8080/catalogi/api/v1/roltypen/b6580de3-b5c5-4d4b-a13e-2b7f67c641b4",
            "zaaktype": "https://localhost:8080/catalogi/api/v1/zaaktypen/2535175a-e78b-4b6c-9c3f-5750d8078c91",
            "omschrijving": "Belanghebbende",
            "omschrijvingGeneriek": "belanghebbende"
        },
        {
            "url": "https://localhost:8080/catalogi/api/v1/roltypen/eda5d0f4-6f02-4f16-a455-4daf3f60480e",
            "zaaktype": "https://localhost:8080/catalogi/api/v1/zaaktypen/7d0b675e-cdb2-4732-8b07-feaaf90b8d2a",
            "omschrijving": "Verantwoordelijke",
            "omschrijvingGeneriek": "beslisser"
        },
        {
            "url": "https://localhost:8080/catalogi/api/v1/roltypen/70602f18-1969-485b-8122-1d02c6a6f5e6",
            "zaaktype": "https://localhost:8080/catalogi/api/v1/zaaktypen/7d0b675e-cdb2-4732-8b07-feaaf90b8d2a",
            "omschrijving": "Uitvoerende",
            "omschrijvingGeneriek": "behandelaar"
        },
        {
            "url": "https://localhost:8080/catalogi/api/v1/roltypen/db839f5a-ef6a-4a1b-b007-2a175bdfa6f4",
            "zaaktype": "https://localhost:8080/catalogi/api/v1/zaaktypen/7d0b675e-cdb2-4732-8b07-feaaf90b8d2a",
            "omschrijving": "Initiator",
            "omschrijvingGeneriek": "initiator"
        },
        {
            "url": "https://localhost:8080/catalogi/api/v1/roltypen/6afe9aad-5c4a-479b-aaf1-1a0eca7afe2a",
            "zaaktype": "https://localhost:8080/catalogi/api/v1/zaaktypen/7d0b675e-cdb2-4732-8b07-feaaf90b8d2a",
            "omschrijving": "BetrekkingOp",
            "omschrijvingGeneriek": "belanghebbende"
        },
        {
            "url": "https://localhost:8080/catalogi/api/v1/roltypen/8229e6fe-7e01-4467-8b81-954f50f3ca1a",
            "zaaktype": "https://localhost:8080/catalogi/api/v1/zaaktypen/7d0b675e-cdb2-4732-8b07-feaaf90b8d2a",
            "omschrijving": "Belanghebbende",
            "omschrijvingGeneriek": "belanghebbende"
        },
        {
            "url": "https://localhost:8080/catalogi/api/v1/roltypen/404b78db-dbfb-40ea-bbb8-b6dece513b25",
            "zaaktype": "https://localhost:8080/catalogi/api/v1/zaaktypen/473ec308-67a9-45a4-b199-6ed98eb19a76",
            "omschrijving": "Verantwoordelijke",
            "omschrijvingGeneriek": "beslisser"
        },
        {
            "url": "https://localhost:8080/catalogi/api/v1/roltypen/4ae6a71f-4fab-417d-86bf-2ba694e9c0de",
            "zaaktype": "https://localhost:8080/catalogi/api/v1/zaaktypen/473ec308-67a9-45a4-b199-6ed98eb19a76",
            "omschrijving": "Uitvoerende",
            "omschrijvingGeneriek": "behandelaar"
        },
        {
            "url": "https://localhost:8080/catalogi/api/v1/roltypen/6b19ef4b-c1f7-4eb4-ae04-d5a83ff71598",
            "zaaktype": "https://localhost:8080/catalogi/api/v1/zaaktypen/473ec308-67a9-45a4-b199-6ed98eb19a76",
            "omschrijving": "Initiator",
            "omschrijvingGeneriek": "initiator"
        },
        {
            "url": "https://localhost:8080/catalogi/api/v1/roltypen/837f4f5a-c2b8-444a-969c-ee50c3789aec",
            "zaaktype": "https://localhost:8080/catalogi/api/v1/zaaktypen/473ec308-67a9-45a4-b199-6ed98eb19a76",
            "omschrijving": "BetrekkingOp",
            "omschrijvingGeneriek": "belanghebbende"
        },
        {
            "url": "https://localhost:8080/catalogi/api/v1/roltypen/8e7a43f0-b81e-44cb-b6fc-29d91099f0f5",
            "zaaktype": "https://localhost:8080/catalogi/api/v1/zaaktypen/473ec308-67a9-45a4-b199-6ed98eb19a76",
            "omschrijving": "Belanghebbende",
            "omschrijvingGeneriek": "belanghebbende"
        },
        {
            "url": "https://localhost:8080/catalogi/api/v1/roltypen/f54a9ae8-a44f-47fd-ab4b-146ef6760f52",
            "zaaktype": "https://localhost:8080/catalogi/api/v1/zaaktypen/1f2bd9e4-5439-49b4-8331-39c263d97abd",
            "omschrijving": "Verantwoordelijke",
            "omschrijvingGeneriek": "beslisser"
        },
        {
            "url": "https://localhost:8080/catalogi/api/v1/roltypen/b4793475-6c52-4a0a-8833-0b9cc5cc015b",
            "zaaktype": "https://localhost:8080/catalogi/api/v1/zaaktypen/1f2bd9e4-5439-49b4-8331-39c263d97abd",
            "omschrijving": "Uitvoerende",
            "omschrijvingGeneriek": "behandelaar"
        },
        {
            "url": "https://localhost:8080/catalogi/api/v1/roltypen/a44e2d03-611f-474d-8a83-a48179f1bb92",
            "zaaktype": "https://localhost:8080/catalogi/api/v1/zaaktypen/1f2bd9e4-5439-49b4-8331-39c263d97abd",
            "omschrijving": "Initiator",
            "omschrijvingGeneriek": "initiator"
        },
        {
            "url": "https://localhost:8080/catalogi/api/v1/roltypen/050c3585-b94a-44bf-9628-40f1bdf176af",
            "zaaktype": "https://localhost:8080/catalogi/api/v1/zaaktypen/1f2bd9e4-5439-49b4-8331-39c263d97abd",
            "omschrijving": "BetrekkingOp",
            "omschrijvingGeneriek": "belanghebbende"
        },
        {
            "url": "https://localhost:8080/catalogi/api/v1/roltypen/a217af73-fed2-4d87-8069-bbbcb5bd439f",
            "zaaktype": "https://localhost:8080/catalogi/api/v1/zaaktypen/1f2bd9e4-5439-49b4-8331-39c263d97abd",
            "omschrijving": "Belanghebbende",
            "omschrijvingGeneriek": "belanghebbende"
        },
        {
            "url": "https://localhost:8080/catalogi/api/v1/roltypen/8da3b1bd-cbe6-4068-812e-3d74fca67f08",
            "zaaktype": "https://localhost:8080/catalogi/api/v1/zaaktypen/a68ed738-f1ff-4dfd-b5da-564449ff0c6f",
            "omschrijving": "Verantwoordelijke",
            "omschrijvingGeneriek": "beslisser"
        },
        {
            "url": "https://localhost:8080/catalogi/api/v1/roltypen/2e680a43-ebbb-473d-81a5-1b197b4f6e3c",
            "zaaktype": "https://localhost:8080/catalogi/api/v1/zaaktypen/a68ed738-f1ff-4dfd-b5da-564449ff0c6f",
            "omschrijving": "Uitvoerende",
            "omschrijvingGeneriek": "behandelaar"
        },
        {
            "url": "https://localhost:8080/catalogi/api/v1/roltypen/78f8c8fa-b9d8-4218-ac21-d42503d1d316",
            "zaaktype": "https://localhost:8080/catalogi/api/v1/zaaktypen/a68ed738-f1ff-4dfd-b5da-564449ff0c6f",
            "omschrijving": "Initiator",
            "omschrijvingGeneriek": "initiator"
        },
        {
            "url": "https://localhost:8080/catalogi/api/v1/roltypen/0574bf9a-ab2b-49d9-9255-40ec3d6595e4",
            "zaaktype": "https://localhost:8080/catalogi/api/v1/zaaktypen/a68ed738-f1ff-4dfd-b5da-564449ff0c6f",
            "omschrijving": "BetrekkingOp",
            "omschrijvingGeneriek": "belanghebbende"
        },
        {
            "url": "https://localhost:8080/catalogi/api/v1/roltypen/07f97bd7-4fa7-40b7-adbc-47974544e53f",
            "zaaktype": "https://localhost:8080/catalogi/api/v1/zaaktypen/a68ed738-f1ff-4dfd-b5da-564449ff0c6f",
            "omschrijving": "Belanghebbende",
            "omschrijvingGeneriek": "belanghebbende"
        },
        {
            "url": "https://localhost:8080/catalogi/api/v1/roltypen/253c7b00-bfe6-487d-b9b7-4414184be9c7",
            "zaaktype": "https://localhost:8080/catalogi/api/v1/zaaktypen/75ec9d61-7f71-49cd-878c-5433cd801775",
            "omschrijving": "Verantwoordelijke",
            "omschrijvingGeneriek": "beslisser"
        },
        {
            "url": "https://localhost:8080/catalogi/api/v1/roltypen/2c299da4-3c69-47d0-b9bb-230352b14a00",
            "zaaktype": "https://localhost:8080/catalogi/api/v1/zaaktypen/75ec9d61-7f71-49cd-878c-5433cd801775",
            "omschrijving": "Uitvoerende",
            "omschrijvingGeneriek": "behandelaar"
        },
        {
            "url": "https://localhost:8080/catalogi/api/v1/roltypen/a110f0ca-499e-4409-8010-a2043774c58c",
            "zaaktype": "https://localhost:8080/catalogi/api/v1/zaaktypen/75ec9d61-7f71-49cd-878c-5433cd801775",
            "omschrijving": "Initiator",
            "omschrijvingGeneriek": "initiator"
        },
        {
            "url": "https://localhost:8080/catalogi/api/v1/roltypen/74b1eb37-22d3-427d-95c1-d08022904130",
            "zaaktype": "https://localhost:8080/catalogi/api/v1/zaaktypen/75ec9d61-7f71-49cd-878c-5433cd801775",
            "omschrijving": "BetrekkingOp",
            "omschrijvingGeneriek": "belanghebbende"
        },
        {
            "url": "https://localhost:8080/catalogi/api/v1/roltypen/6ce28355-8dee-4742-96e0-ae70494408a9",
            "zaaktype": "https://localhost:8080/catalogi/api/v1/zaaktypen/75ec9d61-7f71-49cd-878c-5433cd801775",
            "omschrijving": "Belanghebbende",
            "omschrijvingGeneriek": "belanghebbende"
        },
        {
            "url": "https://localhost:8080/catalogi/api/v1/roltypen/84f4a4ce-a3e4-42e6-bb10-f48ae12a5d70",
            "zaaktype": "https://localhost:8080/catalogi/api/v1/zaaktypen/694e3ea8-2eb8-429e-b1a6-bc6f81ec663b",
            "omschrijving": "Verantwoordelijke",
            "omschrijvingGeneriek": "beslisser"
        },
        {
            "url": "https://localhost:8080/catalogi/api/v1/roltypen/f096d7b2-5e2c-4700-982a-6ed944715b0c",
            "zaaktype": "https://localhost:8080/catalogi/api/v1/zaaktypen/694e3ea8-2eb8-429e-b1a6-bc6f81ec663b",
            "omschrijving": "Uitvoerende",
            "omschrijvingGeneriek": "behandelaar"
        },
        {
            "url": "https://localhost:8080/catalogi/api/v1/roltypen/b256109d-9492-43e0-8a9c-db0c822f83e0",
            "zaaktype": "https://localhost:8080/catalogi/api/v1/zaaktypen/694e3ea8-2eb8-429e-b1a6-bc6f81ec663b",
            "omschrijving": "Initiator",
            "omschrijvingGeneriek": "initiator"
        },
        {
            "url": "https://localhost:8080/catalogi/api/v1/roltypen/c98a88e0-6560-45ac-b65e-f9037f9cee85",
            "zaaktype": "https://localhost:8080/catalogi/api/v1/zaaktypen/694e3ea8-2eb8-429e-b1a6-bc6f81ec663b",
            "omschrijving": "BetrekkingOp",
            "omschrijvingGeneriek": "belanghebbende"
        },
        {
            "url": "https://localhost:8080/catalogi/api/v1/roltypen/02ff75ad-48d7-4fdd-bda8-49db7d3cb6a8",
            "zaaktype": "https://localhost:8080/catalogi/api/v1/zaaktypen/694e3ea8-2eb8-429e-b1a6-bc6f81ec663b",
            "omschrijving": "Belanghebbende",
            "omschrijvingGeneriek": "belanghebbende"
        },
        {
            "url": "https://localhost:8080/catalogi/api/v1/roltypen/0a4f3b5f-6d33-4365-bb02-f6d29f33071d",
            "zaaktype": "https://localhost:8080/catalogi/api/v1/zaaktypen/965b0e54-53c8-4cb7-9ddd-ee0a771653f9",
            "omschrijving": "Verantwoordelijke",
            "omschrijvingGeneriek": "beslisser"
        },
        {
            "url": "https://localhost:8080/catalogi/api/v1/roltypen/494d9a84-c867-40d9-ad9c-5713dd94846c",
            "zaaktype": "https://localhost:8080/catalogi/api/v1/zaaktypen/965b0e54-53c8-4cb7-9ddd-ee0a771653f9",
            "omschrijving": "Uitvoerende",
            "omschrijvingGeneriek": "behandelaar"
        },
        {
            "url": "https://localhost:8080/catalogi/api/v1/roltypen/1bbab14f-0004-4e3e-bf7d-1502fee41ed1",
            "zaaktype": "https://localhost:8080/catalogi/api/v1/zaaktypen/965b0e54-53c8-4cb7-9ddd-ee0a771653f9",
            "omschrijving": "Initiator",
            "omschrijvingGeneriek": "initiator"
        },
        {
            "url": "https://localhost:8080/catalogi/api/v1/roltypen/0fa5931c-b73c-4695-9747-c4073dc2693e",
            "zaaktype": "https://localhost:8080/catalogi/api/v1/zaaktypen/965b0e54-53c8-4cb7-9ddd-ee0a771653f9",
            "omschrijving": "BetrekkingOp",
            "omschrijvingGeneriek": "belanghebbende"
        },
        {
            "url": "https://localhost:8080/catalogi/api/v1/roltypen/f698ac70-8f03-4230-9b48-47ab7b58e002",
            "zaaktype": "https://localhost:8080/catalogi/api/v1/zaaktypen/965b0e54-53c8-4cb7-9ddd-ee0a771653f9",
            "omschrijving": "Belanghebbende",
            "omschrijvingGeneriek": "belanghebbende"
        },
        {
            "url": "https://localhost:8080/catalogi/api/v1/roltypen/01f2340f-460f-4f58-bb44-44e6c009092f",
            "zaaktype": "https://localhost:8080/catalogi/api/v1/zaaktypen/0752d238-7583-4a20-96e0-b4b97e07a567",
            "omschrijving": "Verantwoordelijke",
            "omschrijvingGeneriek": "beslisser"
        },
        {
            "url": "https://localhost:8080/catalogi/api/v1/roltypen/0d7e4179-d356-4ddc-98f3-cffc513c9b31",
            "zaaktype": "https://localhost:8080/catalogi/api/v1/zaaktypen/0752d238-7583-4a20-96e0-b4b97e07a567",
            "omschrijving": "Uitvoerende",
            "omschrijvingGeneriek": "behandelaar"
        },
        {
            "url": "https://localhost:8080/catalogi/api/v1/roltypen/646ef492-13c3-4a74-aa9c-953390ebe1a4",
            "zaaktype": "https://localhost:8080/catalogi/api/v1/zaaktypen/0752d238-7583-4a20-96e0-b4b97e07a567",
            "omschrijving": "Initiator",
            "omschrijvingGeneriek": "initiator"
        }
    ]
}
EduardWitteveen commented 3 years ago

After a short contact with @joeribekker we prefer to refactor the code and instead of paging, use the roltypes in the zaaktype and look for the name. Argumens: 1 - much less data and it's much better to predict how long it will take, 2 - possible caching will be easier to implenet, althrough its not preferd (from commonground perspective we dont want to store information somewhere) 3 - maybe in the future a expand attribute will be added in the zgw standard.

joeribekker commented 3 years ago

Caching is a technical implementation detail to gain performance. This is not what the Common Ground mantra meant with "request at the source" or "stop copying data".

If you work with the StUF standard, you can see that everything is copied from one source to another (like person data to a case, object data to a zaakobject, type information to a case, etc). This is what CG doesn't want.

EduardWitteveen commented 3 years ago

page-ing problems can be expected at:

EduardWitteveen commented 3 years ago

statustype can also be filtered on zaaktype, this would be a much better approach