Introduction

This documentation aims to provide all the information you need to work with our API.

Generate more by postman

Your Token

  • 1|GEHwuy99KwfjejchyMnosr0V3cmwZsrxuZUllJota2175b67
  • Authenticating requests

    To authenticate requests, include an Authorization header with the value "Bearer {YOUR_AUTH_TOKEN}".

    All authenticated endpoints are marked with a requires authentication badge in the documentation below.

    You can retrieve your token by create an account and go to the login page to Generate API token.

    Account

    Account Endpoint

    User


    Roles belongs

    GET
    http://localhost:8000
    /api/v1/user/{userId}/roles
    requires authentication

    Get the roles associated to the user

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    URL Parameters

    userId
    integer
    required

    represent the id of user for witch role ought to be returned.

    Example:
    1
    Example request:
    curl --request GET \
        --get "http://localhost:8000/api/v1/user/1/roles" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    Example response :
    {
        "data": [
            {
                "id": 1,
    <<<<<<< HEAD
                "created_at": "2025-12-13T21:54:48.000000Z",
                "updated_at": "2025-12-13T21:54:48.000000Z",
                "is_direct_child": 1,
                "role_id": 1,
                "status_id": 1,
                "formated_code": "SAdm20251213215448",
    =======
                "created_at": "2025-12-10T16:44:20.000000Z",
                "updated_at": "2025-12-10T16:44:20.000000Z",
                "is_direct_child": 1,
                "role_id": 1,
                "status_id": 1,
                "formated_code": "SAdm20251210164420",
    >>>>>>> dev-master-dev1
                "parent_id": null,
                "act_as_global_admin": true,
                "voter_messages_count": null
            },
            {
                "id": 1,
    <<<<<<< HEAD
                "created_at": "2025-12-13T21:54:48.000000Z",
                "updated_at": "2025-12-13T21:54:48.000000Z",
                "is_direct_child": 1,
                "role_id": 1,
                "status_id": 1,
                "formated_code": "SAdm20251213215448",
    =======
                "created_at": "2025-12-10T16:44:20.000000Z",
                "updated_at": "2025-12-10T16:44:20.000000Z",
                "is_direct_child": 1,
                "role_id": 1,
                "status_id": 1,
                "formated_code": "SAdm20251210164420",
    >>>>>>> dev-master-dev1
                "parent_id": null,
                "act_as_global_admin": true,
                "voter_messages_count": null
            }
        ]
    }

    Metadata | from Password reset

    GET
    http://localhost:8000
    /api/v1/admins/{resetPasswordToken}/infos

    Get all information about user role from passing a token and give a email as query parameter

    Headers

    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    URL Parameters

    resetPasswordToken
    string
    required

    The password token sent via email or any other channels

    Example:
    dedede29393

    Query Parameters

    email
    string
    required

    The email for company

    Example:
    lucchuala@gmail.com
    Example request:
    curl --request GET \
        --get "http://localhost:8000/api/v1/admins/dedede29393/infos?email=lucchuala%40gmail.com" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    Example response :
    {
        "data": {
            "id": 1,
    <<<<<<< HEAD
            "name": "geraldine",
            "email": "geraldine.dada@yopmail.com",
            "email_verified_at": "2025-12-13T21:54:47.000000Z",
            "surname": "Rousseau",
            "address": "8, boulevard Claude Barthelemy\n72928 Lefort",
            "city": "Joubert-sur-Aubert",
            "country": "LK",
            "po_box": "22388",
            "fix_phone": "+33 1 69 01 34 57",
            "mobile_phone": "07 87 11 71 18",
            "fax": "+33 2 89 46 60 68",
            "date_of_birth": null,
            "speciality": "Animateur d'écomusée",
            "society": "Becker Renault S.A.S.",
            "generic_language_id": null,
            "other_information": null,
            "created_at": "2025-12-13T21:54:48.000000Z",
            "updated_at": "2025-12-13T21:54:48.000000Z"
    =======
            "name": "Guy Roger",
            "email": "guyroger.lock@multicreatif.com",
            "email_verified_at": "2025-12-10T16:44:20.000000Z",
            "surname": "Berger",
            "address": "60, avenue de Diallo\n62076 Rocher",
            "city": "Lefevre-sur-Barbe",
            "country": "NL",
            "po_box": "90480",
            "fix_phone": "+33 (0)1 96 81 45 28",
            "mobile_phone": "+33 (0)8 99 94 85 30",
            "fax": "01 11 04 49 41",
            "date_of_birth": null,
            "speciality": "Pareur en abattoir",
            "society": "Fischer S.A.",
            "generic_language_id": null,
            "other_information": null,
            "created_at": "2025-12-10T16:44:20.000000Z",
            "updated_at": "2025-12-10T16:44:20.000000Z"
    >>>>>>> dev-master-dev1
        }
    }
    {
        "message": "The given resource was invalid.",
        "errors": {
            "item 1": [
                "validation error 1."
            ]
        }
    }

    Authenticated User


    User

    GET
    http://localhost:8000
    /api/v1/user
    requires authentication

    Get the authenticated user from request. as connected as user roles . you must provide a token from a user roles

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json
    Example request:
    curl --request GET \
        --get "http://localhost:8000/api/v1/user" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    Example response :
    {
        "data": {
            "id": 1,
    <<<<<<< HEAD
            "name": "geraldine",
            "email": "geraldine.dada@yopmail.com",
            "email_verified_at": "2025-12-13T21:54:47.000000Z",
            "surname": "Rousseau",
            "address": "8, boulevard Claude Barthelemy\n72928 Lefort",
            "city": "Joubert-sur-Aubert",
            "country": "LK",
            "po_box": "22388",
            "fix_phone": "+33 1 69 01 34 57",
            "mobile_phone": "07 87 11 71 18",
            "fax": "+33 2 89 46 60 68",
            "date_of_birth": null,
            "speciality": "Animateur d'écomusée",
            "society": "Becker Renault S.A.S.",
            "generic_language_id": null,
            "other_information": null,
            "created_at": "2025-12-13T21:54:48.000000Z",
            "updated_at": "2025-12-13T21:54:48.000000Z"
    =======
            "name": "Guy Roger",
            "email": "guyroger.lock@multicreatif.com",
            "email_verified_at": "2025-12-10T16:44:20.000000Z",
            "surname": "Berger",
            "address": "60, avenue de Diallo\n62076 Rocher",
            "city": "Lefevre-sur-Barbe",
            "country": "NL",
            "po_box": "90480",
            "fix_phone": "+33 (0)1 96 81 45 28",
            "mobile_phone": "+33 (0)8 99 94 85 30",
            "fax": "01 11 04 49 41",
            "date_of_birth": null,
            "speciality": "Pareur en abattoir",
            "society": "Fischer S.A.",
            "generic_language_id": null,
            "other_information": null,
            "created_at": "2025-12-10T16:44:20.000000Z",
            "updated_at": "2025-12-10T16:44:20.000000Z"
    >>>>>>> dev-master-dev1
        }
    }

    User Role

    GET
    http://localhost:8000
    /api/v1/user-role
    requires authentication

    Get the authenticated user role from request

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json
    Example request:
    curl --request GET \
        --get "http://localhost:8000/api/v1/user-role" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    Example response :
    Headers
    cache-control : no-cache, private content-type : application/json vary : Origin
    {
        "message": "Unauthenticated."
    }

    Update Profile

    POST
    http://localhost:8000
    /api/v1/user/updateProfile
    requires authentication

    Update the information about a profile

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    X-PASSWORD-CONFIRM
    Example:
    password
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    Body Parameters

    Example request:
    curl --request POST \
        "http://localhost:8000/api/v1/user/updateProfile" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "X-PASSWORD-CONFIRM: password" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json" \
        --data "{
    <<<<<<< HEAD
        \"name\": \"consequatur\",
        \"surname\": \"consequatur\",
        \"address\": \"consequatur\",
        \"city\": \"consequatur\",
        \"country\": \"consequatur\",
        \"date_of_birth\": \"2025-12-14T00:15:55\",
        \"fix_phone\": \"consequatur\",
        \"mobile_phone\": \"consequatur\",
        \"other_information\": \"consequatur\",
        \"generic_language_id\": 17,
        \"po_box\": \"consequatur\",
        \"society\": \"consequatur\",
        \"speciality\": \"consequatur\",
        \"password\": \"O[2UZ5ij-e\\/dl4m{o,\"
    =======
        \"name\": \"architecto\",
        \"surname\": \"architecto\",
        \"address\": \"architecto\",
        \"city\": \"architecto\",
        \"country\": \"architecto\",
        \"date_of_birth\": \"2025-12-11T21:04:30\",
        \"fix_phone\": \"architecto\",
        \"mobile_phone\": \"architecto\",
        \"other_information\": \"architecto\",
        \"generic_language_id\": 16,
        \"po_box\": \"architecto\",
        \"society\": \"architecto\",
        \"speciality\": \"architecto\",
        \"password\": \"|]|{+-\"
    >>>>>>> dev-master-dev1
    }"
    
    Example response :
    {
        "data": {
            "id": 1,
    <<<<<<< HEAD
            "name": "geraldine",
            "email": "geraldine.dada@yopmail.com",
            "email_verified_at": "2025-12-13T21:54:47.000000Z",
            "surname": "Rousseau",
            "address": "8, boulevard Claude Barthelemy\n72928 Lefort",
            "city": "Joubert-sur-Aubert",
            "country": "LK",
            "po_box": "22388",
            "fix_phone": "+33 1 69 01 34 57",
            "mobile_phone": "07 87 11 71 18",
            "fax": "+33 2 89 46 60 68",
            "date_of_birth": null,
            "speciality": "Animateur d'écomusée",
            "society": "Becker Renault S.A.S.",
            "generic_language_id": null,
            "other_information": null,
            "created_at": "2025-12-13T21:54:48.000000Z",
            "updated_at": "2025-12-13T21:54:48.000000Z"
    =======
            "name": "Guy Roger",
            "email": "guyroger.lock@multicreatif.com",
            "email_verified_at": "2025-12-10T16:44:20.000000Z",
            "surname": "Berger",
            "address": "60, avenue de Diallo\n62076 Rocher",
            "city": "Lefevre-sur-Barbe",
            "country": "NL",
            "po_box": "90480",
            "fix_phone": "+33 (0)1 96 81 45 28",
            "mobile_phone": "+33 (0)8 99 94 85 30",
            "fax": "01 11 04 49 41",
            "date_of_birth": null,
            "speciality": "Pareur en abattoir",
            "society": "Fischer S.A.",
            "generic_language_id": null,
            "other_information": null,
            "created_at": "2025-12-10T16:44:20.000000Z",
            "updated_at": "2025-12-10T16:44:20.000000Z"
    >>>>>>> dev-master-dev1
        }
    }
    {
        "message": "Password not match"
    }
    {
        "errors": [],
        "message": "Field is invalid"
    }

    Switch Account.

    POST
    http://localhost:8000
    /api/v1/switchAccount/{roleId}
    requires authentication

    switch account

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    URL Parameters

    roleId
    integer
    required

    id of role to switch to

    Example:
    1
    Example request:
    curl --request POST \
        "http://localhost:8000/api/v1/switchAccount/1" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"

    Show profile

    GET
    http://localhost:8000
    /api/v1/users/activation/{token}

    Show the information about a profile to be activated

    Headers

    X-PASSWORD-CONFIRM
    Example:
    password
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    URL Parameters

    token
    string
    required

    The token containing emailId, roleId and languageId

    Example:
    lklsmdkjflsqkjfdmlsjlmfdkf11q
    Example request:
    curl --request GET \
        --get "http://localhost:8000/api/v1/users/activation/lklsmdkjflsqkjfdmlsjlmfdkf11q" \
        --header "X-PASSWORD-CONFIRM: password" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    Example response :
    {
        "data": {
            "id": 1,
    <<<<<<< HEAD
            "name": "geraldine",
            "email": "geraldine.dada@yopmail.com",
            "email_verified_at": "2025-12-13T21:54:47.000000Z",
            "surname": "Rousseau",
            "address": "8, boulevard Claude Barthelemy\n72928 Lefort",
            "city": "Joubert-sur-Aubert",
            "country": "LK",
            "po_box": "22388",
            "fix_phone": "+33 1 69 01 34 57",
            "mobile_phone": "07 87 11 71 18",
            "fax": "+33 2 89 46 60 68",
            "date_of_birth": null,
            "speciality": "Animateur d'écomusée",
            "society": "Becker Renault S.A.S.",
            "generic_language_id": null,
            "other_information": null,
            "created_at": "2025-12-13T21:54:48.000000Z",
            "updated_at": "2025-12-13T21:54:48.000000Z"
    =======
            "name": "Guy Roger",
            "email": "guyroger.lock@multicreatif.com",
            "email_verified_at": "2025-12-10T16:44:20.000000Z",
            "surname": "Berger",
            "address": "60, avenue de Diallo\n62076 Rocher",
            "city": "Lefevre-sur-Barbe",
            "country": "NL",
            "po_box": "90480",
            "fix_phone": "+33 (0)1 96 81 45 28",
            "mobile_phone": "+33 (0)8 99 94 85 30",
            "fax": "01 11 04 49 41",
            "date_of_birth": null,
            "speciality": "Pareur en abattoir",
            "society": "Fischer S.A.",
            "generic_language_id": null,
            "other_information": null,
            "created_at": "2025-12-10T16:44:20.000000Z",
            "updated_at": "2025-12-10T16:44:20.000000Z"
    >>>>>>> dev-master-dev1
        }
    }

    Show profile

    GET
    http://localhost:8000
    /api/v1/users/joinPartitionedSpace/{token}

    Show the information about a profile wanting to join a partitioned space

    Headers

    X-PASSWORD-CONFIRM
    Example:
    password
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    URL Parameters

    token
    string
    required

    The token containing $parentId and $childId aell being userRoleIds)

    Example:
    lklsmdkjflsqkjfdmlsjlmfdkf11q
    Example request:
    curl --request GET \
        --get "http://localhost:8000/api/v1/users/joinPartitionedSpace/lklsmdkjflsqkjfdmlsjlmfdkf11q" \
        --header "X-PASSWORD-CONFIRM: password" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    Example response :
    {
        "data": {
            "id": 1,
    <<<<<<< HEAD
            "name": "geraldine",
            "email": "geraldine.dada@yopmail.com",
            "email_verified_at": "2025-12-13T21:54:47.000000Z",
            "surname": "Rousseau",
            "address": "8, boulevard Claude Barthelemy\n72928 Lefort",
            "city": "Joubert-sur-Aubert",
            "country": "LK",
            "po_box": "22388",
            "fix_phone": "+33 1 69 01 34 57",
            "mobile_phone": "07 87 11 71 18",
            "fax": "+33 2 89 46 60 68",
            "date_of_birth": null,
            "speciality": "Animateur d'écomusée",
            "society": "Becker Renault S.A.S.",
            "generic_language_id": null,
            "other_information": null,
            "created_at": "2025-12-13T21:54:48.000000Z",
            "updated_at": "2025-12-13T21:54:48.000000Z"
    =======
            "name": "Guy Roger",
            "email": "guyroger.lock@multicreatif.com",
            "email_verified_at": "2025-12-10T16:44:20.000000Z",
            "surname": "Berger",
            "address": "60, avenue de Diallo\n62076 Rocher",
            "city": "Lefevre-sur-Barbe",
            "country": "NL",
            "po_box": "90480",
            "fix_phone": "+33 (0)1 96 81 45 28",
            "mobile_phone": "+33 (0)8 99 94 85 30",
            "fax": "01 11 04 49 41",
            "date_of_birth": null,
            "speciality": "Pareur en abattoir",
            "society": "Fischer S.A.",
            "generic_language_id": null,
            "other_information": null,
            "created_at": "2025-12-10T16:44:20.000000Z",
            "updated_at": "2025-12-10T16:44:20.000000Z"
    >>>>>>> dev-master-dev1
        }
    }

    Visu

    endpoint for visu


    Visu | Update profile

    POST
    http://localhost:8000
    /api/v1/companies/updateProfile
    requires authentication

    Update profile visu

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    X-PASSWORD-CONFIRM
    Example:
    password
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    Body Parameters

    Example request:
    curl --request POST \
        "http://localhost:8000/api/v1/companies/updateProfile" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "X-PASSWORD-CONFIRM: password" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json" \
        --data "{
        \"name\": \"consequatur\",
        \"address\": \"consequatur\",
        \"city\": \"consequatur\",
        \"country\": \"consequatur\",
        \"po_box\": \"consequatur\",
        \"fix_phone\": \"consequatur\",
        \"mobile_phone\": \"consequatur\",
        \"password\": \"O[2UZ5ij-e\\/dl4m{o,\"
    }"
    
    Example response :
    {
        "data": {
            "id": 5,
            "name": "MultiCreatif",
            "email": "contact@multicreatif.com",
            "email_verified_at": null,
    <<<<<<< HEAD
            "address": null,
            "city": null,
            "country": null,
            "po_box": null,
            "fix_phone": null,
            "mobile_phone": null,
            "reference_number": null,
            "company_type_id": 2,
            "password": "$2y$12$NfeJC/pZRlOdOAc5mcNfW.uv7soFbFN9guf6CYCYXWlB0007IcNpy",
            "user_role_id": 2,
            "creator_id": 2,
            "deletion_type_id": null,
            "status_id": 1,
            "formated_code": "Cu20251213215450",
    =======
            "address": "25, impasse Masson\n75997 Ruiz",
            "city": "Perrier",
            "country": "VG",
            "po_box": "59448",
            "fix_phone": null,
            "mobile_phone": null,
            "reference_number": null,
            "company_type_id": 1,
            "password": "$2y$12$XX/mMnNXA/vlSCFO1O8mW.JqhX/Hpw6mnCpDX7Tm95KMY2dR0G9O6",
            "user_role_id": 3,
            "creator_id": 3,
            "deletion_type_id": null,
            "status_id": 1,
            "formated_code": "Cu20251210164423",
    >>>>>>> dev-master-dev1
            "company_email_designs_count": null,
            "company_languages_count": null,
            "company_questionnaire_designs_count": null,
            "company_report_designs_count": null,
            "partitioned_email_designs_count": null,
            "partitioned_languages_count": null,
            "partitioned_questionnaire_designs_count": null,
            "partitioned_report_designs_count": null,
            "other_information": null,
    <<<<<<< HEAD
            "activated_at": "2025-12-13 21:54:50",
            "created_at": "2025-12-13T21:54:50.000000Z",
            "updated_at": "2025-12-13T21:54:50.000000Z",
    =======
            "activated_at": "2025-12-10 16:44:23",
            "created_at": "2025-12-10T16:44:23.000000Z",
            "updated_at": "2025-12-10T16:44:23.000000Z",
    >>>>>>> dev-master-dev1
            "deleted_at": null,
            "is_active_status": true,
            "remember_token": null,
            "generic_language_id": 1,
            "company_type": {
    <<<<<<< HEAD
                "id": 2,
                "name": "Enterprise",
                "created_at": "2025-12-13T21:54:44.000000Z"
            },
            "user_role": {
                "id": 2,
                "created_at": "2025-12-13T21:54:49.000000Z",
                "updated_at": "2025-12-13T21:54:49.000000Z",
                "is_direct_child": 1,
                "role_id": 1,
                "status_id": 1,
                "formated_code": "SAdm20251213215449",
    =======
                "id": 1,
                "name": "Private",
                "created_at": "2025-12-10T16:44:18.000000Z"
            },
            "user_role": {
                "id": 3,
                "created_at": "2025-12-10T16:44:23.000000Z",
                "updated_at": "2025-12-10T16:44:23.000000Z",
                "is_direct_child": 1,
                "role_id": 1,
                "status_id": 1,
                "formated_code": "SAdm20251210164423",
    >>>>>>> dev-master-dev1
                "parent_id": null,
                "role": {
                    "id": 1,
                    "name": "global_admin",
                    "guard_name": "global_admin",
    <<<<<<< HEAD
                    "created_at": "2025-12-13T16:54:44.000000Z",
                    "updated_at": "2025-12-13T16:54:44.000000Z"
                },
                "user": {
                    "id": 2,
                    "name": "Test",
                    "email": "test@gmail.com",
                    "email_verified_at": "2025-12-13T21:54:49.000000Z",
                    "surname": "Fournier",
                    "address": "58, impasse de Chretien\n23466 Thomas",
                    "city": "Pichon",
                    "country": "GY",
                    "po_box": "37014",
                    "fix_phone": "0588049974",
                    "mobile_phone": "+33 7 40 55 65 95",
                    "fax": "0974427274",
                    "date_of_birth": null,
                    "speciality": "Aspigiculteur",
                    "society": "Hamel",
                    "generic_language_id": null,
                    "other_information": null,
                    "created_at": "2025-12-13T21:54:49.000000Z",
                    "updated_at": "2025-12-13T21:54:49.000000Z"
    =======
                    "created_at": "2025-12-10T16:44:18.000000Z",
                    "updated_at": "2025-12-10T16:44:18.000000Z"
                },
                "user": {
                    "id": 3,
                    "name": "Luc Nguemoue",
                    "email": "lucchuala@gmail.com",
                    "email_verified_at": "2025-12-10T16:44:23.000000Z",
                    "surname": "Wagner",
                    "address": "rue Aimé Pereira\n43787 Pineau",
                    "city": "Boulay",
                    "country": "MD",
                    "po_box": "23532",
                    "fix_phone": "0699371114",
                    "mobile_phone": "+33 (0)7 80 88 06 91",
                    "fax": "09 51 20 95 88",
                    "date_of_birth": null,
                    "speciality": "Géomètre du cadastre",
                    "society": "Lucas S.A.R.L.",
                    "generic_language_id": 1,
                    "other_information": null,
                    "created_at": "2025-12-10T16:44:23.000000Z",
                    "updated_at": "2025-12-10T16:44:23.000000Z"
    >>>>>>> dev-master-dev1
                },
                "act_as_global_admin": true,
                "voter_messages_count": null
            },
            "is_webinaire": false,
            "is_multicreatif": true
        }
    }
    {
        "message": "Password not match"
    }
    {
        "errors": [],
        "message": "Field is invalid"
    }

    UserRole


    Confirm password

    POST
    http://localhost:8000
    /api/v1/confirm-password
    requires authentication

    Confirm that the password provided is the correct password of the application

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    Body Parameters

    Example request:
    curl --request POST \
        "http://localhost:8000/api/v1/confirm-password" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json" \
        --data "{
        \"password\": \"password\"
    }"
    
    Example response :
    {
        "message": "Password valid"
    }
    {
        "message": "",
        "errors": {
            "password": "The provided password is incorrect."
        }
    }

    UserRole | Exists

    POST
    http://localhost:8000
    /api/v1/userRole/{roleType}/existsBy
    requires authentication

    Check if a user role exists in the system

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    URL Parameters

    roleType
    string
    required

    The role type

    Must be one of:
    • global_admin
    • super_admin
    • simple_admin
    Example:
    simple_admin

    Body Parameters

    Example request:
    curl --request POST \
        "http://localhost:8000/api/v1/userRole/simple_admin/existsBy" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json" \
        --data "{
        \"email\": \"qkunze@example.com\",
        \"name\": \"opfuudtdsufvyvddqamni\",
        \"surname\": \"ihfqcoynlazghdtqtqxba\",
        \"city\": \"jwbpilpmufinllwloauyd\",
        \"country\": \"lsmsjuryvojcybzvrbyic\"
    }"
    
    Example response :
    {
        "data": {
            "exists": true,
            "can_append_in_my_space": true
        }
    }
    {
        "message": "validation message",
        "errors": []
    }

    Delete My account

    POST
    http://localhost:8000
    /api/v1/userRole/me/delete
    requires authentication

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    Query Parameters

    emailLang
    string
    required

    emailLang

    Must be one of:
    • French
    • English
    • Spanish
    • German
    • Portuguese
    • Chinese
    • Japanese
    • Italy
    • Russian
    • Dutch
    Example:
    French
    Example request:
    curl --request POST \
        "http://localhost:8000/api/v1/userRole/me/delete?emailLang=French" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    Example response :
    {
        "message": "ok"
    }

    User Role | Restore

    POST
    http://localhost:8000
    /api/v1/userRole/{userRoleId}/restore
    requires authentication

    Restore an user role account after been deleted!

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json
    Example request:
    curl --request POST \
        "http://localhost:8000/api/v1/userRole/{userRoleId}/restore" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    Example response :
    {
        "message": "restored successfully"
    }

    Validate Account

    POST
    http://localhost:8000
    /api/v1/userRole/request/validate/{token}
    requires authentication

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    URL Parameters

    token
    string
    required

    the token provided by email

    Example:
    X93h33j393h9hid939dh3idh93hd93hid3

    Body Parameters

    Example request:
    curl --request POST \
        "http://localhost:8000/api/v1/userRole/request/validate/X93h33j393h9hid939dh3idh93hd93hid3" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json" \
        --data "{
    <<<<<<< HEAD
        \"name\": \"consequatur\",
        \"surname\": \"consequatur\",
        \"address\": \"consequatur\",
        \"city\": \"consequatur\",
        \"country\": \"consequatur\",
        \"fax\": \"consequatur\",
        \"date_of_birth\": \"2025-12-14T00:15:58\",
        \"fix_phone\": \"consequatur\",
        \"mobile_phone\": \"consequatur\",
        \"other_information\": \"consequatur\",
        \"generic_language_id\": 17,
        \"po_box\": \"consequatur\",
        \"society\": \"consequatur\",
        \"speciality\": \"consequatur\",
        \"password\": \"O[2UZ5ij-e\\/dl4m{o,\"
    =======
        \"name\": \"architecto\",
        \"surname\": \"architecto\",
        \"address\": \"architecto\",
        \"city\": \"architecto\",
        \"country\": \"architecto\",
        \"fax\": \"architecto\",
        \"date_of_birth\": \"2025-12-11T21:04:33\",
        \"fix_phone\": \"architecto\",
        \"mobile_phone\": \"architecto\",
        \"other_information\": \"architecto\",
        \"generic_language_id\": 16,
        \"po_box\": \"architecto\",
        \"society\": \"architecto\",
        \"speciality\": \"architecto\",
        \"password\": \"|]|{+-\"
    >>>>>>> dev-master-dev1
    }"
    

    UserRole | Join Space

    POST
    http://localhost:8000
    /api/v1/userRole/request/joinPartitionedSpace/{token}
    requires authentication

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    Body Parameters

    Example request:
    curl --request POST \
        "http://localhost:8000/api/v1/userRole/request/joinPartitionedSpace/{token}" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json" \
        --data "{
    <<<<<<< HEAD
        \"name\": \"consequatur\",
        \"surname\": \"consequatur\",
        \"address\": \"consequatur\",
        \"city\": \"consequatur\",
        \"country\": \"consequatur\",
        \"fax\": \"consequatur\",
        \"date_of_birth\": \"2025-12-14T00:15:58\",
        \"fix_phone\": \"consequatur\",
        \"mobile_phone\": \"consequatur\",
        \"other_information\": \"consequatur\",
        \"generic_language_id\": 17,
        \"po_box\": \"consequatur\",
        \"society\": \"consequatur\",
        \"speciality\": \"consequatur\",
        \"password\": \"O[2UZ5ij-e\\/dl4m{o,\"
    =======
        \"name\": \"architecto\",
        \"surname\": \"architecto\",
        \"address\": \"architecto\",
        \"city\": \"architecto\",
        \"country\": \"architecto\",
        \"fax\": \"architecto\",
        \"date_of_birth\": \"2025-12-11T21:04:33\",
        \"fix_phone\": \"architecto\",
        \"mobile_phone\": \"architecto\",
        \"other_information\": \"architecto\",
        \"generic_language_id\": 16,
        \"po_box\": \"architecto\",
        \"society\": \"architecto\",
        \"speciality\": \"architecto\",
        \"password\": \"|]|{+-\"
    >>>>>>> dev-master-dev1
    }"
    

    UserRole| Email Activate

    POST
    http://localhost:8000
    /api/v1/userRole/request/reactivate/{token}
    requires authentication

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    URL Parameters

    token
    string
    required

    represent the token

    Example:
    X3930FD0-30394md
    Example request:
    curl --request POST \
        "http://localhost:8000/api/v1/userRole/request/reactivate/X3930FD0-30394md" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"

    SuperAdmin


    Super Admin List

    GET
    http://localhost:8000
    /api/v1/superAdmin
    requires authentication

    List all the super admin account

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    Query Parameters

    status
    string
    required

    The type of account to be exported (active | inactive) By default the value is active

    Must be one of:
    • active
    • inactive
    Example:
    active
    paginateNumber
    integer

    Number of items in pagination

    Example:
    15
    pagination
    boolean

    Activate or not the pagination extra metadata

    Must be one of:
    • true
    • false
    Example:
    1

    Body Parameters

    Example request:
    curl --request GET \
        --get "http://localhost:8000/api/v1/superAdmin?status=active&paginateNumber=15&pagination=1" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json" \
    
    Example response :
    {
        "data": [
            {
                "id": 1,
    <<<<<<< HEAD
                "activated_at": "2025-12-13 21:54:48",
                "is_active_status": true,
                "created_at": "2025-12-13T21:54:48.000000Z",
                "updated_at": "2025-12-13T21:54:48.000000Z",
                "deleted_at": null,
                "parent_id": null,
                "status_id": 1,
                "formated_code": "SAdm20251213215448",
    =======
                "activated_at": "2025-12-10 16:44:20",
                "is_active_status": true,
                "created_at": "2025-12-10T16:44:20.000000Z",
                "updated_at": "2025-12-10T16:44:20.000000Z",
                "deleted_at": null,
                "parent_id": null,
                "status_id": 1,
                "formated_code": "SAdm20251210164420",
    >>>>>>> dev-master-dev1
                "generic_language_id": null,
                "role_id": 1
            }
        ],
        "links": {
            "first": "/?page=1",
            "last": "/?page=2",
            "prev": null,
            "next": "/?page=2"
        },
        "meta": {
            "current_page": 1,
            "from": 1,
            "last_page": 2,
            "links": [
                {
                    "url": null,
                    "label": "&laquo; Previous",
                    "active": false
                },
                {
                    "url": "/?page=1",
                    "label": "1",
                    "active": true
                },
                {
                    "url": "/?page=2",
                    "label": "2",
                    "active": false
                },
                {
                    "url": "/?page=2",
                    "label": "Next &raquo;",
                    "active": false
                }
            ],
            "path": "/",
            "per_page": 1,
            "to": 1,
            "total": 2
        }
    }
    {
        "__comment": "When pagination is enabled!",
        "data": {
            "id": 1,
            "name": ""
        }
    }
    {
        "message": "Invalid status"
    }

    Super Admin Store

    POST
    http://localhost:8000
    /api/v1/superAdmin
    requires authentication

    Create a new user

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    Query Parameters

    emailLang
    string

    sigle of email language

    Must be one of:
    • French
    • English
    • Spanish
    • German
    • Portuguese
    • Chinese
    • Japanese
    • Italy
    • Russian
    • Dutch
    Example:
    French

    Body Parameters

    Example request:
    curl --request POST \
        "http://localhost:8000/api/v1/superAdmin?emailLang=French" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json" \
        --data "{
        \"email\": \"qkunze@example.com\"
    }"
    

    Get SuperAdmin Details

    GET
    http://localhost:8000
    /api/v1/superAdmin/{superAdminId}/details
    requires authentication

    Get information about super admin account

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    URL Parameters

    superAdminId
    number
    required

    the id of the super admin account

    Example:
    1
    Example request:
    curl --request GET \
        --get "http://localhost:8000/api/v1/superAdmin/1/details" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    Example response :
    {
        "data": {
            "id": 1,
    <<<<<<< HEAD
            "name": "geraldine",
            "email": "geraldine.dada@yopmail.com",
            "email_verified_at": "2025-12-13T21:54:47.000000Z",
            "surname": "Rousseau",
            "address": "8, boulevard Claude Barthelemy\n72928 Lefort",
            "city": "Joubert-sur-Aubert",
            "country": "LK",
            "po_box": "22388",
            "fix_phone": "+33 1 69 01 34 57",
            "mobile_phone": "07 87 11 71 18",
            "fax": "+33 2 89 46 60 68",
            "date_of_birth": null,
            "speciality": "Animateur d'écomusée",
            "society": "Becker Renault S.A.S.",
            "generic_language_id": null,
            "other_information": null,
            "created_at": "2025-12-13T21:54:48.000000Z",
            "updated_at": "2025-12-13T21:54:48.000000Z"
    =======
            "name": "Guy Roger",
            "email": "guyroger.lock@multicreatif.com",
            "email_verified_at": "2025-12-10T16:44:20.000000Z",
            "surname": "Berger",
            "address": "60, avenue de Diallo\n62076 Rocher",
            "city": "Lefevre-sur-Barbe",
            "country": "NL",
            "po_box": "90480",
            "fix_phone": "+33 (0)1 96 81 45 28",
            "mobile_phone": "+33 (0)8 99 94 85 30",
            "fax": "01 11 04 49 41",
            "date_of_birth": null,
            "speciality": "Pareur en abattoir",
            "society": "Fischer S.A.",
            "generic_language_id": null,
            "other_information": null,
            "created_at": "2025-12-10T16:44:20.000000Z",
            "updated_at": "2025-12-10T16:44:20.000000Z"
    >>>>>>> dev-master-dev1
        }
    }
    {
        "message": "not found"
    }

    Update SuperAdmin Account

    PUT
    http://localhost:8000
    /api/v1/superAdmin/{superAdminId}/update
    requires authentication

    Update information about the super admin account provide in request

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    URL Parameters

    superAdminId
    integer
    required

    Represent the identifier of the superAdmin account

    Example:
    1

    Body Parameters

    Example request:
    curl --request PUT \
        "http://localhost:8000/api/v1/superAdmin/1/update" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json" \
        --data "{
    <<<<<<< HEAD
        \"name\": \"vmqeopfuudtdsufvyvddq\",
        \"city\": \"amniihfqcoynlazghdtqt\",
        \"country\": \"qxbajwbpilpmufinllwlo\",
        \"po_box\": \"auydlsmsjuryvojcybzvr\",
        \"surname\": \"byickznkygloigmkwxphl\",
        \"address\": \"vazjrcnfbaqywuxhgjjmz\",
        \"fix_phone\": \"uxjubqouzswiwxtrkimfc\",
        \"mobile_phone\": \"atbxspzmrazsroyjpxmqe\",
        \"date_of_birth\": \"2025-12-14T00:15:56\",
        \"society\": \"sedyghenqcopwvownkbam\",
        \"speciality\": \"lnfngefbeilfzsyuxoezb\",
        \"other_information\": \"dtabptcyyerevrljcbwkt\"
    =======
        \"name\": \"b\",
        \"city\": \"n\",
        \"country\": \"g\",
        \"po_box\": \"z\",
        \"surname\": \"m\",
        \"address\": \"i\",
        \"fix_phone\": \"y\",
        \"mobile_phone\": \"v\",
        \"date_of_birth\": \"2025-12-11T21:04:31\",
        \"society\": \"d\",
        \"speciality\": \"l\",
        \"other_information\": \"j\"
    >>>>>>> dev-master-dev1
    }"
    
    Example response :
    {
        "message": "Success",
        "status": "ok"
    }
    {
        "message": "the field is required | the id is invalid ",
        "errors": {
            "name": "",
            "...": "other message validation."
        }
    }

    Deactivate Super Admin

    DELETE
    http://localhost:8000
    /api/v1/superAdmin/{superAdminId}/delete
    requires authentication

    Deactivate a super admin account When Deactivate an account it will be totally delete after 30 day.

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    URL Parameters

    superAdminId
    integer
    required

    The id of Super Admin account to be deleted

    Example:
    1

    Query Parameters

    emailLang
    string

    sigle of email language

    Must be one of:
    • French
    • English
    • Spanish
    • German
    • Portuguese
    • Chinese
    • Japanese
    • Italy
    • Russian
    • Dutch
    Example:
    French
    Example request:
    curl --request DELETE \
        "http://localhost:8000/api/v1/superAdmin/1/delete?emailLang=French" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    Example response :
    {
        "code": 2
    }
    {
        "code": 0
    }
    {
        "code": 1
    }

    Simple Admin


    Simple Admin List

    GET
    http://localhost:8000
    /api/v1/simpleAdmin
    requires authentication

    List all the super admin account

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    Query Parameters

    status
    string

    The type of account to be exported (active | inactive) By default the value is all

    Must be one of:
    • active
    • inactive
    Example:
    active
    paginateNumber
    integer

    Number of items in pagination

    Example:
    15
    pagination
    boolean

    Activate or not the pagination extra metadata

    Must be one of:
    • true
    • false
    Example:
    1
    Example request:
    curl --request GET \
        --get "http://localhost:8000/api/v1/simpleAdmin?status=active&paginateNumber=15&pagination=1" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    Example response :
    {
        "data": [
            {
                "id": 1,
    <<<<<<< HEAD
                "activated_at": "2025-12-13 21:54:48",
                "is_active_status": true,
                "created_at": "2025-12-13T21:54:48.000000Z",
                "updated_at": "2025-12-13T21:54:48.000000Z",
                "deleted_at": null,
                "parent_id": null,
                "status_id": 1,
                "formated_code": "SAdm20251213215448",
    =======
                "activated_at": "2025-12-10 16:44:20",
                "is_active_status": true,
                "created_at": "2025-12-10T16:44:20.000000Z",
                "updated_at": "2025-12-10T16:44:20.000000Z",
                "deleted_at": null,
                "parent_id": null,
                "status_id": 1,
                "formated_code": "SAdm20251210164420",
    >>>>>>> dev-master-dev1
                "generic_language_id": null,
                "role_id": 1
            }
        ],
        "links": {
            "first": "/?page=1",
            "last": "/?page=2",
            "prev": null,
            "next": "/?page=2"
        },
        "meta": {
            "current_page": 1,
            "from": 1,
            "last_page": 2,
            "links": [
                {
                    "url": null,
                    "label": "&laquo; Previous",
                    "active": false
                },
                {
                    "url": "/?page=1",
                    "label": "1",
                    "active": true
                },
                {
                    "url": "/?page=2",
                    "label": "2",
                    "active": false
                },
                {
                    "url": "/?page=2",
                    "label": "Next &raquo;",
                    "active": false
                }
            ],
            "path": "/",
            "per_page": 1,
            "to": 1,
            "total": 2
        }
    }
    {
        "__comment": "When pagination is enabled!",
        "data": {
            "id": 1,
            "name": ""
        }
    }
    {
        "message": "Invalid status"
    }

    Simple Admin Create

    POST
    http://localhost:8000
    /api/v1/simpleAdmin
    requires authentication

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    Query Parameters

    emailLang
    string

    sigle of email language

    Must be one of:
    • French
    • English
    • Spanish
    • German
    • Portuguese
    • Chinese
    • Japanese
    • Italy
    • Russian
    • Dutch
    Example:
    French

    Body Parameters

    Example request:
    curl --request POST \
        "http://localhost:8000/api/v1/simpleAdmin?emailLang=French" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json" \
        --data "{
        \"email\": \"qkunze@example.com\"
    }"
    

    Simple Admin Show

    GET
    http://localhost:8000
    /api/v1/simpleAdmin/{simpleAdminId}
    requires authentication

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    URL Parameters

    simpleAdminId
    integer
    required

    the id of the role corresponding to super admin

    Example:
    1
    Example request:
    curl --request GET \
        --get "http://localhost:8000/api/v1/simpleAdmin/1" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    Example response :
    {
        "data": [
            {
                "id": 1,
    <<<<<<< HEAD
                "activated_at": "2025-12-13 21:54:48",
                "is_active_status": true,
                "created_at": "2025-12-13T21:54:48.000000Z",
                "updated_at": "2025-12-13T21:54:48.000000Z",
                "deleted_at": null,
                "parent_id": null,
                "status_id": 1,
                "formated_code": "SAdm20251213215448",
    =======
                "activated_at": "2025-12-10 16:44:20",
                "is_active_status": true,
                "created_at": "2025-12-10T16:44:20.000000Z",
                "updated_at": "2025-12-10T16:44:20.000000Z",
                "deleted_at": null,
                "parent_id": null,
                "status_id": 1,
                "formated_code": "SAdm20251210164420",
    >>>>>>> dev-master-dev1
                "generic_language_id": null,
                "role_id": 1
            },
            {
                "id": 1,
    <<<<<<< HEAD
                "activated_at": "2025-12-13 21:54:48",
                "is_active_status": true,
                "created_at": "2025-12-13T21:54:48.000000Z",
                "updated_at": "2025-12-13T21:54:48.000000Z",
                "deleted_at": null,
                "parent_id": null,
                "status_id": 1,
                "formated_code": "SAdm20251213215448",
    =======
                "activated_at": "2025-12-10 16:44:20",
                "is_active_status": true,
                "created_at": "2025-12-10T16:44:20.000000Z",
                "updated_at": "2025-12-10T16:44:20.000000Z",
                "deleted_at": null,
                "parent_id": null,
                "status_id": 1,
                "formated_code": "SAdm20251210164420",
    >>>>>>> dev-master-dev1
                "generic_language_id": null,
                "role_id": 1
            }
        ]
    }

    Simple Admin Update

    PUT
    PATCH
    http://localhost:8000
    /api/v1/simpleAdmin/{simpleAdminId}
    requires authentication

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    URL Parameters

    simpleAdminId
    integer
    required

    the id of the role corresponding to super admin

    Example:
    1

    Body Parameters

    Example request:
    curl --request PUT \
        "http://localhost:8000/api/v1/simpleAdmin/1" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json" \
        --data "{
    <<<<<<< HEAD
        \"name\": \"vmqeopfuudtdsufvyvddq\",
        \"city\": \"amniihfqcoynlazghdtqt\",
        \"country\": \"qxbajwbpilpmufinllwlo\",
        \"po_box\": \"auydlsmsjuryvojcybzvr\",
        \"surname\": \"byickznkygloigmkwxphl\",
        \"address\": \"vazjrcnfbaqywuxhgjjmz\",
        \"fix_phone\": \"uxjubqouzswiwxtrkimfc\",
        \"mobile_phone\": \"atbxspzmrazsroyjpxmqe\",
        \"date_of_birth\": \"2025-12-14T00:15:56\",
        \"society\": \"sedyghenqcopwvownkbam\",
        \"speciality\": \"lnfngefbeilfzsyuxoezb\",
        \"other_information\": \"dtabptcyyerevrljcbwkt\"
    =======
        \"name\": \"b\",
        \"city\": \"n\",
        \"country\": \"g\",
        \"po_box\": \"z\",
        \"surname\": \"m\",
        \"address\": \"i\",
        \"fix_phone\": \"y\",
        \"mobile_phone\": \"v\",
        \"date_of_birth\": \"2025-12-11T21:04:31\",
        \"society\": \"d\",
        \"speciality\": \"l\",
        \"other_information\": \"j\"
    >>>>>>> dev-master-dev1
    }"
    
    Example response :
    {
        "message": "update successfully"
    }

    Simple Admin Destroy

    DELETE
    http://localhost:8000
    /api/v1/simpleAdmin/{simpleAdminId}
    requires authentication

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    URL Parameters

    simpleAdminId
    integer
    required

    The id of Simple Admin account to be deleted

    Example:
    1
    Example request:
    curl --request DELETE \
        "http://localhost:8000/api/v1/simpleAdmin/1" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    Example response :
    {
        "message": "deactivate successfully"
    }

    Company

    List of company


    Company List

    GET
    http://localhost:8000
    /api/v1/companies
    requires authentication

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    Query Parameters

    status
    string
    required

    The type of account to be exported (active | inactive) By default the value is active

    Must be one of:
    • active
    • inactive
    Example:
    active
    paginate
    boolean

    indicate if the result will be paginated

    Example:
    1
    contributorOwner
    boolean

    if present determine if the owner type was contributor or user role
    and if not just get all companies

    Example:
    1
    Example request:
    curl --request GET \
        --get "http://localhost:8000/api/v1/companies?status=active&paginate=1&contributorOwner=1" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    Example response :
    {
        "data": [
            {
                "id": 5,
                "name": "MultiCreatif",
                "email": "contact@multicreatif.com",
                "email_verified_at": null,
    <<<<<<< HEAD
                "address": null,
                "city": null,
                "country": null,
                "po_box": null,
                "fix_phone": null,
                "mobile_phone": null,
                "reference_number": null,
                "company_type_id": 2,
                "password": "$2y$12$NfeJC/pZRlOdOAc5mcNfW.uv7soFbFN9guf6CYCYXWlB0007IcNpy",
                "user_role_id": 2,
                "creator_id": 2,
                "deletion_type_id": null,
                "status_id": 1,
                "formated_code": "Cu20251213215450",
    =======
                "address": "25, impasse Masson\n75997 Ruiz",
                "city": "Perrier",
                "country": "VG",
                "po_box": "59448",
                "fix_phone": null,
                "mobile_phone": null,
                "reference_number": null,
                "company_type_id": 1,
                "password": "$2y$12$XX/mMnNXA/vlSCFO1O8mW.JqhX/Hpw6mnCpDX7Tm95KMY2dR0G9O6",
                "user_role_id": 3,
                "creator_id": 3,
                "deletion_type_id": null,
                "status_id": 1,
                "formated_code": "Cu20251210164423",
    >>>>>>> dev-master-dev1
                "company_email_designs_count": null,
                "company_languages_count": null,
                "company_questionnaire_designs_count": null,
                "company_report_designs_count": null,
                "partitioned_email_designs_count": null,
                "partitioned_languages_count": null,
                "partitioned_questionnaire_designs_count": null,
                "partitioned_report_designs_count": null,
                "other_information": null,
    <<<<<<< HEAD
                "activated_at": "2025-12-13 21:54:50",
                "created_at": "2025-12-13T21:54:50.000000Z",
                "updated_at": "2025-12-13T21:54:50.000000Z",
    =======
                "activated_at": "2025-12-10 16:44:23",
                "created_at": "2025-12-10T16:44:23.000000Z",
                "updated_at": "2025-12-10T16:44:23.000000Z",
    >>>>>>> dev-master-dev1
                "deleted_at": null,
                "is_active_status": true,
                "remember_token": null,
                "generic_language_id": 1,
                "status": {
                    "id": 1,
                    "name": "active",
    <<<<<<< HEAD
                    "created_at": "2025-12-13T16:54:44.000000Z",
                    "updated_at": "2025-12-13T16:54:44.000000Z"
                },
                "user_role": {
                    "id": 2,
                    "created_at": "2025-12-13T21:54:49.000000Z",
                    "updated_at": "2025-12-13T21:54:49.000000Z",
                    "is_direct_child": 1,
                    "role_id": 1,
                    "status_id": 1,
                    "formated_code": "SAdm20251213215449",
                    "parent_id": null,
                    "user": {
                        "id": 2,
                        "name": "Test",
                        "email": "test@gmail.com",
                        "email_verified_at": "2025-12-13T21:54:49.000000Z",
                        "surname": "Fournier",
                        "address": "58, impasse de Chretien\n23466 Thomas",
                        "city": "Pichon",
                        "country": "GY",
                        "po_box": "37014",
                        "fix_phone": "0588049974",
                        "mobile_phone": "+33 7 40 55 65 95",
                        "fax": "0974427274",
                        "date_of_birth": null,
                        "speciality": "Aspigiculteur",
                        "society": "Hamel",
                        "generic_language_id": null,
                        "other_information": null,
                        "created_at": "2025-12-13T21:54:49.000000Z",
                        "updated_at": "2025-12-13T21:54:49.000000Z"
    =======
                    "created_at": "2025-12-10T16:44:18.000000Z",
                    "updated_at": "2025-12-10T16:44:18.000000Z"
                },
                "user_role": {
                    "id": 3,
                    "created_at": "2025-12-10T16:44:23.000000Z",
                    "updated_at": "2025-12-10T16:44:23.000000Z",
                    "is_direct_child": 1,
                    "role_id": 1,
                    "status_id": 1,
                    "formated_code": "SAdm20251210164423",
                    "parent_id": null,
                    "user": {
                        "id": 3,
                        "name": "Luc Nguemoue",
                        "email": "lucchuala@gmail.com",
                        "email_verified_at": "2025-12-10T16:44:23.000000Z",
                        "surname": "Wagner",
                        "address": "rue Aimé Pereira\n43787 Pineau",
                        "city": "Boulay",
                        "country": "MD",
                        "po_box": "23532",
                        "fix_phone": "0699371114",
                        "mobile_phone": "+33 (0)7 80 88 06 91",
                        "fax": "09 51 20 95 88",
                        "date_of_birth": null,
                        "speciality": "Géomètre du cadastre",
                        "society": "Lucas S.A.R.L.",
                        "generic_language_id": 1,
                        "other_information": null,
                        "created_at": "2025-12-10T16:44:23.000000Z",
                        "updated_at": "2025-12-10T16:44:23.000000Z"
    >>>>>>> dev-master-dev1
                    },
                    "act_as_global_admin": true,
                    "voter_messages_count": null
                },
                "creator": {
    <<<<<<< HEAD
                    "id": 2,
                    "created_at": "2025-12-13T21:54:49.000000Z",
                    "updated_at": "2025-12-13T21:54:49.000000Z",
                    "is_direct_child": 1,
                    "role_id": 1,
                    "status_id": 1,
                    "formated_code": "SAdm20251213215449",
    =======
                    "id": 3,
                    "created_at": "2025-12-10T16:44:23.000000Z",
                    "updated_at": "2025-12-10T16:44:23.000000Z",
                    "is_direct_child": 1,
                    "role_id": 1,
                    "status_id": 1,
                    "formated_code": "SAdm20251210164423",
    >>>>>>> dev-master-dev1
                    "parent_id": null,
                    "role": {
                        "id": 1,
                        "name": "global_admin",
                        "guard_name": "global_admin",
    <<<<<<< HEAD
                        "created_at": "2025-12-13T16:54:44.000000Z",
                        "updated_at": "2025-12-13T16:54:44.000000Z"
                    },
                    "user": {
                        "id": 2,
                        "name": "Test",
                        "email": "test@gmail.com",
                        "email_verified_at": "2025-12-13T21:54:49.000000Z",
                        "surname": "Fournier",
                        "address": "58, impasse de Chretien\n23466 Thomas",
                        "city": "Pichon",
                        "country": "GY",
                        "po_box": "37014",
                        "fix_phone": "0588049974",
                        "mobile_phone": "+33 7 40 55 65 95",
                        "fax": "0974427274",
                        "date_of_birth": null,
                        "speciality": "Aspigiculteur",
                        "society": "Hamel",
                        "generic_language_id": null,
                        "other_information": null,
                        "created_at": "2025-12-13T21:54:49.000000Z",
                        "updated_at": "2025-12-13T21:54:49.000000Z"
    =======
                        "created_at": "2025-12-10T16:44:18.000000Z",
                        "updated_at": "2025-12-10T16:44:18.000000Z"
                    },
                    "user": {
                        "id": 3,
                        "name": "Luc Nguemoue",
                        "email": "lucchuala@gmail.com",
                        "email_verified_at": "2025-12-10T16:44:23.000000Z",
                        "surname": "Wagner",
                        "address": "rue Aimé Pereira\n43787 Pineau",
                        "city": "Boulay",
                        "country": "MD",
                        "po_box": "23532",
                        "fix_phone": "0699371114",
                        "mobile_phone": "+33 (0)7 80 88 06 91",
                        "fax": "09 51 20 95 88",
                        "date_of_birth": null,
                        "speciality": "Géomètre du cadastre",
                        "society": "Lucas S.A.R.L.",
                        "generic_language_id": 1,
                        "other_information": null,
                        "created_at": "2025-12-10T16:44:23.000000Z",
                        "updated_at": "2025-12-10T16:44:23.000000Z"
    >>>>>>> dev-master-dev1
                    },
                    "act_as_global_admin": true,
                    "voter_messages_count": null
                },
                "is_webinaire": false,
                "is_multicreatif": true
            }
        ],
        "links": {
            "first": "/?page=1",
            "last": "/?page=2",
            "prev": null,
            "next": "/?page=2"
        },
        "meta": {
            "current_page": 1,
            "from": 1,
            "last_page": 2,
            "links": [
                {
                    "url": null,
                    "label": "&laquo; Previous",
                    "active": false
                },
                {
                    "url": "/?page=1",
                    "label": "1",
                    "active": true
                },
                {
                    "url": "/?page=2",
                    "label": "2",
                    "active": false
                },
                {
                    "url": "/?page=2",
                    "label": "Next &raquo;",
                    "active": false
                }
            ],
            "path": "/",
            "per_page": 1,
            "to": 1,
            "total": 2
        }
    }

    Company Store

    POST
    http://localhost:8000
    /api/v1/companies
    requires authentication

    Store a new company to application

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    Query Parameters

    emailLang
    string

    email lang

    Must be one of:
    • French
    • English
    • Spanish
    • German
    • Portuguese
    • Chinese
    • Japanese
    • Italy
    • Russian
    • Dutch
    Example:
    French

    Body Parameters

    Example request:
    curl --request POST \
        "http://localhost:8000/api/v1/companies?emailLang=French" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json" \
        --data "{
    <<<<<<< HEAD
        \"email\": \"qkunze@example.com\",
        \"name\": \"consequatur\",
        \"created_at\": \"2025-12-14T00:15:56\",
        \"user_role_id\": 17,
        \"reference_number\": \"consequatur\",
        \"other_information\": \"consequatur\",
    =======
        \"email\": \"gbailey@example.net\",
        \"name\": \"architecto\",
        \"created_at\": \"2025-12-11T21:04:31\",
        \"user_role_id\": 16,
        \"reference_number\": \"architecto\",
        \"other_information\": \"architecto\",
    >>>>>>> dev-master-dev1
        \"company_type\": \"Private\",
        \"emailLang\": \"English\"
    }"
    

    Company Details

    GET
    http://localhost:8000
    /api/v1/companies/{companyId}
    requires authentication

    Get details about a company

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    URL Parameters

    companyId
    number
    required

    the identifiers of the company actual(id)

    Example:
    1
    Example request:
    curl --request GET \
        --get "http://localhost:8000/api/v1/companies/1" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    Example response :
    {
        "data": {
            "id": 5,
            "name": "MultiCreatif",
            "email": "contact@multicreatif.com",
            "email_verified_at": null,
    <<<<<<< HEAD
            "address": null,
            "city": null,
            "country": null,
            "po_box": null,
            "fix_phone": null,
            "mobile_phone": null,
            "reference_number": null,
            "company_type_id": 2,
            "password": "$2y$12$NfeJC/pZRlOdOAc5mcNfW.uv7soFbFN9guf6CYCYXWlB0007IcNpy",
            "user_role_id": 2,
            "creator_id": 2,
            "deletion_type_id": null,
            "status_id": 1,
            "formated_code": "Cu20251213215450",
    =======
            "address": "25, impasse Masson\n75997 Ruiz",
            "city": "Perrier",
            "country": "VG",
            "po_box": "59448",
            "fix_phone": null,
            "mobile_phone": null,
            "reference_number": null,
            "company_type_id": 1,
            "password": "$2y$12$XX/mMnNXA/vlSCFO1O8mW.JqhX/Hpw6mnCpDX7Tm95KMY2dR0G9O6",
            "user_role_id": 3,
            "creator_id": 3,
            "deletion_type_id": null,
            "status_id": 1,
            "formated_code": "Cu20251210164423",
    >>>>>>> dev-master-dev1
            "company_email_designs_count": null,
            "company_languages_count": null,
            "company_questionnaire_designs_count": null,
            "company_report_designs_count": null,
            "partitioned_email_designs_count": null,
            "partitioned_languages_count": null,
            "partitioned_questionnaire_designs_count": null,
            "partitioned_report_designs_count": null,
            "other_information": null,
    <<<<<<< HEAD
            "activated_at": "2025-12-13 21:54:50",
            "created_at": "2025-12-13T21:54:50.000000Z",
            "updated_at": "2025-12-13T21:54:50.000000Z",
    =======
            "activated_at": "2025-12-10 16:44:23",
            "created_at": "2025-12-10T16:44:23.000000Z",
            "updated_at": "2025-12-10T16:44:23.000000Z",
    >>>>>>> dev-master-dev1
            "deleted_at": null,
            "is_active_status": true,
            "remember_token": null,
            "generic_language_id": 1,
            "is_webinaire": false,
            "is_multicreatif": true
        }
    }
    {
        "message": "Not found",
        "status": 404
    }

    Company Update

    PUT
    PATCH
    http://localhost:8000
    /api/v1/companies/{companyId}
    requires authentication

    Update the company data

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    URL Parameters

    companyId
    number
    required

    the id of the company

    Example:
    1

    Body Parameters

    Example request:
    curl --request PUT \
        "http://localhost:8000/api/v1/companies/1" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json" \
        --data "{
        \"company_type\": \"Private\",
        \"user_role_id\": \"consequatur\",
        \"reference_number\": \"consequatur\",
        \"other_information\": \"consequatur\"
    }"
    
    Example response :
    {
        "code": 200,
        "message": "Update successfully"
    }
    {
        "message": "...",
        "errors": []
    }

    Delete Company

    DELETE
    http://localhost:8000
    /api/v1/companies/{companyId}
    requires authentication

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    URL Parameters

    companyId
    integer
    required

    Company id

    Example:
    1
    Example request:
    curl --request DELETE \
        "http://localhost:8000/api/v1/companies/1" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    Example response :
    {
        "message": "Delete success"
    }
    {
        "message": "Not found",
        "status": 404
    }

    Company list | As Admin

    GET
    http://localhost:8000
    /api/v1/companies/administrators/wallet
    requires authentication

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json
    Example request:
    curl --request GET \
        --get "http://localhost:8000/api/v1/companies/administrators/wallet" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    Example response :
    {
        "data": [
            {
                "id": 5,
                "name": "MultiCreatif",
                "email": "contact@multicreatif.com",
                "email_verified_at": null,
    <<<<<<< HEAD
                "address": null,
                "city": null,
                "country": null,
                "po_box": null,
                "fix_phone": null,
                "mobile_phone": null,
                "reference_number": null,
                "company_type_id": 2,
                "password": "$2y$12$NfeJC/pZRlOdOAc5mcNfW.uv7soFbFN9guf6CYCYXWlB0007IcNpy",
                "user_role_id": 2,
                "creator_id": 2,
                "deletion_type_id": null,
                "status_id": 1,
                "formated_code": "Cu20251213215450",
    =======
                "address": "25, impasse Masson\n75997 Ruiz",
                "city": "Perrier",
                "country": "VG",
                "po_box": "59448",
                "fix_phone": null,
                "mobile_phone": null,
                "reference_number": null,
                "company_type_id": 1,
                "password": "$2y$12$XX/mMnNXA/vlSCFO1O8mW.JqhX/Hpw6mnCpDX7Tm95KMY2dR0G9O6",
                "user_role_id": 3,
                "creator_id": 3,
                "deletion_type_id": null,
                "status_id": 1,
                "formated_code": "Cu20251210164423",
    >>>>>>> dev-master-dev1
                "company_email_designs_count": null,
                "company_languages_count": null,
                "company_questionnaire_designs_count": null,
                "company_report_designs_count": null,
                "partitioned_email_designs_count": null,
                "partitioned_languages_count": null,
                "partitioned_questionnaire_designs_count": null,
                "partitioned_report_designs_count": null,
                "other_information": null,
    <<<<<<< HEAD
                "activated_at": "2025-12-13 21:54:50",
                "created_at": "2025-12-13T21:54:50.000000Z",
                "updated_at": "2025-12-13T21:54:50.000000Z",
    =======
                "activated_at": "2025-12-10 16:44:23",
                "created_at": "2025-12-10T16:44:23.000000Z",
                "updated_at": "2025-12-10T16:44:23.000000Z",
    >>>>>>> dev-master-dev1
                "deleted_at": null,
                "is_active_status": true,
                "remember_token": null,
                "generic_language_id": 1,
                "is_webinaire": false,
                "is_multicreatif": true
            }
        ],
        "links": {
            "first": "/?page=1",
            "last": "/?page=2",
            "prev": null,
            "next": "/?page=2"
        },
        "meta": {
            "current_page": 1,
            "from": 1,
            "last_page": 2,
            "links": [
                {
                    "url": null,
                    "label": "&laquo; Previous",
                    "active": false
                },
                {
                    "url": "/?page=1",
                    "label": "1",
                    "active": true
                },
                {
                    "url": "/?page=2",
                    "label": "2",
                    "active": false
                },
                {
                    "url": "/?page=2",
                    "label": "Next &raquo;",
                    "active": false
                }
            ],
            "path": "/",
            "per_page": 1,
            "to": 1,
            "total": 2
        }
    }

    Company list | As Contributor

    GET
    http://localhost:8000
    /api/v1/companies/contributorGroups/wallet
    requires authentication

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json
    Example request:
    curl --request GET \
        --get "http://localhost:8000/api/v1/companies/contributorGroups/wallet" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    Example response :
    {
        "data": [
            {
                "id": null,
                "company_id": null,
                "name": null,
                "email": null,
                "created_at": null,
                "updated_at": null
            },
            {
                "id": null,
                "company_id": null,
                "name": null,
                "email": null,
                "created_at": null,
                "updated_at": null
            }
        ]
    }

    Restore Account

    POST
    http://localhost:8000
    /api/v1/companies/{companyId}/restore
    requires authentication

    Restore an company account after been deleted!

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    URL Parameters

    companyId
    integer
    required

    id of company

    Example:
    1
    Example request:
    curl --request POST \
        "http://localhost:8000/api/v1/companies/1/restore" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    Example response :
    {
        "message": "restored"
    }

    My admin

    GET
    http://localhost:8000
    /api/v1/companies/my/userRoles
    requires authentication

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json
    Example request:
    curl --request GET \
        --get "http://localhost:8000/api/v1/companies/my/userRoles" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    Example response :
    {
        "data": [
            {
                "id": 1,
    <<<<<<< HEAD
                "created_at": "2025-12-13T21:54:48.000000Z",
                "updated_at": "2025-12-13T21:54:48.000000Z",
                "is_direct_child": 1,
                "role_id": 1,
                "status_id": 1,
                "formated_code": "SAdm20251213215448",
                "parent_id": null,
                "user": {
                    "id": 1,
                    "name": "geraldine",
                    "email": "geraldine.dada@yopmail.com",
                    "email_verified_at": "2025-12-13T21:54:47.000000Z",
                    "surname": "Rousseau",
                    "address": "8, boulevard Claude Barthelemy\n72928 Lefort",
                    "city": "Joubert-sur-Aubert",
                    "country": "LK",
                    "po_box": "22388",
                    "fix_phone": "+33 1 69 01 34 57",
                    "mobile_phone": "07 87 11 71 18",
                    "fax": "+33 2 89 46 60 68",
                    "date_of_birth": null,
                    "speciality": "Animateur d'écomusée",
                    "society": "Becker Renault S.A.S.",
                    "generic_language_id": null,
                    "other_information": null,
                    "created_at": "2025-12-13T21:54:48.000000Z",
                    "updated_at": "2025-12-13T21:54:48.000000Z"
    =======
                "created_at": "2025-12-10T16:44:20.000000Z",
                "updated_at": "2025-12-10T16:44:20.000000Z",
                "is_direct_child": 1,
                "role_id": 1,
                "status_id": 1,
                "formated_code": "SAdm20251210164420",
                "parent_id": null,
                "user": {
                    "id": 1,
                    "name": "Guy Roger",
                    "email": "guyroger.lock@multicreatif.com",
                    "email_verified_at": "2025-12-10T16:44:20.000000Z",
                    "surname": "Berger",
                    "address": "60, avenue de Diallo\n62076 Rocher",
                    "city": "Lefevre-sur-Barbe",
                    "country": "NL",
                    "po_box": "90480",
                    "fix_phone": "+33 (0)1 96 81 45 28",
                    "mobile_phone": "+33 (0)8 99 94 85 30",
                    "fax": "01 11 04 49 41",
                    "date_of_birth": null,
                    "speciality": "Pareur en abattoir",
                    "society": "Fischer S.A.",
                    "generic_language_id": null,
                    "other_information": null,
                    "created_at": "2025-12-10T16:44:20.000000Z",
                    "updated_at": "2025-12-10T16:44:20.000000Z"
    >>>>>>> dev-master-dev1
                },
                "act_as_global_admin": true,
                "voter_messages_count": null
            },
            {
                "id": 1,
    <<<<<<< HEAD
                "created_at": "2025-12-13T21:54:48.000000Z",
                "updated_at": "2025-12-13T21:54:48.000000Z",
                "is_direct_child": 1,
                "role_id": 1,
                "status_id": 1,
                "formated_code": "SAdm20251213215448",
                "parent_id": null,
                "user": {
                    "id": 1,
                    "name": "geraldine",
                    "email": "geraldine.dada@yopmail.com",
                    "email_verified_at": "2025-12-13T21:54:47.000000Z",
                    "surname": "Rousseau",
                    "address": "8, boulevard Claude Barthelemy\n72928 Lefort",
                    "city": "Joubert-sur-Aubert",
                    "country": "LK",
                    "po_box": "22388",
                    "fix_phone": "+33 1 69 01 34 57",
                    "mobile_phone": "07 87 11 71 18",
                    "fax": "+33 2 89 46 60 68",
                    "date_of_birth": null,
                    "speciality": "Animateur d'écomusée",
                    "society": "Becker Renault S.A.S.",
                    "generic_language_id": null,
                    "other_information": null,
                    "created_at": "2025-12-13T21:54:48.000000Z",
                    "updated_at": "2025-12-13T21:54:48.000000Z"
    =======
                "created_at": "2025-12-10T16:44:20.000000Z",
                "updated_at": "2025-12-10T16:44:20.000000Z",
                "is_direct_child": 1,
                "role_id": 1,
                "status_id": 1,
                "formated_code": "SAdm20251210164420",
                "parent_id": null,
                "user": {
                    "id": 1,
                    "name": "Guy Roger",
                    "email": "guyroger.lock@multicreatif.com",
                    "email_verified_at": "2025-12-10T16:44:20.000000Z",
                    "surname": "Berger",
                    "address": "60, avenue de Diallo\n62076 Rocher",
                    "city": "Lefevre-sur-Barbe",
                    "country": "NL",
                    "po_box": "90480",
                    "fix_phone": "+33 (0)1 96 81 45 28",
                    "mobile_phone": "+33 (0)8 99 94 85 30",
                    "fax": "01 11 04 49 41",
                    "date_of_birth": null,
                    "speciality": "Pareur en abattoir",
                    "society": "Fischer S.A.",
                    "generic_language_id": null,
                    "other_information": null,
                    "created_at": "2025-12-10T16:44:20.000000Z",
                    "updated_at": "2025-12-10T16:44:20.000000Z"
    >>>>>>> dev-master-dev1
                },
                "act_as_global_admin": true,
                "voter_messages_count": null
            }
        ]
    }

    Revert Deletion

    POST
    http://localhost:8000
    /api/v1/company/request/reactivate/{token}

    Headers

    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    URL Parameters

    token
    string
    required

    token

    Example:
    xdjfjedediiejdiejide
    Example request:
    curl --request POST \
        "http://localhost:8000/api/v1/company/request/reactivate/xdjfjedediiejdiejide" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"

    Company | Metadata

    GET
    http://localhost:8000
    /api/v1/company/{token}/data

    Get all meta data

    Headers

    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    URL Parameters

    token
    string
    required

    token in creation email

    Example:
    7se889s7Qp9exy5rsCZXivoyVZ7phb5QegYxEbFs8567a748
    Example request:
    curl --request GET \
        --get "http://localhost:8000/api/v1/company/7se889s7Qp9exy5rsCZXivoyVZ7phb5QegYxEbFs8567a748/data" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    Example response :
    {
        "data": {
            "id": 5,
            "name": "MultiCreatif",
            "email": "contact@multicreatif.com",
            "email_verified_at": null,
    <<<<<<< HEAD
            "address": null,
            "city": null,
            "country": null,
            "po_box": null,
            "fix_phone": null,
            "mobile_phone": null,
            "reference_number": null,
            "company_type_id": 2,
            "password": "$2y$12$NfeJC/pZRlOdOAc5mcNfW.uv7soFbFN9guf6CYCYXWlB0007IcNpy",
            "user_role_id": 2,
            "creator_id": 2,
            "deletion_type_id": null,
            "status_id": 1,
            "formated_code": "Cu20251213215450",
    =======
            "address": "25, impasse Masson\n75997 Ruiz",
            "city": "Perrier",
            "country": "VG",
            "po_box": "59448",
            "fix_phone": null,
            "mobile_phone": null,
            "reference_number": null,
            "company_type_id": 1,
            "password": "$2y$12$XX/mMnNXA/vlSCFO1O8mW.JqhX/Hpw6mnCpDX7Tm95KMY2dR0G9O6",
            "user_role_id": 3,
            "creator_id": 3,
            "deletion_type_id": null,
            "status_id": 1,
            "formated_code": "Cu20251210164423",
    >>>>>>> dev-master-dev1
            "company_email_designs_count": null,
            "company_languages_count": null,
            "company_questionnaire_designs_count": null,
            "company_report_designs_count": null,
            "partitioned_email_designs_count": null,
            "partitioned_languages_count": null,
            "partitioned_questionnaire_designs_count": null,
            "partitioned_report_designs_count": null,
            "other_information": null,
    <<<<<<< HEAD
            "activated_at": "2025-12-13 21:54:50",
            "created_at": "2025-12-13T21:54:50.000000Z",
            "updated_at": "2025-12-13T21:54:50.000000Z",
    =======
            "activated_at": "2025-12-10 16:44:23",
            "created_at": "2025-12-10T16:44:23.000000Z",
            "updated_at": "2025-12-10T16:44:23.000000Z",
    >>>>>>> dev-master-dev1
            "deleted_at": null,
            "is_active_status": true,
            "remember_token": null,
            "generic_language_id": 1,
            "is_webinaire": false,
            "is_multicreatif": true
        }
    }

    Validate Company

    POST
    http://localhost:8000
    /api/v1/companies/{token}/validate

    Activate company with provided data

    Headers

    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    URL Parameters

    token
    string
    required

    the token provided by email

    Example:
    X93h33j393h9hid939dh3idh93hd93hid3

    Body Parameters

    Example request:
    curl --request POST \
        "http://localhost:8000/api/v1/companies/X93h33j393h9hid939dh3idh93hd93hid3/validate" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json" \
        --data "{
    <<<<<<< HEAD
        \"name\": \"consequatur\",
        \"password\": \"consequatur\",
        \"address\": \"consequatur\",
        \"city\": \"consequatur\",
        \"country\": \"consequatur\",
        \"po_box\": \"consequatur\",
        \"fix_phone\": \"consequatur\",
        \"mobile_phone\": \"consequatur\",
        \"reference_number\": \"consequatur\",
        \"other_information\": \"consequatur\",
        \"user_role_id\": 17,
        \"company_type\": \"Private\",
        \"generic_language\": \"Japanese\"
    =======
        \"name\": \"architecto\",
        \"password\": \"architecto\",
        \"address\": \"architecto\",
        \"city\": \"architecto\",
        \"country\": \"architecto\",
        \"po_box\": \"architecto\",
        \"fix_phone\": \"architecto\",
        \"mobile_phone\": \"architecto\",
        \"reference_number\": \"architecto\",
        \"other_information\": \"architecto\",
        \"user_role_id\": 16,
        \"company_type\": \"Enterprise\",
        \"generic_language\": \"Portuguese\"
    >>>>>>> dev-master-dev1
    }"
    

    Metadata | from Password reset

    GET
    http://localhost:8000
    /api/v1/visu/{resetPasswordToken}/infos

    Get all information about user role from passing a token and give a email as query parameter

    Headers

    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    URL Parameters

    resetPasswordToken
    string
    required

    The password token sent via email or any other channels

    Example:
    dedede29393

    Query Parameters

    email
    string
    required

    The email for company

    Example:
    lucchuala@gmail.com
    Example request:
    curl --request GET \
        --get "http://localhost:8000/api/v1/visu/dedede29393/infos?email=lucchuala%40gmail.com" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    Example response :
    {
        "data": {
            "id": 5,
            "name": "MultiCreatif",
            "email": "contact@multicreatif.com",
            "email_verified_at": null,
    <<<<<<< HEAD
            "address": null,
            "city": null,
            "country": null,
            "po_box": null,
            "fix_phone": null,
            "mobile_phone": null,
            "reference_number": null,
            "company_type_id": 2,
            "password": "$2y$12$NfeJC/pZRlOdOAc5mcNfW.uv7soFbFN9guf6CYCYXWlB0007IcNpy",
            "user_role_id": 2,
            "creator_id": 2,
            "deletion_type_id": null,
            "status_id": 1,
            "formated_code": "Cu20251213215450",
    =======
            "address": "25, impasse Masson\n75997 Ruiz",
            "city": "Perrier",
            "country": "VG",
            "po_box": "59448",
            "fix_phone": null,
            "mobile_phone": null,
            "reference_number": null,
            "company_type_id": 1,
            "password": "$2y$12$XX/mMnNXA/vlSCFO1O8mW.JqhX/Hpw6mnCpDX7Tm95KMY2dR0G9O6",
            "user_role_id": 3,
            "creator_id": 3,
            "deletion_type_id": null,
            "status_id": 1,
            "formated_code": "Cu20251210164423",
    >>>>>>> dev-master-dev1
            "company_email_designs_count": null,
            "company_languages_count": null,
            "company_questionnaire_designs_count": null,
            "company_report_designs_count": null,
            "partitioned_email_designs_count": null,
            "partitioned_languages_count": null,
            "partitioned_questionnaire_designs_count": null,
            "partitioned_report_designs_count": null,
            "other_information": null,
    <<<<<<< HEAD
            "activated_at": "2025-12-13 21:54:50",
            "created_at": "2025-12-13T21:54:50.000000Z",
            "updated_at": "2025-12-13T21:54:50.000000Z",
    =======
            "activated_at": "2025-12-10 16:44:23",
            "created_at": "2025-12-10T16:44:23.000000Z",
            "updated_at": "2025-12-10T16:44:23.000000Z",
    >>>>>>> dev-master-dev1
            "deleted_at": null,
            "is_active_status": true,
            "remember_token": null,
            "generic_language_id": 1,
            "company_type": {
    <<<<<<< HEAD
                "id": 2,
                "name": "Enterprise",
                "created_at": "2025-12-13T21:54:44.000000Z"
            },
            "user_role": {
                "id": 2,
                "created_at": "2025-12-13T21:54:49.000000Z",
                "updated_at": "2025-12-13T21:54:49.000000Z",
                "is_direct_child": 1,
                "role_id": 1,
                "status_id": 1,
                "formated_code": "SAdm20251213215449",
    =======
                "id": 1,
                "name": "Private",
                "created_at": "2025-12-10T16:44:18.000000Z"
            },
            "user_role": {
                "id": 3,
                "created_at": "2025-12-10T16:44:23.000000Z",
                "updated_at": "2025-12-10T16:44:23.000000Z",
                "is_direct_child": 1,
                "role_id": 1,
                "status_id": 1,
                "formated_code": "SAdm20251210164423",
    >>>>>>> dev-master-dev1
                "parent_id": null,
                "role": {
                    "id": 1,
                    "name": "global_admin",
                    "guard_name": "global_admin",
    <<<<<<< HEAD
                    "created_at": "2025-12-13T16:54:44.000000Z",
                    "updated_at": "2025-12-13T16:54:44.000000Z"
                },
                "user": {
                    "id": 2,
                    "name": "Test",
                    "email": "test@gmail.com",
                    "email_verified_at": "2025-12-13T21:54:49.000000Z",
                    "surname": "Fournier",
                    "address": "58, impasse de Chretien\n23466 Thomas",
                    "city": "Pichon",
                    "country": "GY",
                    "po_box": "37014",
                    "fix_phone": "0588049974",
                    "mobile_phone": "+33 7 40 55 65 95",
                    "fax": "0974427274",
                    "date_of_birth": null,
                    "speciality": "Aspigiculteur",
                    "society": "Hamel",
                    "generic_language_id": null,
                    "other_information": null,
                    "created_at": "2025-12-13T21:54:49.000000Z",
                    "updated_at": "2025-12-13T21:54:49.000000Z"
    =======
                    "created_at": "2025-12-10T16:44:18.000000Z",
                    "updated_at": "2025-12-10T16:44:18.000000Z"
                },
                "user": {
                    "id": 3,
                    "name": "Luc Nguemoue",
                    "email": "lucchuala@gmail.com",
                    "email_verified_at": "2025-12-10T16:44:23.000000Z",
                    "surname": "Wagner",
                    "address": "rue Aimé Pereira\n43787 Pineau",
                    "city": "Boulay",
                    "country": "MD",
                    "po_box": "23532",
                    "fix_phone": "0699371114",
                    "mobile_phone": "+33 (0)7 80 88 06 91",
                    "fax": "09 51 20 95 88",
                    "date_of_birth": null,
                    "speciality": "Géomètre du cadastre",
                    "society": "Lucas S.A.R.L.",
                    "generic_language_id": 1,
                    "other_information": null,
                    "created_at": "2025-12-10T16:44:23.000000Z",
                    "updated_at": "2025-12-10T16:44:23.000000Z"
    >>>>>>> dev-master-dev1
                },
                "act_as_global_admin": true,
                "voter_messages_count": null
            },
            "is_webinaire": false,
            "is_multicreatif": true
        }
    }
    {
        "message": "The given resource was invalid.",
        "errors": {
            "item 1": [
                "validation error 1."
            ]
        }
    }

    Voter


    Metadata | from Password reset

    GET
    http://localhost:8000
    /api/v1/voter/{resetPasswordToken}/infos

    Get all information about user role from passing a token and give a email as query parameter

    Headers

    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    URL Parameters

    resetPasswordToken
    string
    required

    The password token sent via email or any other channels

    Example:
    dedede29393

    Query Parameters

    email
    string
    required

    The email for voter

    Example:
    lucchuala@gmail.com
    Example request:
    curl --request GET \
        --get "http://localhost:8000/api/v1/voter/dedede29393/infos?email=lucchuala%40gmail.com" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    Example response :
    {
        "data": {
            "id": null,
            "email": null,
            "access_type_id": null,
            "status_id": null,
            "company_id": null,
            "created_at": null,
            "properties": [],
            "generic_language_id": null,
            "revert_deletion_type": null
        }
    }
    {
        "message": "The given resource was invalid.",
        "errors": {
            "item 1": [
                "validation error 1."
            ]
        }
    }

    Authentication

    Authenticate user and provide token for the user to access the system.
    
    <h2>This Token is limited . to have the full version of token you have to generate a new token from the user role.</h2>
    <p>Theses are functionality of the group:</p>
    
    <li>Login user account : provide an token for the user account</li>
    <li>Login user role account: provide a token for the user role account</li>
    <li>Send a email reset password </li>
    <li>Send an verification email</li>
    <li>Reset user password</li>

    User


    Login User

    POST
    http://localhost:8000
    /api/v1/login

    Get the credentials of any user and return an unique token witch correspond to these credentials

    Headers

    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    Body Parameters

    Response Fields

    Example request:
    curl --request POST \
        "http://localhost:8000/api/v1/login" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json" \
        --data "{
        \"email\": \"qkunze@example.com\",
        \"password\": \"O[2UZ5ij-e\\/dl4m{o,\"
    }"
    
    Example response :

    Send password Link

    POST
    http://localhost:8000
    /api/v1/forgot-password

    Send to the email provide an reset mail instructions

    Headers

    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    Body Parameters

    Response Fields

    Example request:
    curl --request POST \
        "http://localhost:8000/api/v1/forgot-password" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json" \
        --data "{
        \"email\": \"lucchuala@gmail.com\",
        \"profile\": \"admins\",
    <<<<<<< HEAD
        \"locale\": \"de\"
    =======
        \"locale\": \"pt\"
    >>>>>>> dev-master-dev1
    }"
    
    Example response :
    {
        "status": "passwords.sent",
        "message": "we have sent you a successfully password reset link"
    }
    {
        "status": "passwords.throttled",
        "message": "..."
    }
    {
        "status": "passwords.user",
        "message": "...."
    }

    Reset password

    POST
    http://localhost:8000
    /api/v1/reset-password

    Reset the password for the given token, either admins or companies

    Headers

    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    Body Parameters

    Example request:
    curl --request POST \
        "http://localhost:8000/api/v1/reset-password" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json" \
        --data "{
        \"token\": \"a88b7dcd1a9e3e17770bbaa6d7515b31a2d7e85d\",
        \"email\": \"user@email.com\",
        \"password\": \"user@email.com\",
        \"profile\": \"consequatur\",
        \"password_confirmation\": \"consequatur\"
    }"
    
    Example response :
    {
        "status": "reset success"
    }
    {
        "errors": "reset success"
    }

    Send Email Verification

    POST
    http://localhost:8000
    /api/v1/email/verification-notification
    requires authentication

    Send The verification email for reset password

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json
    Example request:
    curl --request POST \
        "http://localhost:8000/api/v1/email/verification-notification" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"

    Logout

    POST
    http://localhost:8000
    /api/v1/logout
    requires authentication

    Delete all the token for the authenticated user

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json
    Example request:
    curl --request POST \
        "http://localhost:8000/api/v1/logout" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"

    UserRole


    Login Account role

    POST
    http://localhost:8000
    /api/v1/user/role/login

    Authenticate a user role by providing a token

    Headers

    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    Body Parameters

    Example request:
    curl --request POST \
        "http://localhost:8000/api/v1/user/role/login" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json" \
        --data "{
        \"email\": \"qkunze@example.com\",
        \"password\": \"O[2UZ5ij-e\\/dl4m{o,\",
        \"role_id\": 17
    }"
    
    Example response :

    Logout Account user role

    POST
    http://localhost:8000
    /api/v1/user/role/logout

    Authenticate a user role by providing a token

    Headers

    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json
    Example request:
    curl --request POST \
        "http://localhost:8000/api/v1/user/role/logout" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"

    Voter


    Reset password

    POST
    http://localhost:8000
    /api/v1/reset-password/voter

    Reset the password for the given token, either admins or companies

    Headers

    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    Body Parameters

    Example request:
    curl --request POST \
        "http://localhost:8000/api/v1/reset-password/voter" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json" \
        --data "{
        \"token\": \"a88b7dcd1a9e3e17770bbaa6d7515b31a2d7e85d\",
        \"email\": \"user@email.com\",
        \"name\": \"Nguemoue\",
        \"surname\": \"luc\",
        \"password\": \"user@email.com\",
        \"password_confirmation\": \"consequatur\"
    }"
    
    Example response :
    {
        "status": "reset success"
    }
    {
        "errors": "reset success"
    }

    Vote Login | Nominatif

    POST
    http://localhost:8000
    /api/v1/login/voterQuestionnaire/nominatif

    Login the voter as a participant of a vote

    Headers

    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    Body Parameters

    Example request:
    curl --request POST \
        "http://localhost:8000/api/v1/login/voterQuestionnaire/nominatif" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json" \
        --data "{
        \"questionnaire_id\": 17,
        \"email\": \"carolyne.luettgen@example.org\",
        \"password\": \"O[2UZ5ij-e\\/dl4m{o,\"
    }"
    
    Example response :

    Voter | Login as voter

    POST
    http://localhost:8000
    /api/v1/login/voter

    Login voter as a holder of an account exple(voter nominatif) thant can manage theirs questionnaire

    Headers

    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    Body Parameters

    Example request:
    curl --request POST \
        "http://localhost:8000/api/v1/login/voter" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json" \
        --data "{
        \"email\": \"qkunze@example.com\",
        \"password\": \"O[2UZ5ij-e\\/dl4m{o,\"
    }"
    
    Example response :

    Nominative Login | Login with credentials

    POST
    http://localhost:8000
    /api/v1/login/token/{token}/nominative

    Login voter as a holder of an account exple(voter nominatif) thant can manage theirs questionnaire

    Headers

    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    Body Parameters

    Example request:
    curl --request POST \
        "http://localhost:8000/api/v1/login/token/{token}/nominative" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json" \
        --data "{
        \"email\": \"qkunze@example.com\",
        \"password\": \"O[2UZ5ij-e\\/dl4m{o,\"
    }"
    
    Example response :

    Logout

    POST
    http://localhost:8000
    /api/v1/logout/voter

    Logout voter

    Headers

    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json
    Example request:
    curl --request POST \
        "http://localhost:8000/api/v1/logout/voter" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    Example response :
    {
        "message": "Successfully logged out"
    }

    Library


    Library | Login

    POST
    http://localhost:8000
    /api/v1/login/library

    Headers

    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    Body Parameters

    Example request:
    curl --request POST \
        "http://localhost:8000/api/v1/login/library" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json" \
        --data "{
        \"product_id\": 17,
        \"code\": \"consequatur\"
    }"
    
    Example response :

    POST api/v1/logout/library

    POST
    http://localhost:8000
    /api/v1/logout/library

    Headers

    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json
    Example request:
    curl --request POST \
        "http://localhost:8000/api/v1/logout/library" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"

    Visu


    Visu Login

    POST
    http://localhost:8000
    /api/v1/login/visu

    Headers

    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    Body Parameters

    Example request:
    curl --request POST \
        "http://localhost:8000/api/v1/login/visu" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json" \
        --data "{
        \"email\": \"constance.poirier@louis.com\",
        \"password\": \"O[2UZ5ij-e\\/dl4m{o,\"
    }"
    
    Example response :

    Visu | Logout

    POST
    http://localhost:8000
    /api/v1/logout/visu
    requires authentication

    Logout visu

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json
    Example request:
    curl --request POST \
        "http://localhost:8000/api/v1/logout/visu" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    Example response :
    {
        "message": "Logged out"
    }

    Report


    Report login

    POST
    http://localhost:8000
    /api/v1/login/report

    Report login end point

    Headers

    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    Body Parameters

    Example request:
    curl --request POST \
        "http://localhost:8000/api/v1/login/report" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json" \
        --data "{
        \"access_code\": \"consequatur\"
    }"
    
    Example response :

    Report logout

    POST
    http://localhost:8000
    /api/v1/logout/report

    Report logout end point

    Headers

    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json
    Example request:
    curl --request POST \
        "http://localhost:8000/api/v1/logout/report" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"

    Base Option

    Basic Option


    Core | Get Shared Settings

    GET
    http://localhost:8000
    /api/v1/baseOption/basicOptions/sharedSettings
    requires authentication

    Get the basic details for the application

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json
    Example request:
    curl --request GET \
        --get "http://localhost:8000/api/v1/baseOption/basicOptions/sharedSettings" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    Example response :
    Headers
    cache-control : no-cache, private content-type : application/json vary : Origin
    {
        "message": "Unauthenticated."
    }

    Core | Update Shared Settings

    POST
    http://localhost:8000
    /api/v1/baseOption/basicOptions/sharedSettings
    requires authentication

    Update the current information about basic option

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    Body Parameters

    Example request:
    curl --request POST \
        "http://localhost:8000/api/v1/baseOption/basicOptions/sharedSettings" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json" \
        --data "{
        \"sender_name\": \"John Doe\",
        \"sending_email\": \"johndoe@gmail.com\",
        \"cc_email\": [
            \"cc@gmail.com\",
            \"cc2@gmail.com\"
        ]
    }"
    
    Example response :
    {
        "status": 200,
        "message": "Update success"
    }
    {
        "errors": [],
        "messages": "sender name is required"
    }

    Reset| Shared Setting

    POST
    http://localhost:8000
    /api/v1/baseOption/basicOptions/sharedSettings/reset
    requires authentication

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json
    Example request:
    curl --request POST \
        "http://localhost:8000/api/v1/baseOption/basicOptions/sharedSettings/reset" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"

    SuperAdmin | Get Basic Config

    GET
    http://localhost:8000
    /api/v1/baseOption/basicOptions/superAdministrator
    requires authentication

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    Query Parameters

    user_role_id
    integer
    required

    id of user role

    Example:
    1
    Example request:
    curl --request GET \
        --get "http://localhost:8000/api/v1/baseOption/basicOptions/superAdministrator?user_role_id=1" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    Example response :
    {
        "data": {
            "super_admin_id": 1,
            "languages": [],
            "questionnaire_designs": [],
            "report_designs": [],
            "email_designs": [],
            "sender_name": null,
            "sender_email": null,
            "cc_email": []
        }
    }

    SuperAdmin | Update Basic Config

    POST
    http://localhost:8000
    /api/v1/baseOption/basicOptions/superAdministrator
    requires authentication

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    Body Parameters

    Example request:
    curl --request POST \
        "http://localhost:8000/api/v1/baseOption/basicOptions/superAdministrator" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json" \
        --data "{
        \"user_role_id\": 17,
        \"languages\": [
            17
        ],
        \"questionnaire_designs\": [
            17
        ],
        \"report_designs\": [
            17
        ],
        \"email_designs\": [
            17
        ],
        \"sender_name\": \"consequatur\",
        \"sending_email\": \"carolyne.luettgen@example.org\",
        \"cc_email\": [
            \"russel.bert@example.net\"
        ]
    }"
    
    Example response :
    {
        "message": "success",
        "status": 200
    }

    Company | GET Basic Config

    GET
    http://localhost:8000
    /api/v1/baseOption/basicOptions/company/{companyId}
    requires authentication

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    URL Parameters

    companyId
    integer
    required

    id of company

    Example:
    1
    Example request:
    curl --request GET \
        --get "http://localhost:8000/api/v1/baseOption/basicOptions/company/1" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    Example response :
    {
        "data": [
            {
                "company_id": 5
            },
            {
                "company_id": 5
            }
        ]
    }

    Company | Update Basic Config

    POST
    http://localhost:8000
    /api/v1/baseOption/basicOptions/company
    requires authentication

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    Body Parameters

    Example request:
    curl --request POST \
        "http://localhost:8000/api/v1/baseOption/basicOptions/company" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json" \
        --data "{
        \"company_id\": 17,
        \"languages\": [
            17
        ],
        \"questionnaire_designs\": [
            17
        ],
        \"report_designs\": [
            17
        ],
        \"email_designs\": [
            17
        ]
    }"
    
    Example response :
    {
        "message": "Created successfully"
    }

    SimpleAdmin | Get Basic Config

    GET
    http://localhost:8000
    /api/v1/baseOption/basicOptions/administrator
    requires authentication

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    Body Parameters

    Example request:
    curl --request GET \
        --get "http://localhost:8000/api/v1/baseOption/basicOptions/administrator" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json" \
        --data "{
        \"user_role_id\": 1
    }"
    
    Example response :
    Headers
    cache-control : no-cache, private content-type : application/json vary : Origin
    {
        "message": "Unauthenticated."
    }

    SimpleAdmin | Update Basic Config

    POST
    http://localhost:8000
    /api/v1/baseOption/basicOptions/administrator
    requires authentication

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    Body Parameters

    Example request:
    curl --request POST \
        "http://localhost:8000/api/v1/baseOption/basicOptions/administrator" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json" \
        --data "{
        \"user_role_id\": 17,
        \"languages\": [
            17
        ],
        \"questionnaire_designs\": [
            17
        ],
        \"report_designs\": [
            17
        ],
        \"email_designs\": [
            17
        ]
    }"
    

    Subscription


    Subscription | Is valid

    GET
    http://localhost:8000
    /api/v1/baseOption/basicOptions/superAdministrator/subscription/isValid
    requires authentication

    Check if a super administrator has a valid subscription

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json
    Example request:
    curl --request GET \
        --get "http://localhost:8000/api/v1/baseOption/basicOptions/superAdministrator/subscription/isValid" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    Example response :
    {
        "data": {
            "valid": false
        }
    }

    Subscription | List

    GET
    http://localhost:8000
    /api/v1/baseOption/subscriptions/index
    requires authentication

    Get tbe list of all subscriptions

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json
    Example request:
    curl --request GET \
        --get "http://localhost:8000/api/v1/baseOption/subscriptions/index" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    Example response :
    Headers
    cache-control : no-cache, private content-type : application/json vary : Origin
    {
        "message": "Unauthenticated."
    }

    SuperAdmin | Get subscriptions

    GET
    http://localhost:8000
    /api/v1/baseOption/subscriptions/{subscriptionType}/superAdministrator
    requires authentication

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    URL Parameters

    subscriptionType
    string
    required

    type of subscription

    Must be one of:
    • normal
    • unlimited
    Example:
    normal

    Query Parameters

    user_role_id
    integer
    required

    id of super admin

    Example:
    17
    Example request:
    curl --request GET \
    <<<<<<< HEAD
        --get "http://localhost:8000/api/v1/baseOption/subscriptions/normal/superAdministrator?user_role_id=17" \
    =======
        --get "http://localhost:8000/api/v1/baseOption/subscriptions/normal/superAdministrator?user_role_id=16" \
    >>>>>>> dev-master-dev1
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    Example response :
    Headers
    cache-control : no-cache, private content-type : application/json vary : Origin
    {
        "message": "Unauthenticated."
    }

    SuperAdmin | Detail Subscription.

    GET
    http://localhost:8000
    /api/v1/baseOption/subscriptions/{subscriptionType}/superAdministrator/{superAdministratorId}/details
    requires authentication

    Details des souscriptions d'un super administrateur

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json
    <<<<<<< HEAD ======= >>>>>>> dev-master-dev1

    URL Parameters

    subscriptionType
    string
    required

    type of subscription

    Must be one of:
    • normal
    • unlimited
    Example:
    normal
    superAdministratorId
    integer
    required

    id of super administrator

    Example:
    2
    <<<<<<< HEAD ======= >>>>>>> dev-master-dev1

    Query Parameters

    product_id
    integer

    the id of product

    Example:
    1
    <<<<<<< HEAD ======= >>>>>>> dev-master-dev1

    Response Fields

    <<<<<<< HEAD ======= >>>>>>> dev-master-dev1 <<<<<<< HEAD ======= >>>>>>> dev-master-dev1 <<<<<<< HEAD ======= >>>>>>> dev-master-dev1 <<<<<<< HEAD ======= >>>>>>> dev-master-dev1
    <<<<<<< HEAD ======= >>>>>>> dev-master-dev1
    Example request:
    curl --request GET \
        --get "http://localhost:8000/api/v1/baseOption/subscriptions/normal/superAdministrator/2/details?product_id=1" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    <<<<<<< HEAD ======= >>>>>>> dev-master-dev1
    Example response :
    <<<<<<< HEAD
    =======
    >>>>>>> dev-master-dev1
    {
        "data": [
            {
                "id": 1,
                "status_id": 3,
    <<<<<<< HEAD
                "user_role_id": 2,
                "properties": {
                    "questionnaireNumber": null,
                    "expirationDate": "2025-12-14T00:15:58.958245Z",
                    "startDate": "2025-12-14T00:15:58.958259Z",
                    "subscriptionType": "unlimited",
                    "timezone": "UTC"
                },
                "subscription_type_id": 2,
                "subscription_type": {
                    "id": 2,
                    "name": "unlimited",
                    "created_at": "2025-12-13T21:54:45.000000Z"
                },
                "updated_at": "2025-12-14T00:15:58.000000Z",
                "created_at": "2025-12-14T00:15:58.000000Z"
    =======
                "user_role_id": 9,
                "properties": {
                    "questionnaireNumber": null,
                    "expirationDate": null,
                    "startDate": null,
                    "subscriptionType": "normal",
                    "timezone": "UTC"
                },
                "subscription_type_id": 1,
                "subscription_type": {
                    "id": 1,
                    "name": "normal",
                    "created_at": "2025-12-10T16:44:19.000000Z"
                },
                "updated_at": "2025-12-11T21:04:36.000000Z",
                "created_at": "2025-12-11T21:04:36.000000Z"
    >>>>>>> dev-master-dev1
            },
            {
                "id": 1,
                "status_id": 3,
    <<<<<<< HEAD
                "user_role_id": 2,
                "properties": {
                    "questionnaireNumber": null,
                    "expirationDate": "2025-12-14T00:15:58.959228Z",
                    "startDate": "2025-12-14T00:15:58.959238Z",
                    "subscriptionType": "unlimited",
                    "timezone": "UTC"
                },
                "subscription_type_id": 2,
                "subscription_type": {
                    "id": 2,
                    "name": "unlimited",
                    "created_at": "2025-12-13T21:54:45.000000Z"
                },
                "updated_at": "2025-12-14T00:15:58.000000Z",
                "created_at": "2025-12-14T00:15:58.000000Z"
    =======
                "user_role_id": 9,
                "properties": {
                    "questionnaireNumber": null,
                    "expirationDate": null,
                    "startDate": null,
                    "subscriptionType": "normal",
                    "timezone": "UTC"
                },
                "subscription_type_id": 1,
                "subscription_type": {
                    "id": 1,
                    "name": "normal",
                    "created_at": "2025-12-10T16:44:19.000000Z"
                },
                "updated_at": "2025-12-11T21:04:36.000000Z",
                "created_at": "2025-12-11T21:04:36.000000Z"
    >>>>>>> dev-master-dev1
            }
        ]
    }
    <<<<<<< HEAD =======

    Subscription | Destroy

    DELETE
    http://localhost:8000
    /api/v1/baseOption/subscriptions/{subscriptionId}/delete
    requires authentication

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json
    Example request:
    curl --request DELETE \
        "http://localhost:8000/api/v1/baseOption/subscriptions/{subscriptionId}/delete" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"

    Subscription | Activate

    POST
    http://localhost:8000
    /api/v1/baseOption/subscriptions/{subscriptionId}/activate
    requires authentication

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json
    Example request:
    curl --request POST \
        "http://localhost:8000/api/v1/baseOption/subscriptions/{subscriptionId}/activate" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    Example response :
    {
        "message": "success",
        "status": 200
    }
    {
        "message": "The given resource was invalid.",
        "errors": {
            "item 1": [
                "validation error 1."
            ]
        }
    }

    SuperAdmin | Upsert subscriptions

    POST
    http://localhost:8000
    /api/v1/baseOption/subscriptions/{subscriptionType}/superAdministrator
    requires authentication

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    URL Parameters

    subscriptionType
    string
    required

    type of subscription

    Must be one of:
    • normal
    • unlimited
    Example:
    normal

    Body Parameters

    Example request:
    curl --request POST \
        "http://localhost:8000/api/v1/baseOption/subscriptions/normal/superAdministrator" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json" \
        --data "{
        \"user_role_id\": 16,
        \"subscriptions\": [
            {
                \"product_id\": 16,
                \"questionnaire_number\": 39,
                \"start_date\": \"2025-12-11T21:04:37\",
                \"expiration_date\": \"2091-11-14\"
            }
        ]
    }"
    
    >>>>>>> dev-master-dev1

    Subscription | Destroy

    DELETE
    http://localhost:8000
    /api/v1/baseOption/subscriptions/{subscriptionId}/delete
    requires authentication

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json
    Example request:
    curl --request DELETE \
        "http://localhost:8000/api/v1/baseOption/subscriptions/{subscriptionId}/delete" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"

    Subscription | Activate

    POST
    http://localhost:8000
    /api/v1/baseOption/subscriptions/{subscriptionId}/activate
    requires authentication

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json
    Example request:
    curl --request POST \
        "http://localhost:8000/api/v1/baseOption/subscriptions/{subscriptionId}/activate" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    Example response :
    {
        "message": "success",
        "status": 200
    }
    {
        "message": "The given resource was invalid.",
        "errors": {
            "item 1": [
                "validation error 1."
            ]
        }
    }

    SuperAdmin | Upsert subscriptions

    POST
    http://localhost:8000
    /api/v1/baseOption/subscriptions/{subscriptionType}/superAdministrator
    requires authentication

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    URL Parameters

    subscriptionType
    string
    required

    type of subscription

    Must be one of:
    • normal
    • unlimited
    Example:
    normal

    Body Parameters

    Example request:
    curl --request POST \
        "http://localhost:8000/api/v1/baseOption/subscriptions/normal/superAdministrator" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json" \
        --data "{
        \"user_role_id\": 17,
        \"subscriptions\": [
            {
                \"product_id\": 17,
                \"questionnaire_number\": 45,
                \"start_date\": \"2025-12-14T00:15:59\",
                \"expiration_date\": \"2096-06-11\"
            }
        ]
    }"
    

    History


    >>>>>> dev-master-dev1 id="base-option-GETapi-v1-baseOption-subscriptions-histories-superAdministrators"> History | Super Admin

    GET
    http://localhost:8000
    /api/v1/baseOption/subscriptions/histories/superAdministrators
    requires authentication

    List of espace cloisoned

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json
    Example request:
    curl --request GET \
        --get "http://localhost:8000/api/v1/baseOption/subscriptions/histories/superAdministrators" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    Example response :
    {
        "data": [
            {
                "id": 1,
                "user": {
                    "id": 1,
    <<<<<<< HEAD
                    "name": "geraldine",
                    "email": "geraldine.dada@yopmail.com",
                    "email_verified_at": "2025-12-13T21:54:47.000000Z",
                    "surname": "Rousseau",
                    "address": "8, boulevard Claude Barthelemy\n72928 Lefort",
                    "city": "Joubert-sur-Aubert",
                    "country": "LK",
                    "po_box": "22388",
                    "fix_phone": "+33 1 69 01 34 57",
                    "mobile_phone": "07 87 11 71 18",
                    "fax": "+33 2 89 46 60 68",
                    "date_of_birth": null,
                    "speciality": "Animateur d'écomusée",
                    "society": "Becker Renault S.A.S.",
                    "generic_language_id": null,
                    "other_information": null,
                    "created_at": "2025-12-13T21:54:48.000000Z",
                    "updated_at": "2025-12-13T21:54:48.000000Z"
                },
                "updated_at": "2025-12-13T21:54:48.000000Z",
    =======
                    "name": "Guy Roger",
                    "email": "guyroger.lock@multicreatif.com",
                    "email_verified_at": "2025-12-10T16:44:20.000000Z",
                    "surname": "Berger",
                    "address": "60, avenue de Diallo\n62076 Rocher",
                    "city": "Lefevre-sur-Barbe",
                    "country": "NL",
                    "po_box": "90480",
                    "fix_phone": "+33 (0)1 96 81 45 28",
                    "mobile_phone": "+33 (0)8 99 94 85 30",
                    "fax": "01 11 04 49 41",
                    "date_of_birth": null,
                    "speciality": "Pareur en abattoir",
                    "society": "Fischer S.A.",
                    "generic_language_id": null,
                    "other_information": null,
                    "created_at": "2025-12-10T16:44:20.000000Z",
                    "updated_at": "2025-12-10T16:44:20.000000Z"
                },
                "updated_at": "2025-12-10T16:44:20.000000Z",
    >>>>>>> dev-master-dev1
                "emails": [],
                "languages": [],
                "questionnaire_designs": []
            },
            {
                "id": 1,
                "user": {
                    "id": 1,
    <<<<<<< HEAD
                    "name": "geraldine",
                    "email": "geraldine.dada@yopmail.com",
                    "email_verified_at": "2025-12-13T21:54:47.000000Z",
                    "surname": "Rousseau",
                    "address": "8, boulevard Claude Barthelemy\n72928 Lefort",
                    "city": "Joubert-sur-Aubert",
                    "country": "LK",
                    "po_box": "22388",
                    "fix_phone": "+33 1 69 01 34 57",
                    "mobile_phone": "07 87 11 71 18",
                    "fax": "+33 2 89 46 60 68",
                    "date_of_birth": null,
                    "speciality": "Animateur d'écomusée",
                    "society": "Becker Renault S.A.S.",
                    "generic_language_id": null,
                    "other_information": null,
                    "created_at": "2025-12-13T21:54:48.000000Z",
                    "updated_at": "2025-12-13T21:54:48.000000Z"
                },
                "updated_at": "2025-12-13T21:54:48.000000Z",
    =======
                    "name": "Guy Roger",
                    "email": "guyroger.lock@multicreatif.com",
                    "email_verified_at": "2025-12-10T16:44:20.000000Z",
                    "surname": "Berger",
                    "address": "60, avenue de Diallo\n62076 Rocher",
                    "city": "Lefevre-sur-Barbe",
                    "country": "NL",
                    "po_box": "90480",
                    "fix_phone": "+33 (0)1 96 81 45 28",
                    "mobile_phone": "+33 (0)8 99 94 85 30",
                    "fax": "01 11 04 49 41",
                    "date_of_birth": null,
                    "speciality": "Pareur en abattoir",
                    "society": "Fischer S.A.",
                    "generic_language_id": null,
                    "other_information": null,
                    "created_at": "2025-12-10T16:44:20.000000Z",
                    "updated_at": "2025-12-10T16:44:20.000000Z"
                },
                "updated_at": "2025-12-10T16:44:20.000000Z",
    >>>>>>> dev-master-dev1
                "emails": [],
                "languages": [],
                "questionnaire_designs": []
            }
        ]
    }

    History | Update Subscription

    PUT
    http://localhost:8000
    /api/v1/baseOption/subscriptions/histories/{subscriptionType}/subscriptions/{subscriptionId}/update
    requires authentication
    <<<<<<< HEAD ======= >>>>>>> dev-master-dev1

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json
    <<<<<<< HEAD ======= >>>>>>> dev-master-dev1

    URL Parameters

    subscriptionType
    string
    required

    type of subscription

    Must be one of:
    • normal
    • unlimited
    Example:
    unlimited
    subscriptionId
    integer
    required

    id of subscription to be updated

    Example:
    1
    <<<<<<< HEAD ======= >>>>>>> dev-master-dev1

    Body Parameters

    <<<<<<< HEAD ======= >>>>>>> dev-master-dev1
    <<<<<<< HEAD ======= >>>>>>> dev-master-dev1 <<<<<<< HEAD ======= >>>>>>> dev-master-dev1 <<<<<<< HEAD ======= >>>>>>> dev-master-dev1 <<<<<<< HEAD ======= >>>>>>> dev-master-dev1
    <<<<<<< HEAD ======= >>>>>>> dev-master-dev1
    Example request:
    curl --request PUT \
        "http://localhost:8000/api/v1/baseOption/subscriptions/histories/unlimited/subscriptions/1/update" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json" \
        --data "{
    <<<<<<< HEAD
        \"questionnaire_number\": 73,
        \"start_date\": \"2025-12-14T00:15:59\",
        \"expiration_date\": \"2025-12-14T00:15:59\"
    =======
        \"questionnaire_number\": 27,
        \"start_date\": \"2025-12-11T21:04:37\",
        \"expiration_date\": \"2025-12-11T21:04:37\"
    >>>>>>> dev-master-dev1
    }"
    
    <<<<<<< HEAD ======= >>>>>>> dev-master-dev1

    Export


    Export | Subscription

    GET
    http://localhost:8000
    /api/v1/baseOption/subscriptions/histories/subscriptions/export
    requires authentication

    Export in a (CSV|XLSX) format the list of subscription

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    Query Parameters

    format
    string
    required
    Must be one of:
    • csv
    • xlsx
    Example:
    csv
    exportLanguage
    string
    required

    Specified the language of witch the export will be done

    Must be one of:
    • French
    • English
    • Spanish
    • German
    • Portuguese
    • Chinese
    • Japanese
    • Italy
    • Russian
    • Dutch
    Example:
    French
    Example request:
    curl --request GET \
        --get "http://localhost:8000/api/v1/baseOption/subscriptions/histories/subscriptions/export?format=csv&exportLanguage=French" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    Example response :
    <binary>

    Export | Super Admin

    GET
    http://localhost:8000
    /api/v1/baseOption/subscriptions/histories/superAdministrators/export
    requires authentication

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    Query Parameters

    format
    string
    required
    Must be one of:
    • csv
    • xlsx
    Example:
    csv
    tz
    string
    required

    specified the timezone for date

    Example:
    Europe/Paris
    exportLanguage
    string
    required

    the export language

    Must be one of:
    • French
    • English
    • Spanish
    • German
    • Portuguese
    • Chinese
    • Japanese
    • Italy
    • Russian
    • Dutch
    Example:
    French
    Example request:
    curl --request GET \
        --get "http://localhost:8000/api/v1/baseOption/subscriptions/histories/superAdministrators/export?format=csv&tz=Europe%2FParis&exportLanguage=French" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    Example response :
    Headers
    cache-control : no-cache, private content-type : application/json vary : Origin
    {
        "message": "Unauthenticated."
    }

    Contributor Group

    Manage Contributor group operations

    Contributor List

    GET
    http://localhost:8000
    /api/v1/contributorGroup
    requires authentication

    Contributor List

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json
    Example request:
    curl --request GET \
        --get "http://localhost:8000/api/v1/contributorGroup" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    Example response :
    {
        "data": [
            {
                "id": 1,
                "company_id": 6,
    <<<<<<< HEAD
                "name": "Garnier",
                "email": "constance.poirier@louis.com",
                "created_at": "2025-12-14T00:15:57.000000Z",
                "updated_at": "2025-12-14T00:15:57.000000Z"
    =======
                "name": "Riviere",
                "email": "berger.aurore@dias.fr",
                "created_at": "2025-12-11T21:04:32.000000Z",
                "updated_at": "2025-12-11T21:04:32.000000Z"
    >>>>>>> dev-master-dev1
            },
            {
                "id": 1,
                "company_id": 6,
    <<<<<<< HEAD
                "name": "Garnier",
                "email": "constance.poirier@louis.com",
                "created_at": "2025-12-14T00:15:57.000000Z",
                "updated_at": "2025-12-14T00:15:57.000000Z"
    =======
                "name": "Riviere",
                "email": "berger.aurore@dias.fr",
                "created_at": "2025-12-11T21:04:32.000000Z",
                "updated_at": "2025-12-11T21:04:32.000000Z"
    >>>>>>> dev-master-dev1
            }
        ]
    }

    Create Contributor Group

    POST
    http://localhost:8000
    /api/v1/contributorGroup
    requires authentication

    Create Contributor Group

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    Body Parameters

    Example request:
    curl --request POST \
        "http://localhost:8000/api/v1/contributorGroup" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json" \
        --data "{
        \"company_id\": 17,
        \"name\": \"consequatur\",
        \"email\": \"carolyne.luettgen@example.org\",
        \"admins\": [
            17
        ]
    }"
    
    Example response :
    {
        "message": "successfully created"
    }
    {
        "data": {
            "id": 2,
            "company_id": 7,
    <<<<<<< HEAD
            "name": "Raynaud",
            "email": "brigitte.gay@martel.com",
            "created_at": "2025-12-14T00:15:57.000000Z",
            "updated_at": "2025-12-14T00:15:57.000000Z"
    =======
            "name": "Girard SA",
            "email": "zrichard@maurice.org",
            "created_at": "2025-12-11T21:04:33.000000Z",
            "updated_at": "2025-12-11T21:04:33.000000Z"
    >>>>>>> dev-master-dev1
        }
    }

    Show Contributor Group

    GET
    http://localhost:8000
    /api/v1/contributorGroup/{contributorGroupId}
    requires authentication

    Show Contributor Group

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    URL Parameters

    contributorGroupId
    integer
    required

    id of contributor group

    Example:
    17
    Example request:
    curl --request GET \
    <<<<<<< HEAD
        --get "http://localhost:8000/api/v1/contributorGroup/17" \
    =======
        --get "http://localhost:8000/api/v1/contributorGroup/16" \
    >>>>>>> dev-master-dev1
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    Example response :
    {
        "data": {
            "id": 3,
            "company_id": 8,
    <<<<<<< HEAD
            "name": "Garnier",
            "email": "constance.poirier@louis.com",
            "created_at": "2025-12-14T00:15:57.000000Z",
            "updated_at": "2025-12-14T00:15:57.000000Z"
    =======
            "name": "Riviere",
            "email": "berger.aurore@dias.fr",
            "created_at": "2025-12-11T21:04:33.000000Z",
            "updated_at": "2025-12-11T21:04:33.000000Z"
    >>>>>>> dev-master-dev1
        }
    }

    Update Contributor Group

    PUT
    PATCH
    http://localhost:8000
    /api/v1/contributorGroup/{contributorGroupId}
    requires authentication

    Update Contributor Group

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    URL Parameters

    contributorGroupId
    integer
    required

    id of contributor group

    Example:
    17

    Body Parameters

    Example request:
    curl --request PUT \
    <<<<<<< HEAD
        "http://localhost:8000/api/v1/contributorGroup/17" \
    =======
        "http://localhost:8000/api/v1/contributorGroup/16" \
    >>>>>>> dev-master-dev1
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json" \
        --data "{
        \"company_id\": 17,
        \"name\": \"consequatur\",
        \"email\": \"carolyne.luettgen@example.org\",
        \"admins\": [
            17
        ]
    }"
    
    Example response :
    {
        "message": "update Success"
    }

    Delete Contributor Group

    DELETE
    http://localhost:8000
    /api/v1/contributorGroup/{contributorGroupId}
    requires authentication

    Delete Contributor Group

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    URL Parameters

    contributorGroupId
    integer
    required

    id of contributor group

    Example:
    17
    Example request:
    curl --request DELETE \
    <<<<<<< HEAD
        "http://localhost:8000/api/v1/contributorGroup/17" \
    =======
        "http://localhost:8000/api/v1/contributorGroup/16" \
    >>>>>>> dev-master-dev1
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    Example response :
    {
        "message": "Deleted success!"
    }

    Dashboard

    Slices

    GET
    http://localhost:8000
    /api/v1/products/{productCode}/slices

    Get Slices defined

    Headers

    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    URL Parameters

    productCode
    string
    required
    Must be one of:
    • survey
    • 360
    • quiz
    • bio
    • isiTest
    Example:
    survey
    Example request:
    curl --request GET \
        --get "http://localhost:8000/api/v1/products/survey/slices" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    Example response :
    {
        "data": [
            {
                "id": 1,
                "name": "none"
            },
            {
                "id": 1,
                "name": "none"
            }
        ]
    }

    Phases

    GET
    http://localhost:8000
    /api/v1/phases

    Get phases defined

    Headers

    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json
    Example request:
    curl --request GET \
        --get "http://localhost:8000/api/v1/phases" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    Example response :
    {
        "data": [
            {
                "id": 1,
                "name": "creation"
            },
            {
                "id": 1,
                "name": "creation"
            }
        ]
    }

    Products

    GET
    http://localhost:8000
    /api/v1/products

    Get all products defined

    Headers

    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json
    Example request:
    curl --request GET \
        --get "http://localhost:8000/api/v1/products" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    Example response :
    {
        "data": [
            {
                "id": 1,
                "name": "survey",
                "image_url": null,
                "description": "sondage description"
            },
            {
                "id": 1,
                "name": "survey",
                "image_url": null,
                "description": "sondage description"
            }
        ]
    }

    Numeric scale

    GET
    http://localhost:8000
    /api/v1/numericScale

    Get numeric scales defined

    Headers

    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json
    Example request:
    curl --request GET \
        --get "http://localhost:8000/api/v1/numericScale" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    Example response :
    {
        "data": [
            {
                "id": 1,
                "start": 0,
                "end": 3,
                "formated_scale": "0-3"
            },
            {
                "id": 1,
                "start": 0,
                "end": 3,
                "formated_scale": "0-3"
            }
        ]
    }

    Languages

    GET
    http://localhost:8000
    /api/v1/languages

    Get all languages defined

    Headers

    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json
    Example request:
    curl --request GET \
        --get "http://localhost:8000/api/v1/languages" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    Example response :
    {
        "data": [
            {
                "id": 1,
                "name": "French",
                "acronym": "fr"
            },
            {
                "id": 1,
                "name": "French",
                "acronym": "fr"
            }
        ]
    }

    UserRole


    My languages

    GET
    http://localhost:8000
    /api/v1/dashboard/userRole/languages
    requires authentication

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json
    Example request:
    curl --request GET \
        --get "http://localhost:8000/api/v1/dashboard/userRole/languages" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    Example response :
    Headers
    cache-control : no-cache, private content-type : application/json vary : Origin
    {
        "message": "Unauthenticated."
    }

    My report design

    GET
    http://localhost:8000
    /api/v1/dashboard/userRole/reportDesigns
    requires authentication

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json
    Example request:
    curl --request GET \
        --get "http://localhost:8000/api/v1/dashboard/userRole/reportDesigns" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    Example response :
    Headers
    cache-control : no-cache, private content-type : application/json vary : Origin
    {
        "message": "Unauthenticated."
    }

    My email design

    GET
    http://localhost:8000
    /api/v1/dashboard/userRole/emailDesigns
    requires authentication

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json
    Example request:
    curl --request GET \
        --get "http://localhost:8000/api/v1/dashboard/userRole/emailDesigns" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    Example response :
    Headers
    cache-control : no-cache, private content-type : application/json vary : Origin
    {
        "message": "Unauthenticated."
    }

    My questionnaire design

    GET
    http://localhost:8000
    /api/v1/dashboard/userRole/questionnaireDesigns
    requires authentication

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json
    Example request:
    curl --request GET \
        --get "http://localhost:8000/api/v1/dashboard/userRole/questionnaireDesigns" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    Example response :
    Headers
    cache-control : no-cache, private content-type : application/json vary : Origin
    {
        "message": "Unauthenticated."
    }

    My super admin

    GET
    http://localhost:8000
    /api/v1/dashboard/userRole/superAdministrators
    requires authentication

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json
    Example request:
    curl --request GET \
        --get "http://localhost:8000/api/v1/dashboard/userRole/superAdministrators" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    Example response :
    Headers
    cache-control : no-cache, private content-type : application/json vary : Origin
    {
        "message": "Unauthenticated."
    }

    My Company

    GET
    http://localhost:8000
    /api/v1/dashboard/userRole/company
    requires authentication

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json
    Example request:
    curl --request GET \
        --get "http://localhost:8000/api/v1/dashboard/userRole/company" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    Example response :
    Headers
    cache-control : no-cache, private content-type : application/json vary : Origin
    {
        "message": "Unauthenticated."
    }

    My Simple Admin

    GET
    http://localhost:8000
    /api/v1/dashboard/userRole/simpleAdministrators
    requires authentication

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json
    Example request:
    curl --request GET \
        --get "http://localhost:8000/api/v1/dashboard/userRole/simpleAdministrators" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    Example response :
    Headers
    cache-control : no-cache, private content-type : application/json vary : Origin
    {
        "message": "Unauthenticated."
    }

    Company


    My languages

    GET
    http://localhost:8000
    /api/v1/dashboard/companies/{companyId}/languages
    requires authentication

    List all languages for a company

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    URL Parameters

    companyId
    integer
    required

    Id of the company

    Example:
    1
    Example request:
    curl --request GET \
        --get "http://localhost:8000/api/v1/dashboard/companies/1/languages" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    Example response :
    {
        "data": [
            {
                "id": 1,
                "name": "French",
                "acronym": "fr"
            },
            {
                "id": 1,
                "name": "French",
                "acronym": "fr"
            }
        ]
    }

    My Partitioned Languages

    GET
    http://localhost:8000
    /api/v1/dashboard/visu/currentPartitionedLanguages
    requires authentication

    List all languages for a company

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json
    Example request:
    curl --request GET \
        --get "http://localhost:8000/api/v1/dashboard/visu/currentPartitionedLanguages" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    Example response :
    {
        "data": [
            {
                "id": 1,
                "name": "French",
                "acronym": "fr"
            },
            {
                "id": 1,
                "name": "French",
                "acronym": "fr"
            }
        ]
    }

    Voter

    Endpoint for voter group


    Account | Delete my account

    DELETE
    http://localhost:8000
    /api/v1/dashboard/voters/account/delete
    requires authentication

    Delete my account personally

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json
    Example request:
    curl --request DELETE \
        "http://localhost:8000/api/v1/dashboard/voters/account/delete" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    Example response :

    GET api/v1/dashboard/voters/questionnaires

    GET
    http://localhost:8000
    /api/v1/dashboard/voters/questionnaires
    requires authentication

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json
    Example request:
    curl --request GET \
        --get "http://localhost:8000/api/v1/dashboard/voters/questionnaires" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    Example response :
    Headers
    cache-control : no-cache, private content-type : application/json vary : Origin
    {
        "message": "Unauthenticated."
    }

    Remove me from questionnaire

    DELETE
    http://localhost:8000
    /api/v1/dashboard/voters/voterQuestionnaires/{voterQuestionnaireId}/delete
    requires authentication

    As a voter remove me from a questionnaire

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json
    Example request:
    curl --request DELETE \
        "http://localhost:8000/api/v1/dashboard/voters/voterQuestionnaires/{voterQuestionnaireId}/delete" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    Example response :
    {
        "message": "success",
        "status": 200
    }

    Undo deletion by voter

    POST
    http://localhost:8000
    /api/v1/dashboard/voters/actions/delete/{token}/undo/by-voter

    This endpoint undo deletion of endpoint make by the voter

    Headers

    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    URL Parameters

    token
    string
    required

    Token Obtained after requesting deletion for the first 24 hours

    Example:
    $eyvjde93939399494kjndqeiudoqeduqe030
    Example request:
    curl --request POST \
        "http://localhost:8000/api/v1/dashboard/voters/actions/delete/$eyvjde93939399494kjndqeiudoqeduqe030/undo/by-voter" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    Example response :
    {
        "message": "success",
        "status": 200
    }

    Documentation

    Elements

    Element is both a Theme or a Section.


    Element | Show

    GET
    http://localhost:8000
    /api/v1/documentation/elements/docElements/{languageId}/{docElementId}
    requires authentication

    Show a specific element

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json
    <<<<<<< HEAD ======= >>>>>>> dev-master-dev1

    URL Parameters

    languageId
    integer
    required

    id of language. by default is french

    Example:
    1
    docElementId
    integer
    required

    represent de id of the current doc element

    Example:
    1
    <<<<<<< HEAD ======= >>>>>>> dev-master-dev1
    <<<<<<< HEAD ======= >>>>>>> dev-master-dev1 <<<<<<< HEAD ======= >>>>>>> dev-master-dev1 <<<<<<< HEAD ======= >>>>>>> dev-master-dev1
    <<<<<<< HEAD ======= >>>>>>> dev-master-dev1
    Example request:
    curl --request GET \
        --get "http://localhost:8000/api/v1/documentation/elements/docElements/1/1" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    <<<<<<< HEAD ======= >>>>>>> dev-master-dev1
    Example response :
    <<<<<<< HEAD
    =======
    >>>>>>> dev-master-dev1
    {
        "data": {
            "id": null,
            "order": null,
            "created_at": null,
            "updated_at": null,
            "parent_id": null
        }
    }

    Elements | Create element

    POST
    http://localhost:8000
    /api/v1/documentation/elements/docElements
    requires authentication

    Create a new element

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json
    <<<<<<< HEAD ======= >>>>>>> dev-master-dev1

    URL Parameters

    languageId
    integer
    required

    id of language.

    Example:
    1
    <<<<<<< HEAD ======= >>>>>>> dev-master-dev1

    Body Parameters

    <<<<<<< HEAD ======= >>>>>>> dev-master-dev1
    <<<<<<< HEAD ======= >>>>>>> dev-master-dev1 <<<<<<< HEAD ======= >>>>>>> dev-master-dev1 <<<<<<< HEAD ======= >>>>>>> dev-master-dev1 <<<<<<< HEAD ======= >>>>>>> dev-master-dev1
    <<<<<<< HEAD ======= >>>>>>> dev-master-dev1
    Example request:
    curl --request POST \
        "http://localhost:8000/api/v1/documentation/elements/docElements" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json" \
        --data "{
    <<<<<<< HEAD
        \"doc_element_type\": \"page\",
        \"elements\": [
            {
                \"language_id\": 17,
                \"name\": \"consequatur\"
    =======
        \"doc_element_type\": \"theme\",
        \"elements\": [
            {
                \"language_id\": 16,
                \"name\": \"architecto\"
    >>>>>>> dev-master-dev1
            }
        ]
    }"
    
    <<<<<<< HEAD ======= >>>>>>> dev-master-dev1
    Example response :
    <<<<<<< HEAD
    =======
    >>>>>>> dev-master-dev1
    {
        "message": "success",
        "status": 200
    }

    Element | Update element

    PUT
    PATCH
    http://localhost:8000
    /api/v1/documentation/elements/docElements/{languageId}/{docElementId}
    requires authentication

    Update a doc element

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json
    <<<<<<< HEAD ======= >>>>>>> dev-master-dev1

    URL Parameters

    docElementId
    integer
    required

    element id

    Example:
    1
    languageId
    integer
    required

    id of language.

    Example:
    1
    <<<<<<< HEAD ======= >>>>>>> dev-master-dev1

    Body Parameters

    <<<<<<< HEAD ======= >>>>>>> dev-master-dev1
    <<<<<<< HEAD ======= >>>>>>> dev-master-dev1 <<<<<<< HEAD ======= >>>>>>> dev-master-dev1 <<<<<<< HEAD ======= >>>>>>> dev-master-dev1 <<<<<<< HEAD ======= >>>>>>> dev-master-dev1
    <<<<<<< HEAD ======= >>>>>>> dev-master-dev1
    Example request:
    curl --request PUT \
        "http://localhost:8000/api/v1/documentation/elements/docElements/1/1" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json" \
        --data "{
    <<<<<<< HEAD
        \"name\": \"consequatur\"
    =======
        \"name\": \"architecto\"
    >>>>>>> dev-master-dev1
    }"
    
    <<<<<<< HEAD ======= >>>>>>> dev-master-dev1
    Example response :
    <<<<<<< HEAD
    =======
    >>>>>>> dev-master-dev1
    {
        "message": "success",
        "status": 200
    }

    Element | Destroy

    DELETE
    http://localhost:8000
    /api/v1/documentation/elements/docElements/{languageId}/{docElementId}
    requires authentication

    delete an element of documentation

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json
    <<<<<<< HEAD ======= >>>>>>> dev-master-dev1

    URL Parameters

    docElementId
    integer
    required

    id of element

    Example:
    1
    languageId
    integer
    required

    id of language.

    Example:
    1
    <<<<<<< HEAD ======= >>>>>>> dev-master-dev1
    <<<<<<< HEAD ======= >>>>>>> dev-master-dev1 <<<<<<< HEAD ======= >>>>>>> dev-master-dev1 <<<<<<< HEAD ======= >>>>>>> dev-master-dev1
    <<<<<<< HEAD ======= >>>>>>> dev-master-dev1
    Example request:
    curl --request DELETE \
        "http://localhost:8000/api/v1/documentation/elements/docElements/1/1" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    <<<<<<< HEAD ======= >>>>>>> dev-master-dev1
    Example response :
    <<<<<<< HEAD
    =======
    >>>>>>> dev-master-dev1
    {
        "message": "success",
        "status": 200
    }
    <<<<<<< HEAD
    =======
    >>>>>>> dev-master-dev1
    {
        "message": "content already exists",
        "code": "content.exists"
    }
    <<<<<<< HEAD

    Elements | List elements

    GET
    http://localhost:8000
    /api/v1/documentation/elements/docElements/{languageId}
    requires authentication

    List all the elements

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    URL Parameters

    languageId
    integer
    required

    id of language. by default is french

    Example:
    1

    Query Parameters

    elementType
    string

    filter by element type

    Must be one of:
    • theme
    • section
    • page
    Example:
    theme
    parentId
    integer

    filter by parent

    Example:
    1
    Example request:
    curl --request GET \
        --get "http://localhost:8000/api/v1/documentation/elements/docElements/1?elementType=theme&parentId=1" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    Example response :
    {
        "data": {
            "id": null,
            "order": null,
            "created_at": null,
            "updated_at": null,
            "parent_id": null
        }
    }
    ======= >>>>>>> dev-master-dev1

    Elements | List elements

    <<<<<<< HEAD
    >>>>>> dev-master-dev1 class="sl-stack sl-stack--horizontal sl-stack--3 sl-inline-flex sl-flex-row sl-items-center sl-max-w-full sl-font-mono sl-py-2 sl-pr-4 sl-bg-canvas-50 sl-rounded-lg" >
    GET
    http://localhost:8000
    <<<<<<< HEAD
    /api/v1/documentation/elements/docElements/{languageId}/{docElementId}/children
    =======
    /api/v1/documentation/elements/docElements/{languageId}
    >>>>>>> dev-master-dev1
    requires authentication

    List all the elements

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    URL Parameters

    languageId
    integer
    required

    id of language. by default is french

    Example:
    1

    Query Parameters

    elementType
    string

    filter by element type

    Must be one of:
    • theme
    • section
    • page
    Example:
    theme
    parentId
    integer

    filter by parent

    Example:
    1
    Example request:
    curl --request GET \
        --get "http://localhost:8000/api/v1/documentation/elements/docElements/1?elementType=theme&parentId=1" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    Example response :
    {
        "data": {
            "id": null,
            "order": null,
            "created_at": null,
            "updated_at": null,
            "parent_id": null
        }
    }

    Elements | Get children

    GET
    http://localhost:8000
    /api/v1/documentation/elements/docElements/{languageId}/{docElementId}/children
    requires authentication

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    URL Parameters

    languageId
    integer
    required

    the language id

    Example:
    1
    docElementId
    integer
    required

    the doc element id

    Example:
    1
    Example request:
    curl --request GET \
        --get "http://localhost:8000/api/v1/documentation/elements/docElements/1/1/children" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    Example response :
    {
        "data": [
            {
                "id": null,
                "user_role_id": null,
                "name": null,
                "created_at": null,
                "updated_at": null,
                "doc_element_id": null,
                "language_id": null
            },
            {
                "id": null,
                "user_role_id": null,
                "name": null,
                "created_at": null,
                "updated_at": null,
                "doc_element_id": null,
                "language_id": null
            }
        ]
    }

    Elements | Move

    POST
    http://localhost:8000
    /api/v1/documentation/elements/docElements/{docElementId}/move/{newParentId}
    requires authentication

    Move an element to a specific parent

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    URL Parameters

    docElementId
    integer
    required

    id of doc element

    Example:
    1
    newParentId
    integer
    required

    id of the where to be moved

    Example:
    1
    Example request:
    curl --request POST \
        "http://localhost:8000/api/v1/documentation/elements/docElements/1/move/1" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    Example response :
    {
        "message": "element moved."
    }

    Documentation | Menu

    GET
    http://localhost:8000
    /api/v1/documentation/{languageId}/menu
    requires authentication

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    URL Parameters

    languageId
    integer
    required

    id of language

    Example:
    1
    Example request:
    curl --request GET \
        --get "http://localhost:8000/api/v1/documentation/1/menu" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    Example response :
    {
        "data": [
            {
                "id": 1,
    <<<<<<< HEAD
                "order": 50865,
                "created_at": "2025-12-14T00:16:00.000000Z",
                "updated_at": "2025-12-14T00:16:00.000000Z",
    =======
                "order": 933724,
                "created_at": "2025-12-11T21:04:39.000000Z",
                "updated_at": "2025-12-11T21:04:39.000000Z",
    >>>>>>> dev-master-dev1
                "parent_id": null
            },
            {
                "id": 1,
    <<<<<<< HEAD
                "order": 50865,
                "created_at": "2025-12-14T00:16:00.000000Z",
                "updated_at": "2025-12-14T00:16:00.000000Z",
    =======
                "order": 933724,
                "created_at": "2025-12-11T21:04:39.000000Z",
                "updated_at": "2025-12-11T21:04:39.000000Z",
    >>>>>>> dev-master-dev1
                "parent_id": null
            }
        ]
    }
    {
        "data": [
            {
                "id": null,
                "order": null,
                "created_at": null,
                "updated_at": null,
                "parent_id": null
            },
            {
                "id": null,
                "order": null,
                "created_at": null,
                "updated_at": null,
                "parent_id": null
            }
        ]
    }

    Documentation | List Tags (summary)

    GET
    http://localhost:8000
    /api/v1/documentation/pages/summary
    requires authentication

    Get all the tags defined in application

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    Query Parameters

    status
    string
    required

    Define the status

    Must be one of:
    • used
    • not_used
    • all
    Example:
    used
    Example request:
    curl --request GET \
        --get "http://localhost:8000/api/v1/documentation/pages/summary?status=used" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    Example response :
    {
        "data": [
            {
                "id": 1,
                "name": "APDOC",
    <<<<<<< HEAD
                "created_at": "2025-12-13T21:54:49.000000Z",
                "updated_at": "2025-12-13T21:54:49.000000Z"
    =======
                "created_at": "2025-12-10T16:44:21.000000Z",
                "updated_at": "2025-12-10T16:44:21.000000Z"
    >>>>>>> dev-master-dev1
            },
            {
                "id": 1,
                "name": "APDOC",
    <<<<<<< HEAD
                "created_at": "2025-12-13T21:54:49.000000Z",
                "updated_at": "2025-12-13T21:54:49.000000Z"
    =======
                "created_at": "2025-12-10T16:44:21.000000Z",
                "updated_at": "2025-12-10T16:44:21.000000Z"
    >>>>>>> dev-master-dev1
            }
        ]
    }

    Order


    Element | Order Up

    POST
    http://localhost:8000
    /api/v1/documentation/elements/docElements/{docElementId}/order/up
    requires authentication

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    URL Parameters

    docElementId
    integer
    required

    the doc element id

    Example:
    1
    Example request:
    curl --request POST \
        "http://localhost:8000/api/v1/documentation/elements/docElements/1/order/up" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    Example response :
    {
        "message": "order up"
    }
    {
        "message": "up error",
        "code": "up"
    }

    Element | Order Down

    POST
    http://localhost:8000
    /api/v1/documentation/elements/docElements/{docElementId}/order/down
    requires authentication

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    URL Parameters

    docElementId
    integer
    required

    the doc element id

    Example:
    1
    Example request:
    curl --request POST \
        "http://localhost:8000/api/v1/documentation/elements/docElements/1/order/down" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    Example response :
    {
        "message": "order down"
    }
    {
        "message": "down error",
        "code": "down"
    }

    Pages


    Pages | List Doc Pages

    GET
    http://localhost:8000
    /api/v1/documentation/pages/{languageId}/details
    requires authentication

    Get all the doc pages defined in our application

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    URL Parameters

    languageId
    integer
    required

    the language id

    Example:
    1
    Example request:
    curl --request GET \
        --get "http://localhost:8000/api/v1/documentation/pages/1/details" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    Example response :
    {
        "data": [
            {
                "id": null,
                "menu": null,
                "content": null,
                "name": null,
                "alias": null,
                "draft_content": null,
                "draft_published": null,
                "doc_page_id": null,
                "language_id": null,
                "created_at": null,
                "updated_at": null
            },
            {
                "id": null,
                "menu": null,
                "content": null,
                "name": null,
                "alias": null,
                "draft_content": null,
                "draft_published": null,
                "doc_page_id": null,
                "language_id": null,
                "created_at": null,
                "updated_at": null
            }
        ]
    }

    Pages | Update Doc Page

    POST
    http://localhost:8000
    /api/v1/documentation/pages/{languageId}/{docPageCode}/pages
    requires authentication

    Update a doc page

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json
    <<<<<<< HEAD ======= >>>>>>> dev-master-dev1

    URL Parameters

    languageId
    integer
    required

    id of language

    Example:
    1
    docPageCode
    string
    required

    code for doc page

    Must be one of:
    • ABOUT_DOCUMENTATION
    • ADMIN_QUESTIONNAIRE
    • SUPER_ADMIN_LIST
    • SUPER_ADMIN_ACTIVATION
    • SUPER_ADMIN_DETAILS
    • SUPER_ADMIN_EDIT
    • COMPANY_LIST
    • COMPANY_CREATE
    • COMPANY_ACTIVATION
    • COMPANY_DETAILS
    • COMPANY_EDIT
    • ADMIN_LIST
    • ADMIN_ACTIVATION
    • ADMIN_DETAILS
    • ADMIN_EDIT
    • CONTRIBUTOR_GROUP_LIST
    • CONTRIBUTOR_GROUP_DETAILS
    • CONTRIBUTOR_GROUP_EDIT
    • LIBRARY_LIST
    • LIBRARY_CONFIGURATION
    • LIBRARY_DETAILS
    • QUESTIONNAIRE_LIST
    • SURVEY_CREATE
    • SURVEY_EDIT
    • _360_EDIT
    • _360_CREATE
    • ISITEST_CREATE
    • ISITEST_EDIT
    • QUIZ_CREATE
    • QUIZ_EDIT
    • BIO_EDIT
    • BIO_CREATE
    • BASE_OPTION
    • PERMISSIONS
    • DOCUMENTATION
    • DOCUMENTATION_THEME
    • DOCUMENTATION_SECTION
    • LOG
    • CONFIGURATIONS
    • QUESTIONNAIRE_DESIGN_LIST
    • QUESTIONNAIRE_DESIGN_CREATE
    • QUESTIONNAIRE_DESIGN_EDIT
    • QUESTIONNAIRE_DESIGN_DETAILS
    • EMAIL_DESIGN_LIST
    • EMAIL_DESIGN_EDIT
    • REPORT_DESIGN_LIST
    • REPORT_DESIGN_CREATE
    • REPORT_DESIGN_EDIT
    • REPORT_DESIGN_DETAILS
    • TRACK_SCREEN
    • TRACK_COACH_INDIVIDUAL
    • TRACK_COACH_GLOBAL
    • VISU_LIST
    • VISU_SURVEY_DETAIL
    • VISU_360_DETAIL
    • VISU_ISITEST_DETAIL
    • VISU_QUIZ_DETAIL
    • VISU_BIO_DETAIL
    • PRINT_PARAMETER
    • REPORT
    • MESSAGE_LIST
    • RECEIVED_MESSAGE
    Example:
    SUPER_ADMIN_EDIT
    <<<<<<< HEAD ======= >>>>>>> dev-master-dev1

    Body Parameters

    <<<<<<< HEAD ======= >>>>>>> dev-master-dev1
    <<<<<<< HEAD ======= >>>>>>> dev-master-dev1 <<<<<<< HEAD ======= >>>>>>> dev-master-dev1 <<<<<<< HEAD ======= >>>>>>> dev-master-dev1 <<<<<<< HEAD ======= >>>>>>> dev-master-dev1
    <<<<<<< HEAD ======= >>>>>>> dev-master-dev1
    Example request:
    curl --request POST \
        "http://localhost:8000/api/v1/documentation/pages/1/SUPER_ADMIN_EDIT/pages" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json" \
        --data "{
    <<<<<<< HEAD
        \"menu\": \"consequatur\",
        \"parent_id\": 17,
        \"name\": \"consequatur\",
        \"content\": \"consequatur\",
        \"alias\": \"consequatur\",
        \"is_published\": false,
        \"is_draft_published\": false,
        \"draft_content\": \"consequatur\",
        \"contextual_tags\": [
            {
                \"order\": 17,
                \"name\": \"consequatur\",
                \"content\": \"consequatur\",
    =======
        \"menu\": \"architecto\",
        \"parent_id\": 16,
        \"name\": \"architecto\",
        \"content\": \"architecto\",
        \"alias\": \"architecto\",
        \"is_published\": false,
        \"is_draft_published\": false,
        \"draft_content\": \"architecto\",
        \"contextual_tags\": [
            {
                \"order\": 16,
                \"name\": \"architecto\",
                \"content\": \"architecto\",
    >>>>>>> dev-master-dev1
                \"activated_link\": true
            }
        ]
    }"
    
    <<<<<<< HEAD ======= >>>>>>> dev-master-dev1

    Basic Create Page

    POST
    http://localhost:8000
    /api/v1/documentation/pages/basicCreate
    requires authentication

    First page for create a page in documentation module

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json
    <<<<<<< HEAD ======= >>>>>>> dev-master-dev1

    Body Parameters

    <<<<<<< HEAD ======= >>>>>>> dev-master-dev1
    <<<<<<< HEAD ======= >>>>>>> dev-master-dev1 <<<<<<< HEAD ======= >>>>>>> dev-master-dev1 <<<<<<< HEAD ======= >>>>>>> dev-master-dev1
    <<<<<<< HEAD ======= >>>>>>> dev-master-dev1
    Example request:
    curl --request POST \
        "http://localhost:8000/api/v1/documentation/pages/basicCreate" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json" \
        --data "{
    <<<<<<< HEAD
        \"tag_id\": 17,
        \"items\": [
            {
                \"menu\": \"consequatur\",
                \"title\": \"consequatur\",
                \"language_id\": 17
            }
        ],
        \"parent_id\": 17
    =======
        \"tag_id\": 16,
        \"items\": [
            {
                \"menu\": \"architecto\",
                \"title\": \"architecto\",
                \"language_id\": 16
            }
        ],
        \"parent_id\": 16
    >>>>>>> dev-master-dev1
    }"
    
    <<<<<<< HEAD ======= >>>>>>> dev-master-dev1
    Example response :
    <<<<<<< HEAD
    =======
    >>>>>>> dev-master-dev1
    {
        "message": "success",
        "status": 200
    }

    Basic Create Page

    POST
    http://localhost:8000
    /api/v1/documentation/pages/{docPageId}/basicUpdate
    requires authentication

    First page for create a page in documentation module

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json
    <<<<<<< HEAD ======= >>>>>>> dev-master-dev1

    URL Parameters

    docPageId
    integer
    required

    id of doc page

    Example:
    1
    <<<<<<< HEAD ======= >>>>>>> dev-master-dev1

    Body Parameters

    <<<<<<< HEAD ======= >>>>>>> dev-master-dev1
    <<<<<<< HEAD ======= >>>>>>> dev-master-dev1 <<<<<<< HEAD ======= >>>>>>> dev-master-dev1 <<<<<<< HEAD ======= >>>>>>> dev-master-dev1 <<<<<<< HEAD ======= >>>>>>> dev-master-dev1
    <<<<<<< HEAD ======= >>>>>>> dev-master-dev1
    Example request:
    curl --request POST \
        "http://localhost:8000/api/v1/documentation/pages/1/basicUpdate" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json" \
        --data "{
    <<<<<<< HEAD
        \"tag_id\": 17,
        \"language_id\": 17,
        \"menu\": \"consequatur\",
        \"title\": \"consequatur\"
    =======
        \"tag_id\": 16,
        \"language_id\": 16,
        \"menu\": \"architecto\",
        \"title\": \"architecto\"
    >>>>>>> dev-master-dev1
    }"
    
    <<<<<<< HEAD ======= >>>>>>> dev-master-dev1
    Example response :
    <<<<<<< HEAD
    =======
    >>>>>>> dev-master-dev1
    {
        "message": "success",
        "status": 200
    }
    <<<<<<< HEAD
    =======
    >>>>>>> dev-master-dev1
    {
        "message": "The given resource was invalid.",
        "errors": {
            "item 1": [
                "validation error 1."
            ]
        }
    }

    Pages | Pages details (List)

    GET
    http://localhost:8000
    /api/v1/documentation/pages/{languageId}/{alias}/aliasDetails
    requires authentication

    Get doc page Detail

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json
    <<<<<<< HEAD ======= >>>>>>> dev-master-dev1

    URL Parameters

    languageId
    integer
    required

    the language id

    Example:
    1
    alias
    string
    required

    alias for doc page

    Example:
    alias test
    <<<<<<< HEAD ======= >>>>>>> dev-master-dev1
    <<<<<<< HEAD ======= >>>>>>> dev-master-dev1 <<<<<<< HEAD ======= >>>>>>> dev-master-dev1 <<<<<<< HEAD ======= >>>>>>> dev-master-dev1
    <<<<<<< HEAD ======= >>>>>>> dev-master-dev1
    Example request:
    curl --request GET \
        --get "http://localhost:8000/api/v1/documentation/pages/1/alias test/aliasDetails" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    <<<<<<< HEAD ======= >>>>>>> dev-master-dev1
    Example response :
    <<<<<<< HEAD
    =======
    >>>>>>> dev-master-dev1
    {
        "data": [
            {
                "id": null,
                "order": null,
                "created_at": null,
                "updated_at": null,
                "parent_id": null
            },
            {
                "id": null,
                "order": null,
                "created_at": null,
                "updated_at": null,
                "parent_id": null
            }
        ]
    }

    Elements | Change Parent

    POST
    http://localhost:8000
    /api/v1/documentation/pages/{docPageCode}/parent
    requires authentication

    Change a parent for a specific page

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json
    <<<<<<< HEAD ======= >>>>>>> dev-master-dev1

    URL Parameters

    docPageCode
    string
    required

    code of the page

    Example:
    1
    <<<<<<< HEAD ======= >>>>>>> dev-master-dev1

    Body Parameters

    <<<<<<< HEAD ======= >>>>>>> dev-master-dev1
    <<<<<<< HEAD ======= >>>>>>> dev-master-dev1 <<<<<<< HEAD ======= >>>>>>> dev-master-dev1 <<<<<<< HEAD ======= >>>>>>> dev-master-dev1 <<<<<<< HEAD ======= >>>>>>> dev-master-dev1
    <<<<<<< HEAD ======= >>>>>>> dev-master-dev1
    Example request:
    curl --request POST \
        "http://localhost:8000/api/v1/documentation/pages/1/parent" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json" \
        --data "{
    <<<<<<< HEAD
        \"theme_id\": 17,
        \"section_id\": 17
    =======
        \"theme_id\": 16,
        \"section_id\": 16
    >>>>>>> dev-master-dev1
    }"
    
    <<<<<<< HEAD ======= >>>>>>> dev-master-dev1
    Example response :
    <<<<<<< HEAD
    =======
    >>>>>>> dev-master-dev1
    {
        "message": "Parent changed successfully."
    }

    Pages | Doc pages details (Single)

    GET
    http://localhost:8000
    /api/v1/documentation/pages/{languageId}/{docPageCode}/details
    requires authentication

    Get doc page Detail

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json
    <<<<<<< HEAD ======= >>>>>>> dev-master-dev1

    URL Parameters

    languageId
    integer
    required

    the language id

    Example:
    1
    docPageCode
    string
    required

    code for doc page

    Must be one of:
    • ABOUT_DOCUMENTATION
    • ADMIN_QUESTIONNAIRE
    • SUPER_ADMIN_LIST
    • SUPER_ADMIN_ACTIVATION
    • SUPER_ADMIN_DETAILS
    • SUPER_ADMIN_EDIT
    • COMPANY_LIST
    • COMPANY_CREATE
    • COMPANY_ACTIVATION
    • COMPANY_DETAILS
    • COMPANY_EDIT
    • ADMIN_LIST
    • ADMIN_ACTIVATION
    • ADMIN_DETAILS
    • ADMIN_EDIT
    • CONTRIBUTOR_GROUP_LIST
    • CONTRIBUTOR_GROUP_DETAILS
    • CONTRIBUTOR_GROUP_EDIT
    • LIBRARY_LIST
    • LIBRARY_CONFIGURATION
    • LIBRARY_DETAILS
    • QUESTIONNAIRE_LIST
    • SURVEY_CREATE
    • SURVEY_EDIT
    • _360_EDIT
    • _360_CREATE
    • ISITEST_CREATE
    • ISITEST_EDIT
    • QUIZ_CREATE
    • QUIZ_EDIT
    • BIO_EDIT
    • BIO_CREATE
    • BASE_OPTION
    • PERMISSIONS
    • DOCUMENTATION
    • DOCUMENTATION_THEME
    • DOCUMENTATION_SECTION
    • LOG
    • CONFIGURATIONS
    • QUESTIONNAIRE_DESIGN_LIST
    • QUESTIONNAIRE_DESIGN_CREATE
    • QUESTIONNAIRE_DESIGN_EDIT
    • QUESTIONNAIRE_DESIGN_DETAILS
    • EMAIL_DESIGN_LIST
    • EMAIL_DESIGN_EDIT
    • REPORT_DESIGN_LIST
    • REPORT_DESIGN_CREATE
    • REPORT_DESIGN_EDIT
    • REPORT_DESIGN_DETAILS
    • TRACK_SCREEN
    • TRACK_COACH_INDIVIDUAL
    • TRACK_COACH_GLOBAL
    • VISU_LIST
    • VISU_SURVEY_DETAIL
    • VISU_360_DETAIL
    • VISU_ISITEST_DETAIL
    • VISU_QUIZ_DETAIL
    • VISU_BIO_DETAIL
    • PRINT_PARAMETER
    • REPORT
    • MESSAGE_LIST
    • RECEIVED_MESSAGE
    Example:
    SUPER_ADMIN_EDIT
    <<<<<<< HEAD ======= >>>>>>> dev-master-dev1
    <<<<<<< HEAD ======= >>>>>>> dev-master-dev1 <<<<<<< HEAD ======= >>>>>>> dev-master-dev1 <<<<<<< HEAD ======= >>>>>>> dev-master-dev1
    <<<<<<< HEAD ======= >>>>>>> dev-master-dev1
    Example request:
    curl --request GET \
        --get "http://localhost:8000/api/v1/documentation/pages/1/SUPER_ADMIN_EDIT/details" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    <<<<<<< HEAD ======= >>>>>>> dev-master-dev1
    Example response :
    <<<<<<< HEAD
    =======
    >>>>>>> dev-master-dev1
    {
        "data": [
            {
                "id": null,
                "order": null,
                "created_at": null,
                "updated_at": null,
                "parent_id": null
            },
            {
                "id": null,
                "order": null,
                "created_at": null,
                "updated_at": null,
                "parent_id": null
            }
        ]
    }
    <<<<<<< HEAD
    =======
    >>>>>>> dev-master-dev1
    {
        "code": "page.notTranslate",
        "data": {
            "available_language": {
                "id": 1,
                "name": "french",
                "acronym": 1
            },
            "doc_page": {
                "id": 1,
                "name": "ADMIN_QUESTIONAIRE",
                "0": "..."
            }
        },
        "message": "page not translate in this language"
    }

    Contextual Tag


    Pages | List Contextual Tags

    GET
    http://localhost:8000
    /api/v1/documentation/page/{languageId}/{docPageCode}/contextualTags
    requires authentication

    Get all the contextual tag defined in our application

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    URL Parameters

    languageId
    integer
    required

    the language id

    Example:
    1
    docPageCode
    string
    required

    the enum value represent code of the page

    Example:
    ADMIN_QUESTIONNAIRE

    Response Fields

    Example request:
    curl --request GET \
        --get "http://localhost:8000/api/v1/documentation/page/1/ADMIN_QUESTIONNAIRE/contextualTags" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    Example response :
    {
        "data": [
            {
                "id": null,
                "content": null,
                "name": null,
                "contextual_tag_id": null,
                "language_id": null,
                "created_at": null,
                "updated_at": null
            },
            {
                "id": null,
                "content": null,
                "name": null,
                "contextual_tag_id": null,
                "language_id": null,
                "created_at": null,
                "updated_at": null
            }
        ]
    }

    Contextual Tag | Update

    POST
    http://localhost:8000
    /api/v1/documentation/page/{languageId}/{docPageCode}/{order}/contextualTags
    requires authentication

    Update an existing contextual tag in a language or create it in this language

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    URL Parameters

    languageId
    integer
    required

    the language id

    Example:
    1
    docPageCode
    string
    required

    the enum value represent code of the page

    Example:
    ADMIN_QUESTIONNAIRE
    order
    integer
    required

    The number of contextual tag

    Example:
    1

    Body Parameters

    Example request:
    curl --request POST \
        "http://localhost:8000/api/v1/documentation/page/1/ADMIN_QUESTIONNAIRE/1/contextualTags" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json" \
        --data "{
    <<<<<<< HEAD
        \"name\": \"consequatur\",
        \"content\": \"consequatur\",
    =======
        \"name\": \"architecto\",
        \"content\": \"architecto\",
    >>>>>>> dev-master-dev1
        \"is_active\": true
    }"
    
    Example response :
    {
        "message": "updated success"
    }
    {
        "errors": {
            "contextualTag": "..."
        },
        "message": "contextual tag does not exists"
    }

    Email

    Design


    List Designs.

    GET
    http://localhost:8000
    /api/v1/mail/emailDesigns
    requires authentication

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json
    Example request:
    curl --request GET \
        --get "http://localhost:8000/api/v1/mail/emailDesigns" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    Example response :
    {
        "data": [
            {
                "id": 1,
                "name": "Classique",
                "image": "emailDesigns/1",
                "is_classic": true,
    <<<<<<< HEAD
                "created_at": "2025-12-13T21:54:46.000000Z",
    =======
                "created_at": "2025-12-10T16:44:20.000000Z",
    >>>>>>> dev-master-dev1
                "image_link": "http://localhost:8000/storage/emailDesigns/1",
                "all_content_loaded": true
            },
            {
                "id": 1,
                "name": "Classique",
                "image": "emailDesigns/1",
                "is_classic": true,
    <<<<<<< HEAD
                "created_at": "2025-12-13T21:54:46.000000Z",
    =======
                "created_at": "2025-12-10T16:44:20.000000Z",
    >>>>>>> dev-master-dev1
                "image_link": "http://localhost:8000/storage/emailDesigns/1",
                "all_content_loaded": true
            }
        ]
    }

    Create Design.

    POST
    http://localhost:8000
    /api/v1/mail/emailDesigns
    requires authentication

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    multipart/form-data
    Accept
    Example:
    application/json

    Body Parameters

    Example request:
    curl --request POST \
        "http://localhost:8000/api/v1/mail/emailDesigns" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: multipart/form-data" \
        --header "Accept: application/json" \
    <<<<<<< HEAD
        --form "name=consequatur"\
        --form "image=@C:\Users\geves\AppData\Local\Temp\phpC42.tmp" 
    ======= --form "name=architecto"\ --form "image=@/tmp/phpmtbpdgd6el7d9zsAiHW"
    >>>>>>> dev-master-dev1
    Example response :
    {
        "message": "success",
        "status": 200
    }

    Show Design.

    GET
    http://localhost:8000
    /api/v1/mail/emailDesigns/{emailDesignId}
    requires authentication

    Get a specific email design

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    URL Parameters

    emailDesignId
    integer
    required

    The ID of the email design

    Example:
    17
    Example request:
    curl --request GET \
    <<<<<<< HEAD
        --get "http://localhost:8000/api/v1/mail/emailDesigns/17" \
    =======
        --get "http://localhost:8000/api/v1/mail/emailDesigns/16" \
    >>>>>>> dev-master-dev1
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    Example response :
    {
        "data": {
            "id": 1,
            "name": "Classique",
            "image": "emailDesigns/1",
            "is_classic": true,
    <<<<<<< HEAD
            "created_at": "2025-12-13T21:54:46.000000Z",
    =======
            "created_at": "2025-12-10T16:44:20.000000Z",
    >>>>>>> dev-master-dev1
            "image_link": "http://localhost:8000/storage/emailDesigns/1",
            "all_content_loaded": true
        }
    }

    Show Design.

    PUT
    PATCH
    http://localhost:8000
    /api/v1/mail/emailDesigns/{emailDesignId}
    requires authentication

    Get a specific email design

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    multipart/form-data
    Accept
    Example:
    application/json

    URL Parameters

    emailDesignId
    integer
    required

    The ID of the email design

    Example:
    1

    Body Parameters

    Example request:
    curl --request PUT \
        "http://localhost:8000/api/v1/mail/emailDesigns/1" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: multipart/form-data" \
        --header "Accept: application/json" \
    <<<<<<< HEAD
        --form "name=consequatur"\
        --form "image=@C:\Users\geves\AppData\Local\Temp\phpC53.tmp" 
    ======= --form "name=architecto"\ --form "image=@/tmp/phpr3j7le0o2ofddIoRjC3"
    >>>>>>> dev-master-dev1
    Example response :
    {
        "message": "success",
        "status": 200
    }

    Delete Design.

    DELETE
    http://localhost:8000
    /api/v1/mail/emailDesigns/{emailDesignId}
    requires authentication

    Delete a specific email design

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    URL Parameters

    emailDesignId
    integer
    required

    The ID of the email design

    Example:
    17
    Example request:
    curl --request DELETE \
    <<<<<<< HEAD
        "http://localhost:8000/api/v1/mail/emailDesigns/17" \
    =======
        "http://localhost:8000/api/v1/mail/emailDesigns/16" \
    >>>>>>> dev-master-dev1
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    Example response :
    {
        "message": "success",
        "status": 200
    }
    {
        "message": "Email design not found"
    }
    {
        "message": "You cannot delete a classic design"
    }

    Copy Email design

    POST
    http://localhost:8000
    /api/v1/mail/emailDesigns/{emailDesignId}/copy
    requires authentication

    Copy a new email design to an existing

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    multipart/form-data
    Accept
    Example:
    application/json

    URL Parameters

    emailDesignId
    integer
    required

    id of email design

    Example:
    1

    Body Parameters

    Example request:
    curl --request POST \
        "http://localhost:8000/api/v1/mail/emailDesigns/1/copy" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: multipart/form-data" \
        --header "Accept: application/json" \
    <<<<<<< HEAD
        --form "name=consequatur"\
        --form "is_default_logo="\
        --form "remove_logo="\
        --form "image=@C:\Users\geves\AppData\Local\Temp\phpC54.tmp" 
    ======= --form "name=architecto"\ --form "is_default_logo=1"\ --form "remove_logo="\ --form "image=@/tmp/phpgm0hbrdq6hp706Kvsar"
    >>>>>>> dev-master-dev1
    Example response :
    {
        "message": "success",
        "success": true
    }

    Generic


    List parameters

    GET
    http://localhost:8000
    /api/v1/mail/generic/components/{languageId}/{emailTypeCode}
    requires authentication

    Get details attached to an specific type of generic email
    return default subject , default description

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    URL Parameters

    languageId
    string
    required

    id of language

    Example:
    1
    emailTypeCode
    string
    required

    code for email type

    Must be one of:
    • TYPE_CREATE_USER_ROLE_ACCOUNT
    • TYPE_CONFIRM_USER_ROLE_CREATION_ACCOUNT
    • TYPE_ADD_USER_ROLE_TO_PARTITIONED_SPACE
    • TYPE_DELETE_USER_ROLE_BY_PERSON_WHO_HOLDS_ACCOUNT
    • TYPE_CONFIRM_DELETE_USER_ROLE_BY_PERSON_WHO_HOLDS_ACCOUNT
    • TYPE_DELETE_USER_ROLE_BY_ADMIN_WITH_HIGHER_AUTHORIZATIONS_TO_INITIATOR
    • TYPE_DELETE_USER_ROLE_BY_ADMIN_WITH_HIGHER_AUTHORIZATIONS_TO_OWNER
    • TYPE_CONFIRM_DELETE_USER_ROLE_BY_ADMIN_WITH_HIGHER_AUTHORIZATIONS_TO_INITIATOR
    • TYPE_CONFIRM_DELETE_USER_ROLE_BY_ADMIN_WITH_HIGHER_AUTHORIZATIONS_TO_OWNER
    • TYPE_ADD_SIMPLE_ADMIN_TO_OTHER_PARTITIONED_SPACE
    • TYPE_CONFIRM_ADD_SIMPLE_ADMIN_TO_OTHER_PARTITIONED_SPACE
    • TYPE_CREATE_USER_ACCOUNT
    • TYPE_CONFIRM_CREATE_USER_ACCOUNT
    • TYPE_DELETE_COMPANY_ALT_SUPER_ADMIN
    • TYPE_DELETE_COMPANY_ALT_USER_ACCOUNT
    • TYPE_CONFIRM_DELETE_COMPANY_ALT_SUPER_ADMIN
    • TYPE_CONFIRM_DELETE_COMPANY_ALT_USER_ACCOUNT
    • TYPE_CREATION_OF_VOTER_ACCOUNT
    • TYPE_CONFIRM_CREATION_OF_VOTER_ACCOUNT
    • TYPE_ADD_VOTER_ACCOUNT_TO_COMPANY
    • TYPE_CONFIRM_ADD_VOTER_ACCOUNT_TO_COMPANY
    • TYPE_DELETE_VOTER_ACCOUNT_BY_PERSON_WHO_HOLDS_ACCOUNT
    • TYPE_CONFIRM_DELETION_VOTER_ACCOUNT_BY_PERSON_WHO_HOLDS_ACCOUNT
    • TYPE_DELETE_VOTER_ACCOUNT_BY_USER_ROLE_OF_WALLET_INFORM_USER_ROLE_OF_WALLET
    • TYPE_DELETE_VOTER_ACCOUNT_BY_USER_ROLE_OF_WALLET_INFORM_VOTER
    • TYPE_CONFIRM_DELETE_VOTER_ACCOUNT_BY_USER_ROLE_OF_WALLET_INFORM_USER_ROLE
    • TYPE_CONFIRM_DELETE_VOTER_ACCOUNT_BY_USER_ROLE_OF_WALLET_INFORM_VOTER
    • TYPE_VOTING_PASSWORD_RESET
    • TYPE_USER_ROLE_PASSWORD_RESET
    • TYPE_USER_ACCOUNT_PASSWORD_RESET
    Example:
    TYPE_CREATE_USER_ROLE_ACCOUNT
    Example request:
    curl --request GET \
        --get "http://localhost:8000/api/v1/mail/generic/components/1/TYPE_CREATE_USER_ROLE_ACCOUNT" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    Example response :
    Headers
    cache-control : no-cache, private content-type : application/json vary : Origin
    {
        "message": "Unauthenticated."
    }

    Generic | List Emails

    GET
    http://localhost:8000
    /api/v1/mail/generic/contents/{languageId}/{emailDesignId}/defaultEmailContent
    requires authentication

    List of all generic email in the application

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    URL Parameters

    languageId
    integer
    required

    the language of witch email should be retrieved

    Example:
    1
    emailDesignId
    integer
    required

    id of email design parent

    Example:
    1
    Example request:
    curl --request GET \
        --get "http://localhost:8000/api/v1/mail/generic/contents/1/1/defaultEmailContent" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    Example response :
    Headers
    cache-control : no-cache, private content-type : application/json vary : Origin
    {
        "message": "Unauthenticated."
    }

    Generic | Update

    PUT
    PATCH
    http://localhost:8000
    /api/v1/mail/generic/contents/{languageId}/{emailDesignId}/defaultEmailContent
    requires authentication

    Endpoint to update all generic email in the application

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    URL Parameters

    languageId
    integer
    required

    the language of witch email should be retrieved

    Example:
    1
    emailDesignId
    integer
    required

    id of email design parent

    Example:
    1

    Body Parameters

    Example request:
    curl --request PUT \
        "http://localhost:8000/api/v1/mail/generic/contents/1/1/defaultEmailContent" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json" \
        --data "{
        \"TYPE_CREATE_USER_ROLE_ACCOUNT\": {
            \"content\": \"consequatur\",
            \"subject\": \"consequatur\"
        },
        \"TYPE_CONFIRM_USER_ROLE_CREATION_ACCOUNT\": {
            \"content\": \"consequatur\",
            \"subject\": \"consequatur\"
        },
        \"TYPE_ADD_USER_ROLE_TO_PARTITIONED_SPACE\": {
            \"content\": \"consequatur\",
            \"subject\": \"consequatur\"
        },
        \"TYPE_DELETE_USER_ROLE_BY_PERSON_WHO_HOLDS_ACCOUNT\": {
            \"content\": \"consequatur\",
            \"subject\": \"consequatur\"
        },
        \"TYPE_CONFIRM_DELETE_USER_ROLE_BY_PERSON_WHO_HOLDS_ACCOUNT\": {
            \"content\": \"consequatur\",
            \"subject\": \"consequatur\"
        },
        \"TYPE_DELETE_USER_ROLE_BY_ADMIN_WITH_HIGHER_AUTHORIZATIONS_TO_INITIATOR\": {
            \"content\": \"consequatur\",
            \"subject\": \"consequatur\"
        },
        \"TYPE_DELETE_USER_ROLE_BY_ADMIN_WITH_HIGHER_AUTHORIZATIONS_TO_OWNER\": {
            \"content\": \"consequatur\",
            \"subject\": \"consequatur\"
        },
        \"TYPE_CONFIRM_DELETE_USER_ROLE_BY_ADMIN_WITH_HIGHER_AUTHORIZATIONS_TO_INITIATOR\": {
            \"content\": \"consequatur\",
            \"subject\": \"consequatur\"
        },
        \"TYPE_CONFIRM_DELETE_USER_ROLE_BY_ADMIN_WITH_HIGHER_AUTHORIZATIONS_TO_OWNER\": {
            \"content\": \"consequatur\",
            \"subject\": \"consequatur\"
        },
        \"TYPE_ADD_SIMPLE_ADMIN_TO_OTHER_PARTITIONED_SPACE\": {
            \"content\": \"consequatur\",
            \"subject\": \"consequatur\"
        },
        \"TYPE_CONFIRM_ADD_SIMPLE_ADMIN_TO_OTHER_PARTITIONED_SPACE\": {
            \"content\": \"consequatur\",
            \"subject\": \"consequatur\"
        },
        \"TYPE_CREATE_USER_ACCOUNT\": {
            \"content\": \"consequatur\",
            \"subject\": \"consequatur\"
        },
        \"TYPE_CONFIRM_CREATE_USER_ACCOUNT\": {
            \"content\": \"consequatur\",
            \"subject\": \"consequatur\"
        },
        \"TYPE_DELETE_COMPANY_ALT_SUPER_ADMIN\": {
            \"content\": \"consequatur\",
            \"subject\": \"consequatur\"
        },
        \"TYPE_DELETE_COMPANY_ALT_USER_ACCOUNT\": {
            \"content\": \"consequatur\",
            \"subject\": \"consequatur\"
        },
        \"TYPE_CONFIRM_DELETE_COMPANY_ALT_SUPER_ADMIN\": {
            \"content\": \"consequatur\",
            \"subject\": \"consequatur\"
        },
        \"TYPE_CONFIRM_DELETE_COMPANY_ALT_USER_ACCOUNT\": {
            \"content\": \"consequatur\",
            \"subject\": \"consequatur\"
        },
        \"TYPE_CREATION_OF_VOTER_ACCOUNT\": {
            \"content\": \"consequatur\",
            \"subject\": \"consequatur\"
        },
        \"TYPE_CONFIRM_CREATION_OF_VOTER_ACCOUNT\": {
            \"content\": \"consequatur\",
            \"subject\": \"consequatur\"
        },
        \"TYPE_ADD_VOTER_ACCOUNT_TO_COMPANY\": {
            \"content\": \"consequatur\",
            \"subject\": \"consequatur\"
        },
        \"TYPE_CONFIRM_ADD_VOTER_ACCOUNT_TO_COMPANY\": {
            \"content\": \"consequatur\",
            \"subject\": \"consequatur\"
        },
        \"TYPE_DELETE_VOTER_ACCOUNT_BY_PERSON_WHO_HOLDS_ACCOUNT\": {
            \"content\": \"consequatur\",
            \"subject\": \"consequatur\"
        },
        \"TYPE_CONFIRM_DELETION_VOTER_ACCOUNT_BY_PERSON_WHO_HOLDS_ACCOUNT\": {
            \"content\": \"consequatur\",
            \"subject\": \"consequatur\"
        },
        \"TYPE_DELETE_VOTER_ACCOUNT_BY_USER_ROLE_OF_WALLET_INFORM_USER_ROLE_OF_WALLET\": {
            \"content\": \"consequatur\",
            \"subject\": \"consequatur\"
        },
        \"TYPE_DELETE_VOTER_ACCOUNT_BY_USER_ROLE_OF_WALLET_INFORM_VOTER\": {
            \"content\": \"consequatur\",
            \"subject\": \"consequatur\"
        },
        \"TYPE_CONFIRM_DELETE_VOTER_ACCOUNT_BY_USER_ROLE_OF_WALLET_INFORM_USER_ROLE\": {
            \"content\": \"consequatur\",
            \"subject\": \"consequatur\"
        },
        \"TYPE_CONFIRM_DELETE_VOTER_ACCOUNT_BY_USER_ROLE_OF_WALLET_INFORM_VOTER\": {
            \"content\": \"consequatur\",
            \"subject\": \"consequatur\"
        },
        \"TYPE_VOTING_PASSWORD_RESET\": {
            \"content\": \"consequatur\",
            \"subject\": \"consequatur\"
        },
        \"TYPE_USER_ROLE_PASSWORD_RESET\": {
            \"content\": \"consequatur\",
            \"subject\": \"consequatur\"
        },
        \"TYPE_USER_ACCOUNT_PASSWORD_RESET\": {
            \"content\": \"consequatur\",
            \"subject\": \"consequatur\"
        }
    }"
    
    Example response :
    {
        "message": "success",
        "status": 200
    }
    {
        "success": false,
        "type": "VALIDATION_EXCEPTION",
        "message": "the ACCOUNT_TYPE is missing in TYPE_CREATE_USER_ROLE_ACCOUNT (and 56 more errors)",
        "errors": {
            "TYPE_CREATE_USER_ROLE_ACCOUNT.content": [
                "the ACCOUNT_TYPE is missing in TYPE_CREATE_USER_ROLE_ACCOUNT",
                "the CONFIRM_BUTTON is missing in TYPE_CREATE_USER_ROLE_ACCOUNT",
                "the LINK is missing in TYPE_CREATE_USER_ROLE_ACCOUNT"
            ],
            "TYPE_CONFIRM_USER_ROLE_CREATION_ACCOUNT.content": [
                "the ACCOUNT_TYPE is missing in TYPE_CONFIRM_USER_ROLE_CREATION_ACCOUNT"
            ],
            "TYPE_ADD_USER_ROLE_TO_PARTITIONED_SPACE.content": [
                "the ACCOUNT_TYPE is missing in TYPE_ADD_USER_ROLE_TO_PARTITIONED_SPACE",
                "the FIRST_NAME is missing in TYPE_ADD_USER_ROLE_TO_PARTITIONED_SPACE",
                "the LAST_NAME is missing in TYPE_ADD_USER_ROLE_TO_PARTITIONED_SPACE",
                "the VALIDATE_BUTTON is missing in TYPE_ADD_USER_ROLE_TO_PARTITIONED_SPACE",
                "the LINK is missing in TYPE_ADD_USER_ROLE_TO_PARTITIONED_SPACE"
            ],
            "TYPE_DELETE_USER_ROLE_BY_PERSON_WHO_HOLDS_ACCOUNT.content": [
                "the ACCOUNT_TYPE is missing in TYPE_DELETE_USER_ROLE_BY_PERSON_WHO_HOLDS_ACCOUNT",
                "the FIRST_NAME is missing in TYPE_DELETE_USER_ROLE_BY_PERSON_WHO_HOLDS_ACCOUNT",
                "the CANCEL_BUTTON is missing in TYPE_DELETE_USER_ROLE_BY_PERSON_WHO_HOLDS_ACCOUNT",
                "the LINK is missing in TYPE_DELETE_USER_ROLE_BY_PERSON_WHO_HOLDS_ACCOUNT"
            ],
            "TYPE_CONFIRM_DELETE_USER_ROLE_BY_PERSON_WHO_HOLDS_ACCOUNT.content": [
                "the ACCOUNT_TYPE is missing in TYPE_CONFIRM_DELETE_USER_ROLE_BY_PERSON_WHO_HOLDS_ACCOUNT",
                "the FIRST_NAME is missing in TYPE_CONFIRM_DELETE_USER_ROLE_BY_PERSON_WHO_HOLDS_ACCOUNT"
            ],
            "TYPE_DELETE_USER_ROLE_BY_ADMIN_WITH_HIGHER_AUTHORIZATIONS_TO_INITIATOR.content": [
                "the ACCOUNT_TYPE is missing in TYPE_DELETE_USER_ROLE_BY_ADMIN_WITH_HIGHER_AUTHORIZATIONS_TO_INITIATOR",
                "the INITIATOR_FIRST_NAME is missing in TYPE_DELETE_USER_ROLE_BY_ADMIN_WITH_HIGHER_AUTHORIZATIONS_TO_INITIATOR",
                "the FIRST_NAME is missing in TYPE_DELETE_USER_ROLE_BY_ADMIN_WITH_HIGHER_AUTHORIZATIONS_TO_INITIATOR",
                "the LAST_NAME is missing in TYPE_DELETE_USER_ROLE_BY_ADMIN_WITH_HIGHER_AUTHORIZATIONS_TO_INITIATOR",
                "the CANCEL_BUTTON is missing in TYPE_DELETE_USER_ROLE_BY_ADMIN_WITH_HIGHER_AUTHORIZATIONS_TO_INITIATOR"
            ],
            "TYPE_DELETE_USER_ROLE_BY_ADMIN_WITH_HIGHER_AUTHORIZATIONS_TO_OWNER.content": [
                "the ACCOUNT_TYPE is missing in TYPE_DELETE_USER_ROLE_BY_ADMIN_WITH_HIGHER_AUTHORIZATIONS_TO_OWNER",
                "the FIRST_NAME is missing in TYPE_DELETE_USER_ROLE_BY_ADMIN_WITH_HIGHER_AUTHORIZATIONS_TO_OWNER"
            ],
            "TYPE_CONFIRM_DELETE_USER_ROLE_BY_ADMIN_WITH_HIGHER_AUTHORIZATIONS_TO_INITIATOR.content": [
                "the ACCOUNT_TYPE is missing in TYPE_CONFIRM_DELETE_USER_ROLE_BY_ADMIN_WITH_HIGHER_AUTHORIZATIONS_TO_INITIATOR",
                "the FIRST_NAME is missing in TYPE_CONFIRM_DELETE_USER_ROLE_BY_ADMIN_WITH_HIGHER_AUTHORIZATIONS_TO_INITIATOR",
                "the LAST_NAME is missing in TYPE_CONFIRM_DELETE_USER_ROLE_BY_ADMIN_WITH_HIGHER_AUTHORIZATIONS_TO_INITIATOR"
            ],
            "TYPE_CONFIRM_DELETE_USER_ROLE_BY_ADMIN_WITH_HIGHER_AUTHORIZATIONS_TO_OWNER.content": [
                "the ACCOUNT_TYPE is missing in TYPE_CONFIRM_DELETE_USER_ROLE_BY_ADMIN_WITH_HIGHER_AUTHORIZATIONS_TO_OWNER",
                "the FIRST_NAME is missing in TYPE_CONFIRM_DELETE_USER_ROLE_BY_ADMIN_WITH_HIGHER_AUTHORIZATIONS_TO_OWNER"
            ],
            "TYPE_ADD_SIMPLE_ADMIN_TO_OTHER_PARTITIONED_SPACE.content": [
                "the LAST_NAME is missing in TYPE_ADD_SIMPLE_ADMIN_TO_OTHER_PARTITIONED_SPACE",
                "the FIRST_NAME is missing in TYPE_ADD_SIMPLE_ADMIN_TO_OTHER_PARTITIONED_SPACE",
                "the VALIDATE_BUTTON is missing in TYPE_ADD_SIMPLE_ADMIN_TO_OTHER_PARTITIONED_SPACE",
                "the LINK is missing in TYPE_ADD_SIMPLE_ADMIN_TO_OTHER_PARTITIONED_SPACE"
            ],
            "TYPE_CONFIRM_ADD_SIMPLE_ADMIN_TO_OTHER_PARTITIONED_SPACE.content": [
                "the LAST_NAME is missing in TYPE_CONFIRM_ADD_SIMPLE_ADMIN_TO_OTHER_PARTITIONED_SPACE",
                "the FIRST_NAME is missing in TYPE_CONFIRM_ADD_SIMPLE_ADMIN_TO_OTHER_PARTITIONED_SPACE"
            ],
            "TYPE_CREATE_USER_ACCOUNT.content": [
                "the CONFIRM_BUTTON is missing in TYPE_CREATE_USER_ACCOUNT",
                "the LINK is missing in TYPE_CREATE_USER_ACCOUNT"
            ],
            "TYPE_DELETE_COMPANY_ALT_SUPER_ADMIN.content": [
                "the FIRST_NAME is missing in TYPE_DELETE_COMPANY_ALT_SUPER_ADMIN",
                "the CANCEL_BUTTON is missing in TYPE_DELETE_COMPANY_ALT_SUPER_ADMIN",
                "the USER_ACCOUNT is missing in TYPE_DELETE_COMPANY_ALT_SUPER_ADMIN"
            ],
            "TYPE_CONFIRM_DELETE_COMPANY_ALT_SUPER_ADMIN.content": [
                "the FIRST_NAME is missing in TYPE_CONFIRM_DELETE_COMPANY_ALT_SUPER_ADMIN",
                "the USER_ACCOUNT is missing in TYPE_CONFIRM_DELETE_COMPANY_ALT_SUPER_ADMIN"
            ],
            "TYPE_CREATION_OF_VOTER_ACCOUNT.content": [
                "the USER_ACCOUNT is missing in TYPE_CREATION_OF_VOTER_ACCOUNT",
                "the CONFIRM_BUTTON is missing in TYPE_CREATION_OF_VOTER_ACCOUNT",
                "the LINK is missing in TYPE_CREATION_OF_VOTER_ACCOUNT"
            ],
            "TYPE_DELETE_VOTER_ACCOUNT_BY_PERSON_WHO_HOLDS_ACCOUNT.content": [
                "the CANCEL_BUTTON is missing in TYPE_DELETE_VOTER_ACCOUNT_BY_PERSON_WHO_HOLDS_ACCOUNT",
                "the LINK is missing in TYPE_DELETE_VOTER_ACCOUNT_BY_PERSON_WHO_HOLDS_ACCOUNT"
            ],
            "TYPE_DELETE_VOTER_ACCOUNT_BY_USER_ROLE_OF_WALLET.content": [
                "the FIRST_NAME is missing in TYPE_DELETE_VOTER_ACCOUNT_BY_USER_ROLE_OF_WALLET",
                "the LAST_NAME is missing in TYPE_DELETE_VOTER_ACCOUNT_BY_USER_ROLE_OF_WALLET",
                "the CANCEL_BUTTON is missing in TYPE_DELETE_VOTER_ACCOUNT_BY_USER_ROLE_OF_WALLET"
            ],
            "TYPE_CONFIRM_DELETE_VOTER_ACCOUNT_BY_USER_ROLE_OF_WALLET.content": [
                "the FIRST_NAME is missing in TYPE_CONFIRM_DELETE_VOTER_ACCOUNT_BY_USER_ROLE_OF_WALLET",
                "the LAST_NAME is missing in TYPE_CONFIRM_DELETE_VOTER_ACCOUNT_BY_USER_ROLE_OF_WALLET"
            ],
            "TYPE_VOTING_PASSWORD_RESET.content": [
                "the RESET_BUTTON is missing in TYPE_VOTING_PASSWORD_RESET",
                "the LINK is missing in TYPE_VOTING_PASSWORD_RESET"
            ],
            "TYPE_USER_ROLE_PASSWORD_RESET.content": [
                "the RESET_URL is missing in TYPE_USER_ROLE_PASSWORD_RESET",
                "the RESET_BUTTON is missing in TYPE_USER_ROLE_PASSWORD_RESET",
                "the FIRST_NAME is missing in TYPE_USER_ROLE_PASSWORD_RESET"
            ],
            "TYPE_USER_ACCOUNT_PASSWORD_RESET.content": [
                "the RESET_URL is missing in TYPE_USER_ACCOUNT_PASSWORD_RESET",
                "the RESET_BUTTON is missing in TYPE_USER_ACCOUNT_PASSWORD_RESET"
            ]
        },
        "bag": "default"
    }

    Generic | Reset All

    POST
    http://localhost:8000
    /api/v1/mail/generic/contents/{languageId}/{emailDesignId}/defaultEmailContent/reset
    requires authentication

    Reset All generic email for a specific language

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    URL Parameters

    languageId
    integer
    required

    the language of witch email should be retrieved

    Example:
    1
    emailDesignId
    integer
    required

    id of email design parent

    Example:
    1
    Example request:
    curl --request POST \
        "http://localhost:8000/api/v1/mail/generic/contents/1/1/defaultEmailContent/reset" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    Example response :
    {
        "message": "success",
        "status": 200
    }

    Generic | Get Reset Content

    GET
    http://localhost:8000
    /api/v1/mail/generic/contents/{languageId}/{emailDesignId}/defaultEmailContent/{emailTypeCode}/originalContent
    requires authentication

    Get the reset generic email for a specific language

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    URL Parameters

    languageId
    integer
    required

    the language of witch email should be retrieved

    Example:
    1
    emailDesignId
    integer
    required

    id of email design parent

    Example:
    1
    emailTypeCode
    string
    required

    code of mail to be reset

    Must be one of:
    • TYPE_CREATE_USER_ROLE_ACCOUNT
    • TYPE_CONFIRM_USER_ROLE_CREATION_ACCOUNT
    • TYPE_ADD_USER_ROLE_TO_PARTITIONED_SPACE
    • TYPE_DELETE_USER_ROLE_BY_PERSON_WHO_HOLDS_ACCOUNT
    • TYPE_CONFIRM_DELETE_USER_ROLE_BY_PERSON_WHO_HOLDS_ACCOUNT
    • TYPE_DELETE_USER_ROLE_BY_ADMIN_WITH_HIGHER_AUTHORIZATIONS_TO_INITIATOR
    • TYPE_DELETE_USER_ROLE_BY_ADMIN_WITH_HIGHER_AUTHORIZATIONS_TO_OWNER
    • TYPE_CONFIRM_DELETE_USER_ROLE_BY_ADMIN_WITH_HIGHER_AUTHORIZATIONS_TO_INITIATOR
    • TYPE_CONFIRM_DELETE_USER_ROLE_BY_ADMIN_WITH_HIGHER_AUTHORIZATIONS_TO_OWNER
    • TYPE_ADD_SIMPLE_ADMIN_TO_OTHER_PARTITIONED_SPACE
    • TYPE_CONFIRM_ADD_SIMPLE_ADMIN_TO_OTHER_PARTITIONED_SPACE
    • TYPE_CREATE_USER_ACCOUNT
    • TYPE_CONFIRM_CREATE_USER_ACCOUNT
    • TYPE_DELETE_COMPANY_ALT_SUPER_ADMIN
    • TYPE_DELETE_COMPANY_ALT_USER_ACCOUNT
    • TYPE_CONFIRM_DELETE_COMPANY_ALT_SUPER_ADMIN
    • TYPE_CONFIRM_DELETE_COMPANY_ALT_USER_ACCOUNT
    • TYPE_CREATION_OF_VOTER_ACCOUNT
    • TYPE_CONFIRM_CREATION_OF_VOTER_ACCOUNT
    • TYPE_ADD_VOTER_ACCOUNT_TO_COMPANY
    • TYPE_CONFIRM_ADD_VOTER_ACCOUNT_TO_COMPANY
    • TYPE_DELETE_VOTER_ACCOUNT_BY_PERSON_WHO_HOLDS_ACCOUNT
    • TYPE_CONFIRM_DELETION_VOTER_ACCOUNT_BY_PERSON_WHO_HOLDS_ACCOUNT
    • TYPE_DELETE_VOTER_ACCOUNT_BY_USER_ROLE_OF_WALLET_INFORM_USER_ROLE_OF_WALLET
    • TYPE_DELETE_VOTER_ACCOUNT_BY_USER_ROLE_OF_WALLET_INFORM_VOTER
    • TYPE_CONFIRM_DELETE_VOTER_ACCOUNT_BY_USER_ROLE_OF_WALLET_INFORM_USER_ROLE
    • TYPE_CONFIRM_DELETE_VOTER_ACCOUNT_BY_USER_ROLE_OF_WALLET_INFORM_VOTER
    • TYPE_VOTING_PASSWORD_RESET
    • TYPE_USER_ROLE_PASSWORD_RESET
    • TYPE_USER_ACCOUNT_PASSWORD_RESET
    Example:
    TYPE_CREATE_USER_ROLE_ACCOUNT
    Example request:
    curl --request GET \
        --get "http://localhost:8000/api/v1/mail/generic/contents/1/1/defaultEmailContent/TYPE_CREATE_USER_ROLE_ACCOUNT/originalContent" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    Example response :
    {
        "data": {
            "content": "",
            "subject": "",
            "language_id": -1,
            "subject_parameters": [],
            "parameters": [],
            "description": "",
            "type": "",
            "code": ""
        }
    }

    Endpoints

    POST api/v1/login/userRole/directAccess/{token}

    POST
    http://localhost:8000
    /api/v1/login/userRole/directAccess/{token}
    requires authentication

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json
    Example request:
    curl --request POST \
        "http://localhost:8000/api/v1/login/userRole/directAccess/{token}" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"

    GET api/v1/reportDesign/{reportDesignId}/previewPdf

    GET
    http://localhost:8000
    /api/v1/reportDesign/{reportDesignId}/previewPdf
    requires authentication

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json
    Example request:
    curl --request GET \
        --get "http://localhost:8000/api/v1/reportDesign/{reportDesignId}/previewPdf" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    Example response :
    Headers
    cache-control : no-cache, private content-type : application/json vary : Origin
    {
        "message": "App\\Http\\Controllers\\V1\\ReportDesign\\ReportDesignPreviewController::__invoke(): Argument #2 ($reportDesignId) must be of type int, string given, called in /var/www/html/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php on line 47",
        "exception": "TypeError",
        "file": "/var/www/html/app/Http/Controllers/V1/ReportDesign/ReportDesignPreviewController.php",
        "line": 18,
        "trace": [
            {
                "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php",
                "line": 47,
                "function": "__invoke",
                "class": "App\\Http\\Controllers\\V1\\ReportDesign\\ReportDesignPreviewController",
                "type": "->"
            },
            {
                "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Route.php",
                "line": 266,
                "function": "dispatch",
                "class": "Illuminate\\Routing\\ControllerDispatcher",
                "type": "->"
            },
            {
                "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Route.php",
                "line": 212,
                "function": "runController",
                "class": "Illuminate\\Routing\\Route",
                "type": "->"
            },
            {
                "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Router.php",
                "line": 808,
                "function": "run",
                "class": "Illuminate\\Routing\\Route",
                "type": "->"
            },
            {
                "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
                "line": 170,
                "function": "{closure:Illuminate\\Routing\\Router::runRouteWithinStack():807}",
                "class": "Illuminate\\Routing\\Router",
                "type": "->"
            },
            {
                "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php",
                "line": 51,
                "function": "{closure:Illuminate\\Pipeline\\Pipeline::prepareDestination():168}",
                "class": "Illuminate\\Pipeline\\Pipeline",
                "type": "->"
            },
            {
                "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
                "line": 209,
                "function": "handle",
                "class": "Illuminate\\Routing\\Middleware\\SubstituteBindings",
                "type": "->"
            },
            {
                "file": "/var/www/html/vendor/laravel/sanctum/src/Http/Middleware/EnsureFrontendRequestsAreStateful.php",
                "line": 26,
                "function": "{closure:{closure:Illuminate\\Pipeline\\Pipeline::carry():184}:185}",
                "class": "Illuminate\\Pipeline\\Pipeline",
                "type": "->"
            },
            {
                "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
                "line": 170,
                "function": "{closure:Laravel\\Sanctum\\Http\\Middleware\\EnsureFrontendRequestsAreStateful::handle():25}",
                "class": "Laravel\\Sanctum\\Http\\Middleware\\EnsureFrontendRequestsAreStateful",
                "type": "->"
            },
            {
                "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
                "line": 127,
                "function": "{closure:Illuminate\\Pipeline\\Pipeline::prepareDestination():168}",
                "class": "Illuminate\\Pipeline\\Pipeline",
                "type": "->"
            },
            {
                "file": "/var/www/html/vendor/laravel/sanctum/src/Http/Middleware/EnsureFrontendRequestsAreStateful.php",
                "line": 25,
                "function": "then",
                "class": "Illuminate\\Pipeline\\Pipeline",
                "type": "->"
            },
            {
                "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
                "line": 209,
                "function": "handle",
                "class": "Laravel\\Sanctum\\Http\\Middleware\\EnsureFrontendRequestsAreStateful",
                "type": "->"
            },
            {
                "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
                "line": 127,
                "function": "{closure:{closure:Illuminate\\Pipeline\\Pipeline::carry():184}:185}",
                "class": "Illuminate\\Pipeline\\Pipeline",
                "type": "->"
            },
            {
                "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Router.php",
                "line": 807,
                "function": "then",
                "class": "Illuminate\\Pipeline\\Pipeline",
                "type": "->"
            },
            {
                "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Router.php",
                "line": 786,
                "function": "runRouteWithinStack",
                "class": "Illuminate\\Routing\\Router",
                "type": "->"
            },
            {
                "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Router.php",
                "line": 750,
                "function": "runRoute",
                "class": "Illuminate\\Routing\\Router",
                "type": "->"
            },
            {
                "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Router.php",
                "line": 739,
                "function": "dispatchToRoute",
                "class": "Illuminate\\Routing\\Router",
                "type": "->"
            },
            {
                "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php",
                "line": 201,
                "function": "dispatch",
                "class": "Illuminate\\Routing\\Router",
                "type": "->"
            },
            {
                "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
                "line": 170,
                "function": "{closure:Illuminate\\Foundation\\Http\\Kernel::dispatchToRouter():198}",
                "class": "Illuminate\\Foundation\\Http\\Kernel",
                "type": "->"
            },
            {
                "file": "/var/www/html/vendor/livewire/livewire/src/Features/SupportDisablingBackButtonCache/DisableBackButtonCacheMiddleware.php",
                "line": 19,
                "function": "{closure:Illuminate\\Pipeline\\Pipeline::prepareDestination():168}",
                "class": "Illuminate\\Pipeline\\Pipeline",
                "type": "->"
            },
            {
                "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
                "line": 209,
                "function": "handle",
                "class": "Livewire\\Features\\SupportDisablingBackButtonCache\\DisableBackButtonCacheMiddleware",
                "type": "->"
            },
            {
                "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php",
                "line": 21,
                "function": "{closure:{closure:Illuminate\\Pipeline\\Pipeline::carry():184}:185}",
                "class": "Illuminate\\Pipeline\\Pipeline",
                "type": "->"
            },
            {
                "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php",
                "line": 31,
                "function": "handle",
                "class": "Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest",
                "type": "->"
            },
            {
                "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
                "line": 209,
                "function": "handle",
                "class": "Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull",
                "type": "->"
            },
            {
                "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php",
                "line": 21,
                "function": "{closure:{closure:Illuminate\\Pipeline\\Pipeline::carry():184}:185}",
                "class": "Illuminate\\Pipeline\\Pipeline",
                "type": "->"
            },
            {
                "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php",
                "line": 51,
                "function": "handle",
                "class": "Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest",
                "type": "->"
            },
            {
                "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
                "line": 209,
                "function": "handle",
                "class": "Illuminate\\Foundation\\Http\\Middleware\\TrimStrings",
                "type": "->"
            },
            {
                "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php",
                "line": 27,
                "function": "{closure:{closure:Illuminate\\Pipeline\\Pipeline::carry():184}:185}",
                "class": "Illuminate\\Pipeline\\Pipeline",
                "type": "->"
            },
            {
                "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
                "line": 209,
                "function": "handle",
                "class": "Illuminate\\Http\\Middleware\\ValidatePostSize",
                "type": "->"
            },
            {
                "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php",
                "line": 110,
                "function": "{closure:{closure:Illuminate\\Pipeline\\Pipeline::carry():184}:185}",
                "class": "Illuminate\\Pipeline\\Pipeline",
                "type": "->"
            },
            {
                "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
                "line": 209,
                "function": "handle",
                "class": "Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance",
                "type": "->"
            },
            {
                "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php",
                "line": 62,
                "function": "{closure:{closure:Illuminate\\Pipeline\\Pipeline::carry():184}:185}",
                "class": "Illuminate\\Pipeline\\Pipeline",
                "type": "->"
            },
            {
                "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
                "line": 209,
                "function": "handle",
                "class": "Illuminate\\Http\\Middleware\\HandleCors",
                "type": "->"
            },
            {
                "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php",
                "line": 58,
                "function": "{closure:{closure:Illuminate\\Pipeline\\Pipeline::carry():184}:185}",
                "class": "Illuminate\\Pipeline\\Pipeline",
                "type": "->"
            },
            {
                "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
                "line": 209,
                "function": "handle",
                "class": "Illuminate\\Http\\Middleware\\TrustProxies",
                "type": "->"
            },
            {
                "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php",
                "line": 22,
                "function": "{closure:{closure:Illuminate\\Pipeline\\Pipeline::carry():184}:185}",
                "class": "Illuminate\\Pipeline\\Pipeline",
                "type": "->"
            },
            {
                "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
                "line": 209,
                "function": "handle",
                "class": "Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks",
                "type": "->"
            },
            {
                "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
                "line": 127,
                "function": "{closure:{closure:Illuminate\\Pipeline\\Pipeline::carry():184}:185}",
                "class": "Illuminate\\Pipeline\\Pipeline",
                "type": "->"
            },
            {
                "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php",
                "line": 176,
                "function": "then",
                "class": "Illuminate\\Pipeline\\Pipeline",
                "type": "->"
            },
            {
                "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php",
                "line": 145,
                "function": "sendRequestThroughRouter",
                "class": "Illuminate\\Foundation\\Http\\Kernel",
                "type": "->"
            },
            {
                "file": "/var/www/html/vendor/knuckleswtf/scribe/src/Extracting/Strategies/Responses/ResponseCalls.php",
                "line": 310,
                "function": "handle",
                "class": "Illuminate\\Foundation\\Http\\Kernel",
                "type": "->"
            },
            {
                "file": "/var/www/html/vendor/knuckleswtf/scribe/src/Extracting/Strategies/Responses/ResponseCalls.php",
                "line": 298,
                "function": "callLaravelOrLumenRoute",
                "class": "Knuckles\\Scribe\\Extracting\\Strategies\\Responses\\ResponseCalls",
                "type": "->"
            },
            {
                "file": "/var/www/html/vendor/knuckleswtf/scribe/src/Extracting/Strategies/Responses/ResponseCalls.php",
                "line": 91,
                "function": "makeApiCall",
                "class": "Knuckles\\Scribe\\Extracting\\Strategies\\Responses\\ResponseCalls",
                "type": "->"
            },
            {
                "file": "/var/www/html/vendor/knuckleswtf/scribe/src/Extracting/Strategies/Responses/ResponseCalls.php",
                "line": 44,
                "function": "makeResponseCall",
                "class": "Knuckles\\Scribe\\Extracting\\Strategies\\Responses\\ResponseCalls",
                "type": "->"
            },
            {
                "file": "/var/www/html/vendor/knuckleswtf/scribe/src/Extracting/Strategies/Responses/ResponseCalls.php",
                "line": 35,
                "function": "makeResponseCallIfConditionsPass",
                "class": "Knuckles\\Scribe\\Extracting\\Strategies\\Responses\\ResponseCalls",
                "type": "->"
            },
            {
                "file": "/var/www/html/vendor/knuckleswtf/scribe/src/Extracting/Extractor.php",
                "line": 237,
                "function": "__invoke",
                "class": "Knuckles\\Scribe\\Extracting\\Strategies\\Responses\\ResponseCalls",
                "type": "->"
            },
            {
                "file": "/var/www/html/vendor/knuckleswtf/scribe/src/Extracting/Extractor.php",
                "line": 163,
                "function": "iterateThroughStrategies",
                "class": "Knuckles\\Scribe\\Extracting\\Extractor",
                "type": "->"
            },
            {
                "file": "/var/www/html/vendor/knuckleswtf/scribe/src/Extracting/Extractor.php",
                "line": 95,
                "function": "fetchResponses",
                "class": "Knuckles\\Scribe\\Extracting\\Extractor",
                "type": "->"
            },
            {
                "file": "/var/www/html/vendor/knuckleswtf/scribe/src/GroupedEndpoints/GroupedEndpointsFromApp.php",
                "line": 125,
                "function": "processRoute",
                "class": "Knuckles\\Scribe\\Extracting\\Extractor",
                "type": "->"
            },
            {
                "file": "/var/www/html/vendor/knuckleswtf/scribe/src/GroupedEndpoints/GroupedEndpointsFromApp.php",
                "line": 72,
                "function": "extractEndpointsInfoFromLaravelApp",
                "class": "Knuckles\\Scribe\\GroupedEndpoints\\GroupedEndpointsFromApp",
                "type": "->"
            },
            {
                "file": "/var/www/html/vendor/knuckleswtf/scribe/src/GroupedEndpoints/GroupedEndpointsFromApp.php",
                "line": 50,
                "function": "extractEndpointsInfoAndWriteToDisk",
                "class": "Knuckles\\Scribe\\GroupedEndpoints\\GroupedEndpointsFromApp",
                "type": "->"
            },
            {
                "file": "/var/www/html/vendor/knuckleswtf/scribe/src/Commands/GenerateDocumentation.php",
                "line": 53,
                "function": "get",
                "class": "Knuckles\\Scribe\\GroupedEndpoints\\GroupedEndpointsFromApp",
                "type": "->"
            },
            {
                "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php",
                "line": 36,
                "function": "handle",
                "class": "Knuckles\\Scribe\\Commands\\GenerateDocumentation",
                "type": "->"
            },
            {
                "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Container/Util.php",
                "line": 43,
                "function": "{closure:Illuminate\\Container\\BoundMethod::call():35}",
                "class": "Illuminate\\Container\\BoundMethod",
                "type": "::"
            },
            {
                "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php",
                "line": 95,
                "function": "unwrapIfClosure",
                "class": "Illuminate\\Container\\Util",
                "type": "::"
            },
            {
                "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php",
                "line": 35,
                "function": "callBoundMethod",
                "class": "Illuminate\\Container\\BoundMethod",
                "type": "::"
            },
            {
                "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Container/Container.php",
                "line": 696,
                "function": "call",
                "class": "Illuminate\\Container\\BoundMethod",
                "type": "::"
            },
            {
                "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Console/Command.php",
                "line": 213,
                "function": "call",
                "class": "Illuminate\\Container\\Container",
                "type": "->"
            },
            {
                "file": "/var/www/html/vendor/symfony/console/Command/Command.php",
                "line": 318,
                "function": "execute",
                "class": "Illuminate\\Console\\Command",
                "type": "->"
            },
            {
                "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Console/Command.php",
                "line": 182,
                "function": "run",
                "class": "Symfony\\Component\\Console\\Command\\Command",
                "type": "->"
            },
            {
                "file": "/var/www/html/vendor/symfony/console/Application.php",
                "line": 1092,
                "function": "run",
                "class": "Illuminate\\Console\\Command",
                "type": "->"
            },
            {
                "file": "/var/www/html/vendor/symfony/console/Application.php",
                "line": 341,
                "function": "doRunCommand",
                "class": "Symfony\\Component\\Console\\Application",
                "type": "->"
            },
            {
                "file": "/var/www/html/vendor/symfony/console/Application.php",
                "line": 192,
                "function": "doRun",
                "class": "Symfony\\Component\\Console\\Application",
                "type": "->"
            },
            {
                "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php",
                "line": 198,
                "function": "run",
                "class": "Symfony\\Component\\Console\\Application",
                "type": "->"
            },
            {
                "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Application.php",
                "line": 1235,
                "function": "handle",
                "class": "Illuminate\\Foundation\\Console\\Kernel",
                "type": "->"
            },
            {
                "file": "/var/www/html/artisan",
                "line": 13,
                "function": "handleCommand",
                "class": "Illuminate\\Foundation\\Application",
                "type": "->"
            }
        ]
    }

    GET api/v1/dashboard/vote/authenticated

    GET
    http://localhost:8000
    /api/v1/dashboard/vote/authenticated
    requires authentication

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json
    Example request:
    curl --request GET \
        --get "http://localhost:8000/api/v1/dashboard/vote/authenticated" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    Example response :
    Headers
    cache-control : no-cache, private content-type : application/json vary : Origin
    {
        "message": "Unauthenticated."
    }

    GET api/v1/reportDesign/{reportDesignId}/previewPdf

    GET
    http://localhost:8000
    /api/v1/reportDesign/{reportDesignId}/previewPdf
    requires authentication

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json
    Example request:
    curl --request GET \
        --get "http://localhost:8000/api/v1/reportDesign/{reportDesignId}/previewPdf" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    Example response :
    Headers
    cache-control : no-cache, private content-type : application/json vary : Origin
    {
        "message": "App\\Http\\Controllers\\V1\\ReportDesign\\ReportDesignPreviewController::__invoke(): Argument #2 ($reportDesignId) must be of type int, string given, called in C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\ControllerDispatcher.php on line 47",
        "exception": "TypeError",
        "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\app\\Http\\Controllers\\V1\\ReportDesign\\ReportDesignPreviewController.php",
        "line": 18,
        "trace": [
            {
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\ControllerDispatcher.php",
                "line": 47,
                "function": "__invoke",
                "class": "App\\Http\\Controllers\\V1\\ReportDesign\\ReportDesignPreviewController",
                "type": "->"
            },
            {
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php",
                "line": 266,
                "function": "dispatch",
                "class": "Illuminate\\Routing\\ControllerDispatcher",
                "type": "->"
            },
            {
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php",
                "line": 212,
                "function": "runController",
                "class": "Illuminate\\Routing\\Route",
                "type": "->"
            },
            {
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php",
                "line": 808,
                "function": "run",
                "class": "Illuminate\\Routing\\Route",
                "type": "->"
            },
            {
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
                "line": 170,
                "function": "Illuminate\\Routing\\{closure}",
                "class": "Illuminate\\Routing\\Router",
                "type": "->"
            },
            {
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\SubstituteBindings.php",
                "line": 51,
                "function": "Illuminate\\Pipeline\\{closure}",
                "class": "Illuminate\\Pipeline\\Pipeline",
                "type": "->"
            },
            {
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
                "line": 209,
                "function": "handle",
                "class": "Illuminate\\Routing\\Middleware\\SubstituteBindings",
                "type": "->"
            },
            {
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\laravel\\sanctum\\src\\Http\\Middleware\\EnsureFrontendRequestsAreStateful.php",
                "line": 26,
                "function": "Illuminate\\Pipeline\\{closure}",
                "class": "Illuminate\\Pipeline\\Pipeline",
                "type": "->"
            },
            {
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
                "line": 170,
                "function": "Laravel\\Sanctum\\Http\\Middleware\\{closure}",
                "class": "Laravel\\Sanctum\\Http\\Middleware\\EnsureFrontendRequestsAreStateful",
                "type": "->"
            },
            {
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
                "line": 127,
                "function": "Illuminate\\Pipeline\\{closure}",
                "class": "Illuminate\\Pipeline\\Pipeline",
                "type": "->"
            },
            {
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\laravel\\sanctum\\src\\Http\\Middleware\\EnsureFrontendRequestsAreStateful.php",
                "line": 25,
                "function": "then",
                "class": "Illuminate\\Pipeline\\Pipeline",
                "type": "->"
            },
            {
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
                "line": 209,
                "function": "handle",
                "class": "Laravel\\Sanctum\\Http\\Middleware\\EnsureFrontendRequestsAreStateful",
                "type": "->"
            },
            {
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
                "line": 127,
                "function": "Illuminate\\Pipeline\\{closure}",
                "class": "Illuminate\\Pipeline\\Pipeline",
                "type": "->"
            },
            {
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php",
                "line": 807,
                "function": "then",
                "class": "Illuminate\\Pipeline\\Pipeline",
                "type": "->"
            },
            {
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php",
                "line": 786,
                "function": "runRouteWithinStack",
                "class": "Illuminate\\Routing\\Router",
                "type": "->"
            },
            {
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php",
                "line": 750,
                "function": "runRoute",
                "class": "Illuminate\\Routing\\Router",
                "type": "->"
            },
            {
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php",
                "line": 739,
                "function": "dispatchToRoute",
                "class": "Illuminate\\Routing\\Router",
                "type": "->"
            },
            {
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php",
                "line": 201,
                "function": "dispatch",
                "class": "Illuminate\\Routing\\Router",
                "type": "->"
            },
            {
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
                "line": 170,
                "function": "Illuminate\\Foundation\\Http\\{closure}",
                "class": "Illuminate\\Foundation\\Http\\Kernel",
                "type": "->"
            },
            {
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\livewire\\livewire\\src\\Features\\SupportDisablingBackButtonCache\\DisableBackButtonCacheMiddleware.php",
                "line": 19,
                "function": "Illuminate\\Pipeline\\{closure}",
                "class": "Illuminate\\Pipeline\\Pipeline",
                "type": "->"
            },
            {
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
                "line": 209,
                "function": "handle",
                "class": "Livewire\\Features\\SupportDisablingBackButtonCache\\DisableBackButtonCacheMiddleware",
                "type": "->"
            },
            {
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest.php",
                "line": 21,
                "function": "Illuminate\\Pipeline\\{closure}",
                "class": "Illuminate\\Pipeline\\Pipeline",
                "type": "->"
            },
            {
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull.php",
                "line": 31,
                "function": "handle",
                "class": "Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest",
                "type": "->"
            },
            {
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
                "line": 209,
                "function": "handle",
                "class": "Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull",
                "type": "->"
            },
            {
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest.php",
                "line": 21,
                "function": "Illuminate\\Pipeline\\{closure}",
                "class": "Illuminate\\Pipeline\\Pipeline",
                "type": "->"
            },
            {
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TrimStrings.php",
                "line": 51,
                "function": "handle",
                "class": "Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest",
                "type": "->"
            },
            {
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
                "line": 209,
                "function": "handle",
                "class": "Illuminate\\Foundation\\Http\\Middleware\\TrimStrings",
                "type": "->"
            },
            {
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\laravel\\framework\\src\\Illuminate\\Http\\Middleware\\ValidatePostSize.php",
                "line": 27,
                "function": "Illuminate\\Pipeline\\{closure}",
                "class": "Illuminate\\Pipeline\\Pipeline",
                "type": "->"
            },
            {
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
                "line": 209,
                "function": "handle",
                "class": "Illuminate\\Http\\Middleware\\ValidatePostSize",
                "type": "->"
            },
            {
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance.php",
                "line": 110,
                "function": "Illuminate\\Pipeline\\{closure}",
                "class": "Illuminate\\Pipeline\\Pipeline",
                "type": "->"
            },
            {
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
                "line": 209,
                "function": "handle",
                "class": "Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance",
                "type": "->"
            },
            {
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\laravel\\framework\\src\\Illuminate\\Http\\Middleware\\HandleCors.php",
                "line": 62,
                "function": "Illuminate\\Pipeline\\{closure}",
                "class": "Illuminate\\Pipeline\\Pipeline",
                "type": "->"
            },
            {
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
                "line": 209,
                "function": "handle",
                "class": "Illuminate\\Http\\Middleware\\HandleCors",
                "type": "->"
            },
            {
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\laravel\\framework\\src\\Illuminate\\Http\\Middleware\\TrustProxies.php",
                "line": 58,
                "function": "Illuminate\\Pipeline\\{closure}",
                "class": "Illuminate\\Pipeline\\Pipeline",
                "type": "->"
            },
            {
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
                "line": 209,
                "function": "handle",
                "class": "Illuminate\\Http\\Middleware\\TrustProxies",
                "type": "->"
            },
            {
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks.php",
                "line": 22,
                "function": "Illuminate\\Pipeline\\{closure}",
                "class": "Illuminate\\Pipeline\\Pipeline",
                "type": "->"
            },
            {
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
                "line": 209,
                "function": "handle",
                "class": "Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks",
                "type": "->"
            },
            {
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
                "line": 127,
                "function": "Illuminate\\Pipeline\\{closure}",
                "class": "Illuminate\\Pipeline\\Pipeline",
                "type": "->"
            },
            {
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php",
                "line": 176,
                "function": "then",
                "class": "Illuminate\\Pipeline\\Pipeline",
                "type": "->"
            },
            {
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php",
                "line": 145,
                "function": "sendRequestThroughRouter",
                "class": "Illuminate\\Foundation\\Http\\Kernel",
                "type": "->"
            },
            {
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\knuckleswtf\\scribe\\src\\Extracting\\Strategies\\Responses\\ResponseCalls.php",
                "line": 310,
                "function": "handle",
                "class": "Illuminate\\Foundation\\Http\\Kernel",
                "type": "->"
            },
            {
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\knuckleswtf\\scribe\\src\\Extracting\\Strategies\\Responses\\ResponseCalls.php",
                "line": 298,
                "function": "callLaravelOrLumenRoute",
                "class": "Knuckles\\Scribe\\Extracting\\Strategies\\Responses\\ResponseCalls",
                "type": "->"
            },
            {
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\knuckleswtf\\scribe\\src\\Extracting\\Strategies\\Responses\\ResponseCalls.php",
                "line": 91,
                "function": "makeApiCall",
                "class": "Knuckles\\Scribe\\Extracting\\Strategies\\Responses\\ResponseCalls",
                "type": "->"
            },
            {
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\knuckleswtf\\scribe\\src\\Extracting\\Strategies\\Responses\\ResponseCalls.php",
                "line": 44,
                "function": "makeResponseCall",
                "class": "Knuckles\\Scribe\\Extracting\\Strategies\\Responses\\ResponseCalls",
                "type": "->"
            },
            {
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\knuckleswtf\\scribe\\src\\Extracting\\Strategies\\Responses\\ResponseCalls.php",
                "line": 35,
                "function": "makeResponseCallIfConditionsPass",
                "class": "Knuckles\\Scribe\\Extracting\\Strategies\\Responses\\ResponseCalls",
                "type": "->"
            },
            {
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\knuckleswtf\\scribe\\src\\Extracting\\Extractor.php",
                "line": 237,
                "function": "__invoke",
                "class": "Knuckles\\Scribe\\Extracting\\Strategies\\Responses\\ResponseCalls",
                "type": "->"
            },
            {
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\knuckleswtf\\scribe\\src\\Extracting\\Extractor.php",
                "line": 163,
                "function": "iterateThroughStrategies",
                "class": "Knuckles\\Scribe\\Extracting\\Extractor",
                "type": "->"
            },
            {
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\knuckleswtf\\scribe\\src\\Extracting\\Extractor.php",
                "line": 95,
                "function": "fetchResponses",
                "class": "Knuckles\\Scribe\\Extracting\\Extractor",
                "type": "->"
            },
            {
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\knuckleswtf\\scribe\\src\\GroupedEndpoints\\GroupedEndpointsFromApp.php",
                "line": 125,
                "function": "processRoute",
                "class": "Knuckles\\Scribe\\Extracting\\Extractor",
                "type": "->"
            },
            {
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\knuckleswtf\\scribe\\src\\GroupedEndpoints\\GroupedEndpointsFromApp.php",
                "line": 72,
                "function": "extractEndpointsInfoFromLaravelApp",
                "class": "Knuckles\\Scribe\\GroupedEndpoints\\GroupedEndpointsFromApp",
                "type": "->"
            },
            {
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\knuckleswtf\\scribe\\src\\GroupedEndpoints\\GroupedEndpointsFromApp.php",
                "line": 50,
                "function": "extractEndpointsInfoAndWriteToDisk",
                "class": "Knuckles\\Scribe\\GroupedEndpoints\\GroupedEndpointsFromApp",
                "type": "->"
            },
            {
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\knuckleswtf\\scribe\\src\\Commands\\GenerateDocumentation.php",
                "line": 53,
                "function": "get",
                "class": "Knuckles\\Scribe\\GroupedEndpoints\\GroupedEndpointsFromApp",
                "type": "->"
            },
            {
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php",
                "line": 36,
                "function": "handle",
                "class": "Knuckles\\Scribe\\Commands\\GenerateDocumentation",
                "type": "->"
            },
            {
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\Util.php",
                "line": 43,
                "function": "Illuminate\\Container\\{closure}",
                "class": "Illuminate\\Container\\BoundMethod",
                "type": "::"
            },
            {
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php",
                "line": 95,
                "function": "unwrapIfClosure",
                "class": "Illuminate\\Container\\Util",
                "type": "::"
            },
            {
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php",
                "line": 35,
                "function": "callBoundMethod",
                "class": "Illuminate\\Container\\BoundMethod",
                "type": "::"
            },
            {
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\Container.php",
                "line": 696,
                "function": "call",
                "class": "Illuminate\\Container\\BoundMethod",
                "type": "::"
            },
            {
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\laravel\\framework\\src\\Illuminate\\Console\\Command.php",
                "line": 213,
                "function": "call",
                "class": "Illuminate\\Container\\Container",
                "type": "->"
            },
            {
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\symfony\\console\\Command\\Command.php",
                "line": 335,
                "function": "execute",
                "class": "Illuminate\\Console\\Command",
                "type": "->"
            },
            {
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\laravel\\framework\\src\\Illuminate\\Console\\Command.php",
                "line": 182,
                "function": "run",
                "class": "Symfony\\Component\\Console\\Command\\Command",
                "type": "->"
            },
            {
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\symfony\\console\\Application.php",
                "line": 1103,
                "function": "run",
                "class": "Illuminate\\Console\\Command",
                "type": "->"
            },
            {
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\symfony\\console\\Application.php",
                "line": 356,
                "function": "doRunCommand",
                "class": "Symfony\\Component\\Console\\Application",
                "type": "->"
            },
            {
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\symfony\\console\\Application.php",
                "line": 195,
                "function": "doRun",
                "class": "Symfony\\Component\\Console\\Application",
                "type": "->"
            },
            {
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Console\\Kernel.php",
                "line": 198,
                "function": "run",
                "class": "Symfony\\Component\\Console\\Application",
                "type": "->"
            },
            {
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Application.php",
                "line": 1235,
                "function": "handle",
                "class": "Illuminate\\Foundation\\Console\\Kernel",
                "type": "->"
            },
            {
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\artisan",
                "line": 13,
                "function": "handleCommand",
                "class": "Illuminate\\Foundation\\Application",
                "type": "->"
            }
        ]
    }

    GET api/v1/dashboard/vote/authenticated

    GET
    http://localhost:8000
    /api/v1/dashboard/vote/authenticated
    requires authentication

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json
    Example request:
    curl --request GET \
        --get "http://localhost:8000/api/v1/dashboard/vote/authenticated" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    Example response :
    Headers
    cache-control : no-cache, private content-type : application/json vary : Origin
    {
        "message": "Unauthenticated."
    }

    Generate Access | All voters

    POST
    http://localhost:8000
    /api/v1/voters/questionnaires/{questionnaireId}/generateAccess
    requires authentication

    Generate All access for voters

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    URL Parameters

    questionnaireId
    string
    required

    The ID of the questionnaire

    Example:
    1
    Example request:
    curl --request POST \
        "http://localhost:8000/api/v1/voters/questionnaires/1/generateAccess" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    Example response :
    {
        "message": "success",
        "status": 200
    }

    Export

    The export module supports different file formats such as 'csv', 'excel', and 'html', with 'csv' being the default. This flexibility is managed by the UserExportTypeEnum enum, which handles the different file formats for exporting and provides the extension and writer type for each format.

    SuperAdmin


    Export Super Admin Account

    GET
    http://localhost:8000
    /api/v1/export/account/superAdmin/{format}
    requires authentication

    Export super admin data in to different predefined format

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    URL Parameters

    format
    string
    required

    The format of the file to export. Can be 'csv' or 'excel'. the default is 'csv'

    Must be one of:
    • csv
    • xlsx
    Example:
    xlsx

    Query Parameters

    status
    string

    The state for account to be exported

    Must be one of:
    • inactive
    • active
    Example:
    active
    exportLanguage
    string
    required

    the export language

    Must be one of:
    • French
    • English
    • Spanish
    • German
    • Portuguese
    • Chinese
    • Japanese
    • Italy
    • Russian
    • Dutch
    Example:
    French
    Example request:
    curl --request GET \
        --get "http://localhost:8000/api/v1/export/account/superAdmin/xlsx?status=active&exportLanguage=French" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    Example response :

    Admin


    Export Simple Admin Account

    GET
    http://localhost:8000
    /api/v1/export/account/admin/{format}
    requires authentication

    Export simple admin data in to different predefined format

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    URL Parameters

    format
    string
    required

    The format of the file to export. Can be 'csv' or 'excel'. the default is 'csv'

    Must be one of:
    • csv
    • xlsx
    Example:
    xlsx

    Query Parameters

    status
    string

    The state for account to be exported

    Must be one of:
    • inactive
    • active
    Example:
    active
    exportLanguage
    string
    required

    the export language

    Must be one of:
    • French
    • English
    • Spanish
    • German
    • Portuguese
    • Chinese
    • Japanese
    • Italy
    • Russian
    • Dutch
    Example:
    French
    Example request:
    curl --request GET \
        --get "http://localhost:8000/api/v1/export/account/admin/xlsx?status=active&exportLanguage=French" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    Example response :

    Company


    Export Companies

    GET
    http://localhost:8000
    /api/v1/export/account/company/{format}
    requires authentication

    Export company data in to different predefined format

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    URL Parameters

    format
    string
    required

    The format of the file to export. Can be 'csv' or 'excel'. the default is 'csv'

    Must be one of:
    • csv
    • xlsx
    Example:
    xlsx

    Query Parameters

    status
    string

    The state for account to be exported

    Must be one of:
    • inactive
    • active
    Example:
    active
    exportLanguage
    string
    required

    the export language

    Must be one of:
    • French
    • English
    • Spanish
    • German
    • Portuguese
    • Chinese
    • Japanese
    • Italy
    • Russian
    • Dutch
    Example:
    French
    Example request:
    curl --request GET \
        --get "http://localhost:8000/api/v1/export/account/company/xlsx?status=active&exportLanguage=French" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    Example response :

    Import

    The Import module supports different file formats such as 'csv', 'excel', and 'html', with 'csv' being the default.

    This flexibility is managed by the UserImportTypeEnum enum, which handles the different file formats for importing and provides the extension and writer type for each format.

    SuperAdmin


    Import Super Admin Account

    POST
    http://localhost:8000
    /api/v1/import/account/superAdmin
    requires authentication

    Import super admin data as different predefined format

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    Body Parameters

    Example request:
    curl --request POST \
        "http://localhost:8000/api/v1/import/account/superAdmin" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json" \
        --data "{
        \"file\": \"consequatur\"
    }"
    
    Example response :

    Admin


    Import Simple Admin Account

    POST
    http://localhost:8000
    /api/v1/import/account/admin
    requires authentication

    Import simple admin data as different predefined format

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    Body Parameters

    Example request:
    curl --request POST \
        "http://localhost:8000/api/v1/import/account/admin" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json" \
        --data "{
        \"file\": \"consequatur\"
    }"
    
    Example response :

    Import Company

    POST
    http://localhost:8000
    /api/v1/import/account/company
    requires authentication

    Import company account

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    Body Parameters

    Example request:
    curl --request POST \
        "http://localhost:8000/api/v1/import/account/company" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json" \
        --data "{
        \"file\": \"consequatur\"
    }"
    
    Example response :

    Library

    Questionnaires


    Questionnaire | Append

    POST
    http://localhost:8000
    /api/v1/library/questionnaires/{questionnaireId}/store
    requires authentication

    Add a new questionnaire to library

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    URL Parameters

    questionnaireId
    integer
    required

    id of questionnaire

    Example:
    1
    Example request:
    curl --request POST \
        "http://localhost:8000/api/v1/library/questionnaires/1/store" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    Example response :
    {
        "message": "questionnaire added to library"
    }

    Questionnaire | Remove

    POST
    http://localhost:8000
    /api/v1/library/questionnaires/{questionnaireId}/delete
    requires authentication

    Remove a specific questionnaire to library

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    URL Parameters

    questionnaireId
    integer
    required

    id of questionnaire

    Example:
    1
    Example request:
    curl --request POST \
        "http://localhost:8000/api/v1/library/questionnaires/1/delete" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    Example response :
    {
        "message": "questionnaire removed to library"
    }

    Visualisation

    GET
    http://localhost:8000
    /api/v1/library/products/{productId}/visualize
    requires authentication

    Returns all information on the questionnaires associated with the libraries
    the token provided mu be a user_roles token

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    URL Parameters

    productId
    string
    required

    Provide the id of the product

    Example:
    1
    Example request:
    curl --request GET \
        --get "http://localhost:8000/api/v1/library/products/1/visualize" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    Example response :
    {
        "data": {
            "id": 1,
    <<<<<<< HEAD
            "updated_at": "2025-12-14T00:15:59.000000Z",
            "questionnaire_id": 11,
    =======
            "updated_at": "2025-12-11T21:04:37.000000Z",
            "questionnaire_id": 12,
    >>>>>>> dev-master-dev1
            "details": [],
            "components": []
        }
    }

    Questionnaire | List

    GET
    http://localhost:8000
    /api/v1/library/products/{productId}/index
    requires authentication

    Returns all information on the questionnaires associated with the libraries

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    URL Parameters

    productId
    string
    required

    Provide the id of the product

    Example:
    1
    Example request:
    curl --request GET \
        --get "http://localhost:8000/api/v1/library/products/1/index" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    Example response :
    {
        "data": {
            "id": 2,
    <<<<<<< HEAD
            "updated_at": "2025-12-14T00:15:59.000000Z",
            "questionnaire_id": 12,
    =======
            "updated_at": "2025-12-11T21:04:37.000000Z",
            "questionnaire_id": 13,
    >>>>>>> dev-master-dev1
            "details": [],
            "components": []
        }
    }

    Library Details


    Details | Update details.

    POST
    http://localhost:8000
    /api/v1/library/questionnaireLibrary/{questionnaireLibraryId}/details
    requires authentication

    Append a fresh questionnaire to library store.

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    URL Parameters

    questionnaireLibraryId
    integer
    required

    id of questionnaireLibrary

    Example:
    1

    Body Parameters

    Example request:
    curl --request POST \
        "http://localhost:8000/api/v1/library/questionnaireLibrary/1/details" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json" \
        --data "{
        \"duration\": 17,
        \"details\": [
            {
                \"language_id\": 17,
                \"slogan\": \"mqeopfuudtdsufvyvddqa\",
                \"description\": \"Molestias ipsam sit veniam sed fuga aspernatur.\",
                \"components\": {
                    \"detail\": [
                        \"consequatur\"
                    ],
                    \"key_point\": [
                        \"consequatur\"
                    ]
                }
            }
        ]
    }"
    
    Example response :
    {
        "message": "update success"
    }
    {
        "errors": [],
        "message": "validation errors"
    }

    Codes


    Code | Update

    POST
    http://localhost:8000
    /api/v1/library/codes
    requires authentication

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    Body Parameters

    Example request:
    curl --request POST \
        "http://localhost:8000/api/v1/library/codes" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json" \
        --data "{
        \"code\": \"consequatur\",
        \"column_number\": 17,
        \"products\": [
            17
        ]
    }"
    
    Example response :
    {
        "message": "code created"
    }

    Code Exists

    POST
    http://localhost:8000
    /api/v1/library/codes/{code}/exists
    requires authentication

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    Body Parameters

    Example request:
    curl --request POST \
        "http://localhost:8000/api/v1/library/codes/{code}/exists" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json" \
        --data "{
        \"code\": \"consequatur\"
    }"
    
    Example response :
    {
        "data": {
            "code_exits": false
        }
    }

    Code Products

    GET
    http://localhost:8000
    /api/v1/library/code/{code}/products
    requires authentication

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json
    Example request:
    curl --request GET \
        --get "http://localhost:8000/api/v1/library/code/{code}/products" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    Example response :
    Headers
    cache-control : no-cache, private content-type : application/json vary : Origin
    {
        "message": "Attempt to read property \"products\" on null",
        "exception": "ErrorException",
    <<<<<<< HEAD
        "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\app\\Http\\Controllers\\V1\\Library\\LibraryCodeProductController.php",
        "line": 24,
        "trace": [
            {
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Bootstrap\\HandleExceptions.php",
                "line": 258,
    =======
        "file": "/var/www/html/app/Http/Controllers/V1/Library/LibraryCodeProductController.php",
        "line": 24,
        "trace": [
            {
                "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php",
                "line": 256,
    >>>>>>> dev-master-dev1
                "function": "handleError",
                "class": "Illuminate\\Foundation\\Bootstrap\\HandleExceptions",
                "type": "->"
            },
            {
    <<<<<<< HEAD
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\app\\Http\\Controllers\\V1\\Library\\LibraryCodeProductController.php",
    =======
                "file": "/var/www/html/app/Http/Controllers/V1/Library/LibraryCodeProductController.php",
    >>>>>>> dev-master-dev1
                "line": 24,
                "function": "Illuminate\\Foundation\\Bootstrap\\{closure}",
                "class": "Illuminate\\Foundation\\Bootstrap\\HandleExceptions",
                "type": "->"
            },
            {
    <<<<<<< HEAD
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\ControllerDispatcher.php",
    =======
                "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php",
    >>>>>>> dev-master-dev1
                "line": 47,
                "function": "__invoke",
                "class": "App\\Http\\Controllers\\V1\\Library\\LibraryCodeProductController",
                "type": "->"
            },
            {
    <<<<<<< HEAD
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php",
    =======
                "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Route.php",
    >>>>>>> dev-master-dev1
                "line": 266,
                "function": "dispatch",
                "class": "Illuminate\\Routing\\ControllerDispatcher",
                "type": "->"
            },
            {
    <<<<<<< HEAD
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php",
    =======
                "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Route.php",
    >>>>>>> dev-master-dev1
                "line": 212,
                "function": "runController",
                "class": "Illuminate\\Routing\\Route",
                "type": "->"
            },
            {
    <<<<<<< HEAD
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php",
    =======
                "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Router.php",
    >>>>>>> dev-master-dev1
                "line": 808,
                "function": "run",
                "class": "Illuminate\\Routing\\Route",
                "type": "->"
            },
            {
    <<<<<<< HEAD
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
    =======
                "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
    >>>>>>> dev-master-dev1
                "line": 170,
                "function": "Illuminate\\Routing\\{closure}",
                "class": "Illuminate\\Routing\\Router",
                "type": "->"
            },
            {
    <<<<<<< HEAD
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\SubstituteBindings.php",
    =======
                "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php",
    >>>>>>> dev-master-dev1
                "line": 51,
                "function": "Illuminate\\Pipeline\\{closure}",
                "class": "Illuminate\\Pipeline\\Pipeline",
                "type": "->"
            },
            {
    <<<<<<< HEAD
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
    =======
                "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
    >>>>>>> dev-master-dev1
                "line": 209,
                "function": "handle",
                "class": "Illuminate\\Routing\\Middleware\\SubstituteBindings",
                "type": "->"
            },
            {
    <<<<<<< HEAD
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\laravel\\sanctum\\src\\Http\\Middleware\\EnsureFrontendRequestsAreStateful.php",
    =======
                "file": "/var/www/html/vendor/laravel/sanctum/src/Http/Middleware/EnsureFrontendRequestsAreStateful.php",
    >>>>>>> dev-master-dev1
                "line": 26,
                "function": "Illuminate\\Pipeline\\{closure}",
                "class": "Illuminate\\Pipeline\\Pipeline",
                "type": "->"
            },
            {
    <<<<<<< HEAD
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
    =======
                "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
    >>>>>>> dev-master-dev1
                "line": 170,
                "function": "Laravel\\Sanctum\\Http\\Middleware\\{closure}",
                "class": "Laravel\\Sanctum\\Http\\Middleware\\EnsureFrontendRequestsAreStateful",
                "type": "->"
            },
            {
    <<<<<<< HEAD
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
    =======
                "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
    >>>>>>> dev-master-dev1
                "line": 127,
                "function": "Illuminate\\Pipeline\\{closure}",
                "class": "Illuminate\\Pipeline\\Pipeline",
                "type": "->"
            },
            {
    <<<<<<< HEAD
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\laravel\\sanctum\\src\\Http\\Middleware\\EnsureFrontendRequestsAreStateful.php",
    =======
                "file": "/var/www/html/vendor/laravel/sanctum/src/Http/Middleware/EnsureFrontendRequestsAreStateful.php",
    >>>>>>> dev-master-dev1
                "line": 25,
                "function": "then",
                "class": "Illuminate\\Pipeline\\Pipeline",
                "type": "->"
            },
            {
    <<<<<<< HEAD
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
    =======
                "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
    >>>>>>> dev-master-dev1
                "line": 209,
                "function": "handle",
                "class": "Laravel\\Sanctum\\Http\\Middleware\\EnsureFrontendRequestsAreStateful",
                "type": "->"
            },
            {
    <<<<<<< HEAD
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
    =======
                "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
    >>>>>>> dev-master-dev1
                "line": 127,
                "function": "Illuminate\\Pipeline\\{closure}",
                "class": "Illuminate\\Pipeline\\Pipeline",
                "type": "->"
            },
            {
    <<<<<<< HEAD
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php",
    =======
                "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Router.php",
    >>>>>>> dev-master-dev1
                "line": 807,
                "function": "then",
                "class": "Illuminate\\Pipeline\\Pipeline",
                "type": "->"
            },
            {
    <<<<<<< HEAD
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php",
    =======
                "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Router.php",
    >>>>>>> dev-master-dev1
                "line": 786,
                "function": "runRouteWithinStack",
                "class": "Illuminate\\Routing\\Router",
                "type": "->"
            },
            {
    <<<<<<< HEAD
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php",
    =======
                "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Router.php",
    >>>>>>> dev-master-dev1
                "line": 750,
                "function": "runRoute",
                "class": "Illuminate\\Routing\\Router",
                "type": "->"
            },
            {
    <<<<<<< HEAD
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php",
    =======
                "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Router.php",
    >>>>>>> dev-master-dev1
                "line": 739,
                "function": "dispatchToRoute",
                "class": "Illuminate\\Routing\\Router",
                "type": "->"
            },
            {
    <<<<<<< HEAD
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php",
    =======
                "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php",
    >>>>>>> dev-master-dev1
                "line": 201,
                "function": "dispatch",
                "class": "Illuminate\\Routing\\Router",
                "type": "->"
            },
            {
    <<<<<<< HEAD
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
    =======
                "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
    >>>>>>> dev-master-dev1
                "line": 170,
                "function": "Illuminate\\Foundation\\Http\\{closure}",
                "class": "Illuminate\\Foundation\\Http\\Kernel",
                "type": "->"
            },
            {
    <<<<<<< HEAD
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\livewire\\livewire\\src\\Features\\SupportDisablingBackButtonCache\\DisableBackButtonCacheMiddleware.php",
    =======
                "file": "/var/www/html/vendor/livewire/livewire/src/Features/SupportDisablingBackButtonCache/DisableBackButtonCacheMiddleware.php",
    >>>>>>> dev-master-dev1
                "line": 19,
                "function": "Illuminate\\Pipeline\\{closure}",
                "class": "Illuminate\\Pipeline\\Pipeline",
                "type": "->"
            },
            {
    <<<<<<< HEAD
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
    =======
                "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
    >>>>>>> dev-master-dev1
                "line": 209,
                "function": "handle",
                "class": "Livewire\\Features\\SupportDisablingBackButtonCache\\DisableBackButtonCacheMiddleware",
                "type": "->"
            },
            {
    <<<<<<< HEAD
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest.php",
    =======
                "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php",
    >>>>>>> dev-master-dev1
                "line": 21,
                "function": "Illuminate\\Pipeline\\{closure}",
                "class": "Illuminate\\Pipeline\\Pipeline",
                "type": "->"
            },
            {
    <<<<<<< HEAD
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull.php",
    =======
                "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php",
    >>>>>>> dev-master-dev1
                "line": 31,
                "function": "handle",
                "class": "Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest",
                "type": "->"
            },
            {
    <<<<<<< HEAD
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
    =======
                "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
    >>>>>>> dev-master-dev1
                "line": 209,
                "function": "handle",
                "class": "Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull",
                "type": "->"
            },
            {
    <<<<<<< HEAD
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest.php",
    =======
                "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php",
    >>>>>>> dev-master-dev1
                "line": 21,
                "function": "Illuminate\\Pipeline\\{closure}",
                "class": "Illuminate\\Pipeline\\Pipeline",
                "type": "->"
            },
            {
    <<<<<<< HEAD
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TrimStrings.php",
    =======
                "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php",
    >>>>>>> dev-master-dev1
                "line": 51,
                "function": "handle",
                "class": "Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest",
                "type": "->"
            },
            {
    <<<<<<< HEAD
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
    =======
                "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
    >>>>>>> dev-master-dev1
                "line": 209,
                "function": "handle",
                "class": "Illuminate\\Foundation\\Http\\Middleware\\TrimStrings",
                "type": "->"
            },
            {
    <<<<<<< HEAD
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\laravel\\framework\\src\\Illuminate\\Http\\Middleware\\ValidatePostSize.php",
    =======
                "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php",
    >>>>>>> dev-master-dev1
                "line": 27,
                "function": "Illuminate\\Pipeline\\{closure}",
                "class": "Illuminate\\Pipeline\\Pipeline",
                "type": "->"
            },
            {
    <<<<<<< HEAD
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
    =======
                "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
    >>>>>>> dev-master-dev1
                "line": 209,
                "function": "handle",
                "class": "Illuminate\\Http\\Middleware\\ValidatePostSize",
                "type": "->"
            },
            {
    <<<<<<< HEAD
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance.php",
    =======
                "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php",
    >>>>>>> dev-master-dev1
                "line": 110,
                "function": "Illuminate\\Pipeline\\{closure}",
                "class": "Illuminate\\Pipeline\\Pipeline",
                "type": "->"
            },
            {
    <<<<<<< HEAD
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
    =======
                "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
    >>>>>>> dev-master-dev1
                "line": 209,
                "function": "handle",
                "class": "Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance",
                "type": "->"
            },
            {
    <<<<<<< HEAD
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\laravel\\framework\\src\\Illuminate\\Http\\Middleware\\HandleCors.php",
    =======
                "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php",
    >>>>>>> dev-master-dev1
                "line": 62,
                "function": "Illuminate\\Pipeline\\{closure}",
                "class": "Illuminate\\Pipeline\\Pipeline",
                "type": "->"
            },
            {
    <<<<<<< HEAD
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
    =======
                "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
    >>>>>>> dev-master-dev1
                "line": 209,
                "function": "handle",
                "class": "Illuminate\\Http\\Middleware\\HandleCors",
                "type": "->"
            },
            {
    <<<<<<< HEAD
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\laravel\\framework\\src\\Illuminate\\Http\\Middleware\\TrustProxies.php",
    =======
                "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php",
    >>>>>>> dev-master-dev1
                "line": 58,
                "function": "Illuminate\\Pipeline\\{closure}",
                "class": "Illuminate\\Pipeline\\Pipeline",
                "type": "->"
            },
            {
    <<<<<<< HEAD
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
    =======
                "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
    >>>>>>> dev-master-dev1
                "line": 209,
                "function": "handle",
                "class": "Illuminate\\Http\\Middleware\\TrustProxies",
                "type": "->"
            },
            {
    <<<<<<< HEAD
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks.php",
    =======
                "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php",
    >>>>>>> dev-master-dev1
                "line": 22,
                "function": "Illuminate\\Pipeline\\{closure}",
                "class": "Illuminate\\Pipeline\\Pipeline",
                "type": "->"
            },
            {
    <<<<<<< HEAD
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
    =======
                "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
    >>>>>>> dev-master-dev1
                "line": 209,
                "function": "handle",
                "class": "Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks",
                "type": "->"
            },
            {
    <<<<<<< HEAD
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
    =======
                "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
    >>>>>>> dev-master-dev1
                "line": 127,
                "function": "Illuminate\\Pipeline\\{closure}",
                "class": "Illuminate\\Pipeline\\Pipeline",
                "type": "->"
            },
            {
    <<<<<<< HEAD
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php",
    =======
                "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php",
    >>>>>>> dev-master-dev1
                "line": 176,
                "function": "then",
                "class": "Illuminate\\Pipeline\\Pipeline",
                "type": "->"
            },
            {
    <<<<<<< HEAD
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php",
    =======
                "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php",
    >>>>>>> dev-master-dev1
                "line": 145,
                "function": "sendRequestThroughRouter",
                "class": "Illuminate\\Foundation\\Http\\Kernel",
                "type": "->"
            },
            {
    <<<<<<< HEAD
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\knuckleswtf\\scribe\\src\\Extracting\\Strategies\\Responses\\ResponseCalls.php",
    =======
                "file": "/var/www/html/vendor/knuckleswtf/scribe/src/Extracting/Strategies/Responses/ResponseCalls.php",
    >>>>>>> dev-master-dev1
                "line": 310,
                "function": "handle",
                "class": "Illuminate\\Foundation\\Http\\Kernel",
                "type": "->"
            },
            {
    <<<<<<< HEAD
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\knuckleswtf\\scribe\\src\\Extracting\\Strategies\\Responses\\ResponseCalls.php",
    =======
                "file": "/var/www/html/vendor/knuckleswtf/scribe/src/Extracting/Strategies/Responses/ResponseCalls.php",
    >>>>>>> dev-master-dev1
                "line": 298,
                "function": "callLaravelOrLumenRoute",
                "class": "Knuckles\\Scribe\\Extracting\\Strategies\\Responses\\ResponseCalls",
                "type": "->"
            },
            {
    <<<<<<< HEAD
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\knuckleswtf\\scribe\\src\\Extracting\\Strategies\\Responses\\ResponseCalls.php",
    =======
                "file": "/var/www/html/vendor/knuckleswtf/scribe/src/Extracting/Strategies/Responses/ResponseCalls.php",
    >>>>>>> dev-master-dev1
                "line": 91,
                "function": "makeApiCall",
                "class": "Knuckles\\Scribe\\Extracting\\Strategies\\Responses\\ResponseCalls",
                "type": "->"
            },
            {
    <<<<<<< HEAD
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\knuckleswtf\\scribe\\src\\Extracting\\Strategies\\Responses\\ResponseCalls.php",
    =======
                "file": "/var/www/html/vendor/knuckleswtf/scribe/src/Extracting/Strategies/Responses/ResponseCalls.php",
    >>>>>>> dev-master-dev1
                "line": 44,
                "function": "makeResponseCall",
                "class": "Knuckles\\Scribe\\Extracting\\Strategies\\Responses\\ResponseCalls",
                "type": "->"
            },
            {
    <<<<<<< HEAD
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\knuckleswtf\\scribe\\src\\Extracting\\Strategies\\Responses\\ResponseCalls.php",
    =======
                "file": "/var/www/html/vendor/knuckleswtf/scribe/src/Extracting/Strategies/Responses/ResponseCalls.php",
    >>>>>>> dev-master-dev1
                "line": 35,
                "function": "makeResponseCallIfConditionsPass",
                "class": "Knuckles\\Scribe\\Extracting\\Strategies\\Responses\\ResponseCalls",
                "type": "->"
            },
            {
    <<<<<<< HEAD
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\knuckleswtf\\scribe\\src\\Extracting\\Extractor.php",
    =======
                "file": "/var/www/html/vendor/knuckleswtf/scribe/src/Extracting/Extractor.php",
    >>>>>>> dev-master-dev1
                "line": 237,
                "function": "__invoke",
                "class": "Knuckles\\Scribe\\Extracting\\Strategies\\Responses\\ResponseCalls",
                "type": "->"
            },
            {
    <<<<<<< HEAD
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\knuckleswtf\\scribe\\src\\Extracting\\Extractor.php",
    =======
                "file": "/var/www/html/vendor/knuckleswtf/scribe/src/Extracting/Extractor.php",
    >>>>>>> dev-master-dev1
                "line": 163,
                "function": "iterateThroughStrategies",
                "class": "Knuckles\\Scribe\\Extracting\\Extractor",
                "type": "->"
            },
            {
    <<<<<<< HEAD
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\knuckleswtf\\scribe\\src\\Extracting\\Extractor.php",
    =======
                "file": "/var/www/html/vendor/knuckleswtf/scribe/src/Extracting/Extractor.php",
    >>>>>>> dev-master-dev1
                "line": 95,
                "function": "fetchResponses",
                "class": "Knuckles\\Scribe\\Extracting\\Extractor",
                "type": "->"
            },
            {
    <<<<<<< HEAD
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\knuckleswtf\\scribe\\src\\GroupedEndpoints\\GroupedEndpointsFromApp.php",
    =======
                "file": "/var/www/html/vendor/knuckleswtf/scribe/src/GroupedEndpoints/GroupedEndpointsFromApp.php",
    >>>>>>> dev-master-dev1
                "line": 125,
                "function": "processRoute",
                "class": "Knuckles\\Scribe\\Extracting\\Extractor",
                "type": "->"
            },
            {
    <<<<<<< HEAD
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\knuckleswtf\\scribe\\src\\GroupedEndpoints\\GroupedEndpointsFromApp.php",
    =======
                "file": "/var/www/html/vendor/knuckleswtf/scribe/src/GroupedEndpoints/GroupedEndpointsFromApp.php",
    >>>>>>> dev-master-dev1
                "line": 72,
                "function": "extractEndpointsInfoFromLaravelApp",
                "class": "Knuckles\\Scribe\\GroupedEndpoints\\GroupedEndpointsFromApp",
                "type": "->"
            },
            {
    <<<<<<< HEAD
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\knuckleswtf\\scribe\\src\\GroupedEndpoints\\GroupedEndpointsFromApp.php",
    =======
                "file": "/var/www/html/vendor/knuckleswtf/scribe/src/GroupedEndpoints/GroupedEndpointsFromApp.php",
    >>>>>>> dev-master-dev1
                "line": 50,
                "function": "extractEndpointsInfoAndWriteToDisk",
                "class": "Knuckles\\Scribe\\GroupedEndpoints\\GroupedEndpointsFromApp",
                "type": "->"
            },
            {
    <<<<<<< HEAD
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\knuckleswtf\\scribe\\src\\Commands\\GenerateDocumentation.php",
    =======
                "file": "/var/www/html/vendor/knuckleswtf/scribe/src/Commands/GenerateDocumentation.php",
    >>>>>>> dev-master-dev1
                "line": 53,
                "function": "get",
                "class": "Knuckles\\Scribe\\GroupedEndpoints\\GroupedEndpointsFromApp",
                "type": "->"
            },
            {
    <<<<<<< HEAD
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php",
    =======
                "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php",
    >>>>>>> dev-master-dev1
                "line": 36,
                "function": "handle",
                "class": "Knuckles\\Scribe\\Commands\\GenerateDocumentation",
                "type": "->"
            },
            {
    <<<<<<< HEAD
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\Util.php",
    =======
                "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Container/Util.php",
    >>>>>>> dev-master-dev1
                "line": 43,
                "function": "Illuminate\\Container\\{closure}",
                "class": "Illuminate\\Container\\BoundMethod",
                "type": "::"
            },
            {
    <<<<<<< HEAD
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php",
    =======
                "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php",
    >>>>>>> dev-master-dev1
                "line": 95,
                "function": "unwrapIfClosure",
                "class": "Illuminate\\Container\\Util",
                "type": "::"
            },
            {
    <<<<<<< HEAD
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php",
    =======
                "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php",
    >>>>>>> dev-master-dev1
                "line": 35,
                "function": "callBoundMethod",
                "class": "Illuminate\\Container\\BoundMethod",
                "type": "::"
            },
            {
    <<<<<<< HEAD
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\Container.php",
    =======
                "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Container/Container.php",
    >>>>>>> dev-master-dev1
                "line": 696,
                "function": "call",
                "class": "Illuminate\\Container\\BoundMethod",
                "type": "::"
            },
            {
    <<<<<<< HEAD
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\laravel\\framework\\src\\Illuminate\\Console\\Command.php",
    =======
                "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Console/Command.php",
    >>>>>>> dev-master-dev1
                "line": 213,
                "function": "call",
                "class": "Illuminate\\Container\\Container",
                "type": "->"
            },
            {
    <<<<<<< HEAD
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\symfony\\console\\Command\\Command.php",
                "line": 335,
    =======
                "file": "/var/www/html/vendor/symfony/console/Command/Command.php",
                "line": 318,
    >>>>>>> dev-master-dev1
                "function": "execute",
                "class": "Illuminate\\Console\\Command",
                "type": "->"
            },
            {
    <<<<<<< HEAD
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\laravel\\framework\\src\\Illuminate\\Console\\Command.php",
    =======
                "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Console/Command.php",
    >>>>>>> dev-master-dev1
                "line": 182,
                "function": "run",
                "class": "Symfony\\Component\\Console\\Command\\Command",
                "type": "->"
            },
            {
    <<<<<<< HEAD
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\symfony\\console\\Application.php",
                "line": 1103,
    =======
                "file": "/var/www/html/vendor/symfony/console/Application.php",
                "line": 1092,
    >>>>>>> dev-master-dev1
                "function": "run",
                "class": "Illuminate\\Console\\Command",
                "type": "->"
            },
            {
    <<<<<<< HEAD
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\symfony\\console\\Application.php",
                "line": 356,
    =======
                "file": "/var/www/html/vendor/symfony/console/Application.php",
                "line": 341,
    >>>>>>> dev-master-dev1
                "function": "doRunCommand",
                "class": "Symfony\\Component\\Console\\Application",
                "type": "->"
            },
            {
    <<<<<<< HEAD
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\symfony\\console\\Application.php",
                "line": 195,
    =======
                "file": "/var/www/html/vendor/symfony/console/Application.php",
                "line": 192,
    >>>>>>> dev-master-dev1
                "function": "doRun",
                "class": "Symfony\\Component\\Console\\Application",
                "type": "->"
            },
            {
    <<<<<<< HEAD
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Console\\Kernel.php",
    =======
                "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php",
    >>>>>>> dev-master-dev1
                "line": 198,
                "function": "run",
                "class": "Symfony\\Component\\Console\\Application",
                "type": "->"
            },
            {
    <<<<<<< HEAD
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Application.php",
    =======
                "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Application.php",
    >>>>>>> dev-master-dev1
                "line": 1235,
                "function": "handle",
                "class": "Illuminate\\Foundation\\Console\\Kernel",
                "type": "->"
            },
            {
    <<<<<<< HEAD
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\artisan",
    =======
                "file": "/var/www/html/artisan",
    >>>>>>> dev-master-dev1
                "line": 13,
                "function": "handleCommand",
                "class": "Illuminate\\Foundation\\Application",
                "type": "->"
            }
        ]
    }

    Configuration


    Configuration | Update

    POST
    http://localhost:8000
    /api/v1/library/configurations
    requires authentication

    Update the current configuration

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    Body Parameters

    Example request:
    curl --request POST \
        "http://localhost:8000/api/v1/library/configurations" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json" \
        --data "{
        \"is_secure\": false,
    <<<<<<< HEAD
        \"has_general_design\": true,
        \"column_number\": 17
    =======
        \"has_general_design\": false,
        \"column_number\": 16
    >>>>>>> dev-master-dev1
    }"
    

    Configuration | List

    GET
    http://localhost:8000
    /api/v1/library/configurations
    requires authentication

    List of current option

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    Query Parameters

    code
    string

    query parameter for get config for code

    Example:
    xdf

    Response Fields

    Example request:
    curl --request GET \
        --get "http://localhost:8000/api/v1/library/configurations?code=xdf" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    Example response :
    {
        "data": {
            "is_secure": false,
            "column_number": 2,
            "url": "https://backend.test/library/commerciale",
            "has_general_design": true
        }
    }

    Profiles


    Delete Product code

    DELETE
    http://localhost:8000
    /api/v1/library/libraryAccessCode/{libraryAccessCodeId}
    requires authentication

    delete a code with all device attached to them in the application

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    URL Parameters

    libraryAccessCodeProductId
    integer
    required

    Library access code product id

    Example:
    17
    Example request:
    curl --request DELETE \
        "http://localhost:8000/api/v1/library/libraryAccessCode/1" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    Example response :
    {
        "message": "code deleted!"
    }

    List Product Profiles

    GET
    http://localhost:8000
    /api/v1/library/libraryAccessCode/profiles
    requires authentication

    List all the profiles and devices connected with their respective code in application

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    Query Parameters

    product
    integer

    Product id

    Example:
    1

    Body Parameters

    Example request:
    curl --request GET \
        --get "http://localhost:8000/api/v1/library/libraryAccessCode/profiles?product=1" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json" \
        --data "{
        \"product\": 17
    }"
    
    Example response :
    {
        "data": [
            {
                "id": 1,
                "code": "xde04",
                "ip_address_count": 2,
                "device_count": 4
            },
            {
                "id": 2,
                "code": "xfrde04",
                "ip_address_count": 20,
                "device_count": 42
            },
            {
                "id": 3,
                "code": "xfrde05",
                "ip_address_count": 20,
                "device_count": 42
            },
            {
                "id": 4,
                "code": "xfrde06",
                "ip_address_count": 20,
                "device_count": 42
            },
            {
                "id": 5,
                "code": "fade07",
                "ip_address_count": 20,
                "device_count": 42
            },
            {
                "id": 6,
                "code": "fade08",
                "ip_address_count": 20,
                "device_count": 42
            },
            {
                "id": 7,
                "code": "34XFDEDEFD",
                "ip_address_count": 20,
                "device_count": 42
            },
            {
                "id": 8,
                "code": "xfrde10",
                "ip_address_count": 20,
                "device_count": 42
            },
            {
                "id": 9,
                "code": "xfrde11",
                "ip_address_count": 20,
                "device_count": 42
            },
            {
                "id": 10,
                "code": "xfrde12",
                "ip_address_count": 20,
                "device_count": 42
            },
            {
                "id": 11,
                "code": "xfrde13",
                "ip_address_count": 20,
                "device_count": 42
            },
            {
                "id": 12,
                "code": "xfrde14",
                "ip_address_count": 20,
                "device_count": 42
            },
            {
                "id": 13,
                "code": "xfrde15",
                "ip_address_count": 20,
                "device_count": 42
            },
            {
                "id": 14,
                "code": "xfrde16",
                "ip_address_count": 20,
                "device_count": 42
            },
            {
                "id": 15,
                "code": "xfrde17",
                "ip_address_count": 20,
                "device_count": 42
            },
    
        ]
    }
    

    >>>>>> dev-master-dev1 class="sl-text-3xl sl-leading-tight sl-font-prose sl-text-heading sl-mt-5 sl-mb-3" > Profiles


    Delete Product code

    <<<<<<< HEAD
    >>>>>> dev-master-dev1 class="sl-stack sl-stack--horizontal sl-stack--3 sl-inline-flex sl-flex-row sl-items-center sl-max-w-full sl-font-mono sl-py-2 sl-pr-4 sl-bg-canvas-50 sl-rounded-lg" >
    DELETE
    http://localhost:8000
    <<<<<<< HEAD
    /api/v1/library/access
    =======
    /api/v1/library/libraryAccessCode/{libraryAccessCodeId}
    >>>>>>> dev-master-dev1
    requires authentication

    delete a code with all device attached to them in the application

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    URL Parameters

    libraryAccessCodeProductId
    integer
    required

    Library access code product id

    Example:
    16
    Example request:
    <<<<<<< HEAD
    curl --request GET \
        --get "http://localhost:8000/api/v1/library/access" \
    =======
                                            
    curl --request DELETE \
        "http://localhost:8000/api/v1/library/libraryAccessCode/1" \
    >>>>>>> dev-master-dev1
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    Example response :
    <<<<<<< HEAD
    Headers
    content-type : text/html; charset=utf-8 cache-control : no-cache, private vary : Origin
    =======
    >>>>>>> dev-master-dev1
    {
        "message": "code deleted!"
    }
    <<<<<<< HEAD =======

    List Product Profiles

    GET
    http://localhost:8000
    /api/v1/library/libraryAccessCode/profiles
    requires authentication

    List all the profiles and devices connected with their respective code in application

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    Query Parameters

    product
    integer

    Product id

    Example:
    1

    Body Parameters

    Example request:
    curl --request GET \
        --get "http://localhost:8000/api/v1/library/libraryAccessCode/profiles?product=1" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json" \
        --data "{
        \"product\": 16
    }"
    
    Example response :
    {
        "data": [
            {
                "id": 1,
                "code": "xde04",
                "ip_address_count": 2,
                "device_count": 4
            },
            {
                "id": 2,
                "code": "xfrde04",
                "ip_address_count": 20,
                "device_count": 42
            },
            {
                "id": 3,
                "code": "xfrde05",
                "ip_address_count": 20,
                "device_count": 42
            },
            {
                "id": 4,
                "code": "xfrde06",
                "ip_address_count": 20,
                "device_count": 42
            },
            {
                "id": 5,
                "code": "fade07",
                "ip_address_count": 20,
                "device_count": 42
            },
            {
                "id": 6,
                "code": "fade08",
                "ip_address_count": 20,
                "device_count": 42
            },
            {
                "id": 7,
                "code": "34XFDEDEFD",
                "ip_address_count": 20,
                "device_count": 42
            },
            {
                "id": 8,
                "code": "xfrde10",
                "ip_address_count": 20,
                "device_count": 42
            },
            {
                "id": 9,
                "code": "xfrde11",
                "ip_address_count": 20,
                "device_count": 42
            },
            {
                "id": 10,
                "code": "xfrde12",
                "ip_address_count": 20,
                "device_count": 42
            },
            {
                "id": 11,
                "code": "xfrde13",
                "ip_address_count": 20,
                "device_count": 42
            },
            {
                "id": 12,
                "code": "xfrde14",
                "ip_address_count": 20,
                "device_count": 42
            },
            {
                "id": 13,
                "code": "xfrde15",
                "ip_address_count": 20,
                "device_count": 42
            },
            {
                "id": 14,
                "code": "xfrde16",
                "ip_address_count": 20,
                "device_count": 42
            },
            {
                "id": 15,
                "code": "xfrde17",
                "ip_address_count": 20,
                "device_count": 42
            },
    
        ]
    }
    

    Access


    Access Link

    GET
    http://localhost:8000
    /api/v1/library/access
    requires authentication

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json
    Example request:
    curl --request GET \
        --get "http://localhost:8000/api/v1/library/access" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    Example response :
    Headers
    content-type : text/html; charset=UTF-8 cache-control : no-cache, private vary : Origin
    >>>>>>> dev-master-dev1

    Message

    Manage the Message in our apps

    Store Message

    POST
    http://localhost:8000
    /api/v1/vote/message/store
    requires authentication

    Store a new message. (You must be authenticated as a voter)

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    Body Parameters

    Example request:
    curl --request POST \
        "http://localhost:8000/api/v1/vote/message/store" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json" \
        --data "{
        \"sender_email\": \"contact@example.com\",
        \"subject\": \"Survey Feedback\",
        \"message\": \"This is a feedback message for the survey.\"
    }"
    
    Example response :
    {
        "message": "success",
        "status": 200
    }
    {
        "message": "The given resource was invalid.",
        "errors": {
            "item 1": [
                "validation error 1."
            ]
        }
    }

    Permission

    Permission role


    Role | Get Permissions

    GET
    http://localhost:8000
    /api/v1/permissions/roles/{guardName}/permissions
    requires authentication

    Get all the permissions assigned to a role

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    URL Parameters

    guardName
    string
    required

    the guard name

    Must be one of:
    • global_admin
    • super_admin
    • simple_admin
    Example:
    super_admin
    Example request:
    curl --request GET \
    <<<<<<< HEAD
        --get "http://localhost:8000/api/v1/permissions/roles/super_admin/permissions" \
    =======
        --get "http://localhost:8000/api/v1/permissions/roles/simple_admin/permissions" \
    >>>>>>> dev-master-dev1
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    Example response :
    {
        "data": [
            {
                "id": 1,
                "name": "Liste des Administrateurs",
                "code": "ADMIN_LIST",
                "checked": false,
    <<<<<<< HEAD
                "created_at": "2025-12-13T21:54:45.000000Z",
                "updated_at": "2025-12-13T21:54:45.000000Z"
    =======
                "created_at": "2025-12-10T16:44:18.000000Z",
                "updated_at": "2025-12-10T16:44:18.000000Z"
    >>>>>>> dev-master-dev1
            },
            {
                "id": 1,
                "name": "Liste des Administrateurs",
                "code": "ADMIN_LIST",
                "checked": false,
    <<<<<<< HEAD
                "created_at": "2025-12-13T21:54:45.000000Z",
                "updated_at": "2025-12-13T21:54:45.000000Z"
    =======
                "created_at": "2025-12-10T16:44:18.000000Z",
                "updated_at": "2025-12-10T16:44:18.000000Z"
    >>>>>>> dev-master-dev1
            }
        ]
    }

    Role | Update Permissions

    POST
    http://localhost:8000
    /api/v1/permissions/roles/{guardName}/permissions
    requires authentication

    Update permission for a specific role

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    URL Parameters

    guardName
    enum
    required

    the specified role

    Must be one of:
    • global_admin
    • super_admin
    • simple_admin
    Example:
    global_admin

    Body Parameters

    Example request:
    curl --request POST \
        "http://localhost:8000/api/v1/permissions/roles/global_admin/permissions" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json" \
        --data "{
        \"permissions\": [
            {
    <<<<<<< HEAD
                \"code\": \"ADMIN_EDIT\",
    =======
                \"code\": \"SUBSCRIPTION_DELETE\",
    >>>>>>> dev-master-dev1
                \"value\": true
            }
        ]
    }"
    
    Example response :
    {
        "message": "updated success",
        "status": 200
    }

    UserRole


    UserRole | Get Permissions

    GET
    http://localhost:8000
    /api/v1/permissions/userRole/{userRoleId}/permissions
    requires authentication

    Get all the permissions assigned to a user

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    URL Parameters

    userRoleId
    integer
    required

    the id of user role

    Example:
    17
    Example request:
    curl --request GET \
    <<<<<<< HEAD
        --get "http://localhost:8000/api/v1/permissions/userRole/17/permissions" \
    =======
        --get "http://localhost:8000/api/v1/permissions/userRole/16/permissions" \
    >>>>>>> dev-master-dev1
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    Example response :
    {
        "data": [
            {
                "id": 1,
                "name": "Liste des Administrateurs",
                "code": "ADMIN_LIST",
                "checked": false,
    <<<<<<< HEAD
                "created_at": "2025-12-13T21:54:45.000000Z",
                "updated_at": "2025-12-13T21:54:45.000000Z"
    =======
                "created_at": "2025-12-10T16:44:18.000000Z",
                "updated_at": "2025-12-10T16:44:18.000000Z"
    >>>>>>> dev-master-dev1
            },
            {
                "id": 1,
                "name": "Liste des Administrateurs",
                "code": "ADMIN_LIST",
                "checked": false,
    <<<<<<< HEAD
                "created_at": "2025-12-13T21:54:45.000000Z",
                "updated_at": "2025-12-13T21:54:45.000000Z"
    =======
                "created_at": "2025-12-10T16:44:18.000000Z",
                "updated_at": "2025-12-10T16:44:18.000000Z"
    >>>>>>> dev-master-dev1
            }
        ]
    }

    UserRole | Update Permissions

    POST
    http://localhost:8000
    /api/v1/permissions/userRole/{userRoleId}/permissions
    requires authentication

    assigns all the permissions assigned to a user

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    URL Parameters

    userRoleId
    integer
    required

    the id of user role

    Example:
    17

    Body Parameters

    Example request:
    curl --request POST \
    <<<<<<< HEAD
        "http://localhost:8000/api/v1/permissions/userRole/17/permissions" \
    =======
        "http://localhost:8000/api/v1/permissions/userRole/16/permissions" \
    >>>>>>> dev-master-dev1
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json" \
        --data "{
        \"permissions\": [
            {
    <<<<<<< HEAD
                \"code\": \"CONTRIBUTOR_GROUP_CREATE\",
    =======
                \"code\": \"LIBRARY_EDIT\",
    >>>>>>> dev-master-dev1
                \"value\": true
            }
        ]
    }"
    
    Example response :
    {
        "status": 200,
        "message": "updated successfully"
    }
    {
        "message": "success",
        "status": 200
    }

    Questionnaire

    Mise en place de la gestion des questionnaires

    Theme


    Themes List

    GET
    http://localhost:8000
    /api/v1/questionnaires/{questionnaireId}/themes
    requires authentication

    Questionnaires' themes list

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json
    <<<<<<< HEAD ======= >>>>>>> dev-master-dev1

    URL Parameters

    questionnaireId
    integer
    required

    The id of the questionnaire

    Example:
    <<<<<<< HEAD 17 ======= 16 >>>>>>> dev-master-dev1
    <<<<<<< HEAD ======= >>>>>>> dev-master-dev1
    <<<<<<< HEAD ======= >>>>>>> dev-master-dev1 <<<<<<< HEAD ======= >>>>>>> dev-master-dev1 <<<<<<< HEAD ======= >>>>>>> dev-master-dev1
    <<<<<<< HEAD ======= >>>>>>> dev-master-dev1
    Example request:
    curl --request GET \
    <<<<<<< HEAD
        --get "http://localhost:8000/api/v1/questionnaires/17/themes" \
    =======
        --get "http://localhost:8000/api/v1/questionnaires/16/themes" \
    >>>>>>> dev-master-dev1
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    <<<<<<< HEAD ======= >>>>>>> dev-master-dev1
    Example response :
    <<<<<<< HEAD
    =======
    >>>>>>> dev-master-dev1
    {
        "data": [
            {
                "id": null,
                "questionnaire_id": null,
                "order": null,
                "created_at": null,
                "translations": null
            }
        ],
        "links": {
            "first": "/?page=1",
            "last": "/?page=2",
            "prev": null,
            "next": "/?page=2"
        },
        "meta": {
            "current_page": 1,
            "from": 1,
            "last_page": 2,
            "links": [
                {
                    "url": null,
                    "label": "&laquo; Previous",
                    "active": false
                },
                {
                    "url": "/?page=1",
                    "label": "1",
                    "active": true
                },
                {
                    "url": "/?page=2",
                    "label": "2",
                    "active": false
                },
                {
                    "url": "/?page=2",
                    "label": "Next &raquo;",
                    "active": false
                }
            ],
            "path": "/",
            "per_page": 1,
            "to": 1,
            "total": 2
        }
    }

    Show a Theme

    GET
    http://localhost:8000
    /api/v1/questionnaires/themes/{themeId}
    requires authentication

    show a theme with all it's translations

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json
    <<<<<<< HEAD ======= >>>>>>> dev-master-dev1

    URL Parameters

    themeId
    integer
    required

    the id of the theme to be showned

    Example:
    1
    <<<<<<< HEAD ======= >>>>>>> dev-master-dev1
    <<<<<<< HEAD ======= >>>>>>> dev-master-dev1 <<<<<<< HEAD ======= >>>>>>> dev-master-dev1 <<<<<<< HEAD ======= >>>>>>> dev-master-dev1
    <<<<<<< HEAD ======= >>>>>>> dev-master-dev1
    Example request:
    curl --request GET \
        --get "http://localhost:8000/api/v1/questionnaires/themes/1" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    <<<<<<< HEAD ======= >>>>>>> dev-master-dev1
    Example response :
    <<<<<<< HEAD
    =======
    >>>>>>> dev-master-dev1
    {
        "data": {
            "id": null,
            "questionnaire_id": null,
            "order": null,
            "created_at": null,
            "translations": null
        }
    }

    Delete Theme

    DELETE
    http://localhost:8000
    /api/v1/questionnaires/themes/{themeId}
    requires authentication

    Delete a Theme

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json
    <<<<<<< HEAD ======= >>>>>>> dev-master-dev1

    URL Parameters

    themeId
    integer
    required

    The id of the theme

    Example:
    <<<<<<< HEAD 17 ======= 16 >>>>>>> dev-master-dev1
    <<<<<<< HEAD ======= >>>>>>> dev-master-dev1
    <<<<<<< HEAD ======= >>>>>>> dev-master-dev1 <<<<<<< HEAD ======= >>>>>>> dev-master-dev1 <<<<<<< HEAD ======= >>>>>>> dev-master-dev1
    <<<<<<< HEAD ======= >>>>>>> dev-master-dev1
    Example request:
    curl --request DELETE \
    <<<<<<< HEAD
        "http://localhost:8000/api/v1/questionnaires/themes/17" \
    =======
        "http://localhost:8000/api/v1/questionnaires/themes/16" \
    >>>>>>> dev-master-dev1
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    <<<<<<< HEAD ======= >>>>>>> dev-master-dev1
    Example response :
    <<<<<<< HEAD
    =======
    >>>>>>> dev-master-dev1
    {
        "message": "Theme deleted!"
    }
    <<<<<<< HEAD
    =======
    >>>>>>> dev-master-dev1
    {
        "message": "Not found",
        "status": 404
    }

    Store Theme

    POST
    http://localhost:8000
    /api/v1/questionnaires/{questionnaireId}/theme
    requires authentication

    Store a new theme and it's translations

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json
    <<<<<<< HEAD ======= >>>>>>> dev-master-dev1

    URL Parameters

    questionnaireId
    integer
    required

    Questionnaire id, must exist in the database

    Example:
    11
    <<<<<<< HEAD ======= >>>>>>> dev-master-dev1

    Body Parameters

    <<<<<<< HEAD ======= >>>>>>> dev-master-dev1
    <<<<<<< HEAD ======= >>>>>>> dev-master-dev1 <<<<<<< HEAD ======= >>>>>>> dev-master-dev1 <<<<<<< HEAD ======= >>>>>>> dev-master-dev1 <<<<<<< HEAD ======= >>>>>>> dev-master-dev1
    <<<<<<< HEAD ======= >>>>>>> dev-master-dev1
    Example request:
    curl --request POST \
        "http://localhost:8000/api/v1/questionnaires/11/theme" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json" \
        --data "{
        \"theme_translations\": [
            {
    <<<<<<< HEAD
                \"language_id\": 17,
                \"content\": \"consequatur\"
    =======
                \"language_id\": 16,
                \"content\": \"architecto\"
    >>>>>>> dev-master-dev1
            }
        ]
    }"
    
    <<<<<<< HEAD ======= >>>>>>> dev-master-dev1
    Example response :
    <<<<<<< HEAD
    =======
    >>>>>>> dev-master-dev1
    {
        "message": "Theme created!"
    }

    Update Theme

    PUT
    PATCH
    http://localhost:8000
    /api/v1/questionnaires/themes/{themeId}
    requires authentication

    Update a theme translations

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json
    <<<<<<< HEAD ======= >>>>>>> dev-master-dev1

    URL Parameters

    themeId
    integer
    required

    Id of the theme to be updated , must exist in the database

    Example:
    7
    <<<<<<< HEAD ======= >>>>>>> dev-master-dev1

    Body Parameters

    <<<<<<< HEAD ======= >>>>>>> dev-master-dev1
    <<<<<<< HEAD ======= >>>>>>> dev-master-dev1 <<<<<<< HEAD ======= >>>>>>> dev-master-dev1 <<<<<<< HEAD ======= >>>>>>> dev-master-dev1 <<<<<<< HEAD ======= >>>>>>> dev-master-dev1
    <<<<<<< HEAD ======= >>>>>>> dev-master-dev1
    Example request:
    curl --request PUT \
        "http://localhost:8000/api/v1/questionnaires/themes/7" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json" \
        --data "{
        \"theme_translations\": [
            {
    <<<<<<< HEAD
                \"language_id\": 17,
                \"content\": \"consequatur\"
    =======
                \"language_id\": 16,
                \"content\": \"architecto\"
    >>>>>>> dev-master-dev1
            }
        ]
    }"
    
    <<<<<<< HEAD ======= >>>>>>> dev-master-dev1
    Example response :
    <<<<<<< HEAD
    =======
    >>>>>>> dev-master-dev1
    {
        "message": "Theme updated!"
    }

    Order Up

    POST
    http://localhost:8000
    /api/v1/questionnaires/{questionnaireId}/{themes}/{themeId}/up
    requires authentication

    Order up a theme

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json
    <<<<<<< HEAD ======= >>>>>>> dev-master-dev1
    <<<<<<< HEAD ======= >>>>>>> dev-master-dev1 <<<<<<< HEAD ======= >>>>>>> dev-master-dev1
    <<<<<<< HEAD ======= >>>>>>> dev-master-dev1
    Example request:
    curl --request POST \
        "http://localhost:8000/api/v1/questionnaires/{questionnaireId}/{themes}/{themeId}/up" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    <<<<<<< HEAD ======= >>>>>>> dev-master-dev1

    Order Down

    POST
    http://localhost:8000
    /api/v1/questionnaires/{questionnaireId}/{themes}/{themeId}/down
    requires authentication

    Order up a theme

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json
    <<<<<<< HEAD ======= >>>>>>> dev-master-dev1
    <<<<<<< HEAD ======= >>>>>>> dev-master-dev1 <<<<<<< HEAD ======= >>>>>>> dev-master-dev1
    <<<<<<< HEAD ======= >>>>>>> dev-master-dev1
    Example request:
    curl --request POST \
        "http://localhost:8000/api/v1/questionnaires/{questionnaireId}/{themes}/{themeId}/down" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    <<<<<<< HEAD ======= >>>>>>> dev-master-dev1

    Sub Theme

    Sub Theme |


    List of Sub Theme

    GET
    http://localhost:8000
    /api/v1/questionnaires/{questionnaireId}/themes/{themeId}/subThemes
    requires authentication
    <<<<<<< HEAD ======= >>>>>>> dev-master-dev1

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json
    <<<<<<< HEAD ======= >>>>>>> dev-master-dev1

    URL Parameters

    questionnaireId
    integer
    required

    id of questionnaire

    Example:
    1
    themeId
    integer
    required

    id of questionnaire

    Example:
    1
    <<<<<<< HEAD ======= >>>>>>> dev-master-dev1
    <<<<<<< HEAD ======= >>>>>>> dev-master-dev1 <<<<<<< HEAD ======= >>>>>>> dev-master-dev1 <<<<<<< HEAD ======= >>>>>>> dev-master-dev1
    <<<<<<< HEAD ======= >>>>>>> dev-master-dev1
    Example request:
    curl --request GET \
        --get "http://localhost:8000/api/v1/questionnaires/1/themes/1/subThemes" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    <<<<<<< HEAD ======= >>>>>>> dev-master-dev1
    Example response :
    Headers
    cache-control : no-cache, private content-type : application/json vary : Origin
    <<<<<<< HEAD ======= >>>>>>> dev-master-dev1
    {
        "message": "Unauthenticated."
    }

    Create Sub theme

    POST
    http://localhost:8000
    /api/v1/questionnaires/{questionnaireId}/themes/{themeId}/subThemes
    requires authentication

    Create a new sub theme

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json
    <<<<<<< HEAD ======= >>>>>>> dev-master-dev1

    URL Parameters

    questionnaireId
    integer
    required

    id of questionnaire

    Example:
    1
    themeId
    integer
    required

    id of questionnaire

    Example:
    1
    <<<<<<< HEAD

    Body Parameters

    ======= >>>>>>> dev-master-dev1
    ======= data-hasjsonbody="0"> >>>>>>> dev-master-dev1 <<<<<<< HEAD ======= >>>>>>> dev-master-dev1 <<<<<<< HEAD ======= >>>>>>> dev-master-dev1 <<<<<<< HEAD ======= >>>>>>> dev-master-dev1
    <<<<<<< HEAD ======= >>>>>>> dev-master-dev1
    Example request:
    curl --request POST \
        "http://localhost:8000/api/v1/questionnaires/1/themes/1/subThemes" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
    <<<<<<< HEAD
        --header "Accept: application/json" \
        --data "{
        \"items\": [
            {
                \"language_id\": 17,
                \"name\": \"mqeopfuudtdsufvyvddqa\"
            }
        ]
    }"
    
    ======= --header "Accept: application/json"
    >>>>>>> dev-master-dev1
    <<<<<<< HEAD ======= >>>>>>> dev-master-dev1

    Update a sub theme

    PUT
    PATCH
    http://localhost:8000
    /api/v1/questionnaires/{questionnaireId}/themes/{themeId}/subThemes/{subThemeId}
    requires authentication
    <<<<<<< HEAD ======= >>>>>>> dev-master-dev1

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json
    <<<<<<< HEAD ======= >>>>>>> dev-master-dev1

    URL Parameters

    questionnaireId
    integer
    required

    id of questionnaire

    Example:
    1
    themeId
    integer
    required

    id of questionnaire

    Example:
    1
    subThemeId
    integer
    required

    id of questionnaire

    Example:
    1
    <<<<<<< HEAD ======= >>>>>>> dev-master-dev1
    <<<<<<< HEAD ======= >>>>>>> dev-master-dev1 <<<<<<< HEAD ======= >>>>>>> dev-master-dev1 <<<<<<< HEAD ======= >>>>>>> dev-master-dev1
    <<<<<<< HEAD ======= >>>>>>> dev-master-dev1
    Example request:
    curl --request PUT \
        "http://localhost:8000/api/v1/questionnaires/1/themes/1/subThemes/1" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    <<<<<<< HEAD ======= >>>>>>> dev-master-dev1

    Delete a Subtheme

    DELETE
    http://localhost:8000
    /api/v1/questionnaires/{questionnaireId}/themes/{themeId}/subThemes/{subThemeId}
    requires authentication
    <<<<<<< HEAD ======= >>>>>>> dev-master-dev1

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json
    <<<<<<< HEAD ======= >>>>>>> dev-master-dev1

    URL Parameters

    questionnaireId
    integer
    required

    id of questionnaire

    Example:
    1
    themeId
    integer
    required

    id of questionnaire

    Example:
    1
    subThemeId
    integer
    required

    id of questionnaire

    Example:
    1
    <<<<<<< HEAD ======= >>>>>>> dev-master-dev1
    <<<<<<< HEAD ======= >>>>>>> dev-master-dev1 <<<<<<< HEAD ======= >>>>>>> dev-master-dev1 <<<<<<< HEAD ======= >>>>>>> dev-master-dev1
    <<<<<<< HEAD ======= >>>>>>> dev-master-dev1
    Example request:
    curl --request DELETE \
        "http://localhost:8000/api/v1/questionnaires/1/themes/1/subThemes/1" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    <<<<<<< HEAD ======= >>>>>>> dev-master-dev1

    Questionnaire Design

    List questionnaire designs

    GET
    http://localhost:8000
    /api/v1/questionnaireDesign
    requires authentication

    list of all questionnaire designs in application

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json
    Example request:
    curl --request GET \
        --get "http://localhost:8000/api/v1/questionnaireDesign" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    Example response :
    {
        "data": [
            {
                "id": 1,
                "name": "Classique",
                "is_classic": true,
                "title_color": "#6777ef",
    <<<<<<< HEAD
                "logo": "questionnaireDesign/sS8DnXw07y4og4AY6kMzJjooKV2EjHb4NzH7T6bk.png",
                "logo_url": "http://localhost:8000/storage/questionnaireDesign/sS8DnXw07y4og4AY6kMzJjooKV2EjHb4NzH7T6bk.png",
    =======
                "logo": "questionnaireDesign/2KjaWKT2idr83msMw1jakQfkJCeZgqWn04DiTLMg.png",
                "logo_url": "http://localhost:8000/storage/questionnaireDesign/2KjaWKT2idr83msMw1jakQfkJCeZgqWn04DiTLMg.png",
    >>>>>>> dev-master-dev1
                "background_value": "http://localhost:8000/storage/#f4f6f9",
                "original_background_value": "#f4f6f9",
                "main_button_color": "#6777ef",
                "main_button_text_color": "#ffffff",
                "secondary_button_color": "#fc544b",
                "secondary_button_text_color": "#ffffff",
                "container_color": "#001e7c",
                "progression_bar_free_space_color": "#e9ecef",
                "progression_bar_filled_space_color": "#31bfbf",
                "progression_bar_text_color": "#000000",
                "single_choice_free_space_color": "#e9ecef",
                "single_choice_filled_space_color": "#6777ef",
                "previous_next_button_color": "#31bfbf",
                "previous_next_button_text_color": "#ffffff",
                "container_background_color": "#ffffff",
                "container_opacity": 100,
                "logo_has_border_radius": true,
                "logo_has_border": true,
                "theme_color": "#6777ef",
                "question_text_color": "#34395e",
                "answer_option_color": "#495057",
                "comment_color": "#e83e8c",
                "closing_text_color": "#001e7c",
                "copyright_text": "Copyright © isiQuest 2023",
                "copyright_text_color": "#34395e",
                "vote_end_texts": {
                    "1": "Vote terminé<br>Merci de votre participation",
                    "2": "Vote ended<br>Thanks for participating",
                    "3": "Votación terminada<br>Gracias por participar",
                    "4": "Abstimmung beendet<br>Danke für die Teilnahme",
                    "5": "Votação encerrada<br>Obrigado por participar",
                    "6": "投票结束<br>感谢您的参与",
                    "7": "投票が終了しました<br>ご参加いただきありがとうございます",
                    "8": "Voto terminato<br>Grazie per aver partecipato",
                    "9": "Голосование завершено<br>Спасибо за участие",
                    "10": "Stemmen beëindigd<br>Bedankt voor uw deelname"
                },
    <<<<<<< HEAD
                "created_at": "2025-12-13T21:54:46.000000Z",
                "updated_at": "2025-12-13T21:54:46.000000Z",
    =======
                "created_at": "2025-12-10T16:44:20.000000Z",
                "updated_at": "2025-12-10T16:44:20.000000Z",
    >>>>>>> dev-master-dev1
                "status_id": 1,
                "questionnaire_background_type": {
                    "id": 1,
                    "name": "image",
    <<<<<<< HEAD
                    "created_at": "2025-12-13T16:54:45.000000Z"
    =======
                    "created_at": "2025-12-10T16:44:18.000000Z"
    >>>>>>> dev-master-dev1
                }
            },
            {
                "id": 1,
                "name": "Classique",
                "is_classic": true,
                "title_color": "#6777ef",
    <<<<<<< HEAD
                "logo": "questionnaireDesign/sS8DnXw07y4og4AY6kMzJjooKV2EjHb4NzH7T6bk.png",
                "logo_url": "http://localhost:8000/storage/questionnaireDesign/sS8DnXw07y4og4AY6kMzJjooKV2EjHb4NzH7T6bk.png",
    =======
                "logo": "questionnaireDesign/2KjaWKT2idr83msMw1jakQfkJCeZgqWn04DiTLMg.png",
                "logo_url": "http://localhost:8000/storage/questionnaireDesign/2KjaWKT2idr83msMw1jakQfkJCeZgqWn04DiTLMg.png",
    >>>>>>> dev-master-dev1
                "background_value": "http://localhost:8000/storage/#f4f6f9",
                "original_background_value": "#f4f6f9",
                "main_button_color": "#6777ef",
                "main_button_text_color": "#ffffff",
                "secondary_button_color": "#fc544b",
                "secondary_button_text_color": "#ffffff",
                "container_color": "#001e7c",
                "progression_bar_free_space_color": "#e9ecef",
                "progression_bar_filled_space_color": "#31bfbf",
                "progression_bar_text_color": "#000000",
                "single_choice_free_space_color": "#e9ecef",
                "single_choice_filled_space_color": "#6777ef",
                "previous_next_button_color": "#31bfbf",
                "previous_next_button_text_color": "#ffffff",
                "container_background_color": "#ffffff",
                "container_opacity": 100,
                "logo_has_border_radius": true,
                "logo_has_border": true,
                "theme_color": "#6777ef",
                "question_text_color": "#34395e",
                "answer_option_color": "#495057",
                "comment_color": "#e83e8c",
                "closing_text_color": "#001e7c",
                "copyright_text": "Copyright © isiQuest 2023",
                "copyright_text_color": "#34395e",
                "vote_end_texts": {
                    "1": "Vote terminé<br>Merci de votre participation",
                    "2": "Vote ended<br>Thanks for participating",
                    "3": "Votación terminada<br>Gracias por participar",
                    "4": "Abstimmung beendet<br>Danke für die Teilnahme",
                    "5": "Votação encerrada<br>Obrigado por participar",
                    "6": "投票结束<br>感谢您的参与",
                    "7": "投票が終了しました<br>ご参加いただきありがとうございます",
                    "8": "Voto terminato<br>Grazie per aver partecipato",
                    "9": "Голосование завершено<br>Спасибо за участие",
                    "10": "Stemmen beëindigd<br>Bedankt voor uw deelname"
                },
    <<<<<<< HEAD
                "created_at": "2025-12-13T21:54:46.000000Z",
                "updated_at": "2025-12-13T21:54:46.000000Z",
    =======
                "created_at": "2025-12-10T16:44:20.000000Z",
                "updated_at": "2025-12-10T16:44:20.000000Z",
    >>>>>>> dev-master-dev1
                "status_id": 1,
                "questionnaire_background_type": {
                    "id": 1,
                    "name": "image",
    <<<<<<< HEAD
                    "created_at": "2025-12-13T16:54:45.000000Z"
    =======
                    "created_at": "2025-12-10T16:44:18.000000Z"
    >>>>>>> dev-master-dev1
                }
            }
        ]
    }

    Create a new questionnaire design

    POST
    http://localhost:8000
    /api/v1/questionnaireDesign
    requires authentication

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    multipart/form-data
    Accept
    Example:
    application/json

    Body Parameters

    Example request:
    curl --request POST \
        "http://localhost:8000/api/v1/questionnaireDesign" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: multipart/form-data" \
        --header "Accept: application/json" \
        --form "name="\
        --form "title_color=#ccc"\
        --form "is_background_image="\
        --form "background_color=#ccc"\
        --form "main_button_color=#ccc"\
        --form "main_button_text_color=#ccc"\
        --form "secondary_button_color=#ccc"\
        --form "secondary_button_text_color=#ccc"\
        --form "container_color=#ccc"\
        --form "progression_bar_free_space_color=#ccc"\
        --form "progression_bar_filled_space_color=#ccc"\
        --form "progression_bar_text_color=#ccc"\
        --form "single_choice_free_space_color=#ccc"\
        --form "single_choice_filled_space_color=#ccc"\
        --form "previous_next_button_color=#ccc"\
        --form "previous_next_button_text_color=#ccc"\
        --form "container_background_color=#ccc"\
        --form "container_opacity=2"\
        --form "logo_has_border_radius=1"\
        --form "logo_has_border=1"\
        --form "theme_color=#ccc"\
        --form "question_text_color=#ccc"\
        --form "closing_text_color=#ccc"\
        --form "answer_option_color=#ccc"\
        --form "comment_color=#ccc"\
        --form "copyright_text=#ccc"\
        --form "copyright_text_color=#ccc"\
    <<<<<<< HEAD
        --form "vote_end_texts[][language_id]=17"\
        --form "vote_end_texts[][text]=consequatur"\
        --form "logo=@C:\Users\geves\AppData\Local\Temp\phpBF2.tmp" \
        --form "background_image=@C:\Users\geves\AppData\Local\Temp\phpBF3.tmp" 
    ======= --form "vote_end_texts[][language_id]=16"\ --form "vote_end_texts[][text]=architecto"\ --form "logo=@/tmp/php1d8apa6fmu5ad7I47gV" \ --form "background_image=@/tmp/phpei6lp9s8gdbp48NpGu1"
    >>>>>>> dev-master-dev1

    Detail of a questionnaire design

    GET
    http://localhost:8000
    /api/v1/questionnaireDesign/{questionnaireDesignId}
    requires authentication

    Get a detail for a specific questionnaire design

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    URL Parameters

    questionnaireDesignId
    integer
    required

    id of questionnaire design

    Example:
    1
    Example request:
    curl --request GET \
        --get "http://localhost:8000/api/v1/questionnaireDesign/1" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    Example response :
    {
        "data": {
            "id": 1,
            "name": "Classique",
            "is_classic": true,
            "title_color": "#6777ef",
    <<<<<<< HEAD
            "logo": "questionnaireDesign/sS8DnXw07y4og4AY6kMzJjooKV2EjHb4NzH7T6bk.png",
            "logo_url": "http://localhost:8000/storage/questionnaireDesign/sS8DnXw07y4og4AY6kMzJjooKV2EjHb4NzH7T6bk.png",
    =======
            "logo": "questionnaireDesign/2KjaWKT2idr83msMw1jakQfkJCeZgqWn04DiTLMg.png",
            "logo_url": "http://localhost:8000/storage/questionnaireDesign/2KjaWKT2idr83msMw1jakQfkJCeZgqWn04DiTLMg.png",
    >>>>>>> dev-master-dev1
            "background_value": "http://localhost:8000/storage/#f4f6f9",
            "original_background_value": "#f4f6f9",
            "main_button_color": "#6777ef",
            "main_button_text_color": "#ffffff",
            "secondary_button_color": "#fc544b",
            "secondary_button_text_color": "#ffffff",
            "container_color": "#001e7c",
            "progression_bar_free_space_color": "#e9ecef",
            "progression_bar_filled_space_color": "#31bfbf",
            "progression_bar_text_color": "#000000",
            "single_choice_free_space_color": "#e9ecef",
            "single_choice_filled_space_color": "#6777ef",
            "previous_next_button_color": "#31bfbf",
            "previous_next_button_text_color": "#ffffff",
            "container_background_color": "#ffffff",
            "container_opacity": 100,
            "logo_has_border_radius": true,
            "logo_has_border": true,
            "theme_color": "#6777ef",
            "question_text_color": "#34395e",
            "answer_option_color": "#495057",
            "comment_color": "#e83e8c",
            "closing_text_color": "#001e7c",
            "copyright_text": "Copyright © isiQuest 2023",
            "copyright_text_color": "#34395e",
            "vote_end_texts": {
                "1": "Vote terminé<br>Merci de votre participation",
                "2": "Vote ended<br>Thanks for participating",
                "3": "Votación terminada<br>Gracias por participar",
                "4": "Abstimmung beendet<br>Danke für die Teilnahme",
                "5": "Votação encerrada<br>Obrigado por participar",
                "6": "投票结束<br>感谢您的参与",
                "7": "投票が終了しました<br>ご参加いただきありがとうございます",
                "8": "Voto terminato<br>Grazie per aver partecipato",
                "9": "Голосование завершено<br>Спасибо за участие",
                "10": "Stemmen beëindigd<br>Bedankt voor uw deelname"
            },
    <<<<<<< HEAD
            "created_at": "2025-12-13T21:54:46.000000Z",
            "updated_at": "2025-12-13T21:54:46.000000Z",
    =======
            "created_at": "2025-12-10T16:44:20.000000Z",
            "updated_at": "2025-12-10T16:44:20.000000Z",
    >>>>>>> dev-master-dev1
            "status_id": 1,
            "questionnaire_background_type": {
                "id": 1,
                "name": "image",
    <<<<<<< HEAD
                "created_at": "2025-12-13T16:54:45.000000Z"
    =======
                "created_at": "2025-12-10T16:44:18.000000Z"
    >>>>>>> dev-master-dev1
            }
        }
    }

    Update a questionnaire Design

    PUT
    PATCH
    http://localhost:8000
    /api/v1/questionnaireDesign/{questionnaireDesignId}
    requires authentication

    Update a questionnaire design

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    URL Parameters

    questionnaireDesignId
    integer
    required

    id of questionnaire design

    Example:
    1

    Body Parameters

    Example request:
    curl --request PUT \
        "http://localhost:8000/api/v1/questionnaireDesign/1" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json" \
        --data "{
        \"name\": \"dedede\",
        \"title_color\": \"#ccc\",
    <<<<<<< HEAD
        \"is_background_image\": true,
    =======
        \"is_background_image\": false,
    >>>>>>> dev-master-dev1
        \"background_color\": \"#ccc\",
        \"main_button_color\": \"#ccc\",
        \"main_button_text_color\": \"#ccc\",
        \"secondary_button_color\": \"#ccc\",
        \"secondary_button_text_color\": \"#ccc\",
        \"container_color\": \"#ccc\",
        \"progression_bar_free_space_color\": \"#ccc\",
        \"progression_bar_filled_space_color\": \"#ccc\",
        \"progression_bar_text_color\": \"#ccc\",
        \"single_choice_free_space_color\": \"#ccc\",
        \"single_choice_filled_space_color\": \"#ccc\",
        \"previous_next_button_color\": \"#ccc\",
        \"previous_next_button_text_color\": \"#ccc\",
        \"container_background_color\": \"#ccc\",
        \"container_opacity\": 2,
        \"logo_has_border_radius\": true,
        \"logo_has_border\": true,
        \"theme_color\": \"#ccc\",
        \"question_text_color\": \"#ccc\",
        \"closing_text_color\": \"#ccc\",
        \"answer_option_color\": \"#ccc\",
        \"comment_color\": \"#ccc\",
        \"copyright_text\": \"#ccc\",
        \"copyright_text_color\": \"#ccc\",
        \"vote_end_texts\": [
            {
    <<<<<<< HEAD
                \"language_id\": 17,
                \"text\": \"consequatur\"
    =======
                \"language_id\": 16,
                \"text\": \"architecto\"
    >>>>>>> dev-master-dev1
            }
        ]
    }"
    
    Example response :
    {
        "message": "questionnaire design updated!"
    }

    Destroy a questionnaire design

    DELETE
    http://localhost:8000
    /api/v1/questionnaireDesign/{questionnaireDesignId}
    requires authentication

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    URL Parameters

    questionnaireDesign
    integer
    required

    id of questionnaire design

    Example:
    1
    Example request:
    curl --request DELETE \
        "http://localhost:8000/api/v1/questionnaireDesign/1" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    Example response :
    {
        "message": "design deleted!"
    }
    {
        "message": "Cannot delete classic design"
    }
    {
        "message": "Questionnaire design not found"
    }

    Get vote end texts

    GET
    http://localhost:8000
    /api/v1/questionnaireDesign/voteEndTexts
    requires authentication

    Get vote end texts for all languages

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json
    Example request:
    curl --request GET \
        --get "http://localhost:8000/api/v1/questionnaireDesign/voteEndTexts" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    Example response :
    {
        "data": {
            "1": "Questionnaire terminer <br> merci de votre participation",
            "2": "Questionnaire end <br> thank you for your participation",
            "3": "cuestionario terminado <br> gracias por su participación",
            "4": "Fragebogen beendet <br> danke für ihre teilnahme",
            "5": "questionário terminado <br> obrigado por sua participação",
            "6": "问卷结束 <br> 感谢您的参与",
            "7": "アンケート終了 <br> ご参加ありがとうございました",
            "8": "questionario terminato <br> grazie per la tua participation",
            "9": "опрос завершен <br> спасибо за ваше участие",
            "10": "vragenlijst beëindigd <br> bedankt voor uw deelname"
        }
    }

    Copy


    Copy Design

    POST
    http://localhost:8000
    /api/v1/questionnaireDesign/{questionnaireDesignId}/copy
    requires authentication

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    URL Parameters

    questionnaireDesignId
    integer
    required

    id of design

    Example:
    17

    Body Parameters

    Example request:
    curl --request POST \
    <<<<<<< HEAD
        "http://localhost:8000/api/v1/questionnaireDesign/17/copy" \
    =======
        "http://localhost:8000/api/v1/questionnaireDesign/16/copy" \
    >>>>>>> dev-master-dev1
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json" \
        --data "{
        \"name\": \"consequatur\"
    }"
    
    Example response :
    {
        "message": "copied"
    }

    Report Design

    List all report design

    GET
    http://localhost:8000
    /api/v1/reportDesign
    requires authentication

    List of report designs in application

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    Query Parameters

    scope
    string

    Filter the design by is scope

    Must be one of:
    • generic
    • specific
    Example:
    generic
    Example request:
    curl --request GET \
        --get "http://localhost:8000/api/v1/reportDesign?scope=generic" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    Example response :
    {
        "data": [
            {
                "id": 1,
                "name": "Classique",
                "color_graph": [
                    "#6777EF",
                    "#6777EF",
                    "#6777EF",
                    "#6777EF",
                    "#6777EF",
                    "#6777EF",
                    "#6777EF",
                    "#6777EF",
                    "#6777EF",
                    "#6777EF",
                    "#6777EF",
                    "#6777EF",
                    "#6777EF",
                    "#6777EF",
                    "#6777EF",
                    "#6777EF",
                    "#6777EF",
                    "#6777EF",
                    "#6777EF",
                    "#6777EF"
                ],
                "is_classic": true,
                "color_title_cover": "#000000",
                "color_title_section": "#001E7C",
                "color_title_subtitle1": "#000000",
                "color_title_subtitle2": "#000000",
                "color_title_subtitle3": "#000000",
                "color_title_footer_text": "#FFFFFF",
                "color_title_footer_bg": "#6777EF",
                "color_vote_percent_donut_chart": "#FFFFFF",
                "open_question_odd_line_color": "#E9ECEF",
                "open_question_odd_line_text_color": "#000000",
                "open_question_even_line_color": "#FFFFFF",
                "open_question_even_line_text_color": "#000000",
                "prioritization_header_color": "#6777EF",
                "prioritization_header_text_color": "#FFFFFF",
                "prioritization_odd_line_color": "#E9ECEF",
                "prioritization_odd_line_text_color": "#000000",
                "prioritization_even_line_color": "#FFFFFF",
                "prioritization_even_line_text_color": "#000000",
                "color_question_title": "#001E7C",
    <<<<<<< HEAD
                "created_at": "2025-12-13T21:54:47.000000Z",
                "updated_at": "2025-12-13T21:54:47.000000Z",
    =======
                "created_at": "2025-12-10T16:44:20.000000Z",
                "updated_at": "2025-12-10T16:44:20.000000Z",
    >>>>>>> dev-master-dev1
                "report_design_scope_id": 1,
                "report_preview_url": "http://localhost:8000/api/v1/reportDesign/1/previewPdf"
            },
            {
                "id": 1,
                "name": "Classique",
                "color_graph": [
                    "#6777EF",
                    "#6777EF",
                    "#6777EF",
                    "#6777EF",
                    "#6777EF",
                    "#6777EF",
                    "#6777EF",
                    "#6777EF",
                    "#6777EF",
                    "#6777EF",
                    "#6777EF",
                    "#6777EF",
                    "#6777EF",
                    "#6777EF",
                    "#6777EF",
                    "#6777EF",
                    "#6777EF",
                    "#6777EF",
                    "#6777EF",
                    "#6777EF"
                ],
                "is_classic": true,
                "color_title_cover": "#000000",
                "color_title_section": "#001E7C",
                "color_title_subtitle1": "#000000",
                "color_title_subtitle2": "#000000",
                "color_title_subtitle3": "#000000",
                "color_title_footer_text": "#FFFFFF",
                "color_title_footer_bg": "#6777EF",
                "color_vote_percent_donut_chart": "#FFFFFF",
                "open_question_odd_line_color": "#E9ECEF",
                "open_question_odd_line_text_color": "#000000",
                "open_question_even_line_color": "#FFFFFF",
                "open_question_even_line_text_color": "#000000",
                "prioritization_header_color": "#6777EF",
                "prioritization_header_text_color": "#FFFFFF",
                "prioritization_odd_line_color": "#E9ECEF",
                "prioritization_odd_line_text_color": "#000000",
                "prioritization_even_line_color": "#FFFFFF",
                "prioritization_even_line_text_color": "#000000",
                "color_question_title": "#001E7C",
    <<<<<<< HEAD
                "created_at": "2025-12-13T21:54:47.000000Z",
                "updated_at": "2025-12-13T21:54:47.000000Z",
    =======
                "created_at": "2025-12-10T16:44:20.000000Z",
                "updated_at": "2025-12-10T16:44:20.000000Z",
    >>>>>>> dev-master-dev1
                "report_design_scope_id": 1,
                "report_preview_url": "http://localhost:8000/api/v1/reportDesign/1/previewPdf"
            }
        ]
    }

    Create new report design

    POST
    http://localhost:8000
    /api/v1/reportDesign
    requires authentication

    Store a report design

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    Body Parameters

    Example request:
    curl --request POST \
        "http://localhost:8000/api/v1/reportDesign" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json" \
        --data "{
        \"color_name\": \"consequatur\",
        \"color_title_cover\": \"consequatur\",
        \"color_title_footer_bg\": \"consequatur\",
        \"color_title_footer_text\": \"consequatur\",
        \"color_title_section\": \"consequatur\",
        \"color_title_subtitle1\": \"consequatur\",
        \"color_title_subtitle2\": \"consequatur\",
        \"color_title_subtitle3\": \"consequatur\",
        \"color_vote_percent_donut_chart\": \"consequatur\",
        \"color_graph\": [
            \"consequatur\"
        ],
        \"is_generic\": true,
        \"open_questions_odd_line_color\": \"consequatur\",
        \"open_questions_odd_line_text_color\": \"consequatur\",
        \"open_questions_even_line_color\": \"consequatur\",
        \"open_questions_even_line_text_color\": \"consequatur\",
        \"prioritization_header_color\": \"consequatur\",
        \"prioritization_header_text_color\": \"consequatur\",
        \"prioritization_odd_line_color\": \"consequatur\",
        \"prioritization_odd_line_text_color\": \"consequatur\",
        \"prioritization_even_line_color\": \"consequatur\",
        \"prioritization_even_line_text_color\": \"consequatur\",
        \"color_questions_title\": \"consequatur\"
    }"
    
    Example response :
    {
        "message": "design created"
    }
    {
        "data": [
            {
                "id": 1,
                "name": "Classique",
                "color_graph": [
                    "#6777EF",
                    "#6777EF",
                    "#6777EF",
                    "#6777EF",
                    "#6777EF",
                    "#6777EF",
                    "#6777EF",
                    "#6777EF",
                    "#6777EF",
                    "#6777EF",
                    "#6777EF",
                    "#6777EF",
                    "#6777EF",
                    "#6777EF",
                    "#6777EF",
                    "#6777EF",
                    "#6777EF",
                    "#6777EF",
                    "#6777EF",
                    "#6777EF"
                ],
                "is_classic": true,
                "color_title_cover": "#000000",
                "color_title_section": "#001E7C",
                "color_title_subtitle1": "#000000",
                "color_title_subtitle2": "#000000",
                "color_title_subtitle3": "#000000",
                "color_title_footer_text": "#FFFFFF",
                "color_title_footer_bg": "#6777EF",
                "color_vote_percent_donut_chart": "#FFFFFF",
                "open_question_odd_line_color": "#E9ECEF",
                "open_question_odd_line_text_color": "#000000",
                "open_question_even_line_color": "#FFFFFF",
                "open_question_even_line_text_color": "#000000",
                "prioritization_header_color": "#6777EF",
                "prioritization_header_text_color": "#FFFFFF",
                "prioritization_odd_line_color": "#E9ECEF",
                "prioritization_odd_line_text_color": "#000000",
                "prioritization_even_line_color": "#FFFFFF",
                "prioritization_even_line_text_color": "#000000",
                "color_question_title": "#001E7C",
    <<<<<<< HEAD
                "created_at": "2025-12-13T21:54:47.000000Z",
                "updated_at": "2025-12-13T21:54:47.000000Z",
    =======
                "created_at": "2025-12-10T16:44:20.000000Z",
                "updated_at": "2025-12-10T16:44:20.000000Z",
    >>>>>>> dev-master-dev1
                "report_design_scope_id": 1,
                "report_preview_url": "http://localhost:8000/api/v1/reportDesign/1/previewPdf"
            },
            {
                "id": 1,
                "name": "Classique",
                "color_graph": [
                    "#6777EF",
                    "#6777EF",
                    "#6777EF",
                    "#6777EF",
                    "#6777EF",
                    "#6777EF",
                    "#6777EF",
                    "#6777EF",
                    "#6777EF",
                    "#6777EF",
                    "#6777EF",
                    "#6777EF",
                    "#6777EF",
                    "#6777EF",
                    "#6777EF",
                    "#6777EF",
                    "#6777EF",
                    "#6777EF",
                    "#6777EF",
                    "#6777EF"
                ],
                "is_classic": true,
                "color_title_cover": "#000000",
                "color_title_section": "#001E7C",
                "color_title_subtitle1": "#000000",
                "color_title_subtitle2": "#000000",
                "color_title_subtitle3": "#000000",
                "color_title_footer_text": "#FFFFFF",
                "color_title_footer_bg": "#6777EF",
                "color_vote_percent_donut_chart": "#FFFFFF",
                "open_question_odd_line_color": "#E9ECEF",
                "open_question_odd_line_text_color": "#000000",
                "open_question_even_line_color": "#FFFFFF",
                "open_question_even_line_text_color": "#000000",
                "prioritization_header_color": "#6777EF",
                "prioritization_header_text_color": "#FFFFFF",
                "prioritization_odd_line_color": "#E9ECEF",
                "prioritization_odd_line_text_color": "#000000",
                "prioritization_even_line_color": "#FFFFFF",
                "prioritization_even_line_text_color": "#000000",
                "color_question_title": "#001E7C",
    <<<<<<< HEAD
                "created_at": "2025-12-13T21:54:47.000000Z",
                "updated_at": "2025-12-13T21:54:47.000000Z",
    =======
                "created_at": "2025-12-10T16:44:20.000000Z",
                "updated_at": "2025-12-10T16:44:20.000000Z",
    >>>>>>> dev-master-dev1
                "report_design_scope_id": 1,
                "report_preview_url": "http://localhost:8000/api/v1/reportDesign/1/previewPdf"
            }
        ]
    }

    Detail of one report

    GET
    http://localhost:8000
    /api/v1/reportDesign/{reportDesignId}
    requires authentication

    Get a detail for a specific report design

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    URL Parameters

    reportDesignId
    integer
    required

    Id of report design

    Example:
    1
    Example request:
    curl --request GET \
        --get "http://localhost:8000/api/v1/reportDesign/1" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    Example response :
    {
        "data": {
            "id": 1,
            "name": "Classique",
            "color_graph": [
                "#6777EF",
                "#6777EF",
                "#6777EF",
                "#6777EF",
                "#6777EF",
                "#6777EF",
                "#6777EF",
                "#6777EF",
                "#6777EF",
                "#6777EF",
                "#6777EF",
                "#6777EF",
                "#6777EF",
                "#6777EF",
                "#6777EF",
                "#6777EF",
                "#6777EF",
                "#6777EF",
                "#6777EF",
                "#6777EF"
            ],
            "is_classic": true,
            "color_title_cover": "#000000",
            "color_title_section": "#001E7C",
            "color_title_subtitle1": "#000000",
            "color_title_subtitle2": "#000000",
            "color_title_subtitle3": "#000000",
            "color_title_footer_text": "#FFFFFF",
            "color_title_footer_bg": "#6777EF",
            "color_vote_percent_donut_chart": "#FFFFFF",
            "open_question_odd_line_color": "#E9ECEF",
            "open_question_odd_line_text_color": "#000000",
            "open_question_even_line_color": "#FFFFFF",
            "open_question_even_line_text_color": "#000000",
            "prioritization_header_color": "#6777EF",
            "prioritization_header_text_color": "#FFFFFF",
            "prioritization_odd_line_color": "#E9ECEF",
            "prioritization_odd_line_text_color": "#000000",
            "prioritization_even_line_color": "#FFFFFF",
            "prioritization_even_line_text_color": "#000000",
            "color_question_title": "#001E7C",
    <<<<<<< HEAD
            "created_at": "2025-12-13T21:54:47.000000Z",
            "updated_at": "2025-12-13T21:54:47.000000Z",
    =======
            "created_at": "2025-12-10T16:44:20.000000Z",
            "updated_at": "2025-12-10T16:44:20.000000Z",
    >>>>>>> dev-master-dev1
            "report_design_scope_id": 1,
            "report_preview_url": "http://localhost:8000/api/v1/reportDesign/1/previewPdf"
        }
    }

    Update report design

    PUT
    PATCH
    http://localhost:8000
    /api/v1/reportDesign/{reportDesignId}
    requires authentication

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    URL Parameters

    reportDesignId
    integer
    required

    id of report design

    Example:
    1

    Body Parameters

    Example request:
    curl --request PUT \
        "http://localhost:8000/api/v1/reportDesign/1" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json" \
        --data "{
        \"color_name\": \"consequatur\",
        \"color_title_cover\": \"consequatur\",
        \"color_title_footer_bg\": \"consequatur\",
        \"color_title_footer_text\": \"consequatur\",
        \"color_title_section\": \"consequatur\",
        \"color_title_subtitle1\": \"consequatur\",
        \"color_title_subtitle2\": \"consequatur\",
        \"color_title_subtitle3\": \"consequatur\",
        \"color_vote_percent_donut_chart\": \"consequatur\",
        \"color_graph\": [
            \"consequatur\"
        ],
        \"is_generic\": false,
    <<<<<<< HEAD
        \"open_questions_odd_line_color\": \"consequatur\",
        \"open_questions_odd_line_text_color\": \"consequatur\",
        \"open_questions_even_line_color\": \"consequatur\",
        \"open_questions_even_line_text_color\": \"consequatur\",
        \"prioritization_header_color\": \"consequatur\",
        \"prioritization_header_text_color\": \"consequatur\",
        \"prioritization_odd_line_color\": \"consequatur\",
        \"prioritization_odd_line_text_color\": \"consequatur\",
        \"prioritization_even_line_color\": \"consequatur\",
        \"prioritization_even_line_text_color\": \"consequatur\",
        \"color_questions_title\": \"consequatur\"
    =======
        \"open_questions_odd_line_color\": \"architecto\",
        \"open_questions_odd_line_text_color\": \"architecto\",
        \"open_questions_even_line_color\": \"architecto\",
        \"open_questions_even_line_text_color\": \"architecto\",
        \"prioritization_header_color\": \"architecto\",
        \"prioritization_header_text_color\": \"architecto\",
        \"prioritization_odd_line_color\": \"architecto\",
        \"prioritization_odd_line_text_color\": \"architecto\",
        \"prioritization_even_line_color\": \"architecto\",
        \"prioritization_even_line_text_color\": \"architecto\",
        \"color_questions_title\": \"architecto\"
    >>>>>>> dev-master-dev1
    }"
    
    Example response :
    {
        "message": "design updated!"
    }

    Delete report design

    DELETE
    http://localhost:8000
    /api/v1/reportDesign/{reportDesignId}
    requires authentication

    Delete a specific report design

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    URL Parameters

    reportDesignId
    integer
    required

    id of report design

    Example:
    1
    Example request:
    curl --request DELETE \
        "http://localhost:8000/api/v1/reportDesign/1" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    Example response :
    {
        "message": "design deleted!"
    }

    Copy report design

    POST
    http://localhost:8000
    /api/v1/reportDesign/{reportDesign}/copy
    requires authentication

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    URL Parameters

    reportDesign
    integer
    required

    id of report design

    Example:
    1

    Body Parameters

    Example request:
    curl --request POST \
        "http://localhost:8000/api/v1/reportDesign/1/copy" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json" \
        --data "{
    <<<<<<< HEAD
        \"name\": \"consequatur\",
    =======
        \"name\": \"architecto\",
    >>>>>>> dev-master-dev1
        \"is_generic\": true
    }"
    
    Example response :
    {
        "message": "copied"
    }

    Statistic Data

    GET
    http://localhost:8000
    /api/v1/reportDesign/{reportDesign}/statisticData
    requires authentication

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    URL Parameters

    reportDesign
    integer
    required

    id of report design

    Example:
    1
    Example request:
    curl --request GET \
        --get "http://localhost:8000/api/v1/reportDesign/1/statisticData" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    Example response :
    {
        "message": "copied"
    }

    Sondage

    Voter

    endpoint for voter


    POST api/v1/login/anonymous/{token}/access

    POST
    http://localhost:8000
    /api/v1/login/anonymous/{token}/access
    requires authentication

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    URL Parameters

    token
    string
    required

    token

    Example:
    $394dqendiqenidqe
    Example request:
    curl --request POST \
        "http://localhost:8000/api/v1/login/anonymous/4dqendiqenidqe/access" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    Example response :

    POST api/v1/login/nominative/{token}/access

    POST
    http://localhost:8000
    /api/v1/login/nominative/{token}/access
    requires authentication

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    URL Parameters

    token
    string
    required

    token

    Example:
    $394dqendiqenidqe
    Example request:
    curl --request POST \
        "http://localhost:8000/api/v1/login/nominative/4dqendiqenidqe/access" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    Example response :

    POST api/v1/login/nominative/{token}/accessRefusal

    POST
    http://localhost:8000
    /api/v1/login/nominative/{token}/accessRefusal
    requires authentication

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    URL Parameters

    token
    string
    required

    Jeton encodé pour identifiant votant nominatif

    Example:
    c29tZS10b2tlbg==
    Example request:
    curl --request POST \
        "http://localhost:8000/api/v1/login/nominative/c29tZS10b2tlbg==/accessRefusal" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    Example response :

    Allows an anonymous voter to refuse to vote only during the voting or reminder phase.

    POST
    http://localhost:8000
    /api/v1/login/anonymous/{token}/accessRefusal
    requires authentication

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    URL Parameters

    token
    string
    required

    token

    Example:
    $394dqendiqenidqe
    Example request:
    curl --request POST \
        "http://localhost:8000/api/v1/login/anonymous/4dqendiqenidqe/accessRefusal" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    Example response :

    POST api/v1/login/questionnaires/{token}/access

    POST
    http://localhost:8000
    /api/v1/login/questionnaires/{token}/access
    requires authentication

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    URL Parameters

    token
    string
    required

    token

    Example:
    $394dqendiqenidqe
    Example request:
    curl --request POST \
        "http://localhost:8000/api/v1/login/questionnaires/4dqendiqenidqe/access" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    Example response :

    Update profile <<<<<<< HEAD

    POST
    PUT
    http://localhost:8000
    /api/v1/dashboard/voters/profile/update
    requires authentication

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    Body Parameters

    Example request:
    curl --request POST \
        "http://localhost:8000/api/v1/dashboard/voters/profile/update" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json" \
        --data "{
        \"name\": \"vmqeopfuudtdsufvyvddq\",
        \"surname\": \"amniihfqcoynlazghdtqt\",
        \"generic_language_id\": \"consequatur\"
    }"
    
    Example response :
    {
        "message": "success",
        "status": 200
    }

    Regenerate vote

    POST
    http://localhost:8000
    /api/v1/questionnaires/{questionnaireId}/access/{voterQuestionnaireId}/regenerate
    requires authentication

    Reset voter answers

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    URL Parameters

    questionnaireId
    integer
    required

    id of questionnaire

    Example:
    1
    Example request:
    curl --request POST \
        "http://localhost:8000/api/v1/questionnaires/1/access/1/regenerate" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    Example response :
    {
        "message": "success",
        "status": 200
    }
    {
        "data": [
            {
                "id": null,
                "email": null,
                "access_type_id": null,
                "status_id": null,
                "company_id": null,
                "created_at": null,
                "properties": [],
                "generic_language_id": null,
                "revert_deletion_type": null
            },
            {
                "id": null,
                "email": null,
                "access_type_id": null,
                "status_id": null,
                "company_id": null,
                "created_at": null,
                "properties": [],
                "generic_language_id": null,
                "revert_deletion_type": null
            }
        ]
    }

    list all ======= >>>>>>> dev-master-dev1

    <<<<<<< HEAD
    >>>>>> dev-master-dev1 class="sl-stack sl-stack--horizontal sl-stack--3 sl-inline-flex sl-flex-row sl-items-center sl-max-w-full sl-font-mono sl-py-2 sl-pr-4 sl-bg-canvas-50 sl-rounded-lg" >
    POST
    PUT
    http://localhost:8000
    <<<<<<< HEAD
    /api/v1/voters/questionnaires/{questionnaireId}/voters
    =======
    /api/v1/dashboard/voters/profile/update
    >>>>>>> dev-master-dev1
    requires authentication
    <<<<<<< HEAD

    endpoint for voter list

    ======= >>>>>>> dev-master-dev1

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    Body Parameters

    Example request:
    curl --request POST \
        "http://localhost:8000/api/v1/dashboard/voters/profile/update" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json" \
        --data "{
        \"name\": \"b\",
        \"surname\": \"n\",
        \"generic_language_id\": \"architecto\"
    }"
    
    Example response :
    {
        "message": "success",
        "status": 200
    }

    Regenerate vote

    POST
    http://localhost:8000
    /api/v1/questionnaires/{questionnaireId}/access/{voterQuestionnaireId}/regenerate
    requires authentication

    Reset voter answers

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    URL Parameters

    questionnaireId
    integer
    required

    id of questionnaire

    Example:
    1
    Example request:
    curl --request POST \
        "http://localhost:8000/api/v1/questionnaires/1/access/1/regenerate" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    Example response :
    {
        "message": "success",
        "status": 200
    }
    {
        "data": [
            {
                "id": null,
                "email": null,
                "access_type_id": null,
                "status_id": null,
                "company_id": null,
                "created_at": null,
                "properties": [],
                "generic_language_id": null,
                "revert_deletion_type": null
            },
            {
                "id": null,
                "email": null,
                "access_type_id": null,
                "status_id": null,
                "company_id": null,
                "created_at": null,
                "properties": [],
                "generic_language_id": null,
                "revert_deletion_type": null
            }
        ]
    }

    list all

    GET
    http://localhost:8000
    /api/v1/voters/questionnaires/{questionnaireId}/voters
    requires authentication

    endpoint for voter list

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    URL Parameters

    companyId
    integer
    required

    id of company

    Example:
    1
    questionnaireId
    integer
    required

    id of questionnaire

    Example:
    1
    Example request:
    curl --request GET \
        --get "http://localhost:8000/api/v1/voters/questionnaires/1/voters" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    Example response :
    {
        "data": [
            {
                "id": null,
                "email": null,
                "access_type_id": null,
                "status_id": null,
                "company_id": null,
                "created_at": null,
                "properties": [],
                "generic_language_id": null,
                "revert_deletion_type": null
            },
            {
                "id": null,
                "email": null,
                "access_type_id": null,
                "status_id": null,
                "company_id": null,
                "created_at": null,
                "properties": [],
                "generic_language_id": null,
                "revert_deletion_type": null
            }
        ]
    }
    {
        "message": "questionnaire not exists",
        "errors": {
            "questionnaire": [
                "invalid questionnaire"
            ]
        }
    }

    create a new voter

    POST
    http://localhost:8000
    /api/v1/voters/questionnaire/{questionnaireId}/store
    requires authentication

    endpoint for create new voter

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    URL Parameters

    accessType
    string
    required

    type of access

    Must be one of:
    • nominative
    • anonymous_auto_generated
    Example:
    nominative

    Query Parameters

    emailLang
    string
    required

    lang of email

    Must be one of:
    • French
    • English
    • Spanish
    • German
    • Portuguese
    • Chinese
    • Japanese
    • Italy
    • Russian
    • Dutch
    Example:
    French

    Body Parameters

    Example request:
    curl --request POST \
        "http://localhost:8000/api/v1/voters/questionnaire/1/store?emailLang=French" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json" \
        --data "{
        \"email\": \"qkunze@example.com\",
        \"questionnaire_id\": \"consequatur\"
    }"
    
    Example response :
    {
        "message": "success"
    }
    {
        "message": "questionnaire not found"
    }
    {
        "message": "validation errors",
        "errors": {
            "questionnaire": [
                "access type is invalid"
            ]
        }
    }

    Append voter

    POST
    http://localhost:8000
    /api/v1/voters/{voterId}/questionnaires/{questionnaireId}/append
    requires authentication

    append voter to add questionnaire

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    URL Parameters

    voterId
    integer
    required

    id of the voter

    Example:
    1
    questionnaireId
    integer
    required

    id of questionnaire to add to

    Example:
    1
    Example request:
    curl --request POST \
        "http://localhost:8000/api/v1/voters/1/questionnaires/1/append" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    Example response :
    {
        "message": "success",
        "status": 200
    }

    Remove voter

    POST
    http://localhost:8000
    /api/v1/voters/questionnaires/{voterQuestionnaireId}/remove
    requires authentication

    remove voter from questionnaire

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    URL Parameters

    voterId
    integer
    required

    id of the voter

    Example:
    1
    questionnaireId
    integer
    required

    id of questionnaire to add to

    Example:
    1
    Example request:
    curl --request POST \
        "http://localhost:8000/api/v1/voters/questionnaires/1/remove" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    Example response :
    {
        "message": "success",
        "status": 200
    }

    Deactivate voter

    POST
    http://localhost:8000
    /api/v1/voters/questionnaires/{voterQuestionnaireId}/deactivate
    requires authentication

    Deactivate a voter questionnaire

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    URL Parameters

    voterQuestionnaireId
    integer
    required

    id of the voter questionnaire

    Example:
    1
    Example request:
    curl --request POST \
        "http://localhost:8000/api/v1/voters/questionnaires/1/deactivate" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    Example response :
    {
        "message": "success",
        "status": 200
    }

    delete voter

    DELETE
    http://localhost:8000
    /api/v1/voters/questionnaires/voters/{voterQuestionnaireId}/delete
    requires authentication

    endpoint for delete voter

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    URL Parameters

    voterQuestionnaireId
    integer
    required

    id of the voterQuestionnaireId

    Example:
    1
    Example request:
    curl --request DELETE \
        "http://localhost:8000/api/v1/voters/questionnaires/voters/1/delete" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    Example response :
    {
        "message": "success",
        "status": 200
    }

    Join request | Delete voter

    DELETE
    http://localhost:8000
    /api/v1/voters/joinedRequests/{voterJoinRequestId}/delete
    requires authentication

    Voter join request delete

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    URL Parameters

    voterJoinRequestId
    integer
    required

    id of the joined request

    Example:
    1
    Example request:
    curl --request DELETE \
        "http://localhost:8000/api/v1/voters/joinedRequests/1/delete" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    Example response :
    {
        "message": "success",
        "status": 200
    }

    Actions | Reactivate Vote Account

    POST
    http://localhost:8000
    /api/v1/voters/{voterId}/{companyId}/reactivate
    requires authentication

    Reactivate a disabled voter account

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    URL Parameters

    voterId
    integer
    required

    id of the voter

    Example:
    1
    companyId
    integer
    required

    id of the company

    Example:
    10
    Example request:
    curl --request POST \
        "http://localhost:8000/api/v1/voters/1/10/reactivate" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    Example response :
    {
        "message": "success",
        "status": 200
    }

    Actions | Reactivate Vote Account

    POST
    http://localhost:8000
    /api/v1/voters/requests/{voterJoinRequestId}/cannotRevertDeletion/restore
    requires authentication

    Reactivate a disabled voter account

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    URL Parameters

    voterId
    integer
    required

    id of the voter

    Example:
    1
    companyId
    integer
    required

    id of the company

    Example:
    10
    Example request:
    curl --request POST \
        "http://localhost:8000/api/v1/voters/requests/1/cannotRevertDeletion/restore" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    Example response :
    {
        "message": "success",
        "status": 200
    }

    Generate Access | Single voter

    POST
    http://localhost:8000
    /api/v1/voters/questionnaires/{questionnaireId}/{voterQuestionnaireId}/generateAccess
    requires authentication

    Generate single access for a voter

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    URL Parameters

    questionnaireId
    string
    required

    The ID of the questionnaire

    Example:
    1
    voterQuestionnaireId
    string
    required

    The ID of the voter questionnaire

    Example:
    1
    Example request:
    curl --request POST \
        "http://localhost:8000/api/v1/voters/questionnaires/1/1/generateAccess" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    Example response :
    <<<<<<< HEAD
    =======
    >>>>>>> dev-master-dev1
    {
        "message": "success",
        "status": 200
    }

    Voter | Store Validate Creation

    POST
    http://localhost:8000
    /api/v1/voters/actions/creation/{token}/validate

    Headers

    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    Body Parameters

    Example request:
    curl --request POST \
        "http://localhost:8000/api/v1/voters/actions/creation/{token}/validate" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json" \
        --data "{
    <<<<<<< HEAD
        \"token\": \"8d718d94-9a23-3125-a42a-323729f65fc8\",
        \"name\": \"Marc\",
        \"generic_language\": \"Russian\",
        \"surname\": \"consequatur\",
        \"privacy_policy\": true,
        \"email\": \"vrousset@example.net\",
    =======
        \"token\": \"0b56abd2-cc73-3bba-9ea8-9c05fa630264\",
        \"name\": \"Alain\",
        \"generic_language\": \"Chinese\",
        \"surname\": \"architecto\",
        \"privacy_policy\": true,
        \"email\": \"pgermain@example.org\",
    >>>>>>> dev-master-dev1
        \"password\": \"password\",
        \"password_confirmation\": \"password\"
    }"
    
    Example response :
    {
        "message": "success",
        "status": 200
    }

    Voter Creation | Token Get data

    GET
    http://localhost:8000
    /api/v1/voters/actions/creation/{token}/validate

    Headers

    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    URL Parameters

    token
    string
    required

    token received in email creation for the voter

    Example:
    $eyIdkk030495fjxf940
    Example request:
    curl --request GET \
        --get "http://localhost:8000/api/v1/voters/actions/creation/$eyIdkk030495fjxf940/validate" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    Example response :
    {
        "message": "success",
        "status": 200
    }
    {
        "data": {
            "id": null,
            "email": null,
            "access_type_id": null,
            "status_id": null,
            "company_id": null,
            "created_at": null,
            "properties": [],
            "generic_language_id": null,
            "revert_deletion_type": null
        }
    }

    Voter Append | Token Get data

    POST
    http://localhost:8000
    /api/v1/voters/actions/append/{token}/validate

    Headers

    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    URL Parameters

    token
    string
    required

    token received in email creation for the voter

    Example:
    xjdejde

    Body Parameters

    Example request:
    curl --request POST \
        "http://localhost:8000/api/v1/voters/actions/append/xjdejde/validate" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json" \
        --data "{
        \"token\": \"98adc52b-966d-39db-809a-55902ee7228f\",
        \"name\": \"Louis\",
        \"surname\": \"consequatur\",
        \"email\": \"richard77@example.com\",
        \"password\": \"password\",
        \"password_confirmation\": \"password\",
        \"generic_language\": \"Chinese\"
    }"
    
    Example response :
    {
        "message": "success",
        "status": 200
    }

    Actions | Token Get data

    GET
    http://localhost:8000
    /api/v1/voters/actions/append/{token}/validate

    Headers

    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    URL Parameters

    token
    string
    required

    token received in email creation for the voter

    Example:
    xjdejde
    Example request:
    curl --request GET \
        --get "http://localhost:8000/api/v1/voters/actions/append/xjdejde/validate" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    Example response :
    {
        "message": "success",
        "status": 200
    }
    {
        "data": {
            "id": null,
            "email": null,
            "access_type_id": null,
            "status_id": null,
            "company_id": null,
            "created_at": null,
            "properties": [],
            "generic_language_id": null,
            "revert_deletion_type": null
        }
    }

    Undo deletion by admin

    POST
    http://localhost:8000
    /api/v1/voters/actions/delete/{token}/undo/by-admin

    This endpoint undo deletion of endpoint make by the admin

    Headers

    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    URL Parameters

    token
    string
    required

    Token Obtained after requesting deletion for the first 24 hours

    Example:
    $eyvjde93939399494kjndqeiudoqeduqe030
    Example request:
    curl --request POST \
        "http://localhost:8000/api/v1/voters/actions/delete/$eyvjde93939399494kjndqeiudoqeduqe030/undo/by-admin" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    Example response :
    <<<<<<< HEAD
    =======
    >>>>>>> dev-master-dev1
    {
        "message": "success",
        "status": 200
    }

    Sondage | Vote

    endpoint for vote


    Vote | Get list of questions by page

    GET
    http://localhost:8000
    /api/v1/vote/{pageNumber}
    requires authentication

    get list of questions

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    URL Parameters

    pageNumber
    integer
    required

    page number of pagination

    Example:
    1
    Example request:
    curl --request GET \
        --get "http://localhost:8000/api/v1/vote/1" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    Example response :
    {
        "data": {
            "questions": [],
            "metadata": {
                "current_page": 1,
                "last_page": 1,
                "per_page": 10,
                "total": 10
            }
        }
    }

    Create Vote answer

    POST
    http://localhost:8000
    /api/v1/vote/{pageNumber}
    requires authentication

    register a vote answer

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    URL Parameters

    pageNumber
    integer
    required

    page number of pagination

    Example:
    1

    Body Parameters

    Example request:
    curl --request POST \
        "http://localhost:8000/api/v1/vote/1" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json" \
        --data "{
    <<<<<<< HEAD
        \"language\": \"cn\",
        \"navigation_direction\": \"next\",
    =======
        \"language\": \"fr\",
        \"navigation_direction\": \"prev\",
    >>>>>>> dev-master-dev1
        \"items\": [
            {
                \"question_item_id\": 17,
                \"response_item_text\": \"mqeopfuudtdsufvyvddqa\",
                \"responses\": [
                    {
                        \"response_item_id\": 17,
                        \"response_item_value\": 17,
                        \"response_item_order\": 17
                    }
                ],
                \"response_item_type\": \"component\",
                \"sub_questions\": [
                    {
                        \"response_item_id\": 17,
                        \"response_item_value\": 17
                    }
                ]
            }
        ]
    }"
    
    Example response :
    {
        "message": "success",
        "status": 200
    }

    Decline Vote

    POST
    http://localhost:8000
    /api/v1/vote/actions/deny
    requires authentication

    Decline a vote

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json
    Example request:
    curl --request POST \
        "http://localhost:8000/api/v1/vote/actions/deny" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"

    Start Vote

    POST
    http://localhost:8000
    /api/v1/vote/actions/startVote
    requires authentication

    Start a vote

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    Body Parameters

    Example request:
    curl --request POST \
        "http://localhost:8000/api/v1/vote/actions/startVote" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json" \
        --data "{
    <<<<<<< HEAD
        \"language\": \"fr\"
    =======
        \"language\": \"it\"
    >>>>>>> dev-master-dev1
    }"
    
    Example response :
    {
        "message": "success",
        "status": 200
    }

    Vote | get all questions

    GET
    http://localhost:8000
    /api/v1/vote/response/all
    requires authentication

    get list of questions

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json
    Example request:
    curl --request GET \
        --get "http://localhost:8000/api/v1/vote/response/all" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    Example response :
    {
        "data": {
            "questions": []
        }
    }
    GET
    http://localhost:8000
    /api/v1/vote/oneLink/resume/{questionnaireToken}
    requires authentication

    Get One Link Resume Info

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    URL Parameters

    questionnaireToken
    string
    required
    Example:
    consequatur

    Query Parameters

    voter_questionnaire_id
    integer
    required
    Example:
    1
    Example request:
    curl --request GET \
    <<<<<<< HEAD
        --get "http://localhost:8000/api/v1/vote/oneLink/resume/consequatur?voter_questionnaire_id=1" \
    =======
        --get "http://localhost:8000/api/v1/vote/oneLink/resume/architecto?voter_questionnaire_id=1" \
    >>>>>>> dev-master-dev1
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    Example response :

    Manage Message

    Manage Message


    List all messages

    GET
    http://localhost:8000
    /api/v1/dashboard/userRole/voters/voterMessages
    requires authentication

    Retrieve a list of all messages.

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json
    Example request:
    curl --request GET \
        --get "http://localhost:8000/api/v1/dashboard/userRole/voters/voterMessages" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    Example response :
    {
        "data": [
            {
                "id": null,
                "questionnaire_id": null,
                "sender_email": null,
                "subject": null,
                "message": null,
                "created_at": null,
                "updated_at": null,
                "is_read": false
            },
            {
                "id": null,
                "questionnaire_id": null,
                "sender_email": null,
                "subject": null,
                "message": null,
                "created_at": null,
                "updated_at": null,
                "is_read": false
            }
        ]
    }

    Show Message

    GET
    http://localhost:8000
    /api/v1/dashboard/userRole/voters/voterMessages/{voterMessageId}
    requires authentication

    Show a specific message by ID

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    URL Parameters

    voterMessageId
    integer
    required

    The ID of the voter message

    Example:
    17
    Example request:
    curl --request GET \
    <<<<<<< HEAD
        --get "http://localhost:8000/api/v1/dashboard/userRole/voters/voterMessages/17" \
    =======
        --get "http://localhost:8000/api/v1/dashboard/userRole/voters/voterMessages/16" \
    >>>>>>> dev-master-dev1
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    Example response :
    {
        "data": {
            "id": null,
            "questionnaire_id": null,
            "sender_email": null,
            "subject": null,
            "message": null,
            "created_at": null,
            "updated_at": null,
            "is_read": false
        },
        "nextId": 1,
        "prevId": 2
    }
    {
        "message": "The given resource was invalid.",
        "errors": {
            "item 1": [
                "validation error 1."
            ]
        }
    }

    Destroy Message

    DELETE
    http://localhost:8000
    /api/v1/dashboard/userRole/voters/voterMessages/{voterMessageId}
    requires authentication

    Delete a specific message by ID

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    URL Parameters

    voterMessageId
    integer
    required

    The ID of the voter message

    Example:
    17
    Example request:
    curl --request DELETE \
    <<<<<<< HEAD
        "http://localhost:8000/api/v1/dashboard/userRole/voters/voterMessages/17" \
    =======
        "http://localhost:8000/api/v1/dashboard/userRole/voters/voterMessages/16" \
    >>>>>>> dev-master-dev1
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    Example response :
    {
        "message": "success",
        "status": 200
    }
    {
        "message": "The given resource was invalid.",
        "errors": {
            "item 1": [
                "validation error 1."
            ]
        }
    }

    Count Messages

    GET
    http://localhost:8000
    /api/v1/dashboard/userRole/voters/voterMessageCount
    requires authentication

    Count the number of messages.

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json
    Example request:
    curl --request GET \
        --get "http://localhost:8000/api/v1/dashboard/userRole/voters/voterMessageCount" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    Example response :
    {
        "data": {
            "voter_messages_total_count": 3,
            "voter_messages_unread_count": 1
        }
    }

    Introductory Text

    Introductory text sub groups


    Upsert

    POST
    http://localhost:8000
    /api/v1/questionnaires/{questionnaireId}/introductoryTexts
    requires authentication

    Store introductory texts

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    URL Parameters

    questionnaireId
    integer
    required

    id of questionnaire

    Example:
    17

    Body Parameters

    Example request:
    curl --request POST \
    <<<<<<< HEAD
        "http://localhost:8000/api/v1/questionnaires/17/introductoryTexts" \
    =======
        "http://localhost:8000/api/v1/questionnaires/16/introductoryTexts" \
    >>>>>>> dev-master-dev1
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json" \
        --data "{
        \"items\": [
            {
    <<<<<<< HEAD
                \"content\": \"consequatur\",
                \"is_visible\": true,
                \"language_id\": 17,
                \"type\": \"method_admin\"
    =======
                \"content\": \"architecto\",
                \"is_visible\": true,
                \"language_id\": 16,
                \"type\": \"method_concept\"
    >>>>>>> dev-master-dev1
            }
        ]
    }"
    
    Example response :
    {
        "message": "success",
        "status": 200
    }

    Show

    GET
    http://localhost:8000
    /api/v1/questionnaires/{questionnaireId}/introductoryTexts/{introductoryTextType}/translation/{languageId}
    requires authentication

    detail

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    URL Parameters

    questionnaireId
    integer
    required

    id of questionnaire

    Example:
    17
    introductoryTextType
    string
    required

    Type of introductory text

    Must be one of:
    • introduction
    • result
    • conclusion
    • method_concept
    • method_admin
    Example:
    introduction
    languageId
    integer
    required

    id of language

    Example:
    17
    Example request:
    curl --request GET \
    <<<<<<< HEAD
        --get "http://localhost:8000/api/v1/questionnaires/17/introductoryTexts/introduction/translation/17" \
    =======
        --get "http://localhost:8000/api/v1/questionnaires/16/introductoryTexts/introduction/translation/16" \
    >>>>>>> dev-master-dev1
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    Example response :
    {
        "data": {
            "id": null,
            "is_visible": null,
            "introductory_text_type_id": null,
            "created_at": null,
            "updated_at": null
        }
    }

    Conditions

    Conditions


    List

    GET
    http://localhost:8000
    /api/v1/questionnaires/{questionnaireId}/conditions
    requires authentication

    Get introductory texts

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    URL Parameters

    questionnaireId
    integer
    required

    id of questionnaire

    Example:
    17

    Response Fields

    Example request:
    curl --request GET \
    <<<<<<< HEAD
        --get "http://localhost:8000/api/v1/questionnaires/17/conditions" \
    =======
        --get "http://localhost:8000/api/v1/questionnaires/16/conditions" \
    >>>>>>> dev-master-dev1
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    Example response :
    {
        "data": [
            {
                "id": 2,
                "required": true,
                "questionnaire_id": 10,
                "question_type_id": 7,
                "translations": null,
                "translation": {
                    "id": 1,
                    "question_item_id": 2,
                    "language_id": 1,
                    "comment": null,
                    "label": "Nom",
    <<<<<<< HEAD
                    "updated_at": "2025-12-13T21:54:50.000000Z"
    =======
                    "updated_at": "2025-12-10T16:44:26.000000Z"
    >>>>>>> dev-master-dev1
                },
                "question_type": {
                    "id": 7,
                    "label": "open_question",
    <<<<<<< HEAD
                    "created_at": "2025-12-13T21:54:45.000000Z"
    =======
                    "created_at": "2025-12-10T16:44:19.000000Z"
    >>>>>>> dev-master-dev1
                },
                "theme": null,
                "order": 2,
                "manual_sliced": false,
    <<<<<<< HEAD
                "updated_at": "2025-12-13T21:54:50.000000Z",
    =======
                "updated_at": "2025-12-10T16:44:26.000000Z",
    >>>>>>> dev-master-dev1
                "properties": [],
                "components": [],
                "target_condition_count": null,
                "source_condition_count": null,
                "question_answers_count": null
            },
            {
                "id": 2,
                "required": true,
                "questionnaire_id": 10,
                "question_type_id": 7,
                "translations": null,
                "translation": {
                    "id": 1,
                    "question_item_id": 2,
                    "language_id": 1,
                    "comment": null,
                    "label": "Nom",
    <<<<<<< HEAD
                    "updated_at": "2025-12-13T21:54:50.000000Z"
    =======
                    "updated_at": "2025-12-10T16:44:26.000000Z"
    >>>>>>> dev-master-dev1
                },
                "question_type": {
                    "id": 7,
                    "label": "open_question",
    <<<<<<< HEAD
                    "created_at": "2025-12-13T21:54:45.000000Z"
    =======
                    "created_at": "2025-12-10T16:44:19.000000Z"
    >>>>>>> dev-master-dev1
                },
                "theme": null,
                "order": 2,
                "manual_sliced": false,
    <<<<<<< HEAD
                "updated_at": "2025-12-13T21:54:50.000000Z",
    =======
                "updated_at": "2025-12-10T16:44:26.000000Z",
    >>>>>>> dev-master-dev1
                "properties": [],
                "components": [],
                "target_condition_count": null,
                "source_condition_count": null,
                "question_answers_count": null
            }
        ]
    }

    Email Generated

    description


    Email Generated | List Email

    GET
    http://localhost:8000
    /api/v1/questionnaires/{questionnaireId}/generatedEmails
    requires authentication

    Get all list email for a specific questionnaire in lastest saving language

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    URL Parameters

    questionnaireId
    integer
    required

    id of questionnaire

    Example:
    1
    Example request:
    curl --request GET \
        --get "http://localhost:8000/api/v1/questionnaires/1/generatedEmails" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    Example response :
    {
        "available_scopes": [
            "END_VOTE",
            "START_VOTE",
            "REMINDER_VOTE",
            "REFUSE_VOTE",
            "INACTIVE_VOTE"
        ],
        "emails": {
            "END_VOTE": {
                "subject": "Accès au rapport du Sondage isiQuest",
                "content": "...",
                "recipients": [],
                "language_id": 1,
                "description": "Cet email est déclenché par le passage d'un questionnaire en phase \"résultat\". Il est envoyé à l'administrateur du questionnaire ainsi qu'aux personnes renseignées par ce dernier.",
                "content_parameters": [
                    "[TITRE]",
                    "[URL]",
                    "[CODE ACCESS]"
                ],
                "subject_parameters": []
            },
            "START_VOTE": {
                "subject": "subjet en",
                "content": "...",
                "recipients": [
                    "lucchuala@gmail.com",
                    "test@gmail.come"
                ],
                "language_id": 2,
                "description": "This email is triggered when a questionnaire enters the \"voting\" phase. It is sent to voters. Access Mode : \"Anonymous- Self-generated\", regardless of the e-mail generation configuration.",
                "content_parameters": [
                    "[TITLE]",
                    "[USER ACCOUNT]",
                    "[DIRECT ACCESS URL BUTTON]",
                    "[DECLINE VOTE BUTTON]",
                    "[VOTING END DATE]"
                ],
                "subject_parameters": []
            },
            "REMINDER_VOTE": {
                "subject": "Relance participation à un Sondage isiQuest",
                "content": "...",
                "recipients": [],
                "language_id": 1,
                "description": "Cet email est déclenché par le passage à une des dates de relance d'un questionnaire. Il est envoyé aux votants. Modalité d'accès : \"Anonyme - Autogénéré\", peu importe la configuration de Génération d'email auto.",
                "content_parameters": [
                    "[TITRE]",
                    "[Compte Utilisateur]",
                    "[DATE DE FIN DE VOTE]",
                    "[BOUTON REFUS DE VOTE]",
                    "[BOUTON URL ACCES DIRECT]"
                ],
                "subject_parameters": []
            },
            "REFUSE_VOTE": {
                "subject": "Refus de vote sondage isiQuest",
                "content": "...",
                "recipients": [],
                "language_id": 1,
                "description": "Cet email est déclenché par un refus de vote. Il est envoyé aux votants. Modalité d'accès : \"Nominatif - Autogénéré\" ou \"Anonyme - Autogénéré\", peu importe la configuration de Génération d'email auto.",
                "content_parameters": [
                    "[TITRE]",
                    "[Compte Utilisateur]"
                ],
                "subject_parameters": []
            },
            "INACTIVE_VOTE": {
                "subject": "Réactivation du Sondage isiQuest",
                "content": "...",
                "recipients": [],
                "language_id": 1,
                "description": "Cet email est déclenché par le passage d'un questionnaire en phase \"vote\" après avoir été en phase d'inactivité. Il est envoyé aux votants. Modalité d'accès : \"Anonyme Autogénéré\", peu importe la configuration de Génération d'email auto.",
                "content_parameters": [
                    "[TITRE]",
                    "[BOUTON URL ACCES DIRECT]",
                    "[BOUTON REFUS DE VOTE]",
                    "[DATE DE FIN DE VOTE]"
                ],
                "subject_parameters": []
            }
        },
        "questionnaire_id": 23
    }

    Email Generated | Update

    POST
    http://localhost:8000
    /api/v1/questionnaires/{questionnaireId}/generatedEmails
    requires authentication

    Update all generated email for a questionnaire

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    URL Parameters

    questionnaireId
    integer
    required

    id of questionnaire

    Example:
    1

    Body Parameters

    Example request:
    curl --request POST \
        "http://localhost:8000/api/v1/questionnaires/1/generatedEmails" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json" \
        --data "{
        \"email_administration_language_id\": 17,
        \"emails\": [
            {
                \"scope\": \"REFUSE_VOTE\",
                \"language_id\": 17,
                \"content\": \"consequatur\",
                \"subject\": \"consequatur\",
                \"recipients\": [
                    \"carolyne.luettgen@example.org\"
                ]
            }
        ]
    }"
    
    Example response :
    {
        "message": "success",
        "status": 200
    }

    Email Generated | Detail

    GET
    http://localhost:8000
    /api/v1/questionnaires/{questionnaireId}/generatedEmails/{scope}/language/{languageId}/details
    requires authentication

    Get data about one specific generated email

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    URL Parameters

    questionnaireId
    integer
    required

    id of questionnaire

    Example:
    1
    languageId
    integer
    required

    id of language

    Example:
    1
    scope
    string
    required

    Represent the scope of the email

    Must be one of:
    • START_VOTE
    • REFUSE_VOTE
    • INACTIVE_VOTE
    • REMINDER_VOTE
    • END_VOTE
    Example:
    START_VOTE
    Example request:
    curl --request GET \
        --get "http://localhost:8000/api/v1/questionnaires/1/generatedEmails/START_VOTE/language/1/details" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    Example response :
    {
        "data": {
            "subject": "subjet fr",
            "recipients": [
                "lucchuala@gmail.com",
                "test@gmail.come"
            ],
            "language_id": 1,
            "content": "content fr",
            "description": "Cet email est déclenché par le passage d'un questionnaire en phase \"vote\". Il est envoyé aux votants. Modalité d'accès : \"Anonyme - Autogénéré\", peu importe la configuration de Génération d'email auto.",
            "content_parameters": [
                "[TITRE]",
                "[Compte Utilisateur]",
                "[BOUTON URL ACCES DIRECT]",
                "[BOUTON REFUS DE VOTE]",
                "[DATE DE FIN DE VOTE]"
            ],
            "subject_parameters": []
        }
    }

    List Email Generated | Reset data

    GET
    http://localhost:8000
    /api/v1/questionnaires/{questionnaireId}/generatedEmails/{scope}/language/{languageId}/defaultContent
    requires authentication

    Get default data email for a generated email

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    URL Parameters

    questionnaireId
    integer
    required

    id of questionnaire

    Example:
    1
    languageId
    integer
    required

    id of language

    Example:
    1
    scope
    string
    required

    Represent the scope of the email

    Must be one of:
    • START_VOTE
    • REFUSE_VOTE
    • INACTIVE_VOTE
    • REMINDER_VOTE
    • END_VOTE
    Example:
    START_VOTE
    Example request:
    curl --request GET \
        --get "http://localhost:8000/api/v1/questionnaires/1/generatedEmails/START_VOTE/language/1/defaultContent" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    Example response :
    Headers
    cache-control : no-cache, private content-type : application/json vary : Origin
    {
        "message": "Unauthenticated."
    }

    Email Generated | List email design

    GET
    http://localhost:8000
    /api/v1/questionnaires/{questionnaireId}/emailDesigns
    requires authentication

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    URL Parameters

    questionnaireId
    integer
    required

    List questionnaire email designs

    Example:
    17
    Example request:
    curl --request GET \
    <<<<<<< HEAD
        --get "http://localhost:8000/api/v1/questionnaires/17/emailDesigns" \
    =======
        --get "http://localhost:8000/api/v1/questionnaires/16/emailDesigns" \
    >>>>>>> dev-master-dev1
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    Example response :
    {
        "data": [
            {
                "id": 1,
                "name": "Classique",
                "image": "emailDesigns/1",
                "is_classic": true,
    <<<<<<< HEAD
                "created_at": "2025-12-13T21:54:46.000000Z",
    =======
                "created_at": "2025-12-10T16:44:20.000000Z",
    >>>>>>> dev-master-dev1
                "image_link": "http://localhost:8000/storage/emailDesigns/1",
                "all_content_loaded": true
            },
            {
                "id": 1,
                "name": "Classique",
                "image": "emailDesigns/1",
                "is_classic": true,
    <<<<<<< HEAD
                "created_at": "2025-12-13T21:54:46.000000Z",
    =======
                "created_at": "2025-12-10T16:44:20.000000Z",
    >>>>>>> dev-master-dev1
                "image_link": "http://localhost:8000/storage/emailDesigns/1",
                "all_content_loaded": true
            }
        ]
    }

    Email Generated | Store email design

    POST
    http://localhost:8000
    /api/v1/questionnaires/{questionnaireId}/emailDesigns
    requires authentication

    Store questionnaire email design

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    URL Parameters

    questionnaireId
    integer
    required

    id of questionnaire

    Example:
    1

    Body Parameters

    Example request:
    curl --request POST \
        "http://localhost:8000/api/v1/questionnaires/1/emailDesigns" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json" \
        --data "{
        \"email_design_id\": 17
    }"
    
    Example response :
    {
        "message": "success",
        "status": 200
    }

    Access

    Access


    list all

    GET
    http://localhost:8000
    /api/v1/questionnaires/{questionnaireId}/access/voters
    requires authentication

    endpoint for voter list

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    URL Parameters

    questionnaireId
    integer
    required

    id of questionnaire

    Example:
    1
    Example request:
    curl --request GET \
        --get "http://localhost:8000/api/v1/questionnaires/1/access/voters" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    Example response :
    {
        "data": [
            {
                "id": null,
                "questionnaire_id": null,
                "voter_id": null,
                "status_id": null,
                "vote_status_id": null,
                "generate_email_at": null,
                "has_try_inactive": null,
                "start_vote_at": null,
                "created_at": null,
                "nominative_access_link": "",
                "updated_at": null,
                "access_link": "",
                "question_answers_count": null
            },
            {
                "id": null,
                "questionnaire_id": null,
                "voter_id": null,
                "status_id": null,
                "vote_status_id": null,
                "generate_email_at": null,
                "has_try_inactive": null,
                "start_vote_at": null,
                "created_at": null,
                "nominative_access_link": "",
                "updated_at": null,
                "access_link": "",
                "question_answers_count": null
            }
        ]
    }
    {
        "message": "questionnaire not exists",
        "errors": {
            "questionnaire": [
                "invalid questionnaire"
            ]
        }
    }

    Text Scale

    Text Scales operations here.

    Text scales list

    GET
    http://localhost:8000
    /api/v1/questionnaires/textScales
    requires authentication

    The list of all text scales belonging to a user, plus the others where field PRIVATE=0, all with their translated components

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    Query Parameters

    paginate
    integer

    If pagination is needed, enter the number of elements per page

    Example:
    1
    Example request:
    curl --request GET \
        --get "http://localhost:8000/api/v1/questionnaires/textScales?paginate=1" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    Example response :
    {
        "data": [
            {
                "id": null,
                "is_private": null,
                "user_role_id": null,
                "no_opinion": null,
                "is_active": null
            },
            {
                "id": null,
                "is_private": null,
                "user_role_id": null,
                "no_opinion": null,
                "is_active": null
            }
        ]
    }

    Show a Text scale

    GET
    http://localhost:8000
    /api/v1/questionnaires/{questionnaireId}/textScales/{textScaleId}
    requires authentication

    Show a text scale with all it's compents' translations

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    URL Parameters

    textScaleId
    integer
    required

    The id of the text scale to be showned

    Example:
    1
    Example request:
    curl --request GET \
        --get "http://localhost:8000/api/v1/questionnaires/1/textScales/1" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    Example response :
    {
        "data": {
            "id": null,
            "is_private": null,
            "user_role_id": null,
            "no_opinion": null,
            "is_active": null
        }
    }

    Store a Text scale

    POST
    http://localhost:8000
    /api/v1/questionnaires/textScales
    requires authentication

    Store a new text scale and it's translations

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    Body Parameters

    Example request:
    curl --request POST \
        "http://localhost:8000/api/v1/questionnaires/textScales" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json" \
        --data "{
        \"is_private\": true,
        \"no_opinion\": true,
        \"items\": [
            {
                \"order\": 17,
                \"translations\": [
                    {
                        \"language_id\": 17,
                        \"content\": \"consequatur\"
                    }
                ]
            }
        ]
    }"
    
    Example response :
    {
        "message": "TextScale created!"
    }

    Update a Text scale

    PUT
    PATCH
    http://localhost:8000
    /api/v1/questionnaires/textScales/{textScaleId}
    requires authentication

    Update a text scale in a single language

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    URL Parameters

    textScaleId
    integer
    required

    Id of the text scale to be updated , must exist in the database

    Example:
    7

    Body Parameters

    Example request:
    curl --request PUT \
        "http://localhost:8000/api/v1/questionnaires/textScales/7" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json" \
        --data "{
    <<<<<<< HEAD
        \"is_private\": false,
        \"no_opinion\": true,
        \"language_id\": 17,
    =======
        \"is_private\": true,
        \"no_opinion\": false,
        \"language_id\": 16,
    >>>>>>> dev-master-dev1
        \"items\": [
            {
                \"item_id\": 17,
                \"content\": \"consequatur\"
            }
        ]
    }"
    
    Example response :
    {
        "message": "success",
        "status": 200
    }
    {
        "message": "The given resource was invalid.",
        "errors": {
            "item 1": [
                "validation error 1."
            ]
        }
    }

    Delete a Text scale

    DELETE
    http://localhost:8000
    /api/v1/questionnaires/textScales/{textScaleId}
    requires authentication

    Delete a text scale and it's translations.

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    URL Parameters

    textScaleId
    integer
    required

    The id of the Text Scale to be deleted.

    Example:
    17
    Example request:
    curl --request DELETE \
    <<<<<<< HEAD
        "http://localhost:8000/api/v1/questionnaires/textScales/17" \
    =======
        "http://localhost:8000/api/v1/questionnaires/textScales/16" \
    >>>>>>> dev-master-dev1
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    Example response :
    {
        "message": "success",
        "status": 200
    }
    {
        "message": "The given resource was invalid.",
        "errors": {
            "item 1": [
                "validation error 1."
            ]
        }
    }

    Export Text scales list

    GET
    http://localhost:8000
    /api/v1/questionnaires/textScales/export/{format}/{languageAcronym}
    requires authentication

    Export user textScales

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    URL Parameters

    format
    string
    required

    The format of the file to export. Can be 'csv' or 'excel'. the default is 'csv'

    Must be one of:
    • csv
    • xlsx
    Example:
    xlsx
    languageAcronym
    string
    required

    The platform language . Can be 'en' or 'fr'. the default is 'fr'

    Must be one of:
    • csv
    • xlsx
    Example:
    xlsx
    Example request:
    curl --request GET \
        --get "http://localhost:8000/api/v1/questionnaires/textScales/export/xlsx/xlsx" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    Example response :
    [Binary data] - 

    Visu

    Module visu

    Home


    Visu | List of questionnaires

    GET
    http://localhost:8000
    /api/v1/visu/home/questionnaires
    requires authentication

    List all questionnaires of the authenticated visu

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json
    Example request:
    curl --request GET \
        --get "http://localhost:8000/api/v1/visu/home/questionnaires" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    Example response :
    {
        "data": [
            {
                "id": 10,
    <<<<<<< HEAD
                "start_date": "2025-12-13T21:54:50.000000Z",
                "end_date": "2025-12-14T21:54:50.000000Z",
                "phase_changed_at": null,
                "created_at": "2025-12-13T21:54:50.000000Z",
                "updated_at": "2025-12-13T21:54:50.000000Z",
    =======
                "start_date": "2025-12-10T16:44:26.000000Z",
                "end_date": "2025-12-11T16:44:26.000000Z",
                "phase_changed_at": null,
                "created_at": "2025-12-10T16:44:26.000000Z",
                "updated_at": "2025-12-10T16:44:26.000000Z",
    >>>>>>> dev-master-dev1
                "email_administration_language_id": 1,
                "email_design_id": null,
                "language_id": 1,
                "last_slice_id": null,
                "phase_id": 2,
                "questionnaire_design_id": null,
                "slice_id": 1,
                "properties": {
                    "max_voters": 500,
                    "access_type_id": 1,
                    "has_generated_email": false
                },
                "title": "Webinaire (Default)",
                "parsed_contents": {
                    "title": {
                        "1": "Webinaire (Default)"
                    }
                },
                "product": {
                    "id": 1,
                    "name": "survey",
                    "image_url": null,
                    "description": "sondage description"
                },
                "question_items_count": null,
                "is_webinaire": false,
                "is_default_webinaire_questionnaire": true,
                "webinaire_link": "",
                "access_type": {
                    "id": 1,
                    "name": "anonymous_one_link",
                    "code": "ANONYMOUS_ONE_LINK"
                },
                "has_changed_phase_into_creation": 0,
                "has_email_generation": false,
                "one_link_access_url": "http://localhost:3000/actions/voter/signin/onelink/MTA=",
                "superadmin_has_access": true,
                "recommandation": null,
                "presentation": null,
                "voter_questionnaires_count": null,
                "refusal_voter_questionnaires_count": 0,
                "completed_voter_questionnaires_count": 0,
                "pending_voter_questionnaires_count": 0
            },
            {
                "id": 10,
    <<<<<<< HEAD
                "start_date": "2025-12-13T21:54:50.000000Z",
                "end_date": "2025-12-14T21:54:50.000000Z",
                "phase_changed_at": null,
                "created_at": "2025-12-13T21:54:50.000000Z",
                "updated_at": "2025-12-13T21:54:50.000000Z",
    =======
                "start_date": "2025-12-10T16:44:26.000000Z",
                "end_date": "2025-12-11T16:44:26.000000Z",
                "phase_changed_at": null,
                "created_at": "2025-12-10T16:44:26.000000Z",
                "updated_at": "2025-12-10T16:44:26.000000Z",
    >>>>>>> dev-master-dev1
                "email_administration_language_id": 1,
                "email_design_id": null,
                "language_id": 1,
                "last_slice_id": null,
                "phase_id": 2,
                "questionnaire_design_id": null,
                "slice_id": 1,
                "properties": {
                    "max_voters": 500,
                    "access_type_id": 1,
                    "has_generated_email": false
                },
                "title": "Webinaire (Default)",
                "parsed_contents": {
                    "title": {
                        "1": "Webinaire (Default)"
                    }
                },
                "product": {
                    "id": 1,
                    "name": "survey",
                    "image_url": null,
                    "description": "sondage description"
                },
                "question_items_count": null,
                "is_webinaire": false,
                "is_default_webinaire_questionnaire": true,
                "webinaire_link": "",
                "access_type": {
                    "id": 1,
                    "name": "anonymous_one_link",
                    "code": "ANONYMOUS_ONE_LINK"
                },
                "has_changed_phase_into_creation": 0,
                "has_email_generation": false,
                "one_link_access_url": "http://localhost:3000/actions/voter/signin/onelink/MTA=",
                "superadmin_has_access": true,
                "recommandation": null,
                "presentation": null,
                "voter_questionnaires_count": null,
                "refusal_voter_questionnaires_count": 0,
                "completed_voter_questionnaires_count": 0,
                "pending_voter_questionnaires_count": 0
            }
        ]
    }

    Statistic


    Visu | Questionnaire global statistic

    GET
    http://localhost:8000
    /api/v1/visu/questionnaires/{questionnaireId}/statistics
    requires authentication

    Get global statistic of a questionnaire

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    URL Parameters

    questionnaireId
    integer
    required

    The id of the questionnaire

    Example:
    1
    Example request:
    curl --request GET \
        --get "http://localhost:8000/api/v1/visu/questionnaires/1/statistics" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    Example response :
    Headers
    cache-control : no-cache, private content-type : application/json vary : Origin
    {
        "message": "Unauthenticated."
    }

    Visu | Filter statistic

    POST
    http://localhost:8000
    /api/v1/visu/questionnaires/{questionnaireId}/statistics/filter
    requires authentication

    Get statistic of a questionnaire with filter

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    URL Parameters

    questionnaireId
    integer
    required

    The id of the questionnaire

    Example:
    1

    Body Parameters

    Example request:
    curl --request POST \
        "http://localhost:8000/api/v1/visu/questionnaires/1/statistics/filter" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json" \
        --data "{
        \"global_filters\": {
    <<<<<<< HEAD
            \"start_date\": \"2025-12-14T00:15:58\",
            \"end_date\": \"2107-01-12\",
            \"include_progress_voter\": false
    =======
            \"start_date\": \"2025-12-11T21:04:35\",
            \"end_date\": \"2052-01-04\",
            \"include_progress_voter\": true
    >>>>>>> dev-master-dev1
        },
        \"layouts\": {
            \"report_design_id\": 17
        },
        \"answer_filters\": [
            {
                \"question_item_id\": 17,
                \"filtered_answers\": [
                    {
                        \"key\": 17,
                        \"value\": \"consequatur\"
                    }
                ],
                \"sub_questions\": [
                    {
                        \"question_item_component_id\": 17,
                        \"filtered_answers\": [
                            {
                                \"key\": \"consequatur\",
                                \"value\": \"consequatur\"
                            }
                        ]
                    }
                ]
            }
        ]
    }"
    

    Print parameter


    Print parameter | Get

    POST
    http://localhost:8000
    /api/v1/visu/questionnaires/{questionnaireId}/printParameters
    requires authentication

    Get print parameter of a questionnaire

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    multipart/form-data
    Accept
    Example:
    application/json

    URL Parameters

    questionnaireId
    integer
    required

    The id of the questionnaire

    Example:
    1

    Body Parameters

    Example request:
    curl --request POST \
        "http://localhost:8000/api/v1/visu/questionnaires/1/printParameters" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: multipart/form-data" \
        --header "Accept: application/json" \
        --form "report_design_id=consequatur"\
        --form "add_card_around_graph=1"\
    <<<<<<< HEAD
        --form "introductory_texts[introduction]=consequatur"\
        --form "introductory_texts[result]=consequatur"\
        --form "introductory_texts[conclusion]=consequatur"\
        --form "introductory_texts[method_concept]=consequatur"\
        --form "introductory_texts[method_admin]=consequatur"\
        --form "subtitles[][order]=2"\
        --form "subtitles[][value]=consequatur"\
        --form "logo=@C:\Users\geves\AppData\Local\Temp\php365.tmp" \
        --form "background_image=@C:\Users\geves\AppData\Local\Temp\php385.tmp" 
    ======= --form "introductory_texts[introduction]=architecto"\ --form "introductory_texts[result]=architecto"\ --form "introductory_texts[conclusion]=architecto"\ --form "introductory_texts[method_concept]=architecto"\ --form "introductory_texts[method_admin]=architecto"\ --form "subtitles[][order]=1"\ --form "subtitles[][value]=architecto"\ --form "logo=@/tmp/php671gpukpv2f504W1PV8" \ --form "background_image=@/tmp/php8g9p1276ud5g4VED5nb"
    >>>>>>> dev-master-dev1
    Example response :
    {
        "message": "success",
        "status": 200
    }

    Print parameter | Update

    GET
    http://localhost:8000
    /api/v1/visu/questionnaires/{questionnaireId}/printParameters
    requires authentication

    Update print parameter of a questionnaire

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    URL Parameters

    questionnaireId
    integer
    required

    The id of the questionnaire

    Example:
    1
    Example request:
    curl --request GET \
        --get "http://localhost:8000/api/v1/visu/questionnaires/1/printParameters" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    Example response :
    Headers
    cache-control : no-cache, private content-type : application/json vary : Origin
    {
        "message": "Unauthenticated."
    }

    Webinaires

    Webinaire | Questions List

    GET
    http://localhost:8000
    /api/v1/webinaire/questionnaires/{questionnaireId}/questionItems

    List of questions

    Headers

    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json
    Example request:
    curl --request GET \
        --get "http://localhost:8000/api/v1/webinaire/questionnaires/{questionnaireId}/questionItems" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    Example response :
    Headers
    cache-control : no-cache, private content-type : application/json vary : Origin
    {
    <<<<<<< HEAD
        "message": "App\\Http\\Controllers\\V1\\Webinaire\\Questions\\WebinaireQuestionItemController::index(): Argument #1 ($questionnaireId) must be of type int, string given, called in C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\ControllerDispatcher.php on line 47",
        "exception": "TypeError",
        "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\app\\Http\\Controllers\\V1\\Webinaire\\Questions\\WebinaireQuestionItemController.php",
        "line": 38,
        "trace": [
            {
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\ControllerDispatcher.php",
    =======
        "message": "App\\Http\\Controllers\\V1\\Webinaire\\Questions\\WebinaireQuestionItemController::index(): Argument #1 ($questionnaireId) must be of type int, string given, called in /var/www/html/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php on line 47",
        "exception": "TypeError",
        "file": "/var/www/html/app/Http/Controllers/V1/Webinaire/Questions/WebinaireQuestionItemController.php",
        "line": 38,
        "trace": [
            {
                "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php",
    >>>>>>> dev-master-dev1
                "line": 47,
                "function": "index",
                "class": "App\\Http\\Controllers\\V1\\Webinaire\\Questions\\WebinaireQuestionItemController",
                "type": "->"
            },
            {
    <<<<<<< HEAD
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php",
    =======
                "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Route.php",
    >>>>>>> dev-master-dev1
                "line": 266,
                "function": "dispatch",
                "class": "Illuminate\\Routing\\ControllerDispatcher",
                "type": "->"
            },
            {
    <<<<<<< HEAD
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Route.php",
    =======
                "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Route.php",
    >>>>>>> dev-master-dev1
                "line": 212,
                "function": "runController",
                "class": "Illuminate\\Routing\\Route",
                "type": "->"
            },
            {
    <<<<<<< HEAD
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php",
    =======
                "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Router.php",
    >>>>>>> dev-master-dev1
                "line": 808,
                "function": "run",
                "class": "Illuminate\\Routing\\Route",
                "type": "->"
            },
            {
    <<<<<<< HEAD
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
    =======
                "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
    >>>>>>> dev-master-dev1
                "line": 170,
                "function": "Illuminate\\Routing\\{closure}",
                "class": "Illuminate\\Routing\\Router",
                "type": "->"
            },
            {
    <<<<<<< HEAD
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Middleware\\SubstituteBindings.php",
    =======
                "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php",
    >>>>>>> dev-master-dev1
                "line": 51,
                "function": "Illuminate\\Pipeline\\{closure}",
                "class": "Illuminate\\Pipeline\\Pipeline",
                "type": "->"
            },
            {
    <<<<<<< HEAD
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
    =======
                "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
    >>>>>>> dev-master-dev1
                "line": 209,
                "function": "handle",
                "class": "Illuminate\\Routing\\Middleware\\SubstituteBindings",
                "type": "->"
            },
            {
    <<<<<<< HEAD
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\laravel\\sanctum\\src\\Http\\Middleware\\EnsureFrontendRequestsAreStateful.php",
    =======
                "file": "/var/www/html/vendor/laravel/sanctum/src/Http/Middleware/EnsureFrontendRequestsAreStateful.php",
    >>>>>>> dev-master-dev1
                "line": 26,
                "function": "Illuminate\\Pipeline\\{closure}",
                "class": "Illuminate\\Pipeline\\Pipeline",
                "type": "->"
            },
            {
    <<<<<<< HEAD
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
    =======
                "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
    >>>>>>> dev-master-dev1
                "line": 170,
                "function": "Laravel\\Sanctum\\Http\\Middleware\\{closure}",
                "class": "Laravel\\Sanctum\\Http\\Middleware\\EnsureFrontendRequestsAreStateful",
                "type": "->"
            },
            {
    <<<<<<< HEAD
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
    =======
                "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
    >>>>>>> dev-master-dev1
                "line": 127,
                "function": "Illuminate\\Pipeline\\{closure}",
                "class": "Illuminate\\Pipeline\\Pipeline",
                "type": "->"
            },
            {
    <<<<<<< HEAD
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\laravel\\sanctum\\src\\Http\\Middleware\\EnsureFrontendRequestsAreStateful.php",
    =======
                "file": "/var/www/html/vendor/laravel/sanctum/src/Http/Middleware/EnsureFrontendRequestsAreStateful.php",
    >>>>>>> dev-master-dev1
                "line": 25,
                "function": "then",
                "class": "Illuminate\\Pipeline\\Pipeline",
                "type": "->"
            },
            {
    <<<<<<< HEAD
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
    =======
                "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
    >>>>>>> dev-master-dev1
                "line": 209,
                "function": "handle",
                "class": "Laravel\\Sanctum\\Http\\Middleware\\EnsureFrontendRequestsAreStateful",
                "type": "->"
            },
            {
    <<<<<<< HEAD
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
    =======
                "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
    >>>>>>> dev-master-dev1
                "line": 127,
                "function": "Illuminate\\Pipeline\\{closure}",
                "class": "Illuminate\\Pipeline\\Pipeline",
                "type": "->"
            },
            {
    <<<<<<< HEAD
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php",
    =======
                "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Router.php",
    >>>>>>> dev-master-dev1
                "line": 807,
                "function": "then",
                "class": "Illuminate\\Pipeline\\Pipeline",
                "type": "->"
            },
            {
    <<<<<<< HEAD
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php",
    =======
                "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Router.php",
    >>>>>>> dev-master-dev1
                "line": 786,
                "function": "runRouteWithinStack",
                "class": "Illuminate\\Routing\\Router",
                "type": "->"
            },
            {
    <<<<<<< HEAD
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php",
    =======
                "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Router.php",
    >>>>>>> dev-master-dev1
                "line": 750,
                "function": "runRoute",
                "class": "Illuminate\\Routing\\Router",
                "type": "->"
            },
            {
    <<<<<<< HEAD
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\laravel\\framework\\src\\Illuminate\\Routing\\Router.php",
    =======
                "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Router.php",
    >>>>>>> dev-master-dev1
                "line": 739,
                "function": "dispatchToRoute",
                "class": "Illuminate\\Routing\\Router",
                "type": "->"
            },
            {
    <<<<<<< HEAD
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php",
    =======
                "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php",
    >>>>>>> dev-master-dev1
                "line": 201,
                "function": "dispatch",
                "class": "Illuminate\\Routing\\Router",
                "type": "->"
            },
            {
    <<<<<<< HEAD
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
    =======
                "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
    >>>>>>> dev-master-dev1
                "line": 170,
                "function": "Illuminate\\Foundation\\Http\\{closure}",
                "class": "Illuminate\\Foundation\\Http\\Kernel",
                "type": "->"
            },
            {
    <<<<<<< HEAD
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\livewire\\livewire\\src\\Features\\SupportDisablingBackButtonCache\\DisableBackButtonCacheMiddleware.php",
    =======
                "file": "/var/www/html/vendor/livewire/livewire/src/Features/SupportDisablingBackButtonCache/DisableBackButtonCacheMiddleware.php",
    >>>>>>> dev-master-dev1
                "line": 19,
                "function": "Illuminate\\Pipeline\\{closure}",
                "class": "Illuminate\\Pipeline\\Pipeline",
                "type": "->"
            },
            {
    <<<<<<< HEAD
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
    =======
                "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
    >>>>>>> dev-master-dev1
                "line": 209,
                "function": "handle",
                "class": "Livewire\\Features\\SupportDisablingBackButtonCache\\DisableBackButtonCacheMiddleware",
                "type": "->"
            },
            {
    <<<<<<< HEAD
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest.php",
    =======
                "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php",
    >>>>>>> dev-master-dev1
                "line": 21,
                "function": "Illuminate\\Pipeline\\{closure}",
                "class": "Illuminate\\Pipeline\\Pipeline",
                "type": "->"
            },
            {
    <<<<<<< HEAD
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull.php",
    =======
                "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php",
    >>>>>>> dev-master-dev1
                "line": 31,
                "function": "handle",
                "class": "Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest",
                "type": "->"
            },
            {
    <<<<<<< HEAD
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
    =======
                "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
    >>>>>>> dev-master-dev1
                "line": 209,
                "function": "handle",
                "class": "Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull",
                "type": "->"
            },
            {
    <<<<<<< HEAD
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest.php",
    =======
                "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php",
    >>>>>>> dev-master-dev1
                "line": 21,
                "function": "Illuminate\\Pipeline\\{closure}",
                "class": "Illuminate\\Pipeline\\Pipeline",
                "type": "->"
            },
            {
    <<<<<<< HEAD
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\TrimStrings.php",
    =======
                "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php",
    >>>>>>> dev-master-dev1
                "line": 51,
                "function": "handle",
                "class": "Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest",
                "type": "->"
            },
            {
    <<<<<<< HEAD
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
    =======
                "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
    >>>>>>> dev-master-dev1
                "line": 209,
                "function": "handle",
                "class": "Illuminate\\Foundation\\Http\\Middleware\\TrimStrings",
                "type": "->"
            },
            {
    <<<<<<< HEAD
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\laravel\\framework\\src\\Illuminate\\Http\\Middleware\\ValidatePostSize.php",
    =======
                "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php",
    >>>>>>> dev-master-dev1
                "line": 27,
                "function": "Illuminate\\Pipeline\\{closure}",
                "class": "Illuminate\\Pipeline\\Pipeline",
                "type": "->"
            },
            {
    <<<<<<< HEAD
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
    =======
                "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
    >>>>>>> dev-master-dev1
                "line": 209,
                "function": "handle",
                "class": "Illuminate\\Http\\Middleware\\ValidatePostSize",
                "type": "->"
            },
            {
    <<<<<<< HEAD
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance.php",
    =======
                "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php",
    >>>>>>> dev-master-dev1
                "line": 110,
                "function": "Illuminate\\Pipeline\\{closure}",
                "class": "Illuminate\\Pipeline\\Pipeline",
                "type": "->"
            },
            {
    <<<<<<< HEAD
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
    =======
                "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
    >>>>>>> dev-master-dev1
                "line": 209,
                "function": "handle",
                "class": "Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance",
                "type": "->"
            },
            {
    <<<<<<< HEAD
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\laravel\\framework\\src\\Illuminate\\Http\\Middleware\\HandleCors.php",
    =======
                "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php",
    >>>>>>> dev-master-dev1
                "line": 62,
                "function": "Illuminate\\Pipeline\\{closure}",
                "class": "Illuminate\\Pipeline\\Pipeline",
                "type": "->"
            },
            {
    <<<<<<< HEAD
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
    =======
                "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
    >>>>>>> dev-master-dev1
                "line": 209,
                "function": "handle",
                "class": "Illuminate\\Http\\Middleware\\HandleCors",
                "type": "->"
            },
            {
    <<<<<<< HEAD
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\laravel\\framework\\src\\Illuminate\\Http\\Middleware\\TrustProxies.php",
    =======
                "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php",
    >>>>>>> dev-master-dev1
                "line": 58,
                "function": "Illuminate\\Pipeline\\{closure}",
                "class": "Illuminate\\Pipeline\\Pipeline",
                "type": "->"
            },
            {
    <<<<<<< HEAD
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
    =======
                "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
    >>>>>>> dev-master-dev1
                "line": 209,
                "function": "handle",
                "class": "Illuminate\\Http\\Middleware\\TrustProxies",
                "type": "->"
            },
            {
    <<<<<<< HEAD
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks.php",
    =======
                "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php",
    >>>>>>> dev-master-dev1
                "line": 22,
                "function": "Illuminate\\Pipeline\\{closure}",
                "class": "Illuminate\\Pipeline\\Pipeline",
                "type": "->"
            },
            {
    <<<<<<< HEAD
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
    =======
                "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
    >>>>>>> dev-master-dev1
                "line": 209,
                "function": "handle",
                "class": "Illuminate\\Foundation\\Http\\Middleware\\InvokeDeferredCallbacks",
                "type": "->"
            },
            {
    <<<<<<< HEAD
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\laravel\\framework\\src\\Illuminate\\Pipeline\\Pipeline.php",
    =======
                "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php",
    >>>>>>> dev-master-dev1
                "line": 127,
                "function": "Illuminate\\Pipeline\\{closure}",
                "class": "Illuminate\\Pipeline\\Pipeline",
                "type": "->"
            },
            {
    <<<<<<< HEAD
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php",
    =======
                "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php",
    >>>>>>> dev-master-dev1
                "line": 176,
                "function": "then",
                "class": "Illuminate\\Pipeline\\Pipeline",
                "type": "->"
            },
            {
    <<<<<<< HEAD
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Http\\Kernel.php",
    =======
                "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php",
    >>>>>>> dev-master-dev1
                "line": 145,
                "function": "sendRequestThroughRouter",
                "class": "Illuminate\\Foundation\\Http\\Kernel",
                "type": "->"
            },
            {
    <<<<<<< HEAD
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\knuckleswtf\\scribe\\src\\Extracting\\Strategies\\Responses\\ResponseCalls.php",
    =======
                "file": "/var/www/html/vendor/knuckleswtf/scribe/src/Extracting/Strategies/Responses/ResponseCalls.php",
    >>>>>>> dev-master-dev1
                "line": 310,
                "function": "handle",
                "class": "Illuminate\\Foundation\\Http\\Kernel",
                "type": "->"
            },
            {
    <<<<<<< HEAD
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\knuckleswtf\\scribe\\src\\Extracting\\Strategies\\Responses\\ResponseCalls.php",
    =======
                "file": "/var/www/html/vendor/knuckleswtf/scribe/src/Extracting/Strategies/Responses/ResponseCalls.php",
    >>>>>>> dev-master-dev1
                "line": 298,
                "function": "callLaravelOrLumenRoute",
                "class": "Knuckles\\Scribe\\Extracting\\Strategies\\Responses\\ResponseCalls",
                "type": "->"
            },
            {
    <<<<<<< HEAD
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\knuckleswtf\\scribe\\src\\Extracting\\Strategies\\Responses\\ResponseCalls.php",
    =======
                "file": "/var/www/html/vendor/knuckleswtf/scribe/src/Extracting/Strategies/Responses/ResponseCalls.php",
    >>>>>>> dev-master-dev1
                "line": 91,
                "function": "makeApiCall",
                "class": "Knuckles\\Scribe\\Extracting\\Strategies\\Responses\\ResponseCalls",
                "type": "->"
            },
            {
    <<<<<<< HEAD
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\knuckleswtf\\scribe\\src\\Extracting\\Strategies\\Responses\\ResponseCalls.php",
    =======
                "file": "/var/www/html/vendor/knuckleswtf/scribe/src/Extracting/Strategies/Responses/ResponseCalls.php",
    >>>>>>> dev-master-dev1
                "line": 44,
                "function": "makeResponseCall",
                "class": "Knuckles\\Scribe\\Extracting\\Strategies\\Responses\\ResponseCalls",
                "type": "->"
            },
            {
    <<<<<<< HEAD
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\knuckleswtf\\scribe\\src\\Extracting\\Strategies\\Responses\\ResponseCalls.php",
    =======
                "file": "/var/www/html/vendor/knuckleswtf/scribe/src/Extracting/Strategies/Responses/ResponseCalls.php",
    >>>>>>> dev-master-dev1
                "line": 35,
                "function": "makeResponseCallIfConditionsPass",
                "class": "Knuckles\\Scribe\\Extracting\\Strategies\\Responses\\ResponseCalls",
                "type": "->"
            },
            {
    <<<<<<< HEAD
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\knuckleswtf\\scribe\\src\\Extracting\\Extractor.php",
    =======
                "file": "/var/www/html/vendor/knuckleswtf/scribe/src/Extracting/Extractor.php",
    >>>>>>> dev-master-dev1
                "line": 237,
                "function": "__invoke",
                "class": "Knuckles\\Scribe\\Extracting\\Strategies\\Responses\\ResponseCalls",
                "type": "->"
            },
            {
    <<<<<<< HEAD
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\knuckleswtf\\scribe\\src\\Extracting\\Extractor.php",
    =======
                "file": "/var/www/html/vendor/knuckleswtf/scribe/src/Extracting/Extractor.php",
    >>>>>>> dev-master-dev1
                "line": 163,
                "function": "iterateThroughStrategies",
                "class": "Knuckles\\Scribe\\Extracting\\Extractor",
                "type": "->"
            },
            {
    <<<<<<< HEAD
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\knuckleswtf\\scribe\\src\\Extracting\\Extractor.php",
    =======
                "file": "/var/www/html/vendor/knuckleswtf/scribe/src/Extracting/Extractor.php",
    >>>>>>> dev-master-dev1
                "line": 95,
                "function": "fetchResponses",
                "class": "Knuckles\\Scribe\\Extracting\\Extractor",
                "type": "->"
            },
            {
    <<<<<<< HEAD
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\knuckleswtf\\scribe\\src\\GroupedEndpoints\\GroupedEndpointsFromApp.php",
    =======
                "file": "/var/www/html/vendor/knuckleswtf/scribe/src/GroupedEndpoints/GroupedEndpointsFromApp.php",
    >>>>>>> dev-master-dev1
                "line": 125,
                "function": "processRoute",
                "class": "Knuckles\\Scribe\\Extracting\\Extractor",
                "type": "->"
            },
            {
    <<<<<<< HEAD
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\knuckleswtf\\scribe\\src\\GroupedEndpoints\\GroupedEndpointsFromApp.php",
    =======
                "file": "/var/www/html/vendor/knuckleswtf/scribe/src/GroupedEndpoints/GroupedEndpointsFromApp.php",
    >>>>>>> dev-master-dev1
                "line": 72,
                "function": "extractEndpointsInfoFromLaravelApp",
                "class": "Knuckles\\Scribe\\GroupedEndpoints\\GroupedEndpointsFromApp",
                "type": "->"
            },
            {
    <<<<<<< HEAD
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\knuckleswtf\\scribe\\src\\GroupedEndpoints\\GroupedEndpointsFromApp.php",
    =======
                "file": "/var/www/html/vendor/knuckleswtf/scribe/src/GroupedEndpoints/GroupedEndpointsFromApp.php",
    >>>>>>> dev-master-dev1
                "line": 50,
                "function": "extractEndpointsInfoAndWriteToDisk",
                "class": "Knuckles\\Scribe\\GroupedEndpoints\\GroupedEndpointsFromApp",
                "type": "->"
            },
            {
    <<<<<<< HEAD
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\knuckleswtf\\scribe\\src\\Commands\\GenerateDocumentation.php",
    =======
                "file": "/var/www/html/vendor/knuckleswtf/scribe/src/Commands/GenerateDocumentation.php",
    >>>>>>> dev-master-dev1
                "line": 53,
                "function": "get",
                "class": "Knuckles\\Scribe\\GroupedEndpoints\\GroupedEndpointsFromApp",
                "type": "->"
            },
            {
    <<<<<<< HEAD
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php",
    =======
                "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php",
    >>>>>>> dev-master-dev1
                "line": 36,
                "function": "handle",
                "class": "Knuckles\\Scribe\\Commands\\GenerateDocumentation",
                "type": "->"
            },
            {
    <<<<<<< HEAD
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\Util.php",
    =======
                "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Container/Util.php",
    >>>>>>> dev-master-dev1
                "line": 43,
                "function": "Illuminate\\Container\\{closure}",
                "class": "Illuminate\\Container\\BoundMethod",
                "type": "::"
            },
            {
    <<<<<<< HEAD
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php",
    =======
                "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php",
    >>>>>>> dev-master-dev1
                "line": 95,
                "function": "unwrapIfClosure",
                "class": "Illuminate\\Container\\Util",
                "type": "::"
            },
            {
    <<<<<<< HEAD
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\BoundMethod.php",
    =======
                "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php",
    >>>>>>> dev-master-dev1
                "line": 35,
                "function": "callBoundMethod",
                "class": "Illuminate\\Container\\BoundMethod",
                "type": "::"
            },
            {
    <<<<<<< HEAD
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\laravel\\framework\\src\\Illuminate\\Container\\Container.php",
    =======
                "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Container/Container.php",
    >>>>>>> dev-master-dev1
                "line": 696,
                "function": "call",
                "class": "Illuminate\\Container\\BoundMethod",
                "type": "::"
            },
            {
    <<<<<<< HEAD
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\laravel\\framework\\src\\Illuminate\\Console\\Command.php",
    =======
                "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Console/Command.php",
    >>>>>>> dev-master-dev1
                "line": 213,
                "function": "call",
                "class": "Illuminate\\Container\\Container",
                "type": "->"
            },
            {
    <<<<<<< HEAD
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\symfony\\console\\Command\\Command.php",
                "line": 335,
    =======
                "file": "/var/www/html/vendor/symfony/console/Command/Command.php",
                "line": 318,
    >>>>>>> dev-master-dev1
                "function": "execute",
                "class": "Illuminate\\Console\\Command",
                "type": "->"
            },
            {
    <<<<<<< HEAD
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\laravel\\framework\\src\\Illuminate\\Console\\Command.php",
    =======
                "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Console/Command.php",
    >>>>>>> dev-master-dev1
                "line": 182,
                "function": "run",
                "class": "Symfony\\Component\\Console\\Command\\Command",
                "type": "->"
            },
            {
    <<<<<<< HEAD
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\symfony\\console\\Application.php",
                "line": 1103,
    =======
                "file": "/var/www/html/vendor/symfony/console/Application.php",
                "line": 1092,
    >>>>>>> dev-master-dev1
                "function": "run",
                "class": "Illuminate\\Console\\Command",
                "type": "->"
            },
            {
    <<<<<<< HEAD
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\symfony\\console\\Application.php",
                "line": 356,
    =======
                "file": "/var/www/html/vendor/symfony/console/Application.php",
                "line": 341,
    >>>>>>> dev-master-dev1
                "function": "doRunCommand",
                "class": "Symfony\\Component\\Console\\Application",
                "type": "->"
            },
            {
    <<<<<<< HEAD
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\symfony\\console\\Application.php",
                "line": 195,
    =======
                "file": "/var/www/html/vendor/symfony/console/Application.php",
                "line": 192,
    >>>>>>> dev-master-dev1
                "function": "doRun",
                "class": "Symfony\\Component\\Console\\Application",
                "type": "->"
            },
            {
    <<<<<<< HEAD
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Console\\Kernel.php",
    =======
                "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php",
    >>>>>>> dev-master-dev1
                "line": 198,
                "function": "run",
                "class": "Symfony\\Component\\Console\\Application",
                "type": "->"
            },
            {
    <<<<<<< HEAD
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Application.php",
    =======
                "file": "/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Application.php",
    >>>>>>> dev-master-dev1
                "line": 1235,
                "function": "handle",
                "class": "Illuminate\\Foundation\\Console\\Kernel",
                "type": "->"
            },
            {
    <<<<<<< HEAD
                "file": "C:\\Users\\geves\\multicreatif\\isiquest-backend-v1\\artisan",
    =======
                "file": "/var/www/html/artisan",
    >>>>>>> dev-master-dev1
                "line": 13,
                "function": "handleCommand",
                "class": "Illuminate\\Foundation\\Application",
                "type": "->"
            }
        ]
    }

    Webinaire | Participate to a vote

    POST
    http://localhost:8000
    /api/v1/webinaire/questionnaires/{questionnaireId}/questionItems

    Respond to a webinaire questions

    Headers

    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    Body Parameters

    Example request:
    curl --request POST \
        "http://localhost:8000/api/v1/webinaire/questionnaires/{questionnaireId}/questionItems" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json" \
        --data "{
        \"name\": \"consequatur\",
        \"surname\": \"consequatur\",
        \"phone_number\": \"consequatur\",
        \"email\": \"carolyne.luettgen@example.org\"
    }"
    
    Example response :
    {
        "message": "success",
        "status": 200
    }

    Coachs | List

    GET
    http://localhost:8000
    /api/v1/webinaire/coachs
    requires authentication

    Get all coachs that matches webinaire rules

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json
    Example request:
    curl --request GET \
        --get "http://localhost:8000/api/v1/webinaire/coachs" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    Example response :
    {
        "data": [
            {
                "id": 1,
    <<<<<<< HEAD
                "created_at": "2025-12-13T21:54:48.000000Z",
                "updated_at": "2025-12-13T21:54:48.000000Z",
                "is_direct_child": 1,
                "role_id": 1,
                "status_id": 1,
                "formated_code": "SAdm20251213215448",
                "parent_id": null,
                "user": {
                    "id": 1,
                    "name": "geraldine",
                    "email": "geraldine.dada@yopmail.com",
                    "email_verified_at": "2025-12-13T21:54:47.000000Z",
                    "surname": "Rousseau",
                    "address": "8, boulevard Claude Barthelemy\n72928 Lefort",
                    "city": "Joubert-sur-Aubert",
                    "country": "LK",
                    "po_box": "22388",
                    "fix_phone": "+33 1 69 01 34 57",
                    "mobile_phone": "07 87 11 71 18",
                    "fax": "+33 2 89 46 60 68",
                    "date_of_birth": null,
                    "speciality": "Animateur d'écomusée",
                    "society": "Becker Renault S.A.S.",
                    "generic_language_id": null,
                    "other_information": null,
                    "created_at": "2025-12-13T21:54:48.000000Z",
                    "updated_at": "2025-12-13T21:54:48.000000Z"
    =======
                "created_at": "2025-12-10T16:44:20.000000Z",
                "updated_at": "2025-12-10T16:44:20.000000Z",
                "is_direct_child": 1,
                "role_id": 1,
                "status_id": 1,
                "formated_code": "SAdm20251210164420",
                "parent_id": null,
                "user": {
                    "id": 1,
                    "name": "Guy Roger",
                    "email": "guyroger.lock@multicreatif.com",
                    "email_verified_at": "2025-12-10T16:44:20.000000Z",
                    "surname": "Berger",
                    "address": "60, avenue de Diallo\n62076 Rocher",
                    "city": "Lefevre-sur-Barbe",
                    "country": "NL",
                    "po_box": "90480",
                    "fix_phone": "+33 (0)1 96 81 45 28",
                    "mobile_phone": "+33 (0)8 99 94 85 30",
                    "fax": "01 11 04 49 41",
                    "date_of_birth": null,
                    "speciality": "Pareur en abattoir",
                    "society": "Fischer S.A.",
                    "generic_language_id": null,
                    "other_information": null,
                    "created_at": "2025-12-10T16:44:20.000000Z",
                    "updated_at": "2025-12-10T16:44:20.000000Z"
    >>>>>>> dev-master-dev1
                },
                "act_as_global_admin": true,
                "voter_messages_count": null
            },
            {
                "id": 1,
    <<<<<<< HEAD
                "created_at": "2025-12-13T21:54:48.000000Z",
                "updated_at": "2025-12-13T21:54:48.000000Z",
                "is_direct_child": 1,
                "role_id": 1,
                "status_id": 1,
                "formated_code": "SAdm20251213215448",
                "parent_id": null,
                "user": {
                    "id": 1,
                    "name": "geraldine",
                    "email": "geraldine.dada@yopmail.com",
                    "email_verified_at": "2025-12-13T21:54:47.000000Z",
                    "surname": "Rousseau",
                    "address": "8, boulevard Claude Barthelemy\n72928 Lefort",
                    "city": "Joubert-sur-Aubert",
                    "country": "LK",
                    "po_box": "22388",
                    "fix_phone": "+33 1 69 01 34 57",
                    "mobile_phone": "07 87 11 71 18",
                    "fax": "+33 2 89 46 60 68",
                    "date_of_birth": null,
                    "speciality": "Animateur d'écomusée",
                    "society": "Becker Renault S.A.S.",
                    "generic_language_id": null,
                    "other_information": null,
                    "created_at": "2025-12-13T21:54:48.000000Z",
                    "updated_at": "2025-12-13T21:54:48.000000Z"
    =======
                "created_at": "2025-12-10T16:44:20.000000Z",
                "updated_at": "2025-12-10T16:44:20.000000Z",
                "is_direct_child": 1,
                "role_id": 1,
                "status_id": 1,
                "formated_code": "SAdm20251210164420",
                "parent_id": null,
                "user": {
                    "id": 1,
                    "name": "Guy Roger",
                    "email": "guyroger.lock@multicreatif.com",
                    "email_verified_at": "2025-12-10T16:44:20.000000Z",
                    "surname": "Berger",
                    "address": "60, avenue de Diallo\n62076 Rocher",
                    "city": "Lefevre-sur-Barbe",
                    "country": "NL",
                    "po_box": "90480",
                    "fix_phone": "+33 (0)1 96 81 45 28",
                    "mobile_phone": "+33 (0)8 99 94 85 30",
                    "fax": "01 11 04 49 41",
                    "date_of_birth": null,
                    "speciality": "Pareur en abattoir",
                    "society": "Fischer S.A.",
                    "generic_language_id": null,
                    "other_information": null,
                    "created_at": "2025-12-10T16:44:20.000000Z",
                    "updated_at": "2025-12-10T16:44:20.000000Z"
    >>>>>>> dev-master-dev1
                },
                "act_as_global_admin": true,
                "voter_messages_count": null
            }
        ]
    }

    Coachs | Event Coached

    GET
    http://localhost:8000
    /api/v1/webinaire/coachs/events
    requires authentication

    Return the list of all coached events

    Headers

    Authorization
    Example:
    Bearer {YOUR_AUTH_TOKEN}
    Content-Type
    Example:
    application/json
    Accept
    Example:
    application/json

    Query Parameters

    filter_type
    string

    The type of filter (date when event was created,date in title of events,number of inscriptions) to filter from

    Must be one of:
    • hold_date
    • creation_date
    • inscription_number
    Example:
    hold_date
    start_date
    string

    start date

    Example:
    2024-02-12
    end_date
    string

    end date

    Example:
    2024-02-20
    themes
    string

    filter by a specific theme

    Must be one of:
    • Leadership
    • Leader
    • Entretien
    • Projet
    Example:
    Projet
    paid_type
    string

    filter by type of paid

    Must be one of:
    • free
    • paid
    Example:
    free
    coach_id
    integer

    filter by coach id

    Example:
    1

    Response Fields

    Example request:
    curl --request GET \
        --get "http://localhost:8000/api/v1/webinaire/coachs/events?filter_type=hold_date&start_date=2024-02-12&end_date=2024-02-20&themes=Projet&paid_type=free&coach_id=1" \
        --header "Authorization: Bearer {YOUR_AUTH_TOKEN}" \
        --header "Content-Type: application/json" \
        --header "Accept: application/json"
    Example response :
    {
        "data": [
            {
                "events_count": 1,
                "inscriptions_count": 1,
                "coach": {
                    "id": 3,
                    "name": "Olivie Durand",
                    "surname": "Garcia",
                    "email": "julien.claudine@example.net"
                }
            },
            {
                "events_count": 1,
                "inscriptions_count": 12,
                "coach": {
                    "id": 4,
                    "name": "Pierre Guyon",
                    "surname": "Barthelemy",
                    "email": "vincent54@example.com"
                }
            }
        ]
    }