Vacancy Form

Returns a data structure to markup a form for a specific vacancy.

Url

GET http://api.hr-technologies.com/v1/vacancies/:id:/form

Response


Example

Url

http://api.hr-technologies.com/v1/vacancies/903/form

Response

{
    "data": [
        {
            "title": "Persoonlijke gegevens",
            "description": null,
            "fields": [
                {
                    "name": "CNAME",
                    "type": "text",
                    "label": "Naam",
                    "required": true,
                    "css": "w-full tablet:w-1/2"
                },
                {
                    "name": "CFIRSTNAME",
                    "type": "text",
                    "label": "Voornaam",
                    "required": true,
                    "css": "w-full tablet:w-1/2"
                },
                {
                    "name": "CTITLE",
                    "type": "select",
                    "label": "Aanspreektitel",
                    "required": false,
                    "css": "w-full tablet:w-1/2",
                    "options": [
                        {
                            "name": "CTITLE",
                            "value": "CTITLEFEM1",
                            "label": "Mevrouw"
                        },
                        {
                            "name": "CTITLE",
                            "value": "CTITLEFEM2",
                            "label": "Juffrouw"
                        },
                        ...
                    ]
                },
                ...
            ]
        },
        {
            "title": "Talenkennis",
            "description": null,
            "fields": [
                {
                    "name": "CLANGDUTCH",
                    "type": "range",
                    "label": "Nederlands",
                    "required": false,
                    "css": "w-full",
                    "options": [
                        {
                            "name": "CLANGDUTCH",
                            "value": "0",
                            "label": "Geen"
                        },
                        {
                            "name": "CLANGDUTCH",
                            "value": "1",
                            "label": "Zwak"
                        },
                        {
                            "name": "CLANGDUTCH",
                            "value": "2",
                            "label": "Matig"
                        },
                        {
                            "name": "CLANGDUTCH",
                            "value": "3",
                            "label": "Goed"
                        },
                        {
                            "name": "CLANGDUTCH",
                            "value": "4",
                            "label": "Zeer goed"
                        },
                        {
                            "name": "CLANGDUTCH",
                            "value": "5",
                            "label": "Moedertaal"
                        }
                    ]
                },
                {
                    "name": "CLANGOTHERLANG1SCORE",
                    "type": "range",
                    "label": {
                        "name": "CLANGOTHERLANG1NAME",
                        "type": "text",
                        "label": "Extra taal 1"
                    },
                    "required": false,
                    "css": "w-full",
                    "options": [
                        {
                            "name": "CLANGOTHERLANG1",
                            "value": "0",
                            "label": "Geen"
                        },
                        {
                            "name": "CLANGOTHERLANG1",
                            "value": "1",
                            "label": "Zwak"
                        },
                        {
                            "name": "CLANGOTHERLANG1",
                            "value": "2",
                            "label": "Matig"
                        },
                        {
                            "name": "CLANGOTHERLANG1",
                            "value": "3",
                            "label": "Goed"
                        },
                        {
                            "name": "CLANGOTHERLANG1",
                            "value": "4",
                            "label": "Zeer goed"
                        },
                        {
                            "name": "CLANGOTHERLANG1",
                            "value": "5",
                            "label": "Moedertaal"
                        }
                    ]
                },
                ...
            ]
        },
        {
            "title": "Ervaring",
            "description": null,
            "fields": [
                {
                    "name": "CCURRENTFUNCTIONGROUP",
                    "type": "checkbox-group",
                    "label": "Huidige / laatste functiecategorie",
                    "required": false,
                    "css": "w-full",
                    "options": [
                        {
                            "name": "CCURRENTFUNCTIONGROUP",
                            "value": "CCURRENTFUNCTIONGROUP1",
                            "label": "Directie & Management"
                        },
                        {
                            "name": "CCURRENTFUNCTIONGROUP",
                            "value": "CCURRENTFUNCTIONGROUP10",
                            "label": "Onderzoek & Ontwikkeling"
                        },
                        ...
                    ],
                    "conditional": [
                        {
                            "name": "CCURRENTFUNCTION",
                            "type": "text",
                            "label": "Huidige / laatste functie",
                            "required": false,
                            "on_value": "CCURRENTFUNCTIONGROUP21",
                            "css": "w-full tablet:w-1/2"
                        }
                    ]
                },
                ...
            ]
        },
        ...
        {
            "title": "Privacy statement",
            "description": "Lees ons privacy statement na via de \"privacy statement\"-link onderaan de pagina.",
            "fields": [
                {
                    "name": "GDPR",
                    "type": "checkbox",
                    "label": "Ik ga akkoord met het privacy statement",
                    "required": true,
                    "css": "w-full"
                }
            ]
        }
    ]
}