{
    "openapi": "3.1.0",
    "info": {
        "title": "Simplicate API",
        "termsOfService": "http://www.simplicate.nl/terms",
        "contact": {
            "email": "support@simplicate.nl"
        },
        "license": {
            "name": "Simplicate",
            "url": "#"
        },
        "version": "2.0"
    },
    "servers": [
        {
            "url": "https://{domain}.simplicate.nl/api/v2",
            "description": "Simplicate API",
            "variables": {
                "domain": {
                    "default": "your-company",
                    "description": "Your Simplicate subdomain"
                }
            }
        }
    ],
    "paths": {
        "/costs/coststype": {
            "get": {
                "tags": [
                    "Costs"
                ],
                "summary": "Fetches all cost types",
                "description": "METHOD: GET\nURL: '/api/v2/costs/coststype'",
                "operationId": "GetCostsCoststype",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/offset"
                    },
                    {
                        "$ref": "#/components/parameters/limit"
                    },
                    {
                        "$ref": "#/components/parameters/sort"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultHourTypes"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/costs/coststype/{id}": {
            "get": {
                "tags": [
                    "Costs"
                ],
                "summary": "Fetches a single cost type by cost type id",
                "description": "METHOD: GET\nURL: '/api/v2/costs/coststype/id'",
                "operationId": "GetCostsCoststypeById",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultHourType"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "422": {
                        "description": "Unprocessable Entity"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/costs/expense": {
            "get": {
                "tags": [
                    "Costs"
                ],
                "summary": "Fetches the expenses of employees",
                "operationId": "GetCostsExpense",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/offset"
                    },
                    {
                        "$ref": "#/components/parameters/limit"
                    },
                    {
                        "$ref": "#/components/parameters/sort"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultEmployeeExpenseList"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/costs/expense/{id}": {
            "get": {
                "tags": [
                    "Costs"
                ],
                "summary": "Fetches a single expense for an employee",
                "operationId": "GetCostsExpenseById",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultEmployeeExpense"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "422": {
                        "description": "Unprocessable Entity"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/crm/contactperson": {
            "get": {
                "tags": [
                    "CRM"
                ],
                "summary": "Fetches all contact persons",
                "description": "METHOD: GET\nURL: '/api/v2/crm/contactperson'",
                "operationId": "GetCrmContactperson",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/offset"
                    },
                    {
                        "$ref": "#/components/parameters/limit"
                    },
                    {
                        "$ref": "#/components/parameters/sort"
                    },
                    {
                        "$ref": "#/components/parameters/select"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultContactPersons"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/crm/contactperson/{id}": {
            "get": {
                "tags": [
                    "CRM"
                ],
                "summary": "Fetches a single contact person by id",
                "description": "METHOD: GET\nURL: '/api/v2/crm/contactperson/id'",
                "operationId": "GetCrmContactpersonById",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultContactPerson"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "422": {
                        "description": "Unprocessable Entity"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            },
            "delete": {
                "tags": [
                    "CRM"
                ],
                "summary": "Deletes the contact person for the given id",
                "description": "METHOD: DELETE\nURL: '/api/v2/crm/contactperson/id'",
                "operationId": "DeleteCrmContactperson",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok"
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/crm/country": {
            "get": {
                "tags": [
                    "CRM"
                ],
                "summary": "Fetches all available countries",
                "operationId": "GetCrmCountry",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/offset"
                    },
                    {
                        "$ref": "#/components/parameters/limit"
                    },
                    {
                        "$ref": "#/components/parameters/sort"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultCountries"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/crm/country/{id}": {
            "get": {
                "tags": [
                    "CRM"
                ],
                "summary": "Fetches a single country by id",
                "operationId": "GetCrmCountryById",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultCountry"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "422": {
                        "description": "Unprocessable Entity"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/crm/debtor": {
            "get": {
                "tags": [
                    "CRM"
                ],
                "summary": "Fetches all debtors available (organization and if business to consumer is enabled person also",
                "description": "METHOD: GET\nURL: '/api/v2/crm/debtor'",
                "operationId": "GetCrmDebtor",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/offset"
                    },
                    {
                        "$ref": "#/components/parameters/limit"
                    },
                    {
                        "$ref": "#/components/parameters/sort"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultDebtorList"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/crm/document": {
            "get": {
                "tags": [
                    "CRM"
                ],
                "summary": "Fetches all available documents for CRM",
                "operationId": "GetCrmDocument",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/offset"
                    },
                    {
                        "$ref": "#/components/parameters/limit"
                    },
                    {
                        "$ref": "#/components/parameters/sort"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultDocuments"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            },
            "put": {
                "tags": [
                    "CRM"
                ],
                "summary": "update a document",
                "operationId": "UpdateCrmDocument",
                "requestBody": {
                    "description": "Document object containing data",
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/PutDocument"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Ok"
                    },
                    "400": {
                        "description": "Bad Request"
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            },
            "post": {
                "tags": [
                    "CRM"
                ],
                "summary": "update a document",
                "operationId": "CreateCrmDocument",
                "requestBody": {
                    "description": "Document object containing data",
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/PostDocument"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Ok"
                    },
                    "400": {
                        "description": "Bad Request"
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/crm/document/{id}": {
            "get": {
                "tags": [
                    "CRM"
                ],
                "summary": "Fetches a single document for CRM by its id",
                "operationId": "GetCrmDocumentById",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultDocument"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "422": {
                        "description": "Unprocessable Entity"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            },
            "delete": {
                "tags": [
                    "CRM"
                ],
                "summary": "Deletes the document with the given id",
                "operationId": "DeleteCrmDocument",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok"
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/crm/documenttype": {
            "get": {
                "tags": [
                    "CRM"
                ],
                "summary": "Fetches all available document types for CRM",
                "operationId": "GetCrmDocumenttype",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/offset"
                    },
                    {
                        "$ref": "#/components/parameters/limit"
                    },
                    {
                        "$ref": "#/components/parameters/sort"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultDocumentTypes"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/crm/documenttype/{id}": {
            "get": {
                "tags": [
                    "CRM"
                ],
                "summary": "Fetches a single document type for CRM by its id",
                "operationId": "GetCrmDocumenttypeById",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultDocumentType"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "422": {
                        "description": "Unprocessable Entity"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/crm/gender": {
            "get": {
                "tags": [
                    "CRM"
                ],
                "summary": "Fetches all available genders",
                "operationId": "GetCrmGender",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/offset"
                    },
                    {
                        "$ref": "#/components/parameters/limit"
                    },
                    {
                        "$ref": "#/components/parameters/sort"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultGenders"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/crm/gender/{id}": {
            "get": {
                "tags": [
                    "CRM"
                ],
                "summary": "Fetches a single gender by id",
                "operationId": "GetCrmGenderById",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultGender"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "422": {
                        "description": "Unprocessable Entity"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/crm/industry": {
            "get": {
                "tags": [
                    "CRM"
                ],
                "summary": "Fetches all industry types",
                "description": "METHOD: GET\nURL: '/api/v2/crm/industry'",
                "operationId": "GetCrmIndustry",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/offset"
                    },
                    {
                        "$ref": "#/components/parameters/limit"
                    },
                    {
                        "$ref": "#/components/parameters/sort"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultIndustries"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/crm/industry/{id}": {
            "get": {
                "tags": [
                    "CRM"
                ],
                "summary": "Fetches a industry type by id",
                "description": "METHOD: GET\nURL: '/api/v2/crm/industry'",
                "operationId": "GetCrmIndustryById",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultIndustry"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "422": {
                        "description": "Unprocessable Entity"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/crm/interests": {
            "get": {
                "tags": [
                    "CRM"
                ],
                "summary": "Fetches all interests available",
                "description": "METHOD: GET\nURL: '/api/v2/crm/interests'",
                "operationId": "GetCrmInterests",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/offset"
                    },
                    {
                        "$ref": "#/components/parameters/limit"
                    },
                    {
                        "$ref": "#/components/parameters/sort"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultInterests"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/crm/interests/{id}": {
            "get": {
                "tags": [
                    "CRM"
                ],
                "summary": "Fetches a single interest by id",
                "description": "METHOD: GET\nURL: '/api/v2/crm/interests'",
                "operationId": "GetCrmInterestsById",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultInterest"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "422": {
                        "description": "Unprocessable Entity"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/crm/myorganizationprofile": {
            "get": {
                "tags": [
                    "CRM"
                ],
                "summary": "Fetches all my organization profiles",
                "description": "METHOD: GET\nURL: '/api/v2/crm/myorganization'",
                "operationId": "GetCrmMyorganizationprofile",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/offset"
                    },
                    {
                        "$ref": "#/components/parameters/limit"
                    },
                    {
                        "$ref": "#/components/parameters/sort"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultMyOrganizationProfiles"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/crm/myorganizationprofile/{id}": {
            "get": {
                "tags": [
                    "CRM"
                ],
                "summary": "Fetches a single my organization profile by id",
                "description": "METHOD: GET\nURL: '/api/v2/crm/myorganization/id'",
                "operationId": "GetCrmMyorganizationprofileById",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultMyOrganizationProfile"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "422": {
                        "description": "Unprocessable Entity"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/crm/organization": {
            "get": {
                "tags": [
                    "CRM"
                ],
                "summary": "Fetches all organizations",
                "description": "METHOD: GET\nURL: '/api/v2/crm/organization'",
                "operationId": "GetCrmOrganization",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/offset"
                    },
                    {
                        "$ref": "#/components/parameters/limit"
                    },
                    {
                        "$ref": "#/components/parameters/sort"
                    },
                    {
                        "$ref": "#/components/parameters/select"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultOrganizations"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            },
            "post": {
                "tags": [
                    "CRM"
                ],
                "summary": "Add a new organization",
                "description": "METHOD: POST\nURL: '/api/v2/crm/organization'",
                "operationId": "CreateCrmOrganization",
                "requestBody": {
                    "description": "Organization object containing data",
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/PostOrganization"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Ok"
                    },
                    "400": {
                        "description": "Bad Request"
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/crm/organization/{id}": {
            "get": {
                "tags": [
                    "CRM"
                ],
                "summary": "Fetches a single organization by id",
                "description": "METHOD: GET\nURL: '/api/v2/crm/organization/id'",
                "operationId": "GetCrmOrganizationById",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultOrganization"
                                }
                            }
                        }
                    },
                    "400": {
                        "description": "Bad Request"
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "422": {
                        "description": "Unprocessable Entity"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            },
            "put": {
                "tags": [
                    "CRM"
                ],
                "summary": "Updates an organization for the given id",
                "description": "METHOD: PUT\nURL: '/api/v2/crm/organization/id'",
                "operationId": "UpdateCrmOrganization",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "requestBody": {
                    "description": "Organization object containing data that with the new values",
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/PostOrganization"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Ok"
                    },
                    "400": {
                        "description": "Bad Request"
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            },
            "delete": {
                "tags": [
                    "CRM"
                ],
                "summary": "Deletes the organization for the given id",
                "operationId": "DeleteCrmOrganization",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok"
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/crm/organizationcustomfieldgroups": {
            "get": {
                "tags": [
                    "CRM"
                ],
                "summary": "Fetches all custom field groups available for organizations",
                "description": "METHOD: GET\nURL: '/api/v2/crm/organizationcustomfieldgroups'",
                "operationId": "GetCrmOrganizationcustomfieldgroups",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/offset"
                    },
                    {
                        "$ref": "#/components/parameters/limit"
                    },
                    {
                        "$ref": "#/components/parameters/sort"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultCustomFieldGroups"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/crm/organizationcustomfieldgroups/{id}": {
            "get": {
                "tags": [
                    "CRM"
                ],
                "summary": "Fetches a single custom field group available for organization",
                "description": "METHOD: GET\nURL: '/api/v2/crm/organizationcustomfieldgroups'",
                "operationId": "GetCrmOrganizationcustomfieldgroupsById",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultCustomFieldGroup"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "422": {
                        "description": "Unprocessable Entity"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/crm/organizationcustomfields": {
            "get": {
                "tags": [
                    "CRM"
                ],
                "summary": "Fetches all custom fields available for organizations",
                "description": "METHOD: GET\nURL: '/api/v2/crm/organizationcustomfields'",
                "operationId": "GetCrmOrganizationcustomfields",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/offset"
                    },
                    {
                        "$ref": "#/components/parameters/limit"
                    },
                    {
                        "$ref": "#/components/parameters/sort"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultCustomFields"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/crm/organizationcustomfields/{id}": {
            "get": {
                "tags": [
                    "CRM"
                ],
                "summary": "Fetches a single custom field available for organization",
                "description": "METHOD: GET\nURL: '/api/v2/crm/organizationcustomfields'",
                "operationId": "GetCrmOrganizationcustomfieldsById",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultCustomField"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "422": {
                        "description": "Unprocessable Entity"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/crm/organizationsize": {
            "get": {
                "tags": [
                    "CRM"
                ],
                "summary": "Fetches all available organization sizes",
                "description": "METHOD: GET\nURL: '/api/v2/crm/organizationsize'",
                "operationId": "GetCrmOrganizationsize",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/offset"
                    },
                    {
                        "$ref": "#/components/parameters/limit"
                    },
                    {
                        "$ref": "#/components/parameters/sort"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultOrganizationSizes"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/crm/organizationsize/{id}": {
            "get": {
                "tags": [
                    "CRM"
                ],
                "summary": "Fetches a single organization size by id",
                "description": "METHOD: GET\nURL: '/api/v2/crm/organizationsize'",
                "operationId": "GetCrmOrganizationsizeById",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultOrganizationSize"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "422": {
                        "description": "Unprocessable Entity"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/crm/person": {
            "get": {
                "tags": [
                    "CRM"
                ],
                "summary": "Fetches all persons",
                "description": "METHOD: GET\nURL: '/api/v2/crm/person'",
                "operationId": "GetCrmPerson",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/offset"
                    },
                    {
                        "$ref": "#/components/parameters/limit"
                    },
                    {
                        "$ref": "#/components/parameters/sort"
                    },
                    {
                        "$ref": "#/components/parameters/select"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultPersons"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            },
            "post": {
                "tags": [
                    "CRM"
                ],
                "summary": "Add a new person",
                "description": "METHOD: POST\nURL: '/api/v2/crm/person'",
                "operationId": "CreateCrmPerson",
                "requestBody": {
                    "description": "Person object that needs to be added",
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/PostPerson"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Ok"
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/crm/person/{id}": {
            "get": {
                "tags": [
                    "CRM"
                ],
                "summary": "Fetches a single person by id",
                "description": "METHOD: GET\nURL: '/api/v2/crm/person/id'",
                "operationId": "GetCrmPersonById",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultPerson"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "422": {
                        "description": "Unprocessable Entity"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            },
            "put": {
                "tags": [
                    "CRM"
                ],
                "summary": "Updates a person for the given id",
                "description": "METHOD: PUT\nURL: '/api/v2/crm/person/id'",
                "operationId": "UpdateCrmPerson",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "requestBody": {
                    "description": "Person object that needs to be added",
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/PostPerson"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Ok"
                    },
                    "400": {
                        "description": "Bad Request"
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            },
            "delete": {
                "tags": [
                    "CRM"
                ],
                "summary": "Deletes the person for the given id",
                "description": "METHOD: DELETE\nURL: '/api/v2/crm/person/id'",
                "operationId": "DeleteCrmPerson",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok"
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/crm/personcustomfieldgroups": {
            "get": {
                "tags": [
                    "CRM"
                ],
                "summary": "Fetches all custom field groups available for persons",
                "description": "METHOD: GET\nURL: '/api/v2/crm/personcustomfieldgroups'",
                "operationId": "GetCrmPersoncustomfieldgroups",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/offset"
                    },
                    {
                        "$ref": "#/components/parameters/limit"
                    },
                    {
                        "$ref": "#/components/parameters/sort"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultCustomFieldGroups"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/crm/personcustomfieldgroups/{id}": {
            "get": {
                "tags": [
                    "CRM"
                ],
                "summary": "Fetches a single custom field group available for person",
                "description": "METHOD: GET\nURL: '/api/v2/crm/personcustomfieldgroups'",
                "operationId": "GetCrmPersoncustomfieldgroupsById",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultCustomFieldGroup"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "422": {
                        "description": "Unprocessable Entity"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/crm/personcustomfields": {
            "get": {
                "tags": [
                    "CRM"
                ],
                "summary": "Fetches all custom fields available for persons",
                "description": "METHOD: GET\nURL: '/api/v2/crm/personcustomfields'",
                "operationId": "GetCrmPersoncustomfields",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/offset"
                    },
                    {
                        "$ref": "#/components/parameters/limit"
                    },
                    {
                        "$ref": "#/components/parameters/sort"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultCustomFields"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/crm/personcustomfields/{id}": {
            "get": {
                "tags": [
                    "CRM"
                ],
                "summary": "Fetches a single custom field available for person",
                "description": "METHOD: GET\nURL: '/api/v2/crm/personcustomfields'",
                "operationId": "GetCrmPersoncustomfieldsById",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultCustomField"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "422": {
                        "description": "Unprocessable Entity"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/crm/relationtype": {
            "get": {
                "tags": [
                    "CRM"
                ],
                "summary": "Fetches all relation types",
                "operationId": "GetCrmRelationtype",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/offset"
                    },
                    {
                        "$ref": "#/components/parameters/limit"
                    },
                    {
                        "$ref": "#/components/parameters/sort"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultRelationTypes"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/crm/relationtype/{id}": {
            "get": {
                "tags": [
                    "CRM"
                ],
                "summary": "Fetches a single relation type by id",
                "operationId": "GetCrmRelationtypeById",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultRelationType"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "422": {
                        "description": "Unprocessable Entity"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/customfields/group": {
            "get": {
                "tags": [
                    "Custom Fields"
                ],
                "summary": "Fetches all custom field groups",
                "operationId": "GetCustomfieldsGroup",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/offset"
                    },
                    {
                        "$ref": "#/components/parameters/limit"
                    },
                    {
                        "$ref": "#/components/parameters/sort"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultCustomFieldGroups"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/customfields/group/{id}": {
            "get": {
                "tags": [
                    "Custom Fields"
                ],
                "summary": "Fetches single custom field group",
                "operationId": "GetCustomfieldsGroupById",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/offset"
                    },
                    {
                        "$ref": "#/components/parameters/limit"
                    },
                    {
                        "$ref": "#/components/parameters/sort"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultCustomFieldGroup"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            },
            "put": {
                "tags": [
                    "Custom Fields"
                ],
                "summary": "Updates an group for the given id",
                "operationId": "UpdateCustomfieldsGroup",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "requestBody": {
                    "description": "Organization object containing data that with the new values",
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/CustomFieldGroup"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Ok"
                    },
                    "400": {
                        "description": "Bad Request"
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            },
            "post": {
                "tags": [
                    "Custom Fields"
                ],
                "summary": "Updates an group for the given id",
                "operationId": "CreateCustomfieldsGroup",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "requestBody": {
                    "description": "Organization object containing data that with the new values",
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/CustomFieldGroup"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Ok"
                    },
                    "400": {
                        "description": "Bad Request"
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            },
            "delete": {
                "tags": [
                    "Custom Fields"
                ],
                "summary": "Deletes the customfield group for the given id",
                "operationId": "DeleteCustomfieldsGroup",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok"
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/customfields/model": {
            "get": {
                "tags": [
                    "Custom Fields"
                ],
                "summary": "Fetches all custom field models",
                "operationId": "GetCustomfieldsModel",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/offset"
                    },
                    {
                        "$ref": "#/components/parameters/limit"
                    },
                    {
                        "$ref": "#/components/parameters/sort"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultCustomFieldModels"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/customfields/model/{id}": {
            "get": {
                "tags": [
                    "Custom Fields"
                ],
                "summary": "Fetches all custom field models",
                "operationId": "GetCustomfieldsModelById",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/offset"
                    },
                    {
                        "$ref": "#/components/parameters/limit"
                    },
                    {
                        "$ref": "#/components/parameters/sort"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultCustomFieldModel"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/customfields/option": {
            "get": {
                "tags": [
                    "Custom Fields"
                ],
                "summary": "Fetches all custom field options",
                "operationId": "GetCustomfieldsOption",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/offset"
                    },
                    {
                        "$ref": "#/components/parameters/limit"
                    },
                    {
                        "$ref": "#/components/parameters/sort"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultCustomFieldOptions"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            },
            "post": {
                "tags": [
                    "Custom Fields"
                ],
                "summary": "Creates an option",
                "operationId": "CreateCustomfieldsOption",
                "requestBody": {
                    "description": "CustomFieldOption object containing data",
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/CustomFieldOption"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Ok"
                    },
                    "400": {
                        "description": "Bad Request"
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/customfields/option/{id}": {
            "get": {
                "tags": [
                    "Custom Fields"
                ],
                "summary": "Fetches single custom field option",
                "operationId": "GetCustomfieldsOptionById",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    },
                    {
                        "$ref": "#/components/parameters/offset"
                    },
                    {
                        "$ref": "#/components/parameters/limit"
                    },
                    {
                        "$ref": "#/components/parameters/sort"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultCustomFieldOption"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            },
            "put": {
                "tags": [
                    "Custom Fields"
                ],
                "summary": "Updates an option",
                "operationId": "UpdateCustomfieldsOption",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "requestBody": {
                    "description": "CustomFieldOption object containing data",
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/CustomFieldOption"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Ok"
                    },
                    "400": {
                        "description": "Bad Request"
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            },
            "delete": {
                "tags": [
                    "Custom Fields"
                ],
                "summary": "Deletes the customfield option for the given id",
                "operationId": "DeleteCustomfieldsOption",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok"
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/customfields/type": {
            "get": {
                "tags": [
                    "Custom Fields"
                ],
                "summary": "Fetches all custom field types",
                "operationId": "GetCustomfieldsType",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/offset"
                    },
                    {
                        "$ref": "#/components/parameters/limit"
                    },
                    {
                        "$ref": "#/components/parameters/sort"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultCustomFieldTypes"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/customfields/type/{id}": {
            "get": {
                "tags": [
                    "Custom Fields"
                ],
                "summary": "Fetches single custom field type",
                "operationId": "GetCustomfieldsTypeById",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/offset"
                    },
                    {
                        "$ref": "#/components/parameters/limit"
                    },
                    {
                        "$ref": "#/components/parameters/sort"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultCustomFieldType"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/documents/document": {
            "get": {
                "tags": [
                    "Documents"
                ],
                "summary": "Fetches all documents",
                "operationId": "GetDocumentsDocument9",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/offset"
                    },
                    {
                        "$ref": "#/components/parameters/limit"
                    },
                    {
                        "$ref": "#/components/parameters/sort"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultDocuments"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            },
            "put": {
                "tags": [
                    "Documents"
                ],
                "summary": "Add a new document",
                "operationId": "UpdateDocumentsDocument",
                "requestBody": {
                    "description": "Document object containing data",
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/PutDocument"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Ok"
                    },
                    "400": {
                        "description": "Bad Request"
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            },
            "post": {
                "tags": [
                    "Documents"
                ],
                "summary": "Add a new document",
                "operationId": "CreateDocumentsDocument",
                "requestBody": {
                    "description": "Document object containing data",
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/PostDocument"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Ok"
                    },
                    "400": {
                        "description": "Bad Request"
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/documents/document/{id}": {
            "get": {
                "tags": [
                    "Documents"
                ],
                "summary": "Fetches a single document by its id",
                "operationId": "GetDocumentsDocumentById",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultDocument"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "422": {
                        "description": "Unprocessable Entity"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            },
            "delete": {
                "tags": [
                    "Documents"
                ],
                "summary": "Deletes the document with the given id",
                "operationId": "DeleteDocumentsDocument",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok"
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/documents/documenttype": {
            "get": {
                "tags": [
                    "Documents"
                ],
                "summary": "Fetches all available document types",
                "operationId": "GetDocumentsDocumenttype",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/offset"
                    },
                    {
                        "$ref": "#/components/parameters/limit"
                    },
                    {
                        "$ref": "#/components/parameters/sort"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultDocumentTypes"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/documents/documenttype/{id}": {
            "get": {
                "tags": [
                    "Documents"
                ],
                "summary": "Fetches a single document type by its id",
                "operationId": "GetDocumentsDocumenttypeById",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultDocumentType"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "422": {
                        "description": "Unprocessable Entity"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/documents/download/{id}": {
            "get": {
                "tags": [
                    "Documents"
                ],
                "summary": "Fetches a single file by document id",
                "operationId": "GetDocumentsDownloadById",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/octet-stream": {
                                "schema": {
                                    "type": "string",
                                    "format": "binary"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "422": {
                        "description": "Unprocessable Entity"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/documents/externaldocument": {
            "get": {
                "tags": [
                    "Documents"
                ],
                "summary": "Fetches all external documents",
                "operationId": "GetDocumentsExternaldocument",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/offset"
                    },
                    {
                        "$ref": "#/components/parameters/limit"
                    },
                    {
                        "$ref": "#/components/parameters/sort"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultDocuments"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            },
            "put": {
                "tags": [
                    "Documents"
                ],
                "summary": "Add a new external document",
                "operationId": "UpdateDocumentsExternaldocument",
                "requestBody": {
                    "description": "Document object containing data",
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/PutExternalDocument"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Ok"
                    },
                    "400": {
                        "description": "Bad Request"
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            },
            "post": {
                "tags": [
                    "Documents"
                ],
                "summary": "Add a new external document",
                "operationId": "CreateDocumentsExternaldocument",
                "requestBody": {
                    "description": "Document object containing data",
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/PostExternalDocument"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Ok"
                    },
                    "400": {
                        "description": "Bad Request"
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/documents/externaldocument/{id}": {
            "get": {
                "tags": [
                    "Documents"
                ],
                "summary": "Fetches a single external document by its id",
                "operationId": "GetDocumentsExternaldocumentById",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultDocument"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "422": {
                        "description": "Unprocessable Entity"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            },
            "delete": {
                "tags": [
                    "Documents"
                ],
                "summary": "Deletes the external document with the given id",
                "operationId": "DeleteDocumentsExternaldocument",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok"
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/hours/absence": {
            "post": {
                "tags": [
                    "Hours"
                ],
                "summary": "Add a new hours entity for absence",
                "description": "METHOD: POST\nURL: '/api/v2/hours/absence'",
                "operationId": "CreateHoursAbsence",
                "requestBody": {
                    "description": "absence object containing data",
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/PostAbsence"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Ok"
                    },
                    "204": {
                        "description": "Ok, No Content"
                    },
                    "400": {
                        "description": "Bad Request"
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/hours/absence/{id}": {
            "put": {
                "tags": [
                    "Hours"
                ],
                "summary": "Updates an hour entity for absence for the given id",
                "description": "METHOD: PUT\nURL: '/api/v2/hours/absence/id'",
                "operationId": "UpdateHoursAbsence",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "requestBody": {
                    "description": "Absence object containing data that with the new values",
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/PostAbsence"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Ok"
                    },
                    "400": {
                        "description": "Bad Request"
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/hours/approval": {
            "get": {
                "tags": [
                    "Hours"
                ],
                "summary": "Fetches the approval status of each day for each employee",
                "description": "METHOD: GET\nURL: '/api/v2/hours/approval'",
                "operationId": "GetHoursApproval",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/offset"
                    },
                    {
                        "$ref": "#/components/parameters/limit"
                    },
                    {
                        "$ref": "#/components/parameters/sort"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultApprovals"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            },
            "post": {
                "tags": [
                    "Hours"
                ],
                "summary": "Add a new hours approval",
                "description": "METHOD: POST\nURL: '/api/v2/hours/approval'",
                "operationId": "CreateHoursApproval",
                "requestBody": {
                    "description": "Approval object that needs to be added",
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/PostApproval"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Ok"
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/hours/approval/{id}": {
            "get": {
                "tags": [
                    "Hours"
                ],
                "summary": "Fetches a single approval status for a day for an employee",
                "description": "METHOD: GET\nURL: '/api/v2/hours/approval/id'",
                "operationId": "GetHoursApprovalById",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultApproval"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "422": {
                        "description": "Unprocessable Entity"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            },
            "put": {
                "tags": [
                    "Hours"
                ],
                "summary": "Updates a hours approval for the given approval id",
                "description": "METHOD: PUT\nURL: '/api/v2/hours/approval/id'",
                "operationId": "UpdateHoursApproval",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "requestBody": {
                    "description": "Approval object that needs to be updated",
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/PostApproval"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Ok"
                    },
                    "400": {
                        "description": "Bad Request"
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            },
            "delete": {
                "tags": [
                    "Hours"
                ],
                "summary": "Deletes the hours approval with the given approval id",
                "description": "METHOD: DELETE\nURL: '/api/v2/hours/approval/id'",
                "operationId": "DeleteHoursApproval",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok"
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/hours/approvalstatus": {
            "get": {
                "tags": [
                    "Hours"
                ],
                "summary": "Fetches all hour types",
                "description": "METHOD: GET\nURL: '/api/v2/hours/type'",
                "operationId": "GetHoursApprovalstatus",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/offset"
                    },
                    {
                        "$ref": "#/components/parameters/limit"
                    },
                    {
                        "$ref": "#/components/parameters/sort"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultApprovalStatusList"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/hours/approvalstatus/{id}": {
            "get": {
                "tags": [
                    "Hours"
                ],
                "summary": "Fetches a single hour status by hour type id",
                "description": "METHOD: GET\nURL: '/api/v2/hours/hoursapprovalstatus/id'",
                "operationId": "GetHoursApprovalstatusById",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultApprovalStatus"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "422": {
                        "description": "Unprocessable Entity"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/hours/employeeexpenses": {
            "get": {
                "tags": [
                    "Hours"
                ],
                "summary": "Fetches the expenses of employees",
                "operationId": "GetHoursEmployeeexpenses",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/offset"
                    },
                    {
                        "$ref": "#/components/parameters/limit"
                    },
                    {
                        "$ref": "#/components/parameters/sort"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultEmployeeExpenseList"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/hours/employeeexpense/{id}": {
            "get": {
                "tags": [
                    "Hours"
                ],
                "summary": "Fetches a single expense for an employee",
                "operationId": "GetHoursEmployeeexpenseById",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultEmployeeExpense"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "422": {
                        "description": "Unprocessable Entity"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/hours/hours": {
            "get": {
                "tags": [
                    "Hours"
                ],
                "summary": "Fetches all hours",
                "description": "METHOD: GET\nURL: '/api/v2/hours/hours'",
                "operationId": "GetHoursHours",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/offset"
                    },
                    {
                        "$ref": "#/components/parameters/limit"
                    },
                    {
                        "$ref": "#/components/parameters/sort"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultHours"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            },
            "post": {
                "tags": [
                    "Hours"
                ],
                "summary": "Add a new hours registration",
                "description": "METHOD: POST\nURL: '/api/v2/hours/hours'",
                "operationId": "CreateHoursHours",
                "requestBody": {
                    "description": "Hours object that needs to be added",
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/PostHours"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Ok"
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/hours/hours/{id}": {
            "get": {
                "tags": [
                    "Hours"
                ],
                "summary": "Fetches a single hours by hours id",
                "description": "METHOD: GET\nURL: '/api/v2/hours/hours/id'",
                "operationId": "GetHoursHoursById",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultHour"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "422": {
                        "description": "Unprocessable Entity"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            },
            "put": {
                "tags": [
                    "Hours"
                ],
                "summary": "Updates a hours registration for the given hours id",
                "description": "METHOD: PUT\nURL: '/api/v2/hours/hours/id'",
                "operationId": "UpdateHoursHours",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "requestBody": {
                    "description": "Hours object that needs to be updated",
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/PostHours"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Ok"
                    },
                    "400": {
                        "description": "Bad Request"
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            },
            "delete": {
                "tags": [
                    "Hours"
                ],
                "summary": "Deletes the hours registration with the given hours id",
                "description": "METHOD: DELETE\nURL: '/api/v2/hours/hours/id'",
                "operationId": "DeleteHoursHours",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok"
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/hours/hourstype": {
            "get": {
                "tags": [
                    "Hours"
                ],
                "summary": "Fetches all hour types",
                "description": "METHOD: GET\nURL: '/api/v2/hours/type'",
                "operationId": "GetHoursHourstype",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/offset"
                    },
                    {
                        "$ref": "#/components/parameters/limit"
                    },
                    {
                        "$ref": "#/components/parameters/sort"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultHourTypes"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            },
            "post": {
                "tags": [
                    "Hours"
                ],
                "summary": "Add a new hour type",
                "description": "METHOD: POST\nURL: '/api/v2/hours/type'",
                "operationId": "CreateHoursHourstype",
                "requestBody": {
                    "description": "Hour type object that needs to be added",
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/PostHoursType"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Ok"
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/hours/hourstype/{id}": {
            "get": {
                "tags": [
                    "Hours"
                ],
                "summary": "Fetches a single hour type by hour type id",
                "description": "METHOD: GET\nURL: '/api/v2/hours/type/id'",
                "operationId": "GetHoursHourstypeById",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultHourType"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "422": {
                        "description": "Unprocessable Entity"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            },
            "put": {
                "tags": [
                    "Hours"
                ],
                "summary": "Updates a hour type registration for the given hour type id",
                "description": "METHOD: PUT\nURL: '/api/v2/hours/type/id'",
                "operationId": "UpdateHoursHourstype",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "requestBody": {
                    "description": "Hours type object that needs to be updated",
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/PostHoursType"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Ok"
                    },
                    "400": {
                        "description": "Bad Request"
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/hours/leave": {
            "post": {
                "tags": [
                    "Hours"
                ],
                "summary": "Add a new hours entity for leave",
                "description": "METHOD: POST\nURL: '/api/v2/hours/leave'",
                "operationId": "CreateHoursLeave",
                "requestBody": {
                    "description": "leave object containing data",
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/PostLeave"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Ok"
                    },
                    "204": {
                        "description": "Ok, No Content"
                    },
                    "400": {
                        "description": "Bad Request"
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/hours/leave/{id}": {
            "put": {
                "tags": [
                    "Hours"
                ],
                "summary": "Updates an hour entity for leave for the given id",
                "description": "METHOD: PUT\nURL: '/api/v2/hours/leave/id'",
                "operationId": "UpdateHoursLeave",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "requestBody": {
                    "description": "Leave object containing data that with the new values",
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/PostLeave"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Ok"
                    },
                    "400": {
                        "description": "Bad Request"
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/hours/submission": {
            "get": {
                "tags": [
                    "Hours"
                ],
                "summary": "Fetches hours submission status, by date, for an employee",
                "operationId": "GetHoursSubmission",
                "parameters": [
                    {
                        "name": "q[start_date]",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "q[end_date]",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "q[employee_id]",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultHoursSubmissions"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            },
            "post": {
                "tags": [
                    "Hours"
                ],
                "summary": "Submit all the employee's hours between the start and end date.",
                "operationId": "CreateHoursSubmission",
                "requestBody": {
                    "description": "Description of hours that need to be submitted.",
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/PostSubmission"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Ok"
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/hours/submit": {
            "post": {
                "tags": [
                    "Hours"
                ],
                "summary": "Submit hours for approval",
                "description": "METHOD: POST\nURL: '/api/v2/hours/submit'",
                "operationId": "CreateHoursSubmit",
                "requestBody": {
                    "description": "Data that is needed to submit hours",
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/Submit"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Ok"
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/hours/timesheetrow": {
            "get": {
                "tags": [
                    "Hours"
                ],
                "summary": "Fetches timesheet rows, by date, for an employee",
                "operationId": "GetHoursTimesheetrow",
                "parameters": [
                    {
                        "name": "q[start_date]",
                        "in": "query",
                        "description": "Y-m-d, must be a Monday",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "q[end_date]",
                        "in": "query",
                        "description": "Y-m-d, must be the Sunday after the Monday of the start_date",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "q[employee_id]",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultHoursTimesheetRows"
                                }
                            }
                        }
                    },
                    "400": {
                        "description": "Bad request, validation failed"
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "500": {
                        "description": "Server error"
                    }
                }
            },
            "post": {
                "tags": [
                    "Hours"
                ],
                "summary": "Submit a timesheet week row for the given employee.",
                "operationId": "CreateHoursTimesheetrow",
                "requestBody": {
                    "description": "Description of timesheetrow that is submitted.",
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/PostTimesheetRow"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Ok"
                    },
                    "400": {
                        "description": "Bad request, validation failed"
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "500": {
                        "description": "Server error"
                    }
                }
            }
        },
        "/hours/timesheetrow/{id}": {
            "delete": {
                "tags": [
                    "Hours"
                ],
                "summary": "Deletes the timesheet row with the supplied timesheetrow id",
                "operationId": "DeleteHoursTimesheetrow",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok, timesheetrow deleted"
                    },
                    "400": {
                        "description": "Bad request"
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Timesheetrow not found"
                    },
                    "500": {
                        "description": "Server error"
                    }
                }
            }
        },
        "/hours/timesheetrow/order": {
            "put": {
                "tags": [
                    "Hours"
                ],
                "summary": "Change order for timesheetrows.",
                "operationId": "UpdateHoursTimesheetrowOrder",
                "requestBody": {
                    "description": "List of external ids for timesheetrows that need to be ordered.",
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "array",
                                "items": {
                                    "type": "string"
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Ok, timesheetrows ordered"
                    },
                    "400": {
                        "description": "Bad request"
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Timesheetrow not found"
                    },
                    "500": {
                        "description": "Server error"
                    }
                }
            }
        },
        "/hours/timesheetrow/mostrecent": {
            "get": {
                "tags": [
                    "Hours"
                ],
                "summary": "Find the most recent timesheet row",
                "operationId": "GetHoursTimesheetrowMostrecent",
                "parameters": [
                    {
                        "name": "q[before_date]",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "q[employee_id]",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "q[type]",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "enum": [
                                "hours",
                                "mileage",
                                "costs"
                            ]
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultDateTimeRange"
                                }
                            }
                        }
                    },
                    "400": {
                        "description": "Bad request"
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Not Found"
                    },
                    "500": {
                        "description": "Server error"
                    }
                }
            }
        },
        "/hrm/absence": {
            "get": {
                "tags": [
                    "HRM"
                ],
                "summary": "Fetches all absence for employees",
                "description": "METHOD: GET\nURL: '/api/v2/hrm/absence'",
                "operationId": "GetHrmAbsence",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/offset"
                    },
                    {
                        "$ref": "#/components/parameters/limit"
                    },
                    {
                        "$ref": "#/components/parameters/sort"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultAbsenceMultiple"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            },
            "post": {
                "tags": [
                    "HRM"
                ],
                "summary": "Add a new absence entity",
                "description": "METHOD: POST\nURL: '/api/v2/hrm/absence'",
                "operationId": "CreateHrmAbsence",
                "requestBody": {
                    "description": "absence object containing data",
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/PostAbsence"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Ok"
                    },
                    "204": {
                        "description": "Ok, No Content"
                    },
                    "400": {
                        "description": "Bad Request"
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/hrm/absence/{id}": {
            "get": {
                "tags": [
                    "HRM"
                ],
                "summary": "Fetches a single absence by its id",
                "description": "METHOD: GET\nURL: '/api/v2/hrm/absence'",
                "operationId": "GetHrmAbsenceById",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultAbsence"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            },
            "put": {
                "tags": [
                    "HRM"
                ],
                "summary": "Updates an absence for the given id",
                "description": "METHOD: PUT\nURL: '/api/v2/hrm/absence/id'",
                "operationId": "UpdateHrmAbsence",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "requestBody": {
                    "description": "Absence object containing data that with the new values",
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/PostAbsence"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Ok"
                    },
                    "400": {
                        "description": "Bad Request"
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            },
            "delete": {
                "tags": [
                    "HRM"
                ],
                "summary": "Deletes the absence for the given id",
                "description": "METHOD: DELETE\nURL: '/api/v2/hrm/absence/id'",
                "operationId": "DeleteHrmAbsence",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok"
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/hrm/absencetype": {
            "get": {
                "tags": [
                    "HRM"
                ],
                "summary": "Fetches all absence types",
                "description": "METHOD: GET\nURL: '/api/v2/hrm/absencetype'",
                "operationId": "GetHrmAbsencetype",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/offset"
                    },
                    {
                        "$ref": "#/components/parameters/limit"
                    },
                    {
                        "$ref": "#/components/parameters/sort"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultAbsenceTypes"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/hrm/absencetype/{id}": {
            "get": {
                "tags": [
                    "HRM"
                ],
                "summary": "Fetches a single absence type by absence type id",
                "description": "METHOD: GET\nURL: '/api/v2/hrm/absencetype/id'",
                "operationId": "GetHrmAbsencetypeById",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultAbsenceType"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "422": {
                        "description": "Unprocessable Entity"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/hrm/civilstatus": {
            "get": {
                "tags": [
                    "HRM"
                ],
                "summary": "Fetches all available civil statuses",
                "description": "METHOD: GET\nURL: '/api/v2/hrm/civilstatus'",
                "operationId": "GetHrmCivilstatus",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/offset"
                    },
                    {
                        "$ref": "#/components/parameters/limit"
                    },
                    {
                        "$ref": "#/components/parameters/sort"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultCivilStatuses"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/hrm/civilstatus/{id}": {
            "get": {
                "tags": [
                    "HRM"
                ],
                "summary": "Fetches a single contract type by id",
                "description": "METHOD: GET\nURL: '/api/v2/hrm/civilstatus'",
                "operationId": "GetHrmCivilstatusById",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultCivilStatus"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "422": {
                        "description": "Unprocessable Entity"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/hrm/contract": {
            "get": {
                "tags": [
                    "HRM"
                ],
                "summary": "Fetches all contracts",
                "description": "METHOD: GET\nURL: '/api/v2/hrm/contract'",
                "operationId": "GetHrmContract",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/offset"
                    },
                    {
                        "$ref": "#/components/parameters/limit"
                    },
                    {
                        "$ref": "#/components/parameters/sort"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultContracts"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/hrm/contract/{id}": {
            "get": {
                "tags": [
                    "HRM"
                ],
                "summary": "Fetches a single contract by id",
                "description": "METHOD: GET\nURL: '/api/v2/hrm/contract'",
                "operationId": "GetHrmContractById",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultContract"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "422": {
                        "description": "Unprocessable Entity"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/hrm/contracttype": {
            "get": {
                "tags": [
                    "HRM"
                ],
                "summary": "Fetches all available contract types",
                "description": "METHOD: GET\nURL: '/api/v2/hrm/contracttype'",
                "operationId": "GetHrmContracttype",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/offset"
                    },
                    {
                        "$ref": "#/components/parameters/limit"
                    },
                    {
                        "$ref": "#/components/parameters/sort"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultContractTypes"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/hrm/contracttype/{id}": {
            "get": {
                "tags": [
                    "HRM"
                ],
                "summary": "Fetches a single contract type by id",
                "description": "METHOD: GET\nURL: '/api/v2/hrm/contracttype'",
                "operationId": "GetHrmContracttypeById",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultContractType"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "422": {
                        "description": "Unprocessable Entity"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/hrm/document": {
            "get": {
                "tags": [
                    "HRM"
                ],
                "summary": "Fetches all available documents for HRM",
                "operationId": "GetHrmDocument",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/offset"
                    },
                    {
                        "$ref": "#/components/parameters/limit"
                    },
                    {
                        "$ref": "#/components/parameters/sort"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultDocuments"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            },
            "put": {
                "tags": [
                    "HRM"
                ],
                "summary": "update a document",
                "operationId": "UpdateHrmDocument",
                "requestBody": {
                    "description": "Document object containing data",
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/PutDocument"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Ok"
                    },
                    "400": {
                        "description": "Bad Request"
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            },
            "post": {
                "tags": [
                    "HRM"
                ],
                "summary": "create a document",
                "operationId": "CreateHrmDocument",
                "requestBody": {
                    "description": "Document object containing data",
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/PostDocument"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Ok"
                    },
                    "400": {
                        "description": "Bad Request"
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/hrm/document/{id}": {
            "get": {
                "tags": [
                    "HRM"
                ],
                "summary": "Fetches a single document for HRM by its id",
                "operationId": "GetHrmDocumentById",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultDocument"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "422": {
                        "description": "Unprocessable Entity"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            },
            "delete": {
                "tags": [
                    "HRM"
                ],
                "summary": "Deletes the document with the given id",
                "operationId": "DeleteHrmDocument",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok"
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/hrm/documenttype": {
            "get": {
                "tags": [
                    "HRM"
                ],
                "summary": "Fetches all available document types for HRM",
                "operationId": "GetHrmDocumenttype",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/offset"
                    },
                    {
                        "$ref": "#/components/parameters/limit"
                    },
                    {
                        "$ref": "#/components/parameters/sort"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultDocumentTypes"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/hrm/documenttype/{id}": {
            "get": {
                "tags": [
                    "HRM"
                ],
                "summary": "Fetches a single document type for HRM by its id",
                "operationId": "GetHrmDocumenttypeById",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultDocumentType"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "422": {
                        "description": "Unprocessable Entity"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/hrm/employee": {
            "get": {
                "tags": [
                    "HRM"
                ],
                "summary": "Fetches all employees",
                "description": "METHOD: GET\nURL: '/api/v2/hrm/employee'",
                "operationId": "GetHrmEmployee",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/offset"
                    },
                    {
                        "$ref": "#/components/parameters/limit"
                    },
                    {
                        "$ref": "#/components/parameters/sort"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultEmployees"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            },
            "post": {
                "tags": [
                    "HRM"
                ],
                "summary": "Add a new employee",
                "description": "METHOD: POST\nURL: '/api/v2/hrm/employee'",
                "operationId": "CreateHrmEmployee",
                "requestBody": {
                    "description": "Employee object that needs to be added",
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/PostEmployee"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Ok"
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/hrm/employee/{id}": {
            "get": {
                "tags": [
                    "HRM"
                ],
                "summary": "Fetches a single employee by id",
                "description": "METHOD: GET\nURL: '/api/v2/hrm/employee/id'",
                "operationId": "GetHrmEmployeeById",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultEmployee"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "422": {
                        "description": "Unprocessable Entity"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            },
            "put": {
                "tags": [
                    "HRM"
                ],
                "summary": "Updates an existing employee",
                "description": "METHOD: PUT\nURL: '/api/v2/hrm/employee/id'",
                "operationId": "UpdateHrmEmployee",
                "requestBody": {
                    "description": "Employee object that needs to be updated",
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/PutEmployee"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Ok"
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/hrm/employeecustomfieldgroups": {
            "get": {
                "tags": [
                    "HRM"
                ],
                "summary": "Fetches all custom field groups available for employees",
                "description": "METHOD: GET\nURL: '/api/v2/hrm/employeecustomfieldgroups'",
                "operationId": "GetHrmEmployeecustomfieldgroups",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/offset"
                    },
                    {
                        "$ref": "#/components/parameters/limit"
                    },
                    {
                        "$ref": "#/components/parameters/sort"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultCustomFieldGroups"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/hrm/employeecustomfieldgroups/{id}": {
            "get": {
                "tags": [
                    "HRM"
                ],
                "summary": "Fetches a single custom field group available for employee",
                "description": "METHOD: GET\nURL: '/api/v2/hrm/employeecustomfieldgroups'",
                "operationId": "GetHrmEmployeecustomfieldgroupsById",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultCustomFieldGroup"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "422": {
                        "description": "Unprocessable Entity"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/hrm/employeecustomfields": {
            "get": {
                "tags": [
                    "HRM"
                ],
                "summary": "Fetches all custom fields available for employees",
                "description": "METHOD: GET\nURL: '/api/v2/hrm/employeecustomfields'",
                "operationId": "GetHrmEmployeecustomfields",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/offset"
                    },
                    {
                        "$ref": "#/components/parameters/limit"
                    },
                    {
                        "$ref": "#/components/parameters/sort"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultCustomFields"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/hrm/employeecustomfields/{id}": {
            "get": {
                "tags": [
                    "HRM"
                ],
                "summary": "Fetches a single custom field available for employee",
                "description": "METHOD: GET\nURL: '/api/v2/hrm/employeecustomfields'",
                "operationId": "GetHrmEmployeecustomfieldsById",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultCustomField"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "422": {
                        "description": "Unprocessable Entity"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/hrm/employeetype": {
            "get": {
                "tags": [
                    "HRM"
                ],
                "summary": "Fetches all available employee types",
                "operationId": "GetHrmEmployeetype",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/offset"
                    },
                    {
                        "$ref": "#/components/parameters/limit"
                    },
                    {
                        "$ref": "#/components/parameters/sort"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultEmployeeTypes"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/hrm/employeetype/{id}": {
            "get": {
                "tags": [
                    "HRM"
                ],
                "summary": "Fetches a single employee type by id",
                "operationId": "GetHrmEmployeetypeById",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultEmployeeType"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "422": {
                        "description": "Unprocessable Entity"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/hrm/employmenttype": {
            "get": {
                "tags": [
                    "HRM"
                ],
                "summary": "Fetches all available contract types",
                "description": "METHOD: GET\nURL: '/api/v2/hrm/employmenttype'",
                "operationId": "GetHrmEmploymenttype",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/offset"
                    },
                    {
                        "$ref": "#/components/parameters/limit"
                    },
                    {
                        "$ref": "#/components/parameters/sort"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultEmploymentTypes"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/hrm/employmenttype/{id}": {
            "get": {
                "tags": [
                    "HRM"
                ],
                "summary": "Fetches a single contract type by id",
                "description": "METHOD: GET\nURL: '/api/v2/hrm/employmenttype'",
                "operationId": "GetHrmEmploymenttypeById",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultEmploymentType"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "422": {
                        "description": "Unprocessable Entity"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/hrm/leave": {
            "get": {
                "tags": [
                    "HRM"
                ],
                "summary": "Fetches all leave for employees",
                "description": "METHOD: GET\nURL: '/api/v2/hrm/leave'",
                "operationId": "GetHrmLeave",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/offset"
                    },
                    {
                        "$ref": "#/components/parameters/limit"
                    },
                    {
                        "$ref": "#/components/parameters/sort"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultLeaveMultiple"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            },
            "post": {
                "tags": [
                    "HRM"
                ],
                "summary": "Add a new leave entity",
                "description": "METHOD: POST\nURL: '/api/v2/hrm/leave'",
                "operationId": "CreateHrmLeave",
                "requestBody": {
                    "description": "Leave object containing data",
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/PostLeave"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Ok"
                    },
                    "400": {
                        "description": "Bad Request"
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/hrm/leave/{id}": {
            "get": {
                "tags": [
                    "HRM"
                ],
                "summary": "Fetches a single leave by its id",
                "description": "METHOD: GET\nURL: '/api/v2/hrm/leave'",
                "operationId": "GetHrmLeaveById",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultLeave"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            },
            "put": {
                "tags": [
                    "HRM"
                ],
                "summary": "Updates an leave for the given id",
                "description": "METHOD: PUT\nURL: '/api/v2/hrm/leave/id'",
                "operationId": "UpdateHrmLeave",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "requestBody": {
                    "description": "Leave object containing data that with the new values",
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/PostLeave"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Ok"
                    },
                    "400": {
                        "description": "Bad Request"
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/hrm/leavebalance": {
            "get": {
                "tags": [
                    "HRM"
                ],
                "summary": "Fetches all leave balances for employees",
                "description": "METHOD: GET\nURL: '/api/v2/hours/leavebalance'",
                "operationId": "GetHrmLeavebalance",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/offset"
                    },
                    {
                        "$ref": "#/components/parameters/limit"
                    },
                    {
                        "$ref": "#/components/parameters/sort"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultLeaveBalances"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/hrm/leavetype": {
            "get": {
                "tags": [
                    "HRM"
                ],
                "summary": "Fetches all leave types",
                "description": "METHOD: GET\nURL: '/api/v2/hrm/leavetype'",
                "operationId": "GetHrmLeavetype",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/offset"
                    },
                    {
                        "$ref": "#/components/parameters/limit"
                    },
                    {
                        "$ref": "#/components/parameters/sort"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultLeaveTypes"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/hrm/leavetype/{id}": {
            "get": {
                "tags": [
                    "HRM"
                ],
                "summary": "Fetches a single leave type by leave type id",
                "description": "METHOD: GET\nURL: '/api/v2/hrm/leavetype/id'",
                "operationId": "GetHrmLeavetypeById",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultLeaveType"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "422": {
                        "description": "Unprocessable Entity"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/hrm/team": {
            "get": {
                "tags": [
                    "HRM"
                ],
                "summary": "Fetches all teams",
                "description": "METHOD: GET\nURL: '/api/v2/hrm/team'",
                "operationId": "GetHrmTeam",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/offset"
                    },
                    {
                        "$ref": "#/components/parameters/limit"
                    },
                    {
                        "$ref": "#/components/parameters/sort"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultTeams"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/hrm/team/{id}": {
            "get": {
                "tags": [
                    "HRM"
                ],
                "summary": "Fetches a single team by id",
                "description": "METHOD: GET\nURL: '/api/v2/hrm/team'",
                "operationId": "GetHrmTeamById",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultTeam"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "422": {
                        "description": "Unprocessable Entity"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/hrm/timetable": {
            "get": {
                "tags": [
                    "HRM"
                ],
                "summary": "Fetches all available timetables",
                "description": "METHOD: GET\nURL: '/api/v2/hrm/timetable'",
                "operationId": "GetHrmTimetable",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/offset"
                    },
                    {
                        "$ref": "#/components/parameters/limit"
                    },
                    {
                        "$ref": "#/components/parameters/sort"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultTimetables"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            },
            "post": {
                "tags": [
                    "HRM"
                ],
                "summary": "Add a new timetable",
                "description": "METHOD: POST\nURL: '/api/v2/hrm/timetable'",
                "operationId": "CreateHrmTimetable",
                "requestBody": {
                    "description": "Timetable object that needs to be added",
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/PostTimetable"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Ok"
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/hrm/timetable/{id}": {
            "get": {
                "tags": [
                    "HRM"
                ],
                "summary": "Fetches a single timetable by id",
                "operationId": "GetHrmTimetableById",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultTimetable"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            },
            "put": {
                "tags": [
                    "HRM"
                ],
                "summary": "Updates an existing timetable",
                "description": "METHOD: PUT\nURL: '/api/v2/hrm/timetable/id'",
                "operationId": "UpdateHrmTimetable",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "requestBody": {
                    "description": "Timetable object that needs to be updated",
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/PutTimetable"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Ok"
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            },
            "delete": {
                "tags": [
                    "HRM"
                ],
                "summary": "Deletes the timetable with given id",
                "description": "METHOD: DELETE\nURL: '/api/v2/hrm/timetable/id'",
                "operationId": "DeleteHrmTimetable",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok"
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/invoices/document": {
            "get": {
                "tags": [
                    "Invoices"
                ],
                "summary": "Fetches all available documents for invoices",
                "operationId": "GetInvoicesDocument",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/offset"
                    },
                    {
                        "$ref": "#/components/parameters/limit"
                    },
                    {
                        "$ref": "#/components/parameters/sort"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultDocuments"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            },
            "put": {
                "tags": [
                    "Invoices"
                ],
                "summary": "update a document",
                "operationId": "UpdateInvoicesDocument",
                "requestBody": {
                    "description": "Document object containing data",
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/PutDocument"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Ok"
                    },
                    "400": {
                        "description": "Bad Request"
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            },
            "post": {
                "tags": [
                    "Invoices"
                ],
                "summary": "create a document",
                "operationId": "CreateInvoicesDocument",
                "requestBody": {
                    "description": "Document object containing data",
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/PostDocument"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Ok"
                    },
                    "400": {
                        "description": "Bad Request"
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/invoices/document/{id}": {
            "get": {
                "tags": [
                    "Invoices"
                ],
                "summary": "Fetches a single document for invoices by its id",
                "operationId": "GetInvoicesDocumentById",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultDocument"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "422": {
                        "description": "Unprocessable Entity"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            },
            "delete": {
                "tags": [
                    "Invoices"
                ],
                "summary": "Deletes the document with the given id",
                "operationId": "DeleteInvoicesDocument",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok"
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/invoices/documenttype": {
            "get": {
                "tags": [
                    "Invoices"
                ],
                "summary": "Fetches all available document types for Invoices",
                "operationId": "GetInvoicesDocumenttype",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/offset"
                    },
                    {
                        "$ref": "#/components/parameters/limit"
                    },
                    {
                        "$ref": "#/components/parameters/sort"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultDocumentTypes"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/invoices/documenttype/{id}": {
            "get": {
                "tags": [
                    "Invoices"
                ],
                "summary": "Fetches a single document type for Invoices by its id",
                "operationId": "GetInvoicesDocumenttypeById",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultDocumentType"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "422": {
                        "description": "Unprocessable Entity"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/invoices/invoice": {
            "get": {
                "tags": [
                    "Invoices"
                ],
                "summary": "Fetches all invoices",
                "description": "METHOD: GET\nURL: '/api/v2/invoices/invoice'",
                "operationId": "GetInvoicesInvoice",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/offset"
                    },
                    {
                        "$ref": "#/components/parameters/limit"
                    },
                    {
                        "$ref": "#/components/parameters/sort"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultInvoices"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            },
            "post": {
                "tags": [
                    "Invoices"
                ],
                "summary": "Add a new invoice",
                "description": "METHOD: POST\nURL: '/api/v2/invoices/invoice'",
                "operationId": "CreateInvoicesInvoice",
                "requestBody": {
                    "description": "Invoice object that needs to be added",
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/PostInvoice"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Ok"
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/invoices/invoice/{id}": {
            "get": {
                "tags": [
                    "Invoices"
                ],
                "summary": "Fetches a single invoice by id",
                "description": "METHOD: GET\nURL: '/api/v2/invoices/invoice/id'",
                "operationId": "GetInvoicesInvoiceById",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultInvoice"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "422": {
                        "description": "Unprocessable Entity"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            },
            "put": {
                "tags": [
                    "Invoices"
                ],
                "summary": "Updates a invoice for the given id",
                "description": "METHOD: PUT\nURL: '/api/v2/invoices/invoice/id'",
                "operationId": "UpdateInvoicesInvoice",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "requestBody": {
                    "description": "template object that needs to be updated",
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/Invoice"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Ok"
                    },
                    "400": {
                        "description": "Bad Request"
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            },
            "delete": {
                "tags": [
                    "Invoices"
                ],
                "summary": "Deletes the invoice for the given id",
                "description": "METHOD: DELETE\nURL: '/api/v2/invoices/invoice/id'",
                "operationId": "DeleteInvoicesInvoice",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok"
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/invoices/invoicestatus": {
            "get": {
                "tags": [
                    "Invoices"
                ],
                "summary": "Fetches all invoice status",
                "operationId": "GetInvoicesInvoicestatus",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/offset"
                    },
                    {
                        "$ref": "#/components/parameters/limit"
                    },
                    {
                        "$ref": "#/components/parameters/sort"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultInvoiceStatuses"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/invoices/invoicestatus/{id}": {
            "get": {
                "tags": [
                    "Invoices"
                ],
                "summary": "Fetches a single invoice status by id",
                "operationId": "GetInvoicesInvoicestatusById",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultInvoiceStatus"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "422": {
                        "description": "Unprocessable Entity"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/invoices/payment": {
            "get": {
                "tags": [
                    "Invoices"
                ],
                "summary": "Fetches all payments",
                "description": "METHOD: GET\nURL: '/api/v2/invoices/payment'",
                "operationId": "GetInvoicesPayment",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/offset"
                    },
                    {
                        "$ref": "#/components/parameters/limit"
                    },
                    {
                        "$ref": "#/components/parameters/sort"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultPayments"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            },
            "post": {
                "tags": [
                    "Invoices"
                ],
                "summary": "Add a new payment",
                "description": "METHOD: POST\nURL: '/api/v2/invoices/payment'",
                "operationId": "CreateInvoicesPayment",
                "requestBody": {
                    "description": "Payment object that needs to be added",
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/Payment"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Ok"
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/invoices/payment/{id}": {
            "get": {
                "tags": [
                    "Invoices"
                ],
                "summary": "Fetches a single payment by id",
                "description": "METHOD: GET\nURL: '/api/v2/invoices/payment/id'",
                "operationId": "GetInvoicesPaymentById",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultPayment"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "422": {
                        "description": "Unprocessable Entity"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/invoices/paymentterm": {
            "get": {
                "tags": [
                    "Invoices"
                ],
                "summary": "Fetches all paymentterms",
                "description": "METHOD: GET\nURL: '/api/v2/invoices/paymentterm'",
                "operationId": "GetInvoicesPaymentterm",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/offset"
                    },
                    {
                        "$ref": "#/components/parameters/limit"
                    },
                    {
                        "$ref": "#/components/parameters/sort"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultPaymentTerms"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/invoices/paymentterm/{id}": {
            "get": {
                "tags": [
                    "Invoices"
                ],
                "summary": "Fetches a single payment term by id",
                "description": "METHOD: GET\nURL: '/api/v2/invoices/paymentterm/id'",
                "operationId": "GetInvoicesPaymenttermById",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultPaymentTerm"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "422": {
                        "description": "Unprocessable Entity"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/invoices/proposition": {
            "get": {
                "tags": [
                    "Invoices"
                ],
                "summary": "Show all available propositions",
                "operationId": "GetInvoicesProposition",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/offset"
                    },
                    {
                        "$ref": "#/components/parameters/limit"
                    },
                    {
                        "$ref": "#/components/parameters/sort"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultPropositions"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/invoices/proposition/{id}": {
            "get": {
                "tags": [
                    "Invoices"
                ],
                "summary": "Fetches a single proposition by id",
                "operationId": "GetInvoicesPropositionById",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultProposition"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/invoices/reminderset": {
            "get": {
                "tags": [
                    "Invoices"
                ],
                "summary": "Fetches all invoice reminder sets",
                "operationId": "GetInvoicesReminderset",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/offset"
                    },
                    {
                        "$ref": "#/components/parameters/limit"
                    },
                    {
                        "$ref": "#/components/parameters/sort"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultReminderSets"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/invoices/reminderset/{id}": {
            "get": {
                "tags": [
                    "Invoices"
                ],
                "summary": "Fetches a single invoice reminder set by id",
                "operationId": "GetInvoicesRemindersetById",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultReminderSet"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "422": {
                        "description": "Unprocessable Entity"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/invoices/remindertemplate": {
            "get": {
                "tags": [
                    "Invoices"
                ],
                "summary": "Fetches all invoice reminder templates",
                "operationId": "GetInvoicesRemindertemplate",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/offset"
                    },
                    {
                        "$ref": "#/components/parameters/limit"
                    },
                    {
                        "$ref": "#/components/parameters/sort"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultReminderTemplates"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/invoices/remindertemplate/{id}": {
            "get": {
                "tags": [
                    "Invoices"
                ],
                "summary": "Fetches a single invoice reminder template by id",
                "operationId": "GetInvoicesRemindertemplateById",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultReminderTemplate"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "422": {
                        "description": "Unprocessable Entity"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/invoices/vatclass": {
            "get": {
                "tags": [
                    "Invoices"
                ],
                "summary": "Fetches all to vat class",
                "description": "METHOD: GET\nURL: '/api/v2/invoices/vatclass'",
                "operationId": "GetInvoicesVatclass",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/offset"
                    },
                    {
                        "$ref": "#/components/parameters/limit"
                    },
                    {
                        "$ref": "#/components/parameters/sort"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultVatClasses"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/invoices/vatclass/{id}": {
            "get": {
                "tags": [
                    "Invoices"
                ],
                "summary": "Fetches a single vat class by id",
                "description": "METHOD: GET\nURL: '/api/v2/invoices/vatclass/id'",
                "operationId": "GetInvoicesVatclassById",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultVatClass"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "422": {
                        "description": "Unprocessable Entity"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/merger/compareorganization": {
            "post": {
                "tags": [
                    "Merger"
                ],
                "summary": "Compare two organizations by a given source and target id",
                "description": "METHOD: POST\nURL: '/api/v2/merger/mergeorganization'",
                "operationId": "CreateMergerCompareorganization",
                "requestBody": {
                    "description": "Compare objects containing the source id and target id",
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/PostMergerCompare"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultMergerCompare"
                                }
                            }
                        }
                    },
                    "400": {
                        "description": "Bad Request"
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/merger/compareperson": {
            "post": {
                "tags": [
                    "Merger"
                ],
                "summary": "Compare two persons by a given source and target id",
                "description": "METHOD: POST\nURL: '/api/v2/merger/compareperson'",
                "operationId": "CreateMergerCompareperson",
                "requestBody": {
                    "description": "Compare objects containing the source id and target id",
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/PostMergerCompare"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultMergerCompare"
                                }
                            }
                        }
                    },
                    "400": {
                        "description": "Bad Request"
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/crm/mergeorganization": {
            "post": {
                "tags": [
                    "Merger"
                ],
                "summary": "Merge two organizations by a given source and target id",
                "description": "METHOD: POST\nURL: '/api/v2/merger/mergeorganization'",
                "operationId": "CreateCrmMergeorganization",
                "requestBody": {
                    "description": "Merge object containing the source id and target id",
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/PostMerger"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ResultMergerMerge"
                                }
                            }
                        }
                    },
                    "400": {
                        "description": "Bad Request"
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/crm/mergeperson": {
            "post": {
                "tags": [
                    "Merger"
                ],
                "summary": "Merge two people by a given source and target id",
                "description": "METHOD: POST\nURL: '/api/v2/merger/mergeperson'",
                "operationId": "CreateCrmMergeperson",
                "requestBody": {
                    "description": "Merge object containing the source id and target id",
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/PostMerger"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/ResultMergerMerge"
                                }
                            }
                        }
                    },
                    "400": {
                        "description": "Bad Request"
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/mileage/mileage": {
            "get": {
                "tags": [
                    "Mileage"
                ],
                "summary": "Fetches all mileages",
                "description": "METHOD: GET\nURL: '/api/v2/mileage/mileage'",
                "operationId": "GetMileageMileage",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/offset"
                    },
                    {
                        "$ref": "#/components/parameters/limit"
                    },
                    {
                        "$ref": "#/components/parameters/sort"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultMileageList"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            },
            "post": {
                "tags": [
                    "Mileage"
                ],
                "summary": "Add a new mileage registration",
                "description": "METHOD: POST\nURL: '/api/v2/mileage/mileage'",
                "operationId": "CreateMileageMileage",
                "requestBody": {
                    "description": "Mileage object that needs to be added",
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/PostMileage"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Ok"
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/mileage/mileage/{id}": {
            "get": {
                "tags": [
                    "Mileage"
                ],
                "summary": "Fetches a single mileage by mileage id",
                "description": "METHOD: GET\nURL: '/api/v2/mileage/mileage/id'",
                "operationId": "GetMileageMileageById",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultMileage"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "422": {
                        "description": "Unprocessable Entity"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            },
            "put": {
                "tags": [
                    "Mileage"
                ],
                "summary": "Updates a mileage registration for the given mileage id",
                "description": "METHOD: PUT\nURL: '/api/v2/mileage/mileage/id'",
                "operationId": "UpdateMileageMileage",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "requestBody": {
                    "description": "Mileage object that needs to be updated",
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/PutMileage"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Ok"
                    },
                    "400": {
                        "description": "Bad Request"
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            },
            "delete": {
                "tags": [
                    "Mileage"
                ],
                "summary": "Deletes the mileage registration with the given mileage id",
                "description": "METHOD: DELETE\nURL: '/api/v2/mileage/mileage/id'",
                "operationId": "DeleteMileageMileage",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok"
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/projects/assignment": {
            "get": {
                "tags": [
                    "Projects"
                ],
                "summary": "Fetches all available assignments for projects",
                "operationId": "GetProjectsAssignment",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/offset"
                    },
                    {
                        "$ref": "#/components/parameters/limit"
                    },
                    {
                        "$ref": "#/components/parameters/sort"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultProjectAssignments"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            },
            "post": {
                "tags": [
                    "Projects"
                ],
                "summary": "Creates a new project assignment",
                "operationId": "CreateProjectsAssignment",
                "requestBody": {
                    "description": "Project assignment POST body",
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/PostAssignment"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Ok"
                    },
                    "400": {
                        "description": "Bad Request"
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/projects/assignment/{id}": {
            "get": {
                "tags": [
                    "Projects"
                ],
                "summary": "Fetches all a single assignment by its id",
                "operationId": "GetProjectsAssignmentById",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultProjectAssignment"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            },
            "put": {
                "tags": [
                    "Projects"
                ],
                "summary": "Updates a project assignment for the given id",
                "operationId": "UpdateProjectsAssignment",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "requestBody": {
                    "description": "Project assignment PUT body",
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/PutAssignment"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Ok"
                    },
                    "400": {
                        "description": "Bad Request"
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/projects/assignmentbudget": {
            "get": {
                "tags": [
                    "Projects"
                ],
                "summary": "Get budget information (planned amount, spent amount etc.) of assignment within given date range",
                "operationId": "GetProjectsAssignmentbudget",
                "parameters": [
                    {
                        "name": "q[range_start]",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "q[employee_id]",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "q[assignment_id]",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "$ref": "#/components/parameters/offset"
                    },
                    {
                        "$ref": "#/components/parameters/limit"
                    },
                    {
                        "$ref": "#/components/parameters/sort"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultProjectAssignmentbudget"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "402": {
                        "description": "License required"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/projects/assignmentstatus": {
            "get": {
                "tags": [
                    "Projects"
                ],
                "summary": "Fetches all available assignment statuses for projects",
                "operationId": "GetProjectsAssignmentstatus",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/offset"
                    },
                    {
                        "$ref": "#/components/parameters/limit"
                    },
                    {
                        "$ref": "#/components/parameters/sort"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultProjectAssignmentStatuses"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            },
            "post": {
                "tags": [
                    "Projects"
                ],
                "summary": "Creates a new project assignment status",
                "operationId": "CreateProjectsAssignmentstatus",
                "requestBody": {
                    "description": "Project assignment POST body",
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/AssignmentStatus"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Ok"
                    },
                    "400": {
                        "description": "Bad Request"
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/projects/assignmentstatus/{id}": {
            "get": {
                "tags": [
                    "Projects"
                ],
                "summary": "Fetches a single assignment status by its id",
                "operationId": "GetProjectsAssignmentstatusById",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    },
                    {
                        "$ref": "#/components/parameters/offset"
                    },
                    {
                        "$ref": "#/components/parameters/limit"
                    },
                    {
                        "$ref": "#/components/parameters/sort"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultProjectAssignmentStatus"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            },
            "put": {
                "tags": [
                    "Projects"
                ],
                "summary": "Updates a project assignment status for the given id",
                "operationId": "UpdateProjectsAssignmentstatus",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "requestBody": {
                    "description": "Project assignment POST body",
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/AssignmentStatus"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Ok"
                    },
                    "400": {
                        "description": "Bad Request"
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/projects/document": {
            "get": {
                "tags": [
                    "Projects"
                ],
                "summary": "Fetches all available documents for projects",
                "operationId": "GetProjectsDocument",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/offset"
                    },
                    {
                        "$ref": "#/components/parameters/limit"
                    },
                    {
                        "$ref": "#/components/parameters/sort"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultDocuments"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            },
            "put": {
                "tags": [
                    "Projects"
                ],
                "summary": "update a document",
                "operationId": "UpdateProjectsDocument",
                "requestBody": {
                    "description": "Document object containing data",
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/PutDocument"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Ok"
                    },
                    "400": {
                        "description": "Bad Request"
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            },
            "post": {
                "tags": [
                    "Projects"
                ],
                "summary": "create a document",
                "operationId": "CreateProjectsDocument",
                "requestBody": {
                    "description": "Document object containing data",
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/PostDocument"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Ok"
                    },
                    "400": {
                        "description": "Bad Request"
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/projects/document/{id}": {
            "get": {
                "tags": [
                    "Projects"
                ],
                "summary": "Fetches a single document for projects by its id",
                "operationId": "GetProjectsDocumentById",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultDocument"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "422": {
                        "description": "Unprocessable Entity"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            },
            "delete": {
                "tags": [
                    "Projects"
                ],
                "summary": "Deletes the document with the given id",
                "operationId": "DeleteProjectsDocument",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok"
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/projects/documenttype": {
            "get": {
                "tags": [
                    "Projects"
                ],
                "summary": "Fetches all available document types for Projects",
                "operationId": "GetProjectsDocumenttype",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/offset"
                    },
                    {
                        "$ref": "#/components/parameters/limit"
                    },
                    {
                        "$ref": "#/components/parameters/sort"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultDocumentTypes"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/projects/documenttype/{id}": {
            "get": {
                "tags": [
                    "Projects"
                ],
                "summary": "Fetches a single document type for Projects by its id",
                "operationId": "GetProjectsDocumenttypeById",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultDocumentType"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "422": {
                        "description": "Unprocessable Entity"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/projects/project": {
            "get": {
                "tags": [
                    "Projects"
                ],
                "summary": "Fetches all projects",
                "description": "METHOD: GET\nURL: '/api/v2/projects/project'",
                "operationId": "GetProjectsProject",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/offset"
                    },
                    {
                        "$ref": "#/components/parameters/limit"
                    },
                    {
                        "$ref": "#/components/parameters/sort"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultProjects"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            },
            "post": {
                "tags": [
                    "Projects"
                ],
                "summary": "Add a new project",
                "description": "METHOD: POST\nURL: '/api/v2/projects/project'",
                "operationId": "CreateProjectsProject",
                "requestBody": {
                    "description": "Project object that needs to be added",
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/PostProject"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Ok"
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/projects/project/{id}": {
            "get": {
                "tags": [
                    "Projects"
                ],
                "summary": "Fetches a single project by id",
                "description": "METHOD: GET\nURL: '/api/v2/projects/project/id'",
                "operationId": "GetProjectsProjectById",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultProject"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "422": {
                        "description": "Unprocessable Entity"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            },
            "put": {
                "tags": [
                    "Projects"
                ],
                "summary": "Updates a project for the given id",
                "description": "METHOD: PUT\nURL: '/api/v2/projects/project/id'",
                "operationId": "UpdateProjectsProject",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "requestBody": {
                    "description": "project object that needs to be updated",
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/PostProject"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Ok"
                    },
                    "400": {
                        "description": "Bad Request"
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            },
            "delete": {
                "tags": [
                    "Projects"
                ],
                "summary": "Deletes the project with the given id",
                "description": "METHOD: DELETE\nURL: '/api/v2/projects/project/id'",
                "operationId": "DeleteProjectsProject",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok"
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/projects/project/{id}/planningBudget": {
            "get": {
                "tags": [
                    "Projects"
                ],
                "summary": "Fetches the assignment budget info of a project",
                "operationId": "GetProjectsProjectById2",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    },
                    {
                        "name": "by",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "projectservice",
                                "projectservicehourstype"
                            ]
                        }
                    },
                    {
                        "name": "until_date",
                        "in": "query",
                        "description": "Y-m-d",
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultPlanningBudget"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "422": {
                        "description": "Unprocessable Entity"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/projects/projectcustomfieldgroups": {
            "get": {
                "tags": [
                    "Projects"
                ],
                "summary": "Fetches all custom field groups available for projects",
                "description": "METHOD: GET\nURL: '/api/v2/projects/projectcustomfieldgroups'",
                "operationId": "GetProjectsProjectcustomfieldgroups",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/offset"
                    },
                    {
                        "$ref": "#/components/parameters/limit"
                    },
                    {
                        "$ref": "#/components/parameters/sort"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultCustomFieldGroups"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/projects/projectcustomfieldgroups/{id}": {
            "get": {
                "tags": [
                    "Projects"
                ],
                "summary": "Fetches a single custom field group available for project",
                "description": "METHOD: GET\nURL: '/api/v2/projects/projectcustomfieldgroups'",
                "operationId": "GetProjectsProjectcustomfieldgroupsById",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultCustomFieldGroup"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "422": {
                        "description": "Unprocessable Entity"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/projects/projectcustomfields": {
            "get": {
                "tags": [
                    "Projects"
                ],
                "summary": "Fetches all custom fields available for projects",
                "description": "METHOD: GET\nURL: '/api/v2/projects/projectcustomfields'",
                "operationId": "GetProjectsProjectcustomfields",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/offset"
                    },
                    {
                        "$ref": "#/components/parameters/limit"
                    },
                    {
                        "$ref": "#/components/parameters/sort"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultCustomFields"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/projects/projectcustomfields/{id}": {
            "get": {
                "tags": [
                    "Projects"
                ],
                "summary": "Fetches a single custom field available for projects",
                "description": "METHOD: GET\nURL: '/api/v2/projects/projectcustomfields'",
                "operationId": "GetProjectsProjectcustomfieldsById",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultCustomField"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "422": {
                        "description": "Unprocessable Entity"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/projects/projectemployee": {
            "post": {
                "tags": [
                    "Projects"
                ],
                "summary": "Add an employee to a project",
                "operationId": "CreateProjectsProjectemployee",
                "requestBody": {
                    "description": "Body for adding an employee to a project",
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "properties": {
                                    "employee_id": {
                                        "type": "string"
                                    },
                                    "project_id": {
                                        "type": "string"
                                    }
                                },
                                "type": "object"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Ok"
                    },
                    "400": {
                        "description": "Bad Request"
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Server Error"
                    }
                }
            }
        },
        "/projects/projectemployee/{id}": {
            "delete": {
                "tags": [
                    "Projects"
                ],
                "summary": "Remove an employee from a project",
                "operationId": "DeleteProjectsProjectemployee",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok"
                    },
                    "400": {
                        "description": "Bad Request"
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Server Error"
                    }
                }
            }
        },
        "/projects/projectfilters": {
            "get": {
                "tags": [
                    "Projects"
                ],
                "summary": "Fetches all filters available for projects",
                "description": "METHOD: GET\nURL: '/api/v2/projects/projectfilters'",
                "operationId": "GetProjectsProjectfilters",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/offset"
                    },
                    {
                        "$ref": "#/components/parameters/limit"
                    },
                    {
                        "$ref": "#/components/parameters/sort"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultFilters"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/projects/projectfilters/{id}": {
            "get": {
                "tags": [
                    "Projects"
                ],
                "summary": "Fetches a single filter available for projects",
                "description": "METHOD: GET\nURL: '/api/v2/projects/projectfilters'",
                "operationId": "GetProjectsProjectfiltersById",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultFilter"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "422": {
                        "description": "Unprocessable Entity"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/projects/projectstatus": {
            "get": {
                "tags": [
                    "Projects"
                ],
                "summary": "Fetches all projects statusses",
                "operationId": "GetProjectsProjectstatus",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/offset"
                    },
                    {
                        "$ref": "#/components/parameters/limit"
                    },
                    {
                        "$ref": "#/components/parameters/sort"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultProjectStatusses"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/projects/projectstatus/{id}": {
            "get": {
                "tags": [
                    "Projects"
                ],
                "summary": "Fetches a single projects status by id",
                "operationId": "GetProjectsProjectstatusById",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultProjectStatus"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "422": {
                        "description": "Unprocessable Entity"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/projects/purchase": {
            "get": {
                "tags": [
                    "Projects"
                ],
                "summary": "Fetches all project purchase records",
                "operationId": "GetProjectsPurchase",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/offset"
                    },
                    {
                        "$ref": "#/components/parameters/limit"
                    },
                    {
                        "$ref": "#/components/parameters/sort"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultPurchases"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/projects/purchase/{id}": {
            "get": {
                "tags": [
                    "Projects"
                ],
                "summary": "Fetches a single project purchase record",
                "operationId": "GetProjectsPurchaseById",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultPurchase"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/projects/purchasetype": {
            "get": {
                "tags": [
                    "Projects"
                ],
                "summary": "Fetches all purchase types",
                "description": "METHOD: GET\nURL: '/api/v2/projects/purchasetype'",
                "operationId": "GetProjectsPurchasetype",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/offset"
                    },
                    {
                        "$ref": "#/components/parameters/limit"
                    },
                    {
                        "$ref": "#/components/parameters/sort"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultPurchaseTypes"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/projects/purchasetype/{id}": {
            "get": {
                "tags": [
                    "Projects"
                ],
                "summary": "Fetches a single purchase type by id",
                "description": "METHOD: GET\nURL: '/api/v2/projects/purchasetype/id'",
                "operationId": "GetProjectsPurchasetypeById",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultPurchaseType"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "422": {
                        "description": "Unprocessable Entity"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/projects/reverseinvoice": {
            "get": {
                "tags": [
                    "Projects"
                ],
                "summary": "Fetches all reverse invoice records",
                "operationId": "GetProjectsReverseinvoice",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/offset"
                    },
                    {
                        "$ref": "#/components/parameters/limit"
                    },
                    {
                        "$ref": "#/components/parameters/sort"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultReverseInvoices"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/projects/reverseinvoice/{id}": {
            "get": {
                "tags": [
                    "Projects"
                ],
                "summary": "Fetches a single project reverse invoice",
                "operationId": "GetProjectsReverseinvoiceById",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultReverseInvoice"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/projects/service/{id}/duplicate": {
            "post": {
                "tags": [
                    "Projects"
                ],
                "summary": "Duplicates a service on base of the id",
                "operationId": "DuplicateProjectsService",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "requestBody": {
                    "description": "Optional parameters to overwrite",
                    "required": false,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/DuplicateProjectService"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Ok"
                    },
                    "400": {
                        "description": "Bad Request"
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/projects/service": {
            "get": {
                "tags": [
                    "Projects"
                ],
                "summary": "Fetches all services",
                "description": "METHOD: GET\nURL: '/api/v2/projects/service'",
                "operationId": "GetProjectsService",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/offset"
                    },
                    {
                        "$ref": "#/components/parameters/limit"
                    },
                    {
                        "$ref": "#/components/parameters/sort"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultProjectServices"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            },
            "post": {
                "tags": [
                    "Projects"
                ],
                "summary": "Add a new service",
                "description": "METHOD: POST\nURL: '/api/v2/projects/service'",
                "operationId": "createProjectService",
                "requestBody": {
                    "description": "template object that needs to be added",
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/PostProjectService"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Ok"
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/projects/service/{id}": {
            "get": {
                "tags": [
                    "Projects"
                ],
                "summary": "Fetches a single service by id",
                "description": "METHOD: GET\nURL: '/api/v2/projects/service/id'",
                "operationId": "GetProjectsServiceById",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultProjectService"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "422": {
                        "description": "Unprocessable Entity"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            },
            "put": {
                "tags": [
                    "Projects"
                ],
                "summary": "Updates a service for the given id",
                "description": "METHOD: PUT\nURL: '/api/v2/projects/service/id'",
                "operationId": "UpdateProjectsService",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "requestBody": {
                    "description": "Service object that needs to be updated",
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/PutProjectService"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Ok"
                    },
                    "400": {
                        "description": "Bad Request"
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            },
            "delete": {
                "tags": [
                    "Projects"
                ],
                "summary": "Deletes the service with the given id",
                "description": "METHOD: DELETE\nURL: '/api/v2/projects/service/id'",
                "operationId": "DeleteProjectsService",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok"
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/projects/service/{id}/planningBudget": {
            "get": {
                "tags": [
                    "Projects"
                ],
                "summary": "Fetches the assignment budget info of a project service",
                "operationId": "GetProjectsServiceById2",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    },
                    {
                        "name": "by",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "projectservicehourstype"
                            ]
                        }
                    },
                    {
                        "name": "until_date",
                        "in": "query",
                        "description": "Y-m-d",
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultPlanningBudget"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "422": {
                        "description": "Unprocessable Entity"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/sales/converttoproject/{id}": {
            "get": {
                "tags": [
                    "Sales"
                ],
                "summary": "Shows if the provided sale id can be converted to a project",
                "description": "METHOD: GET\nURL: '/api/v2/sales/converttoproject/id'",
                "operationId": "GetSalesConverttoprojectById",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultSale"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "422": {
                        "description": "Unprocessable Entity"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/sales/document": {
            "get": {
                "tags": [
                    "Sales"
                ],
                "summary": "Fetches all available documents for sales",
                "operationId": "GetSalesDocument",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/offset"
                    },
                    {
                        "$ref": "#/components/parameters/limit"
                    },
                    {
                        "$ref": "#/components/parameters/sort"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultDocuments"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            },
            "put": {
                "tags": [
                    "Sales"
                ],
                "summary": "update a document",
                "description": "METHOD: POST\nURL: '/api/v2/sales/document'",
                "operationId": "UpdateSalesDocument",
                "requestBody": {
                    "description": "Document object containing data",
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/PutDocument"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Ok"
                    },
                    "400": {
                        "description": "Bad Request"
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            },
            "post": {
                "tags": [
                    "Sales"
                ],
                "summary": "create a document",
                "operationId": "CreateSalesDocument",
                "requestBody": {
                    "description": "Document object containing data",
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/PostDocument"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Ok"
                    },
                    "400": {
                        "description": "Bad Request"
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/sales/document/{id}": {
            "get": {
                "tags": [
                    "Sales"
                ],
                "summary": "Fetches a single document for sales by its id",
                "operationId": "GetSalesDocumentById",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultDocument"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "422": {
                        "description": "Unprocessable Entity"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            },
            "delete": {
                "tags": [
                    "Sales"
                ],
                "summary": "Deletes the document with the given id",
                "operationId": "DeleteSalesDocument",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok"
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/sales/documenttype": {
            "get": {
                "tags": [
                    "Sales"
                ],
                "summary": "Fetches all available document types for Sales",
                "operationId": "GetSalesDocumenttype",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/offset"
                    },
                    {
                        "$ref": "#/components/parameters/limit"
                    },
                    {
                        "$ref": "#/components/parameters/sort"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultDocumentTypes"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/sales/documenttype/{id}": {
            "get": {
                "tags": [
                    "Sales"
                ],
                "summary": "Fetches a single document type for Sales by its id",
                "operationId": "GetSalesDocumenttypeById",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultDocumentType"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "422": {
                        "description": "Unprocessable Entity"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/sales/quote": {
            "get": {
                "tags": [
                    "Sales"
                ],
                "summary": "Fetches all available quote templates for sales",
                "operationId": "GetSalesQuote",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/offset"
                    },
                    {
                        "$ref": "#/components/parameters/limit"
                    },
                    {
                        "$ref": "#/components/parameters/sort"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultQuotes"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            },
            "post": {
                "tags": [
                    "Sales"
                ],
                "summary": "create a quote template",
                "operationId": "CreateSalesQuote",
                "requestBody": {
                    "description": "Quote template object containing data",
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/PostQuote"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Ok"
                    },
                    "400": {
                        "description": "Bad Request"
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/sales/quote/{id}": {
            "get": {
                "tags": [
                    "Sales"
                ],
                "summary": "Fetches a single quote template for sales by its id",
                "operationId": "GetSalesQuoteById",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultQuote"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "422": {
                        "description": "Unprocessable Entity"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            },
            "put": {
                "tags": [
                    "Sales"
                ],
                "summary": "update a quote template",
                "operationId": "UpdateSalesQuote",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "requestBody": {
                    "description": "Quote template object containing data",
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/PostQuote"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Ok"
                    },
                    "400": {
                        "description": "Bad Request"
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            },
            "delete": {
                "tags": [
                    "Sales"
                ],
                "summary": "Deletes the quote template with the given id",
                "operationId": "DeleteSalesQuote",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok"
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/sales/quoteemail/{id}": {
            "put": {
                "tags": [
                    "Sales"
                ],
                "summary": "append only a single email to the emails collection quote",
                "operationId": "UpdateSalesQuoteemail",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "requestBody": {
                    "description": "Document object containing data",
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/PutQuoteEmail"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Ok"
                    },
                    "400": {
                        "description": "Bad Request"
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/sales/quotestatus": {
            "get": {
                "tags": [
                    "Sales"
                ],
                "summary": "Fetches all quote statuses",
                "operationId": "GetSalesQuotestatus",
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultQuoteStatuses"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "422": {
                        "description": "Unprocessable Entity"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/sales/quotestatus/{id}": {
            "get": {
                "tags": [
                    "Sales"
                ],
                "summary": "Fetches a single quote status for quotes by its id",
                "operationId": "GetSalesQuotestatusById",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultQuoteStatus"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "422": {
                        "description": "Unprocessable Entity"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/sales/quotetemplate": {
            "get": {
                "tags": [
                    "Sales"
                ],
                "summary": "Fetches all available quote templates for sales",
                "operationId": "GetSalesQuotetemplate",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/offset"
                    },
                    {
                        "$ref": "#/components/parameters/limit"
                    },
                    {
                        "$ref": "#/components/parameters/sort"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultQuoteTemplates"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            },
            "post": {
                "tags": [
                    "Sales"
                ],
                "summary": "create a quote template",
                "operationId": "CreateSalesQuotetemplate",
                "requestBody": {
                    "description": "Quote template object containing data",
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/PostQuoteTemplate"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Ok"
                    },
                    "400": {
                        "description": "Bad Request"
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/sales/quotetemplate/{id}": {
            "get": {
                "tags": [
                    "Sales"
                ],
                "summary": "Fetches a single quote template for sales by its id",
                "operationId": "GetSalesQuotetemplateById",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultQuoteTemplate"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "422": {
                        "description": "Unprocessable Entity"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            },
            "put": {
                "tags": [
                    "Sales"
                ],
                "summary": "update a quote template",
                "description": "METHOD: POST\nURL: '/api/v2/sales/quotetemplate'",
                "operationId": "UpdateSalesQuotetemplate",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "requestBody": {
                    "description": "Quote template object containing data",
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/PostQuoteTemplate"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Ok"
                    },
                    "400": {
                        "description": "Bad Request"
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            },
            "delete": {
                "tags": [
                    "Sales"
                ],
                "summary": "Deletes the quote template with the given id",
                "operationId": "DeleteSalesQuotetemplate",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok"
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/sales/revenuegroup": {
            "get": {
                "tags": [
                    "Sales"
                ],
                "summary": "Fetches all revenue groups",
                "description": "METHOD: GET\nURL: '/api/v2/sales/revenuegroup'",
                "operationId": "GetSalesRevenuegroup",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/offset"
                    },
                    {
                        "$ref": "#/components/parameters/limit"
                    },
                    {
                        "$ref": "#/components/parameters/sort"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultRevenueGroups"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/sales/revenuegroup/{id}": {
            "get": {
                "tags": [
                    "Sales"
                ],
                "summary": "Fetches a single revenue group by id",
                "description": "METHOD: GET\nURL: '/api/v2/sales/revenuegroup/id'",
                "operationId": "GetSalesRevenuegroupById",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultRevenueGroup"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "422": {
                        "description": "Unprocessable Entity"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/sales/sales": {
            "get": {
                "tags": [
                    "Sales"
                ],
                "summary": "Fetches all sales",
                "description": "METHOD: GET\nURL: '/api/v2/sales/sales'",
                "operationId": "GetSalesSales",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/offset"
                    },
                    {
                        "$ref": "#/components/parameters/limit"
                    },
                    {
                        "$ref": "#/components/parameters/sort"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultSales"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            },
            "post": {
                "tags": [
                    "Sales"
                ],
                "summary": "Add a new sales",
                "description": "METHOD: POST\nURL: '/api/v2/sales/sales'",
                "operationId": "CreateSalesSales",
                "requestBody": {
                    "description": "Sales object that needs to be added",
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/PostSales"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Ok"
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/sales/sales/{id}": {
            "get": {
                "tags": [
                    "Sales"
                ],
                "summary": "Fetches a single sales by id",
                "description": "METHOD: GET\nURL: '/api/v2/sales/sales/id'",
                "operationId": "GetSalesSalesById",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultSale"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "422": {
                        "description": "Unprocessable Entity"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            },
            "put": {
                "tags": [
                    "Sales"
                ],
                "summary": "Updates a sales for the given id",
                "description": "METHOD: PUT\nURL: '/api/v2/sales/sales/id'",
                "operationId": "UpdateSalesSales",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "requestBody": {
                    "description": "project object that needs to be updated",
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/PostSales"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Ok"
                    },
                    "400": {
                        "description": "Bad Request"
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/sales/sales/{id}/duplicate": {
            "post": {
                "tags": [
                    "Sales"
                ],
                "summary": "Duplicates a sales deal on base of the id",
                "operationId": "DuplicateSalesSales",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "requestBody": {
                    "description": "Optional parameters to overwrite",
                    "required": false,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/PostDuplicateSales"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Ok"
                    },
                    "400": {
                        "description": "Bad Request"
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/sales/salescustomfieldgroups": {
            "get": {
                "tags": [
                    "Sales"
                ],
                "summary": "Fetches all custom field groups available for sales",
                "description": "METHOD: GET\nURL: '/api/v2/sales/salescustomfieldgroups'",
                "operationId": "GetSalesSalescustomfieldgroups",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/offset"
                    },
                    {
                        "$ref": "#/components/parameters/limit"
                    },
                    {
                        "$ref": "#/components/parameters/sort"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultCustomFieldGroups"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/sales/salescustomfieldgroups/{id}": {
            "get": {
                "tags": [
                    "Sales"
                ],
                "summary": "Fetches a single custom field group available for project",
                "description": "METHOD: GET\nURL: '/api/v2/sales/salescustomfieldgroups'",
                "operationId": "GetSalesSalescustomfieldgroupsById",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultCustomFieldGroup"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "422": {
                        "description": "Unprocessable Entity"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/sales/salescustomfields": {
            "get": {
                "tags": [
                    "Sales"
                ],
                "summary": "Fetches all custom fields available for sales",
                "description": "METHOD: GET\nURL: '/api/v2/sales/salescustomfields'",
                "operationId": "GetSalesSalescustomfields",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/offset"
                    },
                    {
                        "$ref": "#/components/parameters/limit"
                    },
                    {
                        "$ref": "#/components/parameters/sort"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultCustomFields"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/sales/salescustomfields/{id}": {
            "get": {
                "tags": [
                    "Sales"
                ],
                "summary": "Fetches a single custom field available for sales",
                "description": "METHOD: GET\nURL: '/api/v2/sales/salescustomfields'",
                "operationId": "GetSalesSalescustomfieldsById",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultCustomField"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "422": {
                        "description": "Unprocessable Entity"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/sales/salesfilters": {
            "get": {
                "tags": [
                    "Sales"
                ],
                "summary": "Fetches all filters available for sales",
                "description": "METHOD: GET\nURL: '/api/v2/sales/salesfilters'",
                "operationId": "GetSalesSalesfilters",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/offset"
                    },
                    {
                        "$ref": "#/components/parameters/limit"
                    },
                    {
                        "$ref": "#/components/parameters/sort"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultFilters"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/sales/salesfilters/{id}": {
            "get": {
                "tags": [
                    "Sales"
                ],
                "summary": "Fetches a single filter available for sales",
                "description": "METHOD: GET\nURL: '/api/v2/sales/salesfilters'",
                "operationId": "GetSalesSalesfiltersById",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultFilter"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "422": {
                        "description": "Unprocessable Entity"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/sales/salesprogress": {
            "get": {
                "tags": [
                    "Sales"
                ],
                "summary": "Fetches all sales progresses",
                "operationId": "GetSalesSalesprogress",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/offset"
                    },
                    {
                        "$ref": "#/components/parameters/limit"
                    },
                    {
                        "$ref": "#/components/parameters/sort"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultSalesProgresses"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/sales/salesprogress/{id}": {
            "get": {
                "tags": [
                    "Sales"
                ],
                "summary": "Fetches a single sales progress by id",
                "operationId": "GetSalesSalesprogressById",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultSalesProgress"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "422": {
                        "description": "Unprocessable Entity"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/sales/salesreason": {
            "get": {
                "tags": [
                    "Sales"
                ],
                "summary": "Fetches all sales reasons",
                "description": "View multiple.",
                "operationId": "GetSalesSalesreason",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/offset"
                    },
                    {
                        "$ref": "#/components/parameters/limit"
                    },
                    {
                        "$ref": "#/components/parameters/sort"
                    },
                    {
                        "$ref": "#/components/parameters/select"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultSalesReasons"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/sales/salesreason/{id}": {
            "get": {
                "tags": [
                    "Sales"
                ],
                "summary": "Fetches a single sales reason by id",
                "description": "View specific.",
                "operationId": "GetSalesSalesreasonById",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultSalesReason"
                                }
                            }
                        }
                    },
                    "400": {
                        "description": "Bad Request"
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "422": {
                        "description": "Unprocessable Entity"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/sales/salessource": {
            "get": {
                "tags": [
                    "Sales"
                ],
                "summary": "Fetches all sales source",
                "description": "METHOD: GET\nURL: '/api/v2/sales/salessource'",
                "operationId": "GetSalesSalessource",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/offset"
                    },
                    {
                        "$ref": "#/components/parameters/limit"
                    },
                    {
                        "$ref": "#/components/parameters/sort"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultSalesSources"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/sales/salessource/{id}": {
            "get": {
                "tags": [
                    "Sales"
                ],
                "summary": "Fetches a single sales source by id",
                "description": "METHOD: GET\nURL: '/api/v2/sales/salessource/id'",
                "operationId": "GetSalesSalessourceById",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultSalesSource"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "422": {
                        "description": "Unprocessable Entity"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/sales/salesstatus": {
            "get": {
                "tags": [
                    "Sales"
                ],
                "summary": "Fetches all sales statusses",
                "operationId": "GetSalesSalesstatus",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/offset"
                    },
                    {
                        "$ref": "#/components/parameters/limit"
                    },
                    {
                        "$ref": "#/components/parameters/sort"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultSalesStatusses"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/sales/salesstatus/{id}": {
            "get": {
                "tags": [
                    "Sales"
                ],
                "summary": "Fetches a single sales status by id",
                "operationId": "GetSalesSalesstatusById",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultSalesStatus"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "422": {
                        "description": "Unprocessable Entity"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/sales/service/{id}/duplicate": {
            "post": {
                "tags": [
                    "Sales"
                ],
                "summary": "Duplicates a service on base of the id",
                "operationId": "DuplicateSalesService",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "requestBody": {
                    "description": "Optional parameters to overwrite",
                    "required": false,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/DuplicateProjectService"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Ok"
                    },
                    "400": {
                        "description": "Bad Request"
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/sales/service": {
            "get": {
                "tags": [
                    "Sales"
                ],
                "summary": "Fetches all services",
                "description": "METHOD: GET\nURL: '/api/v2/sales/service'",
                "operationId": "GetSalesService",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/offset"
                    },
                    {
                        "$ref": "#/components/parameters/limit"
                    },
                    {
                        "$ref": "#/components/parameters/sort"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultSalesServices"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            },
            "post": {
                "tags": [
                    "Sales"
                ],
                "summary": "Add a new service",
                "description": "METHOD: POST\nURL: '/api/v2/sales/service'",
                "operationId": "CreateSalesService",
                "requestBody": {
                    "description": "template object that needs to be added",
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/PostSalesService"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Ok"
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/sales/service/{id}": {
            "get": {
                "tags": [
                    "Sales"
                ],
                "summary": "Fetches a single service by id",
                "description": "METHOD: GET\nURL: '/api/v2/sales/service/id'",
                "operationId": "GetSalesServiceById",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultSalesService"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "422": {
                        "description": "Unprocessable Entity"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            },
            "put": {
                "tags": [
                    "Sales"
                ],
                "summary": "Updates a service for the given id",
                "description": "METHOD: PUT\nURL: '/api/v2/sales/service/id'",
                "operationId": "UpdateSalesService",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "requestBody": {
                    "description": "Service object that needs to be updated",
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/PostSalesService"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Ok"
                    },
                    "400": {
                        "description": "Bad Request"
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            },
            "delete": {
                "tags": [
                    "Sales"
                ],
                "summary": "Deletes the service with the given id",
                "description": "METHOD: DELETE\nURL: '/api/v2/sales/service/id'",
                "operationId": "DeleteSalesService",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok"
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/services/defaultservice": {
            "get": {
                "tags": [
                    "Services"
                ],
                "summary": "Fetches all default services",
                "description": "METHOD: GET\nURL: '/api/v2/services/defaultservice'",
                "operationId": "GetServicesDefaultservice",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/offset"
                    },
                    {
                        "$ref": "#/components/parameters/limit"
                    },
                    {
                        "$ref": "#/components/parameters/sort"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultDefaultServices"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            },
            "post": {
                "tags": [
                    "Services"
                ],
                "summary": "Add a new default service",
                "description": "METHOD: POST\nURL: '/api/v2/services/defaultservice'",
                "operationId": "CreateServicesDefaultservice",
                "requestBody": {
                    "description": "Default service object that needs to be added",
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/PostDefaultService"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Ok"
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/services/defaultservice/{id}": {
            "get": {
                "tags": [
                    "Services"
                ],
                "summary": "Fetches a single default service by id",
                "description": "METHOD: GET\nURL: '/api/v2/services/defaultservice/id'",
                "operationId": "GetServicesDefaultserviceById",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultDefaultService"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "422": {
                        "description": "Unprocessable Entity"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            },
            "put": {
                "tags": [
                    "Services"
                ],
                "summary": "Updates a default service for the given id",
                "description": "METHOD: PUT\nURL: '/api/v2/services/defaultservice/id'",
                "operationId": "UpdateServicesDefaultservice",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "requestBody": {
                    "description": "default service object that needs to be updated",
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/PostDefaultService"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Ok"
                    },
                    "400": {
                        "description": "Bad Request"
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            },
            "delete": {
                "tags": [
                    "Services"
                ],
                "summary": "Deletes the default service with the given id",
                "description": "METHOD: DELETE\nURL: '/api/v2/services/defaultservice/id'",
                "operationId": "DeleteServicesDefaultservice",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok"
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/shared/item": {
            "get": {
                "tags": [
                    "Shared"
                ],
                "summary": "Fetches all shared items",
                "description": "METHOD: GET\nURL: '/api/v2/shared/shareditem'",
                "operationId": "GetSharedItem",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/offset"
                    },
                    {
                        "$ref": "#/components/parameters/limit"
                    },
                    {
                        "$ref": "#/components/parameters/sort"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultSharedItems"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            },
            "post": {
                "tags": [
                    "Shared"
                ],
                "summary": "Add a new shared item",
                "description": "METHOD: POST\nURL: '/api/v2/shared/item'",
                "operationId": "CreateSharedItem",
                "requestBody": {
                    "description": "Item object that needs to be added",
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/PostSharedItem"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Ok"
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/shared/item/{id}": {
            "get": {
                "tags": [
                    "Shared"
                ],
                "summary": "Fetches a single shared item  by id",
                "description": "METHOD: GET\nURL: '/api/v2/shared/shareditem/id'",
                "operationId": "GetSharedItemById",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultSharedItem"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "422": {
                        "description": "Unprocessable Entity"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            },
            "put": {
                "tags": [
                    "Shared"
                ],
                "summary": "Updates an existing shared item",
                "description": "METHOD: PUT\nURL: '/api/v2/shared/item/id'",
                "operationId": "UpdateSharedItem",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "requestBody": {
                    "description": "Shared item object that with the data that needs to be updated",
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/PostSharedItem"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Ok"
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            },
            "delete": {
                "tags": [
                    "Shared"
                ],
                "summary": "Deletes the shared item with the given id",
                "description": "METHOD: DELETE\nURL: '/api/v2/shared/item/id'",
                "operationId": "DeleteSharedItem",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok"
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/timeline/attachment": {
            "post": {
                "tags": [
                    "Timeline"
                ],
                "summary": "Creates a new timeline message attachment - which is the link between /timeline/message and /documents/document",
                "operationId": "CreateTimelineAttachment",
                "requestBody": {
                    "description": "",
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/PostAttachment"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Ok"
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/timeline/attachment/{id}": {
            "delete": {
                "tags": [
                    "Timeline"
                ],
                "summary": "Deletes the timeline message attachment for the given id",
                "operationId": "DeleteTimelineAttachment",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok"
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/timeline/message": {
            "get": {
                "tags": [
                    "Timeline"
                ],
                "summary": "Fetches all messages",
                "description": "METHOD: GET\nURL: '/api/v2/timeline/message'",
                "operationId": "GetTimelineMessage",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/offset"
                    },
                    {
                        "$ref": "#/components/parameters/limit"
                    },
                    {
                        "$ref": "#/components/parameters/sort"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultTimelineMessages"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            },
            "post": {
                "tags": [
                    "Timeline"
                ],
                "summary": "Add a new timeline message",
                "description": "METHOD: POST\nURL: '/api/v2/timeline/message'",
                "operationId": "CreateTimelineMessage",
                "requestBody": {
                    "description": "Timeline message that needs to be added",
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/PostMessage"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Ok"
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/timeline/message/{id}": {
            "get": {
                "tags": [
                    "Timeline"
                ],
                "summary": "Fetches a single time line message by id",
                "description": "METHOD: GET\nURL: '/api/v2/timeline/message/id'",
                "operationId": "GetTimelineMessageById",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultTimelineMessage"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "422": {
                        "description": "Unprocessable Entity"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            },
            "delete": {
                "tags": [
                    "Timeline"
                ],
                "summary": "Deletes the timeline message for the given id",
                "description": "METHOD: DELETE\nURL: '/api/v2/timeline/message/id'",
                "operationId": "DeleteTimelineMessage",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok"
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/timeline/messagetype": {
            "get": {
                "tags": [
                    "Timeline"
                ],
                "summary": "Fetches all message types",
                "operationId": "GetTimelineMessagetype",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/offset"
                    },
                    {
                        "$ref": "#/components/parameters/limit"
                    },
                    {
                        "$ref": "#/components/parameters/sort"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultTimelineMessageTypes"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/timeline/messagetype/{id}": {
            "get": {
                "tags": [
                    "Timeline"
                ],
                "summary": "Fetches a single timeline message type by id",
                "operationId": "GetTimelineMessagetypeById",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultTimelineMessageType"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "422": {
                        "description": "Unprocessable Entity"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/timers/timer": {
            "get": {
                "tags": [
                    "Hours"
                ],
                "summary": "Fetches all timers",
                "description": "METHOD: GET\nURL: '/api/v2/timers/timer'",
                "operationId": "GetTimersTimer",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/offset"
                    },
                    {
                        "$ref": "#/components/parameters/limit"
                    },
                    {
                        "$ref": "#/components/parameters/sort"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultTimers"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            },
            "post": {
                "tags": [
                    "Hours"
                ],
                "summary": "Add a new timer",
                "description": "METHOD: POST\nURL: '/api/v2/timers/timer'",
                "operationId": "CreateTimersTimer",
                "requestBody": {
                    "description": "Timer object that needs to be added",
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/PostTimer"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Ok"
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/timers/timer/{id}": {
            "get": {
                "tags": [
                    "Hours"
                ],
                "summary": "Fetches a single timer by its id",
                "description": "METHOD: GET\nURL: '/api/v2/timers/timer/id'",
                "operationId": "GetTimersTimerById",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultTimer"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "422": {
                        "description": "Unprocessable Entity"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            },
            "put": {
                "tags": [
                    "Hours"
                ],
                "summary": "Updates a timer for the given timer id",
                "description": "METHOD: PUT\nURL: '/api/v2/timers/timer/id'",
                "operationId": "UpdateTimersTimer",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "requestBody": {
                    "description": "Timer object that needs to be updated",
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/PutTimer"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Ok"
                    },
                    "400": {
                        "description": "Bad Request"
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            },
            "delete": {
                "tags": [
                    "Hours"
                ],
                "summary": "Deletes the timer with the given timer id",
                "description": "METHOD: DELETE\nURL: '/api/v2/timers/timer/id'",
                "operationId": "DeleteTimersTimer",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok"
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/upload/chunked": {
            "post": {
                "tags": [
                    "Upload"
                ],
                "summary": "Create an upload record to upload a file",
                "operationId": "CreateUploadChunked",
                "requestBody": {
                    "description": "Data required to initialize an upload",
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/PostChunked"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Ok"
                    },
                    "400": {
                        "description": "Bad Request"
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/upload/chunked/{id}": {
            "put": {
                "tags": [
                    "Upload"
                ],
                "summary": "Upload next chunk to specific chunked_upload",
                "operationId": "UpdateUploadChunked",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "requestBody": {
                    "description": "Next chunk for an chunked_upload",
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/PutChunked"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Ok"
                    },
                    "400": {
                        "description": "Bad Request"
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/workflows/defaultaction": {
            "get": {
                "tags": [
                    "Workflows"
                ],
                "summary": "Fetches all default actions",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/offset"
                    },
                    {
                        "$ref": "#/components/parameters/limit"
                    },
                    {
                        "$ref": "#/components/parameters/sort"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultDefaultActions"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/workflows/defaultaction/{id}": {
            "get": {
                "tags": [
                    "Workflows"
                ],
                "summary": "Fetches a single default action by its id",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultDefaultAction"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "422": {
                        "description": "Unprocessable Entity"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/workflows/defaulttask": {
            "get": {
                "tags": [
                    "Workflows"
                ],
                "summary": "Fetches all default tasks",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/offset"
                    },
                    {
                        "$ref": "#/components/parameters/limit"
                    },
                    {
                        "$ref": "#/components/parameters/sort"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultDefaultTasks"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/workflows/defaulttask/{id}": {
            "get": {
                "tags": [
                    "Workflows"
                ],
                "summary": "Fetches a single default task by its id",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultDefaultTask"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "422": {
                        "description": "Unprocessable Entity"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/workflows/defaultworkflow": {
            "get": {
                "tags": [
                    "Workflows"
                ],
                "summary": "Fetches all default workflows",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/offset"
                    },
                    {
                        "$ref": "#/components/parameters/limit"
                    },
                    {
                        "$ref": "#/components/parameters/sort"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultDefaultWorkflows"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/workflows/defaultworkflow/{id}": {
            "get": {
                "tags": [
                    "Workflows"
                ],
                "summary": "Fetches a single default workflow by its id",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultDefaultWorkflow"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "422": {
                        "description": "Unprocessable Entity"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/workflows/defaultworkflowgroup": {
            "get": {
                "tags": [
                    "Workflows"
                ],
                "summary": "Fetches all default workflow groups",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/offset"
                    },
                    {
                        "$ref": "#/components/parameters/limit"
                    },
                    {
                        "$ref": "#/components/parameters/sort"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultDefaultWorkflowGroups"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/workflows/defaultworkflowgroup/{id}": {
            "get": {
                "tags": [
                    "Workflows"
                ],
                "summary": "Fetches a single default workflow group by its id",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultDefaultWorkflowGroup"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "422": {
                        "description": "Unprocessable Entity"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/workflows/workflow": {
            "get": {
                "tags": [
                    "Workflows"
                ],
                "summary": "Fetches all workflows",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/offset"
                    },
                    {
                        "$ref": "#/components/parameters/limit"
                    },
                    {
                        "$ref": "#/components/parameters/sort"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultWorkflows"
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            },
            "post": {
                "tags": [
                    "Workflows"
                ],
                "summary": "Add a new workflow",
                "requestBody": {
                    "description": "Workflow object that needs to be added",
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/PostWorkflow"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Ok"
                    },
                    "400": {
                        "description": "Bad Request"
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        },
        "/workflows/workflow/{id}": {
            "get": {
                "tags": [
                    "Workflows"
                ],
                "summary": "Fetches a single workflow by its id",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/RestResultWorkflow"
                                }
                            }
                        }
                    },
                    "400": {
                        "description": "Bad Request"
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "422": {
                        "description": "Unprocessable Entity"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            },
            "put": {
                "tags": [
                    "Workflows"
                ],
                "summary": "Updates a workflow for the given id",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "requestBody": {
                    "description": "Workflow object that needs to be updated",
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/PutWorkflow"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "Ok"
                    },
                    "400": {
                        "description": "Bad Request"
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            },
            "delete": {
                "tags": [
                    "Workflows"
                ],
                "summary": "Deletes the workflow with the given id",
                "parameters": [
                    {
                        "$ref": "#/components/parameters/id"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Ok"
                    },
                    "401": {
                        "description": "Unauthorized"
                    },
                    "404": {
                        "description": "Entity Not Found"
                    },
                    "500": {
                        "description": "Error"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "Feature": {
                "properties": {
                    "identifier": {
                        "type": "string"
                    },
                    "name": {
                        "type": "string"
                    },
                    "is_enabled": {
                        "type": "boolean"
                    }
                },
                "type": "object"
            },
            "ApplicationSetting": {
                "properties": {
                    "module": {
                        "type": "string"
                    },
                    "settings": {
                        "description": "['key'='', 'value'=>'', 'type'=>'int|float|string', 'value'=>[]]",
                        "type": "array",
                        "items": {
                            "type": "object"
                        }
                    }
                },
                "type": "object"
            },
            "App": {
                "description": "App DTO class for the REST API.\n\nThis class represents the address data carrier between two processes.",
                "properties": {
                    "key": {
                        "type": "string"
                    },
                    "label": {
                        "type": "string"
                    },
                    "state": {
                        "type": "string",
                        "enum": [
                            "INSTALLED",
                            "DISABLED",
                            "UNINSTALLED"
                        ]
                    }
                },
                "type": "object"
            },
            "Log": {
                "description": "Log DTO class for the REST API.\n\nThis class represents the log data carrier between two processes.",
                "properties": {
                    "timestamp": {
                        "type": "string"
                    },
                    "message": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "ServiceGroup": {
                "description": "Service Group DTO class for the REST API.\n\nThis class represents the service group data carrier between two processes.",
                "properties": {
                    "label": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "BaseSetting": {
                "description": "Setting DTO class for the REST API.",
                "properties": {
                    "timestamp": {
                        "type": "string"
                    },
                    "app_id": {
                        "type": "string"
                    },
                    "key": {
                        "type": "string"
                    },
                    "value": {
                        "type": "string"
                    }
                },
                "type": "object",
                "xml": {
                    "name": "Setting"
                }
            },
            "Expense": {
                "properties": {
                    "id": {
                        "type": "string"
                    },
                    "project": {
                        "$ref": "#/components/schemas/GetProjectSimple"
                    },
                    "service_id": {
                        "type": "string"
                    },
                    "costtype": {
                        "$ref": "#/components/schemas/GetProjectServiceCostType"
                    },
                    "default_costtype": {
                        "$ref": "#/components/schemas/GetPurchaseType"
                    },
                    "amount": {
                        "type": "number",
                        "format": "float"
                    },
                    "purchase_price_unit": {
                        "type": "number",
                        "format": "float"
                    },
                    "tariff": {
                        "type": "number",
                        "format": "float"
                    },
                    "purchase_price_total": {
                        "type": "number",
                        "format": "float"
                    },
                    "purchase_margin": {
                        "type": "number",
                        "format": "float"
                    },
                    "total_price": {
                        "type": "number",
                        "format": "float"
                    },
                    "is_billable": {
                        "type": "boolean"
                    },
                    "approval_status": {
                        "$ref": "#/components/schemas/ApprovalStatus"
                    },
                    "invoice_status": {
                        "type": "string",
                        "enum": [
                            "open",
                            "invoiced",
                            "flushed"
                        ]
                    },
                    "invoice": {
                        "$ref": "#/components/schemas/GetInvoice"
                    },
                    "employee": {
                        "$ref": "#/components/schemas/GetEmployeeSimple"
                    },
                    "date": {
                        "type": "string"
                    },
                    "note": {
                        "type": "string"
                    },
                    "service_purchase_start_date": {
                        "type": "string"
                    },
                    "service_purchase_end_date": {
                        "type": "string"
                    },
                    "attachments": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/ExpenseAttachment"
                        }
                    }
                },
                "type": "object"
            },
            "ExpenseAttachment": {
                "properties": {
                    "file_hash": {
                        "type": "string"
                    },
                    "file_name": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "PostExpense": {
                "properties": {
                    "project_id": {
                        "type": "string"
                    },
                    "service_id": {
                        "type": "string"
                    },
                    "costtype_id": {
                        "type": "string"
                    },
                    "amount": {
                        "type": "number",
                        "format": "float"
                    },
                    "employee_id": {
                        "type": "string"
                    },
                    "date": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "Accountancy": {
                "properties": {
                    "is_tax_unit_vat": {
                        "type": "boolean"
                    },
                    "vat_number_fe": {
                        "type": "string"
                    },
                    "tax_unit_vat_role": {
                        "type": "string",
                        "enum": [
                            "mother",
                            "daughter",
                            "participation"
                        ]
                    },
                    "is_tax_unit_vpb": {
                        "type": "boolean"
                    },
                    "tax_unit_vpb_role": {
                        "type": "string",
                        "enum": [
                            "mother",
                            "daughter",
                            "participation"
                        ]
                    }
                },
                "type": "object"
            },
            "Address": {
                "description": "Address DTO class for the REST API.\n\nThis class represents the address data carrier between two processes.",
                "properties": {
                    "type": {
                        "type": "string"
                    },
                    "line_1": {
                        "type": "string"
                    },
                    "line_2": {
                        "type": "string"
                    },
                    "postal_code": {
                        "type": "string"
                    },
                    "province": {
                        "type": "string"
                    },
                    "locality": {
                        "type": "string"
                    },
                    "country_code": {
                        "type": "string"
                    },
                    "country_id": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "Administration": {
                "description": "Administration DTO class for the REST API.\n\nThis class represents the administrations data carrier between two processes.",
                "properties": {
                    "name": {
                        "type": "string"
                    }
                },
                "type": "object",
                "xml": {
                    "name": "Administration"
                }
            },
            "ContactPerson": {
                "properties": {
                    "is_active": {
                        "type": "boolean"
                    },
                    "work_function": {
                        "type": "string"
                    },
                    "work_email": {
                        "type": "string"
                    },
                    "work_phone": {
                        "type": "string"
                    },
                    "work_mobile": {
                        "type": "string"
                    },
                    "person_id": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "Country": {
                "description": "Country DTO class for the REST API.\n\nThis class represents the available countries",
                "properties": {
                    "id": {
                        "type": "string"
                    },
                    "name": {
                        "type": "string"
                    },
                    "country_code": {
                        "type": "string"
                    },
                    "language_code": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "CustomerGroup": {
                "description": "Customer group DTO class for the REST API.\n\nThis class represents the organization data carrier between two processes.",
                "properties": {
                    "id": {
                        "type": "string"
                    },
                    "name": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "Debtor": {
                "description": "Debtor DTO class for the REST API.\n\nThis class represents the contact data carrier between two processes.",
                "properties": {
                    "provision_method": {
                        "type": "string",
                        "enum": [
                            "post",
                            "email"
                        ]
                    },
                    "send_invoice_email_to_contact": {
                        "type": "boolean"
                    },
                    "provision_contactperson_id": {
                        "description": "See /crm/person",
                        "type": "string"
                    },
                    "send_invoice_email_to_project_contact": {
                        "type": "boolean"
                    },
                    "send_invoice_email_to_fixed_email": {
                        "type": "boolean"
                    },
                    "send_email_email": {
                        "type": "string"
                    },
                    "send_invoice_email_to_cc": {
                        "type": "boolean"
                    },
                    "cc": {
                        "type": "array",
                        "items": {
                            "type": "string"
                        }
                    },
                    "attention_to": {
                        "type": "string",
                        "enum": [
                            "none",
                            "contact",
                            "creditor"
                        ]
                    },
                    "attention_to_person_id": {
                        "description": "See /crm/person",
                        "type": "string"
                    },
                    "attention_to_fixed": {
                        "type": "string"
                    },
                    "autocollect": {
                        "type": "boolean"
                    },
                    "reminders": {
                        "type": "boolean"
                    },
                    "send_email_type": {
                        "type": "string",
                        "enum": [
                            "fixed",
                            "contact"
                        ]
                    },
                    "autosend_subscription_invoice": {
                        "type": "boolean"
                    },
                    "invoicetemplate_id": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "DebtorList": {
                "description": "Debtor list DTO class for the REST API.\n\nThis class represents the list of debtors for organization and person data carrier between two processes.",
                "properties": {
                    "organization": {
                        "$ref": "#/components/schemas/GetOrganizationDebtorSimple"
                    },
                    "person": {
                        "$ref": "#/components/schemas/GetPersonDebtorSimple"
                    }
                },
                "type": "object"
            },
            "ExternalList": {
                "properties": {
                    "id": {
                        "type": "string"
                    },
                    "name": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "ExternalListTag": {
                "properties": {
                    "id": {
                        "type": "string"
                    },
                    "name": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "Gender": {
                "description": "Gender DTO class for the REST API.\n\nThis class represents the available genders",
                "properties": {
                    "id": {
                        "type": "string"
                    },
                    "name": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "GetAddress": {
                "description": "Address DTO class for the REST API.\n\nThis class represents the address data carrier between two processes.",
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/Address"
                    },
                    {
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "country": {
                                "type": "string"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "GetBasicPersonSimple": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/GetPersonSimple"
                    },
                    {
                        "properties": {
                            "date_of_birth": {
                                "type": "string"
                            },
                            "gender_id": {
                                "type": "string"
                            },
                            "gender": {
                                "type": "string"
                            },
                            "address": {
                                "$ref": "#/components/schemas/GetAddress"
                            },
                            "email": {
                                "type": "string"
                            },
                            "phone": {
                                "type": "string"
                            },
                            "twitter_url": {
                                "type": "string"
                            },
                            "linkedin_url": {
                                "type": "string"
                            },
                            "facebook_url": {
                                "type": "string"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "GetContactPerson": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/ContactPerson"
                    },
                    {
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "organization": {
                                "$ref": "#/components/schemas/GetOrganizationSimple"
                            },
                            "person": {
                                "$ref": "#/components/schemas/GetPersonSimple"
                            },
                            "created_at": {
                                "type": "string"
                            },
                            "updated_at": {
                                "type": "string"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "GetContactSimple": {
                "properties": {
                    "id": {
                        "type": "string"
                    },
                    "person": {
                        "$ref": "#/components/schemas/GetPersonSimple"
                    },
                    "organization": {
                        "$ref": "#/components/schemas/GetOrganizationSimple"
                    }
                },
                "type": "object"
            },
            "GetDebtor": {
                "description": "Debtor DTO class for the REST API.\n\nThis class represents the contact data carrier between two processes.",
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/Debtor"
                    },
                    {
                        "properties": {
                            "payment_term": {
                                "$ref": "#/components/schemas/GetPaymentTerm"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "GetInterest": {
                "description": "Employee DTO class for the REST API.\n\nThis class represents the employee data carrier between two processes.",
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/Interest"
                    },
                    {
                        "properties": {
                            "value": {
                                "type": "string"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "GetMyOrganizationProfileSimple": {
                "properties": {
                    "id": {
                        "type": "string"
                    },
                    "organization": {
                        "$ref": "#/components/schemas/GetOrganizationSimple"
                    }
                },
                "type": "object"
            },
            "GetOrganization": {
                "description": "Organization DTO class for the REST API.\n\nThis class represents the organization data carrier between two processes.",
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/Organization"
                    },
                    {
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "visiting_address": {
                                "$ref": "#/components/schemas/GetAddress"
                            },
                            "postal_address": {
                                "$ref": "#/components/schemas/GetAddress"
                            },
                            "relation_type": {
                                "$ref": "#/components/schemas/RelationType"
                            },
                            "relation_manager": {
                                "$ref": "#/components/schemas/Employee"
                            },
                            "customer_group": {
                                "$ref": "#/components/schemas/CustomerGroup"
                            },
                            "teams": {
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/GetTeamSimple"
                                }
                            },
                            "debtor": {
                                "$ref": "#/components/schemas/GetDebtor"
                            },
                            "organizationsize": {
                                "$ref": "#/components/schemas/OrganizationSize"
                            },
                            "linked_persons_contacts": {
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/ContactPerson"
                                }
                            },
                            "interests": {
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/Interest"
                                }
                            },
                            "accountancy": {
                                "$ref": "#/components/schemas/Accountancy"
                            },
                            "custom_fields": {
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/GetCustomField"
                                }
                            },
                            "created_at": {
                                "type": "string"
                            },
                            "updated_at": {
                                "type": "string"
                            },
                            "simplicate_url": {
                                "type": "string"
                            },
                            "sbi_codes": {
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/SbiCode"
                                }
                            },
                            "is_active": {
                                "type": "boolean"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "GetOrganizationDebtorSimple": {
                "description": "Debtor list DTO class for the REST API.\n\nThis class represents the debtor entity, organization, for the debtor list data carrier between two processes.",
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/GetOrganizationSimple"
                    },
                    {
                        "properties": {
                            "relation_type": {
                                "$ref": "#/components/schemas/RelationType"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "GetOrganizationSimple": {
                "description": "Organization DTO class for the REST API.\n\nThis class represents the organization data carrier between two processes.",
                "properties": {
                    "id": {
                        "type": "string"
                    },
                    "name": {
                        "type": "string"
                    },
                    "relation_number": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "GetPerson": {
                "description": "Person DTO class for the REST API.\n\nThis class represents the person data carrier between two processes.",
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/Person"
                    },
                    {
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "gender_id": {
                                "type": "string"
                            },
                            "use_custom_salutation": {
                                "type": "boolean"
                            },
                            "custom_salutation": {
                                "type": "string"
                            },
                            "interests": {
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/GetInterest"
                                }
                            },
                            "simplicate_url": {
                                "type": "string"
                            },
                            "address": {
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/GetAddress"
                                }
                            },
                            "relation_manager": {
                                "$ref": "#/components/schemas/Employee"
                            },
                            "teams": {
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/GetTeamSimple"
                                }
                            },
                            "is_employee": {
                                "type": "integer"
                            },
                            "linked_as_contact_to_organization": {
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/OrganizationContact"
                                }
                            },
                            "custom_fields": {
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/GetCustomField"
                                }
                            },
                            "created_at": {
                                "type": "string"
                            },
                            "updated_at": {
                                "type": "string"
                            },
                            "is_active": {
                                "type": "boolean"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "GetPersonDebtorSimple": {
                "description": "Debtor list DTO class for the REST API.\n\nThis class represents the debtor entity, person, for the debtor list data carrier between two processes.",
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/GetPersonSimple"
                    },
                    {
                        "properties": {
                            "relation_type": {
                                "$ref": "#/components/schemas/RelationType"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "GetPersonSimple": {
                "description": "Organization DTO class for the REST API.\n\nThis class represents the person data carrier between two processes.",
                "properties": {
                    "id": {
                        "type": "string"
                    },
                    "full_name": {
                        "type": "string"
                    },
                    "relation_number": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "Industry": {
                "description": "Industry DTO class for the REST API.\n\nThis class represents the industry data carrier between two processes.",
                "properties": {
                    "id": {
                        "type": "string"
                    },
                    "name": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "Interest": {
                "description": "Employee DTO class for the REST API.\n\nThis class represents the employee data carrier between two processes.",
                "properties": {
                    "id": {
                        "type": "string"
                    },
                    "name": {
                        "type": "string"
                    },
                    "api_name": {
                        "type": "string"
                    },
                    "organization": {
                        "type": "boolean"
                    },
                    "person": {
                        "type": "boolean"
                    },
                    "contact": {
                        "type": "boolean"
                    }
                },
                "type": "object"
            },
            "MailingList": {
                "properties": {
                    "id": {
                        "type": "string"
                    },
                    "name": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "MyOrganizationProfile": {
                "description": "OrganizationProfile DTO class for the REST API.\n\nThis class represents the OrganizationProfile data carrier between two processes.",
                "properties": {
                    "id": {
                        "type": "string"
                    },
                    "organization_id": {
                        "type": "string"
                    },
                    "name": {
                        "type": "string"
                    },
                    "coc_code": {
                        "type": "string"
                    },
                    "vat_number": {
                        "type": "string"
                    },
                    "bank_account": {
                        "type": "string"
                    },
                    "blocked": {
                        "type": "boolean"
                    },
                    "main_profile": {
                        "type": "boolean"
                    }
                },
                "type": "object"
            },
            "Organization": {
                "description": "Organization DTO class for the REST API.\n\nThis class represents the organization data carrier between two processes.",
                "properties": {
                    "name": {
                        "type": "string"
                    },
                    "coc_code": {
                        "type": "string"
                    },
                    "vat_number": {
                        "type": "string"
                    },
                    "email": {
                        "type": "string"
                    },
                    "phone": {
                        "type": "string"
                    },
                    "url": {
                        "type": "string"
                    },
                    "note": {
                        "type": "string"
                    },
                    "linkedin_url": {
                        "type": "string"
                    },
                    "has_different_postal_address": {
                        "type": "boolean"
                    },
                    "industry": {
                        "$ref": "#/components/schemas/Industry"
                    },
                    "organizationsize": {
                        "$ref": "#/components/schemas/OrganizationSize"
                    },
                    "invoice_receiver": {
                        "type": "string"
                    },
                    "allow_autocollect": {
                        "type": "boolean"
                    },
                    "bank_account": {
                        "type": "string"
                    },
                    "bank_bic": {
                        "type": "string"
                    },
                    "relation_number": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "OrganizationContact": {
                "description": "OrganizationContact DTO class for the REST API.\n\nThis class represents the contact data carrier between two processes.",
                "properties": {
                    "id": {
                        "type": "string"
                    },
                    "organization_id": {
                        "type": "string"
                    },
                    "name": {
                        "type": "string"
                    },
                    "is_active": {
                        "type": "boolean"
                    },
                    "work_function": {
                        "type": "string"
                    },
                    "work_email": {
                        "type": "string"
                    },
                    "work_phone": {
                        "type": "string"
                    },
                    "work_mobile": {
                        "type": "string"
                    },
                    "interests": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/Interest"
                        }
                    }
                },
                "type": "object"
            },
            "OrganizationSize": {
                "description": "Country DTO class for the REST API.\n\nThis class represents the available organization sizes",
                "properties": {
                    "id": {
                        "type": "string"
                    },
                    "name": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "Person": {
                "description": "Person DTO class for the REST API.\n\nThis class represents the person data carrier between two processes.",
                "properties": {
                    "relation_type": {
                        "$ref": "#/components/schemas/RelationType"
                    },
                    "gender": {
                        "type": "string",
                        "enum": [
                            "Male",
                            "Female",
                            "Unknown"
                        ]
                    },
                    "initials": {
                        "type": "string"
                    },
                    "first_name": {
                        "type": "string"
                    },
                    "family_name_prefix": {
                        "type": "string"
                    },
                    "family_name": {
                        "type": "string"
                    },
                    "full_name": {
                        "type": "string"
                    },
                    "date_of_birth": {
                        "type": "string"
                    },
                    "note": {
                        "type": "string"
                    },
                    "email": {
                        "type": "string"
                    },
                    "phone": {
                        "type": "string"
                    },
                    "website_url": {
                        "type": "string"
                    },
                    "twitter_url": {
                        "type": "string"
                    },
                    "linkedin_url": {
                        "type": "string"
                    },
                    "facebook_url": {
                        "type": "string"
                    },
                    "relation_number": {
                        "type": "string"
                    },
                    "bank_account": {
                        "type": "string"
                    },
                    "bank_bic": {
                        "type": "string"
                    },
                    "invoice_receiver": {
                        "type": "string"
                    },
                    "address": {
                        "$ref": "#/components/schemas/Address"
                    },
                    "mailing_list_email": {
                        "type": "string"
                    },
                    "mailing_lists": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/PersonMailingList"
                        }
                    },
                    "is_active": {
                        "type": "boolean"
                    }
                },
                "type": "object"
            },
            "PersonContact": {
                "properties": {
                    "id": {
                        "type": "string"
                    },
                    "person_id": {
                        "type": "string"
                    },
                    "first_name": {
                        "description": "string string"
                    },
                    "family_name_prefix": {
                        "type": "string"
                    },
                    "family_name": {
                        "type": "string"
                    },
                    "is_active": {
                        "type": "boolean"
                    },
                    "work_function": {
                        "type": "string"
                    },
                    "work_email": {
                        "type": "string"
                    },
                    "work_phone": {
                        "type": "string"
                    },
                    "work_mobile": {
                        "type": "string"
                    },
                    "interests": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/Interest"
                        }
                    }
                },
                "type": "object"
            },
            "PersonMailingList": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/ExternalList"
                    },
                    {
                        "properties": {
                            "value": {
                                "type": "boolean"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "PostAddress": {
                "description": "Address DTO class for the REST API.\n\nThis class represents the address data carrier between two processes.",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/Address"
                    }
                ]
            },
            "PostContactOrganizationFk": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/PostContactPersonProperties"
                    },
                    {
                        "properties": {
                            "organization_id": {
                                "type": "string"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "PostContactPerson": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/ContactPerson"
                    },
                    {
                        "properties": {
                            "organization_id": {
                                "description": "See /crm/organization",
                                "type": "string"
                            },
                            "person_id": {
                                "description": "See /crm/person",
                                "type": "string"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "PostContactPersonFk": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/PostContactPersonProperties"
                    },
                    {
                        "properties": {
                            "person_id": {
                                "type": "string"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "PostContactPersonProperties": {
                "properties": {
                    "work_function": {
                        "type": "string"
                    },
                    "work_email": {
                        "type": "string"
                    },
                    "work_mobile": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "PostDebtor": {
                "description": "Debtor DTO class for the REST API.\n\nThis class represents the contact data carrier between two processes.",
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/Debtor"
                    },
                    {
                        "properties": {
                            "payment_term_id": {
                                "description": "See /invoices/paymentterm",
                                "type": "string"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "PostInterest": {
                "description": "Employee DTO class for the REST API.\n\nThis class represents the employee data carrier between two processes.",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/Interest"
                    }
                ]
            },
            "PostOrganization": {
                "description": "Organization DTO class for the REST API.\n\nThis class represents the organization data carrier between two processes.",
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/Organization"
                    },
                    {
                        "properties": {
                            "visiting_address": {
                                "$ref": "#/components/schemas/PostAddress"
                            },
                            "postal_address": {
                                "$ref": "#/components/schemas/PostAddress"
                            },
                            "relation_type": {
                                "$ref": "#/components/schemas/RelationType"
                            },
                            "relation_manager": {
                                "$ref": "#/components/schemas/PostEmployeeFk"
                            },
                            "customer_group": {
                                "$ref": "#/components/schemas/PostOrganizationFk"
                            },
                            "linked_persons_contacts": {
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/PostContactPersonFk"
                                }
                            },
                            "interests": {
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/PostInterest"
                                }
                            },
                            "debtor": {
                                "$ref": "#/components/schemas/PostDebtor"
                            },
                            "teams": {
                                "description": "See /hrm/team",
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/CrmPostTeam"
                                }
                            },
                            "accountancy": {
                                "$ref": "#/components/schemas/Accountancy"
                            },
                            "custom_fields": {
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/PostCustomFieldValue"
                                }
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "PostOrganizationFk": {
                "description": "Organizaion DTO class for the REST API.\n\nThis class represents the employee data carrier between two processes.",
                "properties": {
                    "id": {
                        "type": "string",
                        "default": "organization:abc"
                    }
                },
                "type": "object"
            },
            "PostPerson": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/Person"
                    },
                    {
                        "properties": {
                            "interests": {
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/PostInterest"
                                }
                            },
                            "address": {
                                "$ref": "#/components/schemas/PostAddress"
                            },
                            "linked_as_contact_to_organization": {
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/PostContactOrganizationFk"
                                }
                            },
                            "gender_id": {
                                "type": "string"
                            },
                            "teams": {
                                "description": "See /hrm/team",
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/CrmPostTeam"
                                }
                            },
                            "custom_fields": {
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/PostCustomFieldValue"
                                }
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "CrmPostTeam": {
                "description": "crm Team DTO class for the REST API.\n\nThis class represents the crm team data carrier between two processes.",
                "properties": {
                    "id": {
                        "type": "string"
                    },
                    "value": {
                        "type": "boolean"
                    }
                },
                "type": "object"
            },
            "PutContactPerson": {
                "allOf": [
                    {
                        "$ref": "#/components/schemas/ContactPerson"
                    }
                ]
            },
            "RelationType": {
                "description": "RelationType DTO class for the REST API.\n\nThis class represents the relation type data carrier between two processes.",
                "properties": {
                    "id": {
                        "type": "string"
                    },
                    "label": {
                        "type": "string"
                    },
                    "color": {
                        "type": "string"
                    },
                    "type": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "SbiCode": {
                "properties": {
                    "id": {
                        "type": "string"
                    },
                    "code": {
                        "type": "integer"
                    },
                    "description": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "Timezone": {
                "description": "Timezone DTO class for the REST API.\n\nThis class represents the relation type data carrier between two processes.",
                "properties": {
                    "id": {
                        "type": "string"
                    },
                    "timezone": {
                        "type": "string"
                    },
                    "location": {
                        "type": "string"
                    },
                    "description": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "CustomField": {
                "description": "CustomField DTO class for the REST API.\n\nThis class represents a single custom field data carrier between two processes.",
                "properties": {
                    "name": {
                        "type": "string"
                    },
                    "label": {
                        "type": "string"
                    },
                    "value": {
                        "type": "string"
                    },
                    "display_value": {
                        "type": "string"
                    },
                    "type": {
                        "type": "string"
                    },
                    "render_type": {
                        "type": "string"
                    },
                    "position": {
                        "type": "integer"
                    },
                    "filterable": {
                        "type": "boolean"
                    },
                    "searchable": {
                        "type": "boolean"
                    },
                    "mandatory": {
                        "type": "boolean"
                    },
                    "value_type": {
                        "type": "string",
                        "enum": [
                            "Text",
                            "Integer",
                            "Decimal",
                            "Date",
                            "Time",
                            "DateTime"
                        ]
                    },
                    "custom_field_group": {
                        "$ref": "#/components/schemas/CustomFieldGroup"
                    },
                    "options": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/CustomFieldOption"
                        }
                    }
                },
                "type": "object"
            },
            "CustomFieldGroup": {
                "description": "CustomField DTO class for the REST API.\n\nThis class represents a single custom field data carrier between two processes.",
                "properties": {
                    "id": {
                        "type": "string"
                    },
                    "name": {
                        "type": "string"
                    },
                    "position": {
                        "type": "string"
                    },
                    "model": {
                        "$ref": "#/components/schemas/CustomFieldModel"
                    },
                    "type": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "CustomFieldModel": {
                "properties": {
                    "id": {
                        "type": "string"
                    },
                    "label": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "CustomFieldOption": {
                "description": "CustomFieldOption DTO class for the REST API.\n\nThis class represents a single custom field data carrier between two processes.",
                "properties": {
                    "id": {
                        "type": "string"
                    },
                    "label": {
                        "type": "string"
                    },
                    "value": {
                        "type": "string"
                    },
                    "position": {
                        "type": "integer"
                    },
                    "customfield_id": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "CustomFieldType": {
                "properties": {
                    "id": {
                        "type": "string"
                    },
                    "type": {
                        "type": "string"
                    },
                    "name": {
                        "type": "string"
                    },
                    "position": {
                        "type": "integer"
                    },
                    "is_mandatory_configurable": {
                        "type": "boolean"
                    },
                    "is_searchable_configurable": {
                        "type": "boolean"
                    },
                    "is_filterable_configurable": {
                        "type": "boolean"
                    },
                    "is_collective_mutatable_configurable": {
                        "type": "boolean"
                    }
                },
                "type": "object"
            },
            "GetCustomField": {
                "description": "CustomField DTO class for the REST API.\n\nThis class represents a single custom field data carrier between two processes.",
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/CustomField"
                    },
                    {
                        "properties": {
                            "id": {
                                "type": "string"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "PostCustomFieldValue": {
                "properties": {
                    "name": {
                        "description": "The 'name' property found in the custom field definition",
                        "type": "string"
                    },
                    "value": {
                        "description": "The value for the custom field. Type of value is dependent on the custom field. Can be a string, int, bool, float, or a reference to a customfieldoption:abcd",
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "Document": {
                "description": "Document type DTO class for the REST API.\n\nThis class represents the available document types",
                "properties": {
                    "title": {
                        "type": "string"
                    },
                    "description": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "DocumentType": {
                "description": "Document type DTO class for the REST API.\n\nThis class represents the available document types",
                "properties": {
                    "label": {
                        "type": "string"
                    },
                    "description": {
                        "type": "string"
                    },
                    "can_have_attachment": {
                        "type": "boolean"
                    },
                    "is_for_crm": {
                        "type": "boolean"
                    },
                    "is_for_contact": {
                        "type": "boolean"
                    },
                    "is_for_sale": {
                        "type": "boolean"
                    },
                    "is_for_debtor": {
                        "type": "boolean"
                    },
                    "is_for_project": {
                        "type": "boolean"
                    },
                    "is_for_subscription": {
                        "type": "boolean"
                    },
                    "is_for_employee": {
                        "type": "boolean"
                    },
                    "is_for_invoice": {
                        "type": "boolean"
                    },
                    "is_for_myorganizationprofile": {
                        "type": "boolean"
                    },
                    "is_blocked": {
                        "type": "boolean"
                    },
                    "is_visible_on_all": {
                        "type": "boolean"
                    }
                },
                "type": "object"
            },
            "DocumentTypeSimple": {
                "description": "Document type DTO class for the REST API.\n\nThis class represents the available document types",
                "properties": {
                    "id": {
                        "type": "string"
                    },
                    "label": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "GetDocument": {
                "description": "Document type DTO class for the REST API.\n\nThis class represents the available document types",
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/Document"
                    },
                    {
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "download_url": {
                                "type": "string"
                            },
                            "document_type": {
                                "$ref": "#/components/schemas/DocumentTypeSimple"
                            },
                            "linked_to": {
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/LinkedToEntity"
                                }
                            },
                            "created_by": {
                                "$ref": "#/components/schemas/GetEmployeeSimple"
                            },
                            "created_at": {
                                "type": "string"
                            },
                            "updated_at": {
                                "type": "string"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "GetDocumentType": {
                "description": "Document type DTO class for the REST API.\n\nThis class represents the available document types",
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/DocumentType"
                    },
                    {
                        "properties": {
                            "id": {
                                "type": "string"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "PostDocument": {
                "description": "Document type DTO class for the REST API.\n\nThis class represents the POSTed document",
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/PutDocument"
                    },
                    {
                        "properties": {
                            "linked_to": {
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/PostDocumentLinkedTo"
                                }
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "PostDocumentLinkedTo": {
                "allOf": [
                    {
                        "$ref": "#/components/schemas/PostMessageLinkedTo"
                    }
                ]
            },
            "PostExternalDocument": {
                "description": "Document type DTO class for the REST API.\n\nThis class represents the POSTed external document",
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/PutExternalDocument"
                    },
                    {
                        "properties": {
                            "linked_to": {
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/PostDocumentLinkedTo"
                                }
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "PostQuoteTemplate": {
                "description": "Task DTO class for the REST API.\n\nThis class represents the quote document template item data carrier between two processes.",
                "properties": {
                    "name": {
                        "type": "string"
                    },
                    "description": {
                        "type": "string"
                    },
                    "type": {
                        "type": "string"
                    },
                    "html": {
                        "type": "string"
                    },
                    "json": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "PutDocument": {
                "description": "Document type DTO class for the REST API.\n\nThis class represents the updated document",
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/Document"
                    },
                    {
                        "properties": {
                            "document_type_id": {
                                "type": "string"
                            },
                            "upload_queue_id": {
                                "type": "string"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "PutExternalDocument": {
                "description": "Document type DTO class for the REST API.\n\nThis class represents the updated external document",
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/Document"
                    },
                    {
                        "properties": {
                            "document_type_id": {
                                "type": "string"
                            },
                            "external_url": {
                                "type": "string"
                            },
                            "extension": {
                                "type": "string"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "QuoteTemplate": {
                "description": "Task DTO class for the REST API.\n\nThis class represents the quote document template item data carrier between two processes.",
                "properties": {
                    "description": {
                        "type": "string"
                    },
                    "id": {
                        "type": "string"
                    },
                    "type": {
                        "type": "string"
                    },
                    "html": {
                        "type": "string"
                    },
                    "is_blocked": {
                        "type": "boolean"
                    },
                    "json": {
                        "type": "string"
                    },
                    "name": {
                        "type": "string"
                    },
                    "created_at": {
                        "type": "string"
                    },
                    "updated_at": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "EmptyRestResult": {
                "description": "EmptyResultResult DTO class for the REST API."
            },
            "Filter": {
                "description": "Filter DTO class for the REST API.",
                "properties": {
                    "id": {
                        "type": "string"
                    },
                    "name": {
                        "type": "string"
                    },
                    "key": {
                        "type": "string"
                    },
                    "values": {
                        "type": "array",
                        "items": {
                            "type": "object"
                        }
                    }
                },
                "type": "object"
            },
            "Approval": {
                "properties": {
                    "date": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "ApprovalStatus": {
                "description": "Type DTO class for the REST API.\n\nThis class represents the relation type data carrier between two processes.",
                "properties": {
                    "label": {
                        "type": "string"
                    },
                    "description": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "BaseHours": {
                "description": "BaseHours DTO class for the REST API.\n\nThis class represents the relation type data carrier between two processes.",
                "properties": {
                    "source": {
                        "type": "string",
                        "enum": [
                            "schedule",
                            "timer",
                            "timesheet"
                        ]
                    },
                    "note": {
                        "type": "string"
                    },
                    "start_date": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "CalendarItem": {
                "properties": {
                    "id": {
                        "type": "string"
                    },
                    "employee": {
                        "$ref": "#/components/schemas/GetEmployeeSimple"
                    },
                    "hours": {
                        "type": "string"
                    },
                    "start_date": {
                        "type": "string"
                    },
                    "end_date": {
                        "type": "string"
                    },
                    "description": {
                        "type": "string"
                    },
                    "summary": {
                        "type": "string"
                    },
                    "location": {
                        "type": "string"
                    },
                    "deleted": {
                        "type": "boolean"
                    },
                    "status": {
                        "type": "string"
                    },
                    "is_recurring": {
                        "type": "boolean"
                    },
                    "is_read_only": {
                        "type": "boolean"
                    },
                    "is_time_defined": {
                        "type": "boolean"
                    },
                    "organizer_email": {
                        "type": "string"
                    },
                    "private": {
                        "type": "boolean"
                    },
                    "obfuscate": {
                        "type": "boolean"
                    },
                    "hours_id": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "Correction": {
                "properties": {
                    "amount": {
                        "type": "number",
                        "format": "float"
                    },
                    "value": {
                        "type": "number",
                        "format": "float"
                    },
                    "last_correction_date": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "DateTimeRange": {
                "properties": {
                    "start_date": {
                        "type": "string"
                    },
                    "end_date": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "ExternalItemMetadata": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/MetaData"
                    },
                    {
                        "properties": {
                            "configuration": {
                                "$ref": "#/components/schemas/ExternalItemMetadataConfiguration"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "ExternalItemMetadataConfiguration": {
                "properties": {
                    "employee_id": {
                        "type": "string"
                    },
                    "has_external_agenda_integration": {
                        "type": "boolean"
                    },
                    "external_agenda_sync_method": {}
                },
                "type": "object"
            },
            "GetApproval": {
                "description": "Type DTO class for the REST API.\n\nThis class represents the relation type data carrier between two processes.",
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/Approval"
                    },
                    {
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "employee": {
                                "$ref": "#/components/schemas/GetEmployeeSimple"
                            },
                            "approvalstatus": {
                                "$ref": "#/components/schemas/GetApprovalStatus"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "GetApprovalStatus": {
                "description": "Type DTO class for the REST API.\n\nThis class represents the relation type data carrier between two processes.",
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/ApprovalStatus"
                    },
                    {
                        "properties": {
                            "id": {
                                "type": "string"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "GetHours": {
                "description": "Hours DTO class for the REST API.\n\nThis class represents the relation type data carrier between two processes.",
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/Hours"
                    },
                    {
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "employee": {
                                "$ref": "#/components/schemas/GetEmployeeSimple"
                            },
                            "project": {
                                "$ref": "#/components/schemas/GetProjectSimple"
                            },
                            "projectservice": {
                                "$ref": "#/components/schemas/GetHoursHoursProjectService"
                            },
                            "type": {
                                "description": "When record is leave related return leaveType",
                                "oneOf": [
                                    {
                                        "$ref": "#/components/schemas/GetHoursType"
                                    },
                                    {
                                        "$ref": "#/components/schemas/HoursGetLeaveType"
                                    }
                                ]
                            },
                            "approvalstatus": {
                                "$ref": "#/components/schemas/GetApprovalStatus"
                            },
                            "invoice_status": {
                                "type": "string",
                                "enum": [
                                    "flushed",
                                    "invoiced",
                                    "indirectly"
                                ]
                            },
                            "invoice_id": {
                                "description": "See /invoices/invoice",
                                "type": "string"
                            },
                            "invoiceline_id": {
                                "description": "See /invoices/invoice",
                                "type": "string"
                            },
                            "tariff": {
                                "type": "number",
                                "format": "float"
                            },
                            "custom_fields": {
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/GetCustomField"
                                }
                            },
                            "created_at": {
                                "type": "string"
                            },
                            "updated_at": {
                                "type": "string"
                            },
                            "locked": {
                                "type": "boolean"
                            },
                            "is_editable": {
                                "$ref": "#/components/schemas/IsSatisfied"
                            },
                            "is_deletable": {
                                "$ref": "#/components/schemas/IsSatisfied"
                            },
                            "leave_status": {
                                "$ref": "#/components/schemas/HoursLeaveStatus"
                            },
                            "leave_id": {
                                "type": "string"
                            },
                            "absence_id": {
                                "type": "string"
                            },
                            "status": {
                                "type": "string"
                            },
                            "corrections": {
                                "$ref": "#/components/schemas/Correction"
                            },
                            "mileage": {
                                "$ref": "#/components/schemas/GetMileageSimple"
                            },
                            "is_productive": {
                                "type": "boolean"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "GetHoursHoursProjectService": {
                "properties": {
                    "id": {
                        "type": "string",
                        "default": "service:abc123"
                    },
                    "name": {
                        "type": "string"
                    },
                    "start_date": {
                        "description": "Registration start date in Y-m-d format. For example: 2020-01-01",
                        "type": "string",
                        "default": "2020-01-01"
                    },
                    "until_date": {
                        "description": "Registration end date in Y-m-d format. For example: 2020-01-01",
                        "type": "string",
                        "default": "2020-01-01"
                    },
                    "default_service_id": {
                        "type": "string",
                        "default": "defaultservice:abc123"
                    },
                    "revenue_group_id": {
                        "type": "string",
                        "default": "revenuegroup:abc123"
                    }
                },
                "type": "object"
            },
            "GetHoursProjectService": {
                "properties": {
                    "id": {
                        "type": "string",
                        "default": "service:abc123"
                    },
                    "name": {
                        "type": "string"
                    },
                    "start_date": {
                        "description": "Registration start date in Y-m-d format. For example: 2020-01-01",
                        "type": "string",
                        "default": "2020-01-01"
                    },
                    "until_date": {
                        "description": "Registration end date in Y-m-d format. For example: 2020-01-01",
                        "type": "string",
                        "default": "2020-01-01"
                    },
                    "purchase_start_date": {
                        "description": "Y-m-d, eg. 2020-01-01",
                        "type": "string",
                        "default": "2020-01-01"
                    },
                    "purchase_end_date": {
                        "description": "Y-m-d, eg. 2020-01-01",
                        "type": "string",
                        "default": "2020-01-01"
                    }
                },
                "type": "object"
            },
            "GetHoursSimple": {
                "description": "Hours DTO class for the REST API.\n\nThis class represents the relation type data carrier between two processes.",
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/Hours"
                    },
                    {
                        "properties": {
                            "id": {
                                "type": "string"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "GetHoursType": {
                "description": "Type DTO class for the REST API.\n\nThis class represents the relation type data carrier between two processes.",
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/HoursType"
                    },
                    {
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "type": {
                                "type": "string",
                                "enum": [
                                    "normal",
                                    "leave",
                                    "absence"
                                ]
                            },
                            "billable": {
                                "type": "number",
                                "format": "float"
                            },
                            "vatclass": {
                                "$ref": "#/components/schemas/VatClass"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "HoursGetLeaveType": {
                "description": "Type DTO class for the REST API.\n\nThis class represents the relation type data carrier between two processes.",
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/GetHoursType"
                    },
                    {
                        "properties": {
                            "has_workflow": {
                                "type": "boolean"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "GetProjectServiceCostType": {
                "description": "Type DTO class for the REST API.\n\nThis class represents the relation type data carrier between two processes.",
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/GetServiceCostType"
                    },
                    {
                        "properties": {
                            "label": {
                                "type": "string"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "GetProjectServiceHoursType": {
                "description": "Type DTO class for the REST API.\n\nThis class represents the relation type data carrier between two processes.",
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/ProjectServiceHoursType"
                    },
                    {
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "hourstype": {
                                "$ref": "#/components/schemas/GetHoursType"
                            },
                            "color": {
                                "type": "string"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "GetSalesServiceCostType": {
                "description": "Type DTO class for the REST API.\n\nThis class represents the relation type data carrier between two processes.",
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/GetServiceCostType"
                    },
                    {
                        "properties": {
                            "label": {
                                "type": "string"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "GetSalesServiceHoursType": {
                "description": "Type DTO class for the REST API.\n\nThis class represents the relation type data carrier between two processes.",
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/SalesServiceHoursType"
                    },
                    {
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "hourstype": {
                                "$ref": "#/components/schemas/GetHoursType"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "GetServiceCostType": {
                "description": "Type DTO class for the REST API.\n\nThis class represents the relation type data carrier between two processes.",
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/ServiceCostType"
                    },
                    {
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "costtype": {
                                "$ref": "#/components/schemas/GetPurchaseType"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "Hours": {
                "description": "Hours DTO class for the REST API.\n\nThis class represents the relation type data carrier between two processes.",
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/BaseHours"
                    },
                    {
                        "properties": {
                            "hours": {
                                "type": "number",
                                "format": "float"
                            },
                            "duration_in_minutes": {
                                "type": "integer"
                            },
                            "start_date": {
                                "type": "string"
                            },
                            "end_date": {
                                "type": "string"
                            },
                            "is_time_defined": {
                                "type": "boolean"
                            },
                            "is_recurring": {
                                "type": "boolean"
                            },
                            "recurrence": {
                                "$ref": "#/components/schemas/Recurrence"
                            },
                            "is_external": {
                                "type": "boolean"
                            },
                            "billable": {
                                "type": "boolean"
                            },
                            "note": {
                                "type": "string"
                            },
                            "address": {
                                "oneOf": [
                                    {
                                        "$ref": "#/components/schemas/Address"
                                    },
                                    {
                                        "type": "null"
                                    }
                                ]
                            },
                            "assignment_id": {
                                "type": "string"
                            },
                            "should_sync_to_cronofy": {
                                "type": "boolean"
                            },
                            "external_url": {
                                "type": "string"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "HoursType": {
                "description": "Type DTO class for the REST API.\n\nThis class represents the relation type data carrier between two processes.",
                "properties": {
                    "label": {
                        "type": "string"
                    },
                    "tariff": {
                        "type": "string"
                    },
                    "blocked": {
                        "type": "boolean"
                    },
                    "color": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "HoursLeaveStatus": {
                "properties": {
                    "id": {
                        "type": "string"
                    },
                    "label": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "MileageType": {
                "allOf": [
                    {
                        "$ref": "#/components/schemas/HoursType"
                    }
                ]
            },
            "PostApproval": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/Approval"
                    },
                    {
                        "properties": {
                            "employee_id": {
                                "type": "string"
                            },
                            "approvalstatus_id": {
                                "description": "See /hours/approvalstatus. May also be string 'null' to empty the status id",
                                "type": "string"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "PostCalendarItem": {
                "properties": {
                    "id": {
                        "description": "Calendars' external_uid",
                        "type": "string"
                    },
                    "location": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "PostHours": {
                "description": "Hours DTO class for the REST API.\n\nThis class represents the relation type data carrier between two processes.",
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/Hours"
                    },
                    {
                        "properties": {
                            "employee_id": {
                                "type": "string"
                            },
                            "project_id": {
                                "type": "string"
                            },
                            "projectservice_id": {
                                "type": "string"
                            },
                            "type_id": {
                                "type": "string"
                            },
                            "approvalstatus_id": {
                                "type": "string"
                            },
                            "external_item": {
                                "$ref": "#/components/schemas/PostCalendarItem"
                            },
                            "assignment_id": {
                                "type": "string"
                            },
                            "address_id": {
                                "type": "string"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "PostHoursType": {
                "description": "Type DTO class for the REST API.\n\nThis class represents the relation type data carrier between two processes.",
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/HoursType"
                    },
                    {
                        "properties": {
                            "type": {
                                "type": "string",
                                "enum": [
                                    "Work Type"
                                ]
                            },
                            "vatclass_id": {
                                "description": "See /invoices/vatclass",
                                "type": "string"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "PostProjectServiceHoursType": {
                "description": "Type DTO class for the REST API.\n\nThis class represents the relation type data carrier between two processes.",
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/ProjectServiceHoursType"
                    },
                    {
                        "properties": {
                            "hourstype_id": {
                                "type": "string"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "PostSalesServiceHoursType": {
                "properties": {
                    "id": {
                        "type": "string"
                    },
                    "hourstype_id": {
                        "type": "string"
                    },
                    "budgeted_amount": {
                        "type": "number",
                        "format": "float"
                    },
                    "tariff": {
                        "type": "number",
                        "format": "float"
                    }
                },
                "type": "object"
            },
            "PostSubmission": {
                "description": "SubmissionRequest DTO class for the REST API.",
                "properties": {
                    "employee_id": {
                        "type": "string"
                    },
                    "start_date": {
                        "description": "Y-m-d, eg. 2020-01-01",
                        "type": "string"
                    },
                    "end_date": {
                        "description": "Y-m-d, eg. 2020-01-01",
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "PostTimesheetRow": {
                "allOf": [
                    {
                        "$ref": "#/components/schemas/TimesheetRow"
                    }
                ]
            },
            "ProjectServiceCostType": {
                "description": "Type DTO class for the REST API.\n\nThis class represents the relation type data carrier between two processes.",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/ServiceCostType"
                    }
                ]
            },
            "ProjectServiceHoursType": {
                "description": "Type DTO class for the REST API.\n\nThis class represents the relation type data carrier between two processes.",
                "properties": {
                    "budgeted_amount": {
                        "type": "number",
                        "format": "float"
                    },
                    "tariff": {
                        "type": "number",
                        "format": "float"
                    },
                    "billable": {
                        "type": "boolean"
                    }
                },
                "type": "object"
            },
            "Recurrence": {
                "properties": {
                    "id": {
                        "type": "string"
                    },
                    "rrule": {
                        "$ref": "#/components/schemas/Rrule"
                    },
                    "update": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "Rrule": {
                "properties": {
                    "dtstart": {
                        "type": "string"
                    },
                    "freq": {
                        "type": "integer"
                    },
                    "until": {
                        "type": "string"
                    },
                    "count": {
                        "type": "integer"
                    },
                    "interval": {
                        "type": "integer"
                    },
                    "wkst": {
                        "type": "string"
                    },
                    "byday": {
                        "type": "string"
                    },
                    "bysetpos": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "SalesServiceCostType": {
                "description": "Type DTO class for the REST API.\n\nThis class represents the relation type data carrier between two processes.",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/ServiceCostType"
                    }
                ]
            },
            "SalesServiceHoursType": {
                "description": "Type DTO class for the REST API.\n\nThis class represents the relation type data carrier between two processes.",
                "properties": {
                    "budgeted_amount": {
                        "type": "number",
                        "format": "float"
                    },
                    "tariff": {
                        "type": "number",
                        "format": "float"
                    },
                    "billable": {
                        "type": "boolean"
                    }
                },
                "type": "object"
            },
            "ServiceCostType": {
                "description": "Type DTO class for the REST API.\n\nThis class represents the relation type data carrier between two processes.",
                "properties": {
                    "budgeted_amount": {
                        "type": "number",
                        "format": "float"
                    },
                    "tariff": {
                        "type": "number",
                        "format": "float"
                    },
                    "purchase_margin": {
                        "type": "number",
                        "format": "float"
                    },
                    "purchase_tariff": {
                        "type": "number",
                        "format": "float"
                    }
                },
                "type": "object"
            },
            "SubmissionStatus": {
                "description": "SubmissionStatus DTO class for the REST API.",
                "properties": {
                    "employee_id": {
                        "type": "string"
                    },
                    "date": {
                        "description": "Y-m-d, eg. 2020-01-01",
                        "type": "string"
                    },
                    "status": {
                        "type": "string",
                        "enum": [
                            "submitted",
                            "yet_to_turn_in",
                            "no_hours"
                        ]
                    }
                },
                "type": "object"
            },
            "Submit": {
                "description": "Submit DTO class for the REST API.\n\nThis class represents the relation type data carrier between two processes.",
                "properties": {
                    "employee_id": {
                        "type": "string"
                    },
                    "start_date": {
                        "description": "Y-m-d, eg. 2017-01-01",
                        "type": "string"
                    },
                    "end_date": {
                        "description": "Y-m-d, eg. 2017-01-05",
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "GetTimesheetRow": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/TimesheetRow"
                    },
                    {
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "order": {
                                "type": "integer"
                            },
                            "project": {
                                "oneOf": [
                                    {
                                        "$ref": "#/components/schemas/GetTimesheetRowProject"
                                    },
                                    {
                                        "type": "null"
                                    }
                                ]
                            },
                            "project_service": {
                                "oneOf": [
                                    {
                                        "$ref": "#/components/schemas/GetTimesheetRowProjectService"
                                    },
                                    {
                                        "type": "null"
                                    }
                                ]
                            },
                            "itemtype": {
                                "oneOf": [
                                    {
                                        "$ref": "#/components/schemas/GetTimesheetRowItemtype"
                                    },
                                    {
                                        "type": "null"
                                    }
                                ]
                            },
                            "person": {
                                "oneOf": [
                                    {
                                        "$ref": "#/components/schemas/GetTimesheetRowPersonRelation"
                                    },
                                    {
                                        "type": "null"
                                    }
                                ]
                            },
                            "organization": {
                                "oneOf": [
                                    {
                                        "$ref": "#/components/schemas/GetTimesheetRowOrganizationRelation"
                                    },
                                    {
                                        "type": "null"
                                    }
                                ]
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "GetTimesheetRowItemtype": {
                "properties": {
                    "id": {
                        "type": "string"
                    },
                    "name": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "unit_name": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "is_unit_tariff": {
                        "type": [
                            "boolean",
                            "null"
                        ]
                    },
                    "is_attachment_allowed": {
                        "type": [
                            "boolean",
                            "null"
                        ]
                    },
                    "has_workflow": {
                        "type": [
                            "boolean",
                            "null"
                        ]
                    }
                },
                "type": "object"
            },
            "GetTimesheetRowOrganizationRelation": {
                "properties": {
                    "id": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "name": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "relation_number": {
                        "type": [
                            "string",
                            "null"
                        ]
                    }
                },
                "type": "object"
            },
            "GetTimesheetRowPersonRelation": {
                "properties": {
                    "id": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "full_name": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "relation_number": {
                        "type": [
                            "string",
                            "null"
                        ]
                    }
                },
                "type": "object"
            },
            "GetTimesheetRowProject": {
                "properties": {
                    "id": {
                        "type": "string"
                    },
                    "name": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "project_number": {
                        "type": [
                            "string",
                            "null"
                        ]
                    }
                },
                "type": "object"
            },
            "GetTimesheetRowProjectService": {
                "properties": {
                    "id": {
                        "type": "string"
                    },
                    "name": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "start_date": {
                        "description": "Registration start date in Y-m-d format. For example: 2020-01-01",
                        "type": [
                            "string",
                            "null"
                        ],
                        "default": "2020-01-01"
                    },
                    "until_date": {
                        "description": "Registration end date in Y-m-d format. For example: 2020-01-01",
                        "type": [
                            "string",
                            "null"
                        ],
                        "default": "2020-01-01"
                    },
                    "purchase_start_date": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "purchase_end_date": {
                        "type": [
                            "string",
                            "null"
                        ]
                    }
                },
                "type": "object"
            },
            "TimesheetRow": {
                "properties": {
                    "employee_id": {
                        "type": "string"
                    },
                    "start_date": {
                        "type": "string"
                    },
                    "end_date": {
                        "type": "string"
                    },
                    "project_id": {
                        "type": "string"
                    },
                    "project_service_id": {
                        "type": "string"
                    },
                    "itemtype_id": {
                        "type": "string"
                    },
                    "type": {
                        "type": "string",
                        "enum": [
                            "hours",
                            "costs",
                            "mileage"
                        ]
                    }
                },
                "type": "object"
            },
            "Absence": {
                "description": "Hours DTO class for the REST API.\n\nThis class represents the relation type data carrier between two processes.",
                "properties": {
                    "start_date": {
                        "type": "string"
                    },
                    "end_date": {
                        "type": "string"
                    },
                    "description": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "AbsenceType": {
                "description": "Type DTO class for the REST API.\n\nThis class represents the relation type data carrier between two processes.",
                "properties": {
                    "label": {
                        "type": "string"
                    },
                    "blocked": {
                        "type": "boolean"
                    },
                    "color": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "CivilStatus": {
                "properties": {
                    "id": {
                        "type": "string"
                    },
                    "label": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "Contract": {
                "description": "CivilStatus DTO class for the REST API.\n\nThis class represents the available civil statuses",
                "properties": {
                    "id": {
                        "type": "string"
                    },
                    "start_date": {
                        "type": "string"
                    },
                    "end_date": {
                        "type": "boolean"
                    },
                    "salary_fulltime": {
                        "type": "number",
                        "format": "float"
                    },
                    "parttime_percentage": {
                        "type": "number",
                        "format": "float"
                    },
                    "days_off": {
                        "type": "number",
                        "format": "float"
                    }
                },
                "type": "object"
            },
            "ContractType": {
                "description": "ContractType DTO class for the REST API.\n\nThis class represents the available countries",
                "properties": {
                    "id": {
                        "type": "string"
                    },
                    "name": {
                        "type": "string"
                    },
                    "blocked": {
                        "type": "boolean"
                    }
                },
                "type": "object"
            },
            "Employee": {
                "description": "Employee DTO class for the REST API.\n\nThis class represents the employee data carrier between two processes.",
                "properties": {
                    "id": {
                        "type": "string"
                    },
                    "person_id": {
                        "type": "string"
                    },
                    "name": {
                        "type": "string"
                    },
                    "bank_account": {
                        "type": "string"
                    },
                    "function": {
                        "type": "string"
                    },
                    "type": {
                        "$ref": "#/components/schemas/EmployeeType"
                    },
                    "employment_status": {
                        "type": "string",
                        "enum": [
                            "active",
                            "inactive"
                        ]
                    },
                    "civil_status": {
                        "type": "string"
                    },
                    "work_phone": {
                        "type": "string"
                    },
                    "work_mobile": {
                        "type": "string"
                    },
                    "work_email": {
                        "type": "string"
                    },
                    "hourly_sales_tariff": {
                        "type": "number",
                        "format": "float"
                    },
                    "hourly_cost_tariff": {
                        "type": "number",
                        "format": "float"
                    },
                    "avatar": {
                        "$ref": "#/components/schemas/Avatar"
                    },
                    "created_at": {
                        "type": "string"
                    },
                    "updated_at": {
                        "type": "string"
                    },
                    "simplicate_url": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "EmployeeStatus": {
                "properties": {
                    "id": {
                        "type": "string"
                    },
                    "label": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "EmployeeType": {
                "description": "EmployeeType DTO class for the REST API.\n\nThis class represents the employee type data carrier between two processes.",
                "properties": {
                    "id": {
                        "type": "string"
                    },
                    "label": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "EmploymentType": {
                "description": "EmploymentType DTO class for the REST API.\n\nThis class represents the available countries",
                "properties": {
                    "id": {
                        "type": "string"
                    },
                    "name": {
                        "type": "string"
                    },
                    "blocked": {
                        "type": "boolean"
                    }
                },
                "type": "object"
            },
            "GetAbsence": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/Absence"
                    },
                    {
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "employee": {
                                "$ref": "#/components/schemas/GetEmployeeSimple"
                            },
                            "hours": {
                                "type": "integer"
                            },
                            "absencetype": {
                                "$ref": "#/components/schemas/GetAbsenceType"
                            },
                            "ongoing_absence": {
                                "type": "boolean"
                            },
                            "created_at": {
                                "type": "string"
                            },
                            "updated_at": {
                                "type": "string"
                            },
                            "year": {
                                "type": "integer"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "GetAbsenceType": {
                "description": "Type DTO class for the REST API.\n\nThis class represents the relation type data carrier between two processes.",
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/AbsenceType"
                    },
                    {
                        "properties": {
                            "id": {
                                "type": "string"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "GetCivilStatus": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/CivilStatus"
                    },
                    {
                        "properties": {
                            "blocked": {
                                "type": "boolean"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "GetContract": {
                "description": "CivilStatus DTO class for the REST API.\n\nThis class represents the available civil statuses",
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/Contract"
                    },
                    {
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "employee": {
                                "$ref": "#/components/schemas/GetEmployee"
                            },
                            "employer": {
                                "$ref": "#/components/schemas/GetOrganizationSimple"
                            },
                            "employment_type": {
                                "$ref": "#/components/schemas/EmploymentType"
                            },
                            "contract_type": {
                                "$ref": "#/components/schemas/ContractType"
                            },
                            "created_at": {
                                "type": "string"
                            },
                            "updated_at": {
                                "type": "string"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "GetEmployee": {
                "description": "Employee DTO class for the REST API.\n\nThis class represents the employee data carrier between two processes.",
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/Employee"
                    },
                    {
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "is_user": {
                                "type": "integer"
                            },
                            "teams": {
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/Team"
                                }
                            },
                            "supervisor": {
                                "$ref": "#/components/schemas/GetEmployeeSimple"
                            },
                            "status": {
                                "$ref": "#/components/schemas/EmployeeStatus"
                            },
                            "custom_fields": {
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/GetCustomField"
                                }
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "GetEmployeeSimple": {
                "description": "Employee DTO class for the REST API.\n\nThis class represents the employee data carrier between two processes.",
                "properties": {
                    "id": {
                        "type": "string"
                    },
                    "person_id": {
                        "description": "Added in order to comply with the original sales/sales responsible_employee response",
                        "type": "string"
                    },
                    "name": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "GetLeave": {
                "description": "Leave DTO class for the REST API.\n\nThis class represents the relation type data carrier between two processes.",
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/Leave"
                    },
                    {
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "employee": {
                                "$ref": "#/components/schemas/GetEmployeeSimple"
                            },
                            "leavetype": {
                                "$ref": "#/components/schemas/HrmGetLeaveType"
                            },
                            "leave_status": {
                                "$ref": "#/components/schemas/HrmLeaveStatus"
                            },
                            "created_at": {
                                "type": "string"
                            },
                            "updated_at": {
                                "type": "string"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "HrmGetLeaveType": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/LeaveType"
                    },
                    {
                        "properties": {
                            "id": {
                                "type": "string"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "GetTeam": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/Team"
                    },
                    {
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "employees": {
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/GetEmployeeSimple"
                                }
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "GetTeamSimple": {
                "properties": {
                    "id": {
                        "type": "string"
                    },
                    "name": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "GetTimetable": {
                "description": "Timetable DTO class for the REST API.",
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/Timetable"
                    },
                    {
                        "properties": {
                            "id": {
                                "description": "employee_id, See /hrm/employee",
                                "type": "string"
                            },
                            "employee": {
                                "$ref": "#/components/schemas/GetEmployeeSimple"
                            },
                            "created_at": {
                                "type": "string"
                            },
                            "updated_at": {
                                "type": "string"
                            },
                            "hourly_sales_tariff": {
                                "type": "number",
                                "format": "float"
                            },
                            "hourly_cost_tariff": {
                                "type": "number",
                                "format": "float"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "Leave": {
                "description": "Hours DTO class for the REST API.\n\nThis class represents the relation type data carrier between two processes.",
                "properties": {
                    "start_date": {
                        "type": "string"
                    },
                    "end_date": {
                        "type": "string"
                    },
                    "year": {
                        "type": "integer"
                    },
                    "hours": {
                        "type": "integer"
                    },
                    "description": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "LeaveBalance": {
                "description": "Leavebalance DTO class for the REST API.\n\nThis class represents the relation type data carrier between two processes.",
                "properties": {
                    "employee": {
                        "$ref": "#/components/schemas/GetEmployeeSimple"
                    },
                    "balance": {
                        "type": "number",
                        "format": "float"
                    },
                    "first_change": {
                        "type": "string"
                    },
                    "last_change": {
                        "type": "number",
                        "format": "float"
                    },
                    "year": {
                        "type": "integer"
                    },
                    "leavetype": {
                        "$ref": "#/components/schemas/HrmGetLeaveType"
                    }
                },
                "type": "object"
            },
            "HrmLeaveStatus": {
                "properties": {
                    "id": {
                        "type": "string"
                    },
                    "label": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "LeaveType": {
                "description": "Type DTO class for the REST API.\n\nThis class represents the relation type data carrier between two processes.",
                "properties": {
                    "label": {
                        "type": "string"
                    },
                    "blocked": {
                        "type": "boolean"
                    },
                    "color": {
                        "type": "string"
                    },
                    "affects_balance": {
                        "type": "boolean"
                    }
                },
                "type": "object"
            },
            "PostAbsence": {
                "description": "Hours DTO class for the REST API.\n\nThis class represents the relation type data carrier between two processes.",
                "properties": {
                    "start_date": {
                        "type": "string"
                    },
                    "end_date": {
                        "type": "string"
                    },
                    "year": {
                        "type": "integer"
                    },
                    "description": {
                        "type": "string"
                    },
                    "employee_id": {
                        "type": "string"
                    },
                    "absence_type_id": {
                        "type": "string"
                    },
                    "is_time_defined": {
                        "type": "boolean"
                    }
                },
                "type": "object"
            },
            "PostEmployee": {
                "properties": {
                    "person_id": {
                        "type": "string"
                    },
                    "supervisor": {
                        "$ref": "#/components/schemas/PostEmployeeFk"
                    },
                    "status": {
                        "$ref": "#/components/schemas/PostEmployeeStatusFk"
                    },
                    "custom_fields": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/PostCustomFieldValue"
                        }
                    }
                },
                "type": "object"
            },
            "PostEmployeeFk": {
                "description": "Employee DTO class for the REST API.\n\nThis class represents the employee data carrier between two processes.",
                "properties": {
                    "id": {
                        "type": "string",
                        "default": "employee:abc"
                    }
                },
                "type": "object"
            },
            "PostEmployeeStatusFk": {
                "properties": {
                    "id": {
                        "type": "string",
                        "default": "employeestatus:abc"
                    }
                },
                "type": "object"
            },
            "PostLeave": {
                "description": "Leave DTO class for the REST API.\n\nThis class represents the leave data carrier between two processes.",
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/Leave"
                    },
                    {
                        "properties": {
                            "employee_id": {
                                "type": "string"
                            },
                            "leave_type_id": {
                                "type": "string"
                            },
                            "is_time_defined": {
                                "type": "boolean"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "HrmPostTeam": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/Team"
                    },
                    {
                        "properties": {
                            "employee_ids": {
                                "type": "array",
                                "items": {
                                    "type": "string"
                                }
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "PostTimetable": {
                "description": "Timetable DTO class for the REST API.",
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/Timetable"
                    },
                    {
                        "properties": {
                            "employee_id": {
                                "type": "string"
                            },
                            "start_date": {
                                "type": "string"
                            },
                            "has_odd_weeks": {
                                "type": "boolean"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "PutEmployee": {
                "properties": {
                    "person_id": {
                        "type": "string"
                    },
                    "supervisor": {
                        "$ref": "#/components/schemas/PostEmployeeFk"
                    },
                    "status": {
                        "$ref": "#/components/schemas/PostEmployeeStatusFk"
                    },
                    "custom_fields": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/PostCustomFieldValue"
                        }
                    }
                },
                "type": "object"
            },
            "PutTimetable": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/Timetable"
                    },
                    {
                        "properties": {
                            "employee_id": {
                                "type": "string"
                            },
                            "start_date": {
                                "type": "string"
                            },
                            "has_odd_weeks": {
                                "type": "boolean"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "Team": {
                "description": "CivilStatus DTO class for the REST API.\n\nThis class represents the available civil statuses",
                "properties": {
                    "name": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "Timetable": {
                "description": "Timetable DTO class for the REST API.",
                "properties": {
                    "even_week": {
                        "$ref": "#/components/schemas/TimetableWeek"
                    },
                    "odd_week": {
                        "$ref": "#/components/schemas/TimetableWeek"
                    },
                    "start_date": {
                        "type": "string"
                    },
                    "end_date": {
                        "type": "string"
                    },
                    "productivity_target": {
                        "type": "integer"
                    },
                    "should_write_hours": {
                        "type": "boolean"
                    }
                },
                "type": "object"
            },
            "TimetableWeek": {
                "description": "Timetable Week DTO class for the REST API.",
                "properties": {
                    "day_1": {
                        "$ref": "#/components/schemas/TimetableWeekDay"
                    },
                    "day_2": {
                        "$ref": "#/components/schemas/TimetableWeekDay"
                    },
                    "day_3": {
                        "$ref": "#/components/schemas/TimetableWeekDay"
                    },
                    "day_4": {
                        "$ref": "#/components/schemas/TimetableWeekDay"
                    },
                    "day_5": {
                        "$ref": "#/components/schemas/TimetableWeekDay"
                    },
                    "day_6": {
                        "$ref": "#/components/schemas/TimetableWeekDay"
                    },
                    "day_7": {
                        "$ref": "#/components/schemas/TimetableWeekDay"
                    }
                },
                "type": "object"
            },
            "TimetableWeekDay": {
                "description": "Timetable WeekDay DTO class for the REST API.",
                "properties": {
                    "start_time": {
                        "type": "number",
                        "format": "float"
                    },
                    "end_time": {
                        "type": "number",
                        "format": "float"
                    },
                    "hours": {
                        "type": "number",
                        "format": "float"
                    }
                },
                "type": "object"
            },
            "EmailAttachment": {
                "properties": {
                    "id": {
                        "type": "string"
                    },
                    "file_path": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "EmailMessage": {
                "properties": {
                    "id": {
                        "type": "string"
                    },
                    "created_at": {
                        "type": "string"
                    },
                    "updated_at": {
                        "type": "string"
                    },
                    "sent_at": {
                        "type": "string"
                    },
                    "received_at": {
                        "type": "string"
                    },
                    "sender": {
                        "type": "string"
                    },
                    "recipients": {
                        "type": "string"
                    },
                    "cc_recipients": {
                        "type": "string"
                    },
                    "bcc_recipients": {
                        "type": "string"
                    },
                    "subject": {
                        "type": "string"
                    },
                    "html_message": {
                        "type": "string"
                    },
                    "html_body": {
                        "type": "string"
                    },
                    "plain_text": {
                        "type": "string"
                    },
                    "attachments": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/EmailAttachment"
                        }
                    },
                    "linked_to": {
                        "description": "",
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/LinkedToEntity"
                        }
                    }
                },
                "type": "object"
            },
            "Inbox": {
                "properties": {
                    "id": {
                        "type": "string"
                    },
                    "employee": {
                        "$ref": "#/components/schemas/Employee"
                    },
                    "label": {
                        "type": "string"
                    },
                    "created_at": {
                        "type": "string"
                    },
                    "updated_at": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "GetInvoice": {
                "properties": {
                    "id": {
                        "type": "string"
                    },
                    "contact_id": {
                        "type": "string"
                    },
                    "payment_term": {
                        "$ref": "#/components/schemas/PaymentTerm"
                    },
                    "invoice_lines": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/GetInvoiceLine"
                        }
                    },
                    "invoice_number": {
                        "type": "string"
                    },
                    "status": {
                        "type": "string",
                        "enum": [
                            "Concept",
                            "Sent",
                            "Overdue",
                            "Paid"
                        ]
                    },
                    "total_excluding_vat": {
                        "type": "number",
                        "format": "float"
                    },
                    "total_vat": {
                        "type": "number",
                        "format": "float"
                    },
                    "total_including_vat": {
                        "type": "number",
                        "format": "float"
                    },
                    "total_outstanding": {
                        "type": "number",
                        "format": "float"
                    },
                    "organization": {
                        "$ref": "#/components/schemas/GetOrganizationSimple"
                    },
                    "person": {
                        "$ref": "#/components/schemas/GetPersonSimple"
                    },
                    "my_organization_profile": {
                        "$ref": "#/components/schemas/GetMyOrganizationProfileSimple"
                    },
                    "subscription_cycle": {
                        "$ref": "#/components/schemas/SubscriptionCycle"
                    },
                    "project": {
                        "$ref": "#/components/schemas/GetProjectSimple"
                    },
                    "projects": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/GetProjectSimple"
                        }
                    },
                    "sending_method": {
                        "type": "string",
                        "enum": [
                            "post",
                            "email"
                        ]
                    },
                    "created_at": {
                        "type": "string"
                    },
                    "updated_at": {
                        "type": "string"
                    },
                    "simplicate_url": {
                        "type": "string"
                    },
                    "reminder": {
                        "$ref": "#/components/schemas/GetInvoiceReminder"
                    },
                    "composition_type": {
                        "type": "string",
                        "enum": [
                            "lines",
                            "service"
                        ]
                    },
                    "my_organization_profile_id": {
                        "type": "string"
                    },
                    "organization_id": {
                        "type": "string"
                    },
                    "person_id": {
                        "type": "string"
                    },
                    "date": {
                        "type": "string"
                    },
                    "subject": {
                        "type": "string"
                    },
                    "reference": {
                        "type": "string"
                    },
                    "project_id": {
                        "type": "string"
                    },
                    "comments": {
                        "type": "string"
                    },
                    "is_credit_invoice": {
                        "description": "Whether this invoice is a credit invoice",
                        "type": "boolean"
                    },
                    "related_invoice_id": {
                        "description": "For credit invoices: the ID of the original invoice. For credited invoices: the ID of the credit invoice",
                        "type": [
                            "string",
                            "null"
                        ]
                    }
                }
            },
            "GetInvoiceLine": {
                "description": "InvoiceLine DTO for the REST API.\n\nThis class represents the invoice line data carrier between two processes.",
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/InvoiceLine"
                    },
                    {
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "revenue_group": {
                                "$ref": "#/components/schemas/RevenueGroup"
                            },
                            "default_service_id": {
                                "type": "string"
                            },
                            "vat_class": {
                                "$ref": "#/components/schemas/VatClass"
                            },
                            "total_vat": {
                                "type": "number",
                                "format": "float"
                            },
                            "service_id": {
                                "type": "string"
                            },
                            "created_at": {
                                "type": "string"
                            },
                            "updated_at": {
                                "type": "string"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "GetInvoiceReminder": {
                "properties": {
                    "set": {
                        "$ref": "#/components/schemas/ReminderSet"
                    },
                    "status": {
                        "type": "string"
                    },
                    "paused": {
                        "type": "boolean"
                    },
                    "next_action": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "GetInvoiceSimple": {
                "properties": {
                    "id": {
                        "type": "string"
                    },
                    "invoice_number": {
                        "type": "string"
                    },
                    "invoice_date": {
                        "type": "string"
                    },
                    "status": {
                        "$ref": "#/components/schemas/InvoiceStatus"
                    }
                },
                "type": "object"
            },
            "GetPayment": {
                "description": "Payment DTO for the REST API.\n\nThis class represents the payment carrier between two processes.",
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/Payment"
                    },
                    {
                        "properties": {
                            "id": {
                                "type": "string"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "GetPaymentTerm": {
                "description": "Payment term DTO for the REST API.\n\nThis class represents the payment term data carrier between two processes.",
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/PaymentTerm"
                    },
                    {
                        "properties": {
                            "id": {
                                "type": "string"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "GetProposition": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/Proposition"
                    },
                    {
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "total_hours": {
                                "type": "number",
                                "format": "float"
                            },
                            "total_mileage": {
                                "type": "number",
                                "format": "float"
                            },
                            "total_fixed": {
                                "type": "number",
                                "format": "float"
                            },
                            "total_terms": {
                                "type": "number",
                                "format": "float"
                            },
                            "total_purchase": {
                                "type": "number",
                                "format": "float"
                            },
                            "total_advance_deposit": {
                                "type": "number",
                                "format": "float"
                            },
                            "total_future": {
                                "type": "number",
                                "format": "float"
                            },
                            "simplicate_url": {
                                "type": "string"
                            },
                            "project": {
                                "$ref": "#/components/schemas/GetProjectSimple"
                            },
                            "created_at": {
                                "type": "string"
                            },
                            "updated_at": {
                                "type": "string"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "GetReminderSet": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/ReminderSet"
                    },
                    {
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "templates": {
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/ReminderSetTemplate"
                                }
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "GetReminderSetSimple": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/ReminderSet"
                    },
                    {
                        "properties": {
                            "id": {
                                "type": "string"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "Invoice": {
                "description": "Invoice DTO for the REST API.\n\nThis class represents the invoice data carrier between two processes.",
                "properties": {
                    "my_organization_profile_id": {
                        "type": "string"
                    },
                    "organization_id": {
                        "type": "string"
                    },
                    "person_id": {
                        "type": "string"
                    },
                    "date": {
                        "type": "string"
                    },
                    "subject": {
                        "type": "string"
                    },
                    "reference": {
                        "type": "string"
                    },
                    "project_id": {
                        "type": "string"
                    },
                    "comments": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "InvoiceLine": {
                "description": "InvoiceLine DTO for the REST API.\n\nThis class represents the invoice line data carrier between two processes.",
                "properties": {
                    "date": {
                        "type": "string"
                    },
                    "description": {
                        "type": "string"
                    },
                    "amount": {
                        "type": "number",
                        "format": "float"
                    },
                    "price": {
                        "type": "number",
                        "format": "float"
                    }
                },
                "type": "object"
            },
            "InvoiceStatus": {
                "description": "InvoiceStatus DTO for the REST API.\n\nThis class represents the invoice status data carrier between two processes.",
                "properties": {
                    "id": {
                        "type": "string"
                    },
                    "name": {
                        "type": "string"
                    },
                    "color": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "InvoiceTemplate": {
                "description": "InvoiceTemplate DTO for the REST API.",
                "properties": {
                    "id": {
                        "type": "string"
                    },
                    "name": {
                        "type": "string"
                    },
                    "hide_amount": {
                        "type": "boolean"
                    },
                    "hide_price": {
                        "type": "boolean"
                    },
                    "footer_normal": {
                        "type": "string"
                    },
                    "footer_directdebit": {
                        "type": "string"
                    },
                    "default_note": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "Journal": {
                "description": "Journal DTO for the REST API.\n\nThis class represents the journal data carrier between two processes.",
                "properties": {
                    "journalize_date": {
                        "type": "string"
                    },
                    "invoice_date": {
                        "type": "string"
                    },
                    "invoice_number": {
                        "type": "string"
                    },
                    "due_date": {
                        "type": "string"
                    },
                    "subject": {
                        "type": "string"
                    },
                    "relation_id": {
                        "type": "string"
                    },
                    "amount_excl": {
                        "type": "number",
                        "format": "float"
                    },
                    "amount_incl": {
                        "type": "number",
                        "format": "float"
                    },
                    "autocollect": {
                        "type": "boolean"
                    },
                    "revenuegroup": {
                        "$ref": "#/components/schemas/RevenueGroup"
                    },
                    "journal_lines": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/JournalLine"
                        }
                    },
                    "vat": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/JournalVat"
                        }
                    }
                },
                "type": "object"
            },
            "JournalLine": {
                "description": "JournalLine DTO for the REST API.\n\nThis class represents the journal line data carrier between two processes.",
                "properties": {
                    "vat_id": {
                        "type": "string"
                    },
                    "vat_included": {
                        "type": "boolean"
                    },
                    "vat_percentage": {
                        "type": "number",
                        "format": "float"
                    },
                    "amount": {
                        "type": "number",
                        "format": "float"
                    },
                    "quantity": {
                        "type": "integer"
                    },
                    "description": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "JournalVat": {
                "description": "Journal DTO for the REST API.\n\nThis class represents the journal data carrier between two processes.",
                "properties": {
                    "vat_id": {
                        "type": "string"
                    },
                    "amount_vat": {
                        "type": "number",
                        "format": "float"
                    },
                    "amount_excl": {
                        "type": "number",
                        "format": "float"
                    }
                },
                "type": "object"
            },
            "Payment": {
                "description": "Payment DTO for the REST API.\n\nThis class represents the payment carrier between two processes.",
                "properties": {
                    "invoice_id": {
                        "type": "string"
                    },
                    "date": {
                        "type": "string"
                    },
                    "amount": {
                        "type": "number",
                        "format": "float"
                    },
                    "description": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "PaymentTerm": {
                "description": "Payment term DTO for the REST API.\n\nThis class represents the payment term data carrier between two processes.",
                "properties": {
                    "name": {
                        "type": "string"
                    },
                    "days": {
                        "type": "integer"
                    },
                    "method": {
                        "type": "string",
                        "enum": [
                            "Direct Debit",
                            "Bank Transfer",
                            "Cash"
                        ]
                    }
                },
                "type": "object"
            },
            "PostInvoice": {
                "description": "Invoice DTO for the REST API.\n\nThis class represents the invoice data carrier between two processes.",
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/Invoice"
                    },
                    {
                        "properties": {
                            "payment_term_id": {
                                "type": "string"
                            },
                            "invoice_lines": {
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/PostInvoiceLine"
                                }
                            },
                            "status_id": {
                                "type": "string"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "PostInvoiceLine": {
                "description": "InvoiceLine DTO for the REST API.\n\nThis class represents the invoice line data carrier between two processes.",
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/InvoiceLine"
                    },
                    {
                        "properties": {
                            "vat_class_id": {
                                "type": "string"
                            },
                            "revenue_group_id": {
                                "type": "string"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "PostVatClassFk": {
                "description": "VatClass DTO for the REST API.\n\nThis class represents the invoice's vat class carrier between two processes.",
                "properties": {
                    "id": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "Proposition": {},
            "ReminderSet": {
                "properties": {
                    "label": {
                        "type": "string"
                    },
                    "disabled": {
                        "type": "boolean"
                    }
                },
                "type": "object"
            },
            "ReminderSetTemplate": {
                "properties": {
                    "id": {
                        "type": "string"
                    },
                    "label": {
                        "type": "string"
                    },
                    "send_after": {
                        "type": "integer"
                    },
                    "position": {
                        "type": "integer"
                    }
                },
                "type": "object"
            },
            "ReminderTemplate": {
                "properties": {
                    "id": {
                        "type": "string"
                    },
                    "label": {
                        "type": "string"
                    },
                    "subject": {
                        "type": "string"
                    },
                    "body": {
                        "type": "string"
                    },
                    "attach_invoice": {
                        "type": "boolean"
                    }
                },
                "type": "object"
            },
            "SubscriptionCycle": {
                "properties": {
                    "start_date": {
                        "type": "string"
                    },
                    "end_date": {
                        "type": "string"
                    },
                    "is_invoiced": {
                        "type": "boolean"
                    }
                },
                "type": "object"
            },
            "VatClass": {
                "description": "VatClass DTO for the REST API.\n\nThis class represents the invoice's vat class carrier between two processes.",
                "properties": {
                    "id": {
                        "type": "string"
                    },
                    "code": {
                        "type": "string"
                    },
                    "label": {
                        "type": "string"
                    },
                    "percentage": {
                        "type": "number",
                        "format": "float"
                    }
                },
                "type": "object"
            },
            "PostMerger": {
                "properties": {
                    "source_id": {
                        "type": "string"
                    },
                    "target_id": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "PostMergerCompare": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/PostMerger"
                    },
                    {
                        "properties": {
                            "swap_lock": {
                                "type": "boolean"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "ResultMergerMerge": {
                "properties": {
                    "success": {
                        "type": "boolean"
                    },
                    "message": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "ResultPostMergerCompare": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/PostMergerCompare"
                    },
                    {
                        "properties": {
                            "is_valid": {
                                "type": "boolean"
                            },
                            "token": {
                                "type": "string"
                            },
                            "message": {
                                "type": "string"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "MetaData": {
                "properties": {
                    "count": {
                        "description": "",
                        "type": "integer"
                    },
                    "total_count": {
                        "description": "",
                        "type": "integer"
                    },
                    "offset": {
                        "description": "",
                        "type": "integer"
                    },
                    "limit": {
                        "description": "",
                        "type": "integer"
                    },
                    "upper_limit": {
                        "description": "",
                        "type": "integer"
                    },
                    "nocleanup": {
                        "description": "",
                        "type": "boolean"
                    },
                    "checksum": {
                        "description": "",
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "GetMileage": {
                "description": "GetMileage DTO class for the REST API.\n\nThis class represents the relation type data carrier between two processes.",
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/Mileage"
                    },
                    {
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "employee": {
                                "$ref": "#/components/schemas/GetEmployeeSimple"
                            },
                            "project": {
                                "$ref": "#/components/schemas/GetProjectSimple"
                            },
                            "type": {
                                "$ref": "#/components/schemas/GetHoursType"
                            },
                            "approvalstatus": {
                                "$ref": "#/components/schemas/GetApprovalStatus"
                            },
                            "invoice_status": {
                                "type": "string",
                                "enum": [
                                    "flushed",
                                    "invoiced",
                                    "indirectly"
                                ]
                            },
                            "invoice_id": {
                                "description": "See /invoices/invoice",
                                "type": "string"
                            },
                            "invoiceline_id": {
                                "description": "See /invoices/invoice",
                                "type": "string"
                            },
                            "tariff": {
                                "type": "number",
                                "format": "float"
                            },
                            "vatclass": {
                                "$ref": "#/components/schemas/VatClass"
                            },
                            "created_at": {
                                "type": "string"
                            },
                            "updated_at": {
                                "type": "string"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "GetMileageSimple": {
                "properties": {
                    "id": {
                        "type": "string"
                    },
                    "mileage": {
                        "type": "number",
                        "format": "float"
                    }
                },
                "type": "object"
            },
            "Mileage": {
                "description": "Mileage DTO class for the REST API.\n\nThis class represents the relation type data carrier between two processes.",
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/BaseHours"
                    },
                    {
                        "properties": {
                            "mileage": {
                                "type": "number",
                                "format": "float"
                            },
                            "related_hours_id": {
                                "type": "string"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "PostMileage": {
                "description": "PostMileage DTO class for the REST API.\n\nThis class represents the relation type data carrier between two processes.",
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/PutMileage"
                    },
                    {
                        "properties": {
                            "employee_id": {
                                "type": "string"
                            },
                            "project_id": {
                                "type": "string"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "PutMileage": {
                "description": "PutMileage DTO class for the REST API.\n\nThis class represents the relation type data carrier between two processes.",
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/Mileage"
                    },
                    {
                        "properties": {
                            "approvalstatus_id": {
                                "type": "string"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "PkRestResult": {
                "description": "PkRestResult DTO class for the REST API.\n\nThis class represents -the primary key that was computed- carrier between two processes.",
                "properties": {
                    "id": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "Assignment": {
                "properties": {
                    "name": {
                        "type": "string",
                        "default": "Website Design Assignment"
                    },
                    "use_spread": {
                        "type": "boolean"
                    },
                    "hours_type": {
                        "type": "string",
                        "enum": [
                            "per_week",
                            "total"
                        ]
                    },
                    "description": {
                        "type": "string"
                    },
                    "created_at": {
                        "type": "string"
                    },
                    "updated_at": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "AssignmentBudget": {
                "properties": {
                    "assignment_id": {
                        "type": "string"
                    },
                    "range_start": {
                        "type": "string",
                        "default": "2020-02-03"
                    },
                    "budget_range_start": {
                        "type": "string"
                    },
                    "range_end": {
                        "type": "string",
                        "default": "2020-02-10"
                    },
                    "budget_range_end": {
                        "type": "string"
                    },
                    "planned_amount": {
                        "description": "Planned amount for either given week or the rest of the assignment duration. Returns float by default; if 'experimental' header is sent, returns string using ISO 8601 duration format.",
                        "type": [
                            "number",
                            "string",
                            "null"
                        ]
                    },
                    "spent_amount": {
                        "description": "Spent amount in given range. Returns float by default; if 'experimental' header is sent, returns string using ISO 8601 duration format.",
                        "type": [
                            "number",
                            "string",
                            "null"
                        ]
                    },
                    "hours_type": {
                        "type": "string",
                        "enum": [
                            "per_week",
                            "total"
                        ]
                    }
                },
                "type": "object"
            },
            "AssignmentBudgetInfo": {
                "properties": {
                    "id": {
                        "type": "string",
                        "default": "assignmentbudget:abc"
                    },
                    "assignmentsPlanned": {
                        "$ref": "#/components/schemas/AssignmentBudgetInfoFuturePast"
                    },
                    "assignmentsUnplanned": {
                        "type": "string",
                        "default": "PT28H45M"
                    },
                    "assignmentsHoursWritten": {
                        "$ref": "#/components/schemas/AssignmentBudgetInfoFuturePast"
                    },
                    "itemtypesHoursWritten": {
                        "$ref": "#/components/schemas/AssignmentBudgetInfoFuturePast"
                    },
                    "assignmentsHoursCorrections": {
                        "$ref": "#/components/schemas/AssignmentBudgetInfoFuturePast"
                    },
                    "itemtypesHoursCorrections": {
                        "$ref": "#/components/schemas/AssignmentBudgetInfoFuturePast"
                    }
                },
                "type": "object"
            },
            "AssignmentBudgetInfoFuturePast": {
                "properties": {
                    "past": {
                        "type": "string",
                        "default": "-PT1H30M"
                    },
                    "future": {
                        "type": "string",
                        "default": "PT15M"
                    }
                },
                "type": "object"
            },
            "AssignmentBudgetInfoMetaData": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/MetaData"
                    },
                    {
                        "properties": {
                            "untilAndIncludingDate": {
                                "type": "string",
                                "default": "2020-02-03"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "AssignmentStatus": {
                "properties": {
                    "name": {
                        "type": "string",
                        "example": "To Do"
                    },
                    "color": {
                        "type": "string",
                        "example": "#000000"
                    },
                    "is_done": {
                        "type": "boolean"
                    },
                    "is_blocked": {
                        "type": "boolean"
                    },
                    "order": {
                        "type": "integer"
                    }
                },
                "type": "object"
            },
            "Budget": {
                "properties": {
                    "hours": {
                        "$ref": "#/components/schemas/BudgetHours"
                    },
                    "costs": {
                        "$ref": "#/components/schemas/BudgetCosts"
                    },
                    "total": {
                        "$ref": "#/components/schemas/BudgetTotal"
                    }
                },
                "type": "object"
            },
            "BudgetCosts": {
                "properties": {
                    "value_budget": {
                        "type": "number",
                        "format": "float"
                    },
                    "value_spent": {
                        "type": "number",
                        "format": "float"
                    }
                },
                "type": "object"
            },
            "BudgetHours": {
                "properties": {
                    "amount_budget": {
                        "type": "number",
                        "format": "float"
                    },
                    "amount_spent": {
                        "type": "number",
                        "format": "float"
                    },
                    "value_budget": {
                        "type": "number",
                        "format": "float"
                    },
                    "value_spent": {
                        "type": "number",
                        "format": "float"
                    }
                },
                "type": "object"
            },
            "BudgetTotal": {
                "properties": {
                    "value_budget": {
                        "type": "number",
                        "format": "float"
                    },
                    "value_spent": {
                        "type": "number",
                        "format": "float"
                    },
                    "value_invoiced": {
                        "type": "number",
                        "format": "float"
                    }
                },
                "type": "object"
            },
            "DuplicateProjectService": {},
            "GetAssignment": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/Assignment"
                    },
                    {
                        "properties": {
                            "id": {
                                "type": "string",
                                "default": "assignment:abc"
                            },
                            "start_date": {
                                "type": "string",
                                "default": "2032-01-01"
                            },
                            "end_date": {
                                "type": "string",
                                "default": "2032-12-31"
                            },
                            "hours_total": {
                                "type": "number",
                                "format": "float"
                            },
                            "hours": {
                                "type": "number",
                                "format": "float"
                            },
                            "hours_type": {
                                "type": "string",
                                "default": "total"
                            },
                            "spread": {
                                "type": "array",
                                "items": {
                                    "type": "integer"
                                }
                            },
                            "status": {
                                "$ref": "#/components/schemas/GetAssignmentStatus"
                            },
                            "project": {
                                "$ref": "#/components/schemas/GetProjectSimple"
                            },
                            "projectservice": {
                                "$ref": "#/components/schemas/GetProjectServiceSimple"
                            },
                            "projecthourstype": {
                                "$ref": "#/components/schemas/GetProjectServiceHoursType"
                            },
                            "employees": {
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/GetEmployeeSimple"
                                }
                            },
                            "spent_amount": {
                                "type": "string"
                            },
                            "is_planned": {
                                "type": "boolean"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "GetAssignmentSimple": {
                "properties": {
                    "id": {
                        "type": "string",
                        "default": "assignment:abc"
                    },
                    "name": {
                        "type": "string",
                        "default": "Website Design Assignment"
                    }
                },
                "type": "object"
            },
            "GetAssignmentStatus": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/AssignmentStatus"
                    },
                    {
                        "properties": {
                            "id": {
                                "type": "string",
                                "default": "assignmentstatus:abc"
                            },
                            "created_at": {
                                "type": "string"
                            },
                            "updated_at": {
                                "type": "string"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "GetProject": {
                "description": "Project DTO class for the REST API.\n\nThis class represents the project data carrier between two processes.",
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/Project"
                    },
                    {
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "project_manager": {
                                "$ref": "#/components/schemas/GetEmployeeSimple",
                                "description": ""
                            },
                            "project_status": {
                                "$ref": "#/components/schemas/ProjectStatus"
                            },
                            "hours_rate_type": {
                                "type": "string"
                            },
                            "abnormal_address": {
                                "type": "boolean"
                            },
                            "abnormal_person_id": {
                                "type": "string"
                            },
                            "abnormal_organization_id": {
                                "type": "string"
                            },
                            "organization": {
                                "$ref": "#/components/schemas/GetOrganizationSimple"
                            },
                            "person": {
                                "$ref": "#/components/schemas/GetPersonSimple"
                            },
                            "separate_invoice_recipient": {
                                "$ref": "#/components/schemas/GetSeparateInvoiceRecipient"
                            },
                            "contact": {
                                "$ref": "#/components/schemas/GetContactSimple"
                            },
                            "my_organization_profile": {
                                "$ref": "#/components/schemas/GetMyOrganizationProfileSimple"
                            },
                            "divergent_payment_term": {
                                "$ref": "#/components/schemas/GetPaymentTerm"
                            },
                            "employees": {
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/GetEmployeeSimple"
                                }
                            },
                            "teams": {
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/GetTeamSimple"
                                }
                            },
                            "budget": {
                                "$ref": "#/components/schemas/Budget"
                            },
                            "abnormal_contact_id": {
                                "type": "string"
                            },
                            "custom_fields": {
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/GetCustomField"
                                }
                            },
                            "created_at": {
                                "type": "string"
                            },
                            "updated_at": {
                                "type": "string"
                            },
                            "simplicate_url": {
                                "type": "string"
                            },
                            "is_reverse_billing": {
                                "type": "boolean"
                            },
                            "is_invoice_approval": {
                                "type": "boolean"
                            },
                            "copied_from_project": {
                                "$ref": "#/components/schemas/GetProjectSimple"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "GetProjectService": {
                "description": "Service DTO class for the REST API.\n\nThis class represents the service data carrier between two processes.",
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/GetService"
                    },
                    {
                        "properties": {
                            "project_id": {
                                "type": "string"
                            },
                            "related_service_id": {
                                "type": "string"
                            },
                            "expected_invoice_date": {
                                "type": "string"
                            },
                            "invoice_date": {
                                "type": "string"
                            },
                            "status": {
                                "type": "string"
                            },
                            "hour_types": {
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/GetProjectServiceHoursType"
                                }
                            },
                            "cost_types": {
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/GetProjectServiceCostType"
                                }
                            },
                            "vat_class": {
                                "$ref": "#/components/schemas/VatClass"
                            },
                            "revenue_group": {
                                "$ref": "#/components/schemas/RevenueGroup"
                            },
                            "invoice_in_installments": {
                                "type": "boolean"
                            },
                            "installments": {
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/Installment"
                                }
                            },
                            "created_at": {
                                "type": "string"
                            },
                            "updated_at": {
                                "type": "string"
                            },
                            "budget_financial_hours": {
                                "type": "string"
                            },
                            "write_hours_start_date": {
                                "type": "string"
                            },
                            "write_hours_end_date": {
                                "type": "string"
                            },
                            "service_number": {
                                "type": "string"
                            },
                            "use_in_resource_planner": {
                                "type": "boolean"
                            },
                            "elapsed_cycles": {
                                "type": "integer"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "GetProjectServiceSimple": {
                "description": "Service DTO class for the REST API.\n\nThis class represents the service data carrier between two processes.",
                "properties": {
                    "id": {
                        "type": "string"
                    },
                    "name": {
                        "type": "string"
                    },
                    "default_service_id": {
                        "type": "string"
                    },
                    "revenue_group_id": {
                        "type": "string"
                    },
                    "use_in_resource_planner": {
                        "type": "boolean"
                    }
                },
                "type": "object"
            },
            "GetProjectSimple": {
                "description": "Project DTO class for the REST API.\n\nThis class represents the project data carrier between two processes.",
                "properties": {
                    "id": {
                        "type": "string",
                        "default": "project:abc"
                    },
                    "name": {
                        "type": "string",
                        "default": "My Project Name"
                    },
                    "project_number": {
                        "type": "string",
                        "default": "P1000A"
                    },
                    "organization": {
                        "$ref": "#/components/schemas/GetOrganizationSimple"
                    },
                    "person": {
                        "$ref": "#/components/schemas/GetPersonSimple"
                    },
                    "project_manager": {
                        "$ref": "#/components/schemas/GetEmployeeSimple"
                    },
                    "separate_invoice_recipient": {},
                    "has_register_mileage_enabled": {
                        "type": "boolean"
                    }
                },
                "type": "object"
            },
            "GetPurchaseType": {
                "description": "Project DTO class for the REST API.\n\nThis class represents the project data carrier between two processes.",
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/PurchaseType"
                    },
                    {
                        "properties": {
                            "id": {
                                "type": "string"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "PostAssignment": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/Assignment"
                    },
                    {
                        "properties": {
                            "start_date": {
                                "type": "string",
                                "default": "2032-01-01"
                            },
                            "end_date": {
                                "type": "string",
                                "default": "2032-12-31"
                            },
                            "projecthourstype_id": {
                                "type": "string",
                                "default": "hourstype:abc"
                            },
                            "employees": {
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/PostEmployeeFk"
                                }
                            },
                            "status_id": {
                                "type": "string",
                                "default": "assignmentstatus:abc"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "PostProject": {
                "description": "Project DTO class for the REST API.\n\nThis class represents the project data carrier between two processes.",
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/Project"
                    },
                    {
                        "properties": {
                            "project_manager_id": {
                                "description": "'id' found in 'hrm/employee'",
                                "type": "string"
                            },
                            "project_status_id": {
                                "description": "'id' found in 'projects/projectstatus'",
                                "type": "string"
                            },
                            "separate_invoice_recipient": {
                                "$ref": "#/components/schemas/PostSeparateInvoiceRecipient"
                            },
                            "divergent_payment_term_id": {
                                "description": "See /invoices/paymentterm. If you want to unset, please provide string value 'null'",
                                "type": "string"
                            },
                            "teams": {
                                "description": "See /hrm/team",
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/CrmPostTeam"
                                }
                            },
                            "custom_fields": {
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/PostCustomFieldValue"
                                }
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "PostProjectService": {
                "description": "Service DTO class for the REST API.\n\nThis class represents the service data carrier between two processes.",
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/PostService"
                    },
                    {
                        "properties": {
                            "external_id": {
                                "type": "string"
                            },
                            "related_service_id": {
                                "type": "string"
                            },
                            "project_id": {
                                "type": "string"
                            },
                            "use_in_resource_planner": {
                                "type": "boolean"
                            },
                            "start_date": {
                                "type": "string"
                            },
                            "end_date": {
                                "description": "The date de service ends or the date which this service can be invoiced",
                                "type": "string"
                            },
                            "write_hours_start_date": {
                                "description": "The date from where hours can be registered",
                                "type": "string"
                            },
                            "write_hours_end_date": {
                                "description": "The date until which hours can be registered",
                                "type": "string"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "PostPurchaseType": {
                "description": "Project DTO class for the REST API.\n\nThis class represents the project data carrier between two processes.",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/PurchaseType"
                    }
                ]
            },
            "Project": {
                "description": "Project DTO class for the REST API.\n\nThis class represents the project data carrier between two processes.",
                "properties": {
                    "my_organization_profile_id": {
                        "type": "string"
                    },
                    "person_id": {
                        "type": "string"
                    },
                    "organization_id": {
                        "type": "string"
                    },
                    "contact_id": {
                        "type": "string"
                    },
                    "name": {
                        "type": "string"
                    },
                    "billable": {
                        "type": "boolean"
                    },
                    "can_register_mileage": {
                        "type": "boolean"
                    },
                    "project_number": {
                        "type": "string"
                    },
                    "note": {
                        "type": "string"
                    },
                    "start_date": {
                        "type": "string"
                    },
                    "end_date": {
                        "type": "string"
                    },
                    "invoice_reference": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "ProjectAssignmentDeleteResultRest": {
                "properties": {
                    "assignment_id": {
                        "type": "string"
                    },
                    "is_deleted": {
                        "type": "boolean"
                    }
                },
                "type": "object"
            },
            "ProjectEmployee": {
                "description": "Project Employee DTO class for the REST API.\n\nThis class represents the project's employee carrier between two processes.",
                "properties": {
                    "id": {
                        "type": "string"
                    },
                    "project_id": {
                        "type": "string"
                    },
                    "employee_id": {
                        "type": "string"
                    },
                    "tariff": {
                        "type": "number",
                        "format": "float"
                    }
                },
                "type": "object"
            },
            "ProjectManager": {
                "description": "Project manager DTO class for the REST API.\n\nThis class represents the project's manager carrier between two processes.",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/GetEmployeeSimple"
                    }
                ]
            },
            "ProjectStatus": {
                "description": "Project status DTO class for the REST API.\n\nThis class represents the project status carrier between two processes.",
                "properties": {
                    "id": {
                        "type": "string"
                    },
                    "label": {
                        "type": "string"
                    },
                    "color": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "Purchase": {
                "properties": {
                    "id": {
                        "type": "string"
                    },
                    "organization": {
                        "$ref": "#/components/schemas/GetOrganizationSimple"
                    },
                    "person": {
                        "$ref": "#/components/schemas/GetPersonSimple"
                    },
                    "supplier": {
                        "type": "string"
                    },
                    "invoice_number": {
                        "type": "string"
                    },
                    "type": {
                        "type": "string",
                        "enum": [
                            "purchase",
                            "cost/expenses",
                            "import"
                        ]
                    },
                    "projects": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/GetProjectSimple"
                        }
                    }
                },
                "type": "object"
            },
            "PurchaseType": {
                "description": "Project DTO class for the REST API.\n\nThis class represents the project data carrier between two processes.",
                "properties": {
                    "label": {
                        "type": "string"
                    },
                    "blocked": {
                        "type": "boolean"
                    },
                    "tariff": {
                        "type": "number",
                        "format": "float"
                    },
                    "is_unit_tariff": {
                        "type": "boolean"
                    },
                    "unit_name": {
                        "type": "string"
                    },
                    "is_attachment_allowed": {
                        "type": "boolean"
                    }
                },
                "type": "object"
            },
            "PutAssignment": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/Assignment"
                    },
                    {
                        "properties": {
                            "employees": {
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/PostEmployeeFk"
                                }
                            },
                            "status_id": {
                                "type": "string",
                                "default": "assignmentstatus:abc"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "PutProjectService": {
                "description": "Service DTO class for the REST API.\n\nDon't allow PUT'ting project_id for projectsservice",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/PostService"
                    }
                ]
            },
            "ReverseInvoice": {
                "properties": {
                    "id": {
                        "type": "string"
                    },
                    "status": {
                        "type": "string",
                        "enum": [
                            "open",
                            "concept",
                            "invoiced"
                        ]
                    },
                    "date": {
                        "type": "string"
                    },
                    "invoice_number": {
                        "type": "string"
                    },
                    "price": {
                        "type": "number",
                        "format": "float"
                    },
                    "project": {
                        "$ref": "#/components/schemas/GetProjectSimple"
                    },
                    "invoice": {
                        "$ref": "#/components/schemas/GetInvoiceSimple"
                    }
                },
                "type": "object"
            },
            "AppReceiverSetting": {
                "properties": {
                    "id": {
                        "type": "string"
                    },
                    "name": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "AppReceivers": {
                "properties": {
                    "type": {
                        "type": "string"
                    },
                    "channels": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/AppReceiverSetting"
                        }
                    }
                },
                "type": "object"
            },
            "RestBatchValidationError": {
                "properties": {
                    "error": {
                        "$ref": "#/components/schemas/RestError"
                    },
                    "submitted_data": {}
                },
                "type": "object"
            },
            "RestError": {
                "description": "RestError DTO class for the REST API.\n\nThis class represents the basic error, containing information on failure, data carrier between two processes.",
                "properties": {
                    "code": {
                        "type": "integer"
                    },
                    "type": {
                        "type": "string",
                        "enum": [
                            "Validation",
                            "Database",
                            "Server"
                        ]
                    },
                    "message": {
                        "type": "string"
                    },
                    "translated_message": {
                        "type": "string"
                    },
                    "error_message": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "RestResult": {
                "description": "RestResult DTO class for the REST API.\n\nThis class represents the main,basic, REST result containing the the meta data, debug and acual data carrier between\ntwo processes. The data property is for each API call a different type. Therfor the RestRest class is extended for\neach result.",
                "properties": {
                    "metadata": {
                        "$ref": "#/components/schemas/MetaData"
                    },
                    "errors": {
                        "type": "array",
                        "items": {
                            "type": "object"
                        }
                    },
                    "debug": {
                        "type": [
                            "mixed",
                            "null"
                        ]
                    }
                },
                "type": "object"
            },
            "RestResultApps": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/App"
                                }
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultApp": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "$ref": "#/components/schemas/App"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultLogs": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/Log"
                                }
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultLog": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "$ref": "#/components/schemas/Log"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultCustomFieldGroups": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/CustomFieldGroup"
                                }
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultCustomFieldGroup": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "$ref": "#/components/schemas/CustomFieldGroup"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultCustomFields": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/CustomField"
                                }
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultCustomField": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "$ref": "#/components/schemas/CustomField"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultSettings": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/BaseSetting"
                                }
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultSetting": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "$ref": "#/components/schemas/BaseSetting"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultMyOrganizationProfiles": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/MyOrganizationProfile"
                                }
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultMyOrganizationProfile": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "$ref": "#/components/schemas/MyOrganizationProfile"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultOrganizations": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/GetOrganization"
                                }
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultOrganization": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "$ref": "#/components/schemas/GetOrganization"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultPersons": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/GetPerson"
                                }
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultPerson": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "$ref": "#/components/schemas/GetPerson"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultRelationTypes": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/RelationType"
                                }
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultRelationType": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "$ref": "#/components/schemas/RelationType"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultCountries": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/Country"
                                }
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultCountry": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "$ref": "#/components/schemas/Country"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultGenders": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/Gender"
                                }
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultGender": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "$ref": "#/components/schemas/Gender"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultTimetables": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/GetTimetable"
                                }
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultTimetable": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "$ref": "#/components/schemas/GetTimetable"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultContractTypes": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/ContractType"
                                }
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultContractType": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "$ref": "#/components/schemas/ContractType"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultEmploymentTypes": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/EmploymentType"
                                }
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultEmploymentType": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "$ref": "#/components/schemas/EmploymentType"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultEmployeeTypes": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/EmployeeType"
                                }
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultEmployeeType": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "$ref": "#/components/schemas/EmployeeType"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultCivilStatuses": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/GetCivilStatus"
                                }
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultCivilStatus": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "$ref": "#/components/schemas/GetCivilStatus"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultOrganizationSizes": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/OrganizationSize"
                                }
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultOrganizationSize": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "$ref": "#/components/schemas/OrganizationSize"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultContracts": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/Contract"
                                }
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultContract": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "$ref": "#/components/schemas/Contract"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultTeams": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/Team"
                                }
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultTeam": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "$ref": "#/components/schemas/Team"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultIndustries": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/Industry"
                                }
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultIndustry": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "$ref": "#/components/schemas/Industry"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultInterests": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/Interest"
                                }
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultInterest": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "$ref": "#/components/schemas/Interest"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultEmployees": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/Employee"
                                }
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultEmployee": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "$ref": "#/components/schemas/Employee"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultInvoices": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/GetInvoice"
                                }
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultInvoice": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "$ref": "#/components/schemas/GetInvoice"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultInvoiceStatuses": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/InvoiceStatus"
                                }
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultInvoiceStatus": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "$ref": "#/components/schemas/InvoiceStatus"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultPayments": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/GetPayment"
                                }
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultPayment": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "$ref": "#/components/schemas/GetPayment"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultPaymentTerms": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/GetPaymentTerm"
                                }
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultPaymentTerm": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "$ref": "#/components/schemas/GetPaymentTerm"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultVatClasses": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/VatClass"
                                }
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultVatClass": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "$ref": "#/components/schemas/VatClass"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultProjects": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/GetProject"
                                }
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultProject": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "$ref": "#/components/schemas/GetProject"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultProjectStatusses": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/ProjectStatus"
                                }
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultProjectStatus": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "$ref": "#/components/schemas/ProjectStatus"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultProjectServices": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/GetProjectService"
                                }
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultProjectService": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "$ref": "#/components/schemas/GetProjectService"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultPurchaseTypes": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/GetPurchaseType"
                                }
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultPurchaseType": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "$ref": "#/components/schemas/GetPurchaseType"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultSalesServices": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/GetSalesService"
                                }
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultSalesService": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "$ref": "#/components/schemas/GetSalesService"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultDefaultServices": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/GetDefaultService"
                                }
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultDefaultService": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "$ref": "#/components/schemas/GetDefaultService"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultWorkflowItems": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/WorkflowItem"
                                }
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultWorkflowItem": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "$ref": "#/components/schemas/WorkflowItem"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultWorkflowItemTypes": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/WorkflowItemType"
                                }
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultWorkflowItemType": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "$ref": "#/components/schemas/WorkflowItemType"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultSales": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/GetSales"
                                }
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultSale": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "$ref": "#/components/schemas/GetSales"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultRevenueGroups": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/RevenueGroup"
                                }
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultRevenueGroup": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "$ref": "#/components/schemas/RevenueGroup"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultSalesProgresses": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/SalesProgress"
                                }
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultSalesProgress": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "$ref": "#/components/schemas/SalesProgress"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultSalesSources": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/SalesSource"
                                }
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultSalesSource": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "$ref": "#/components/schemas/SalesSource"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultSalesStatusses": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/SalesStatus"
                                }
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultSalesStatus": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "$ref": "#/components/schemas/SalesStatus"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultHours": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/GetHours"
                                }
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultHour": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "$ref": "#/components/schemas/GetHours"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultTimers": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/GetTimer"
                                }
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultTimer": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "$ref": "#/components/schemas/GetTimer"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultHourTypes": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/HoursType"
                                }
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultHourType": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "$ref": "#/components/schemas/HoursType"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultLeaveMultiple": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/GetLeave"
                                }
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultLeave": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "$ref": "#/components/schemas/GetLeave"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultLeaveBalances": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/LeaveBalance"
                                }
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultLeaveTypes": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/LeaveType"
                                }
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultLeaveType": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "$ref": "#/components/schemas/LeaveType"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultTimelineMessage": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "$ref": "#/components/schemas/GetMessage"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultTimelineMessages": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/GetMessage"
                                }
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultTimelineMessageType": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "$ref": "#/components/schemas/MessageType"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultTimelineMessageTypes": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/MessageType"
                                }
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultApplicationSettings": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/ApplicationSetting"
                                }
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultApplicationFeatures": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/Feature"
                                }
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultDebtorList": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "$ref": "#/components/schemas/DebtorList"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultMileageList": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/GetMileage"
                                }
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultMileage": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "$ref": "#/components/schemas/GetMileage"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultApprovalStatus": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "$ref": "#/components/schemas/GetApprovalStatus"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultApprovalStatusList": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/GetApprovalStatus"
                                }
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultApproval": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "$ref": "#/components/schemas/GetApproval"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultApprovals": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/GetApproval"
                                }
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultDocumentType": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "$ref": "#/components/schemas/GetDocumentType"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultDocumentTypes": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/GetDocumentType"
                                }
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultDocument": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "$ref": "#/components/schemas/GetDocument"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultDocuments": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/GetDocument"
                                }
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultMergerCompare": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "$ref": "#/components/schemas/ResultPostMergerCompare"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultSalesReasons": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/SalesReason"
                                }
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultSalesReason": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "$ref": "#/components/schemas/SalesReason"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultContactPersons": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/GetContactPerson"
                                }
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultContactPerson": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "$ref": "#/components/schemas/GetContactPerson"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultSharedItems": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/GetSharedItem"
                                }
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultSharedItem": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "$ref": "#/components/schemas/GetSharedItem"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultCustomFieldModels": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/CustomFieldModel"
                                }
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultCustomFieldModel": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "$ref": "#/components/schemas/CustomFieldModel"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultCustomFieldTypes": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/CustomFieldType"
                                }
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultCustomFieldType": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "$ref": "#/components/schemas/CustomFieldType"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultCustomFieldOptions": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/CustomFieldOption"
                                }
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultCustomFieldOption": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "$ref": "#/components/schemas/CustomFieldOption"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultPropositions": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/GetProposition"
                                }
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultProposition": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "$ref": "#/components/schemas/GetProposition"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultReminderSets": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/GetReminderSet"
                                }
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultReminderSet": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "$ref": "#/components/schemas/GetReminderSet"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultReminderTemplates": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/ReminderTemplate"
                                }
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultReminderTemplate": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "$ref": "#/components/schemas/ReminderTemplate"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultPurchases": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/Purchase"
                                }
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultPurchase": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "$ref": "#/components/schemas/Purchase"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultReverseInvoices": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/ReverseInvoice"
                                }
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultReverseInvoice": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "$ref": "#/components/schemas/ReverseInvoice"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultQuoteTemplates": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/QuoteTemplate"
                                }
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultQuoteTemplate": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "$ref": "#/components/schemas/QuoteTemplate"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultQuotes": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/GetQuote"
                                }
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultQuote": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "$ref": "#/components/schemas/GetQuote"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultQuoteStatuses": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/QuoteStatus"
                                }
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultQuoteStatus": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "$ref": "#/components/schemas/QuoteStatus"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultProjectAssignments": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/GetAssignment"
                                }
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultProjectAssignment": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "$ref": "#/components/schemas/GetAssignment"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultProjectAssignmentStatuses": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/GetAssignmentStatus"
                                }
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultProjectAssignmentStatus": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "$ref": "#/components/schemas/GetAssignmentStatus"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultEmployeeExpenseList": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/Expense"
                                }
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultEmployeeExpense": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "$ref": "#/components/schemas/Expense"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultProjectAssignmentbudget": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/AssignmentBudget"
                                }
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultAbsenceMultiple": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/GetAbsence"
                                }
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultAbsence": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "$ref": "#/components/schemas/GetAbsence"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultAbsenceTypes": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/AbsenceType"
                                }
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultAbsenceType": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "$ref": "#/components/schemas/AbsenceType"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultHoursSubmissions": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/SubmissionStatus"
                                }
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultHoursTimesheetRows": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/GetTimesheetRow"
                                }
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultDateTimeRange": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "$ref": "#/components/schemas/DateTimeRange"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultPlanningBudget": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/AssignmentBudgetInfo"
                                }
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultFilters": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/Filter"
                                }
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RestResultFilter": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/RestResult"
                    },
                    {
                        "properties": {
                            "data": {
                                "$ref": "#/components/schemas/Filter"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "GetReviewByWeek": {
                "properties": {
                    "employee_id": {
                        "type": "string"
                    },
                    "employee_name": {
                        "type": "string"
                    },
                    "start_date": {
                        "description": "Y-m-d, eg. 2020-01-01",
                        "type": "string"
                    },
                    "end_date": {
                        "description": "Y-m-d, eg. 2020-01-01",
                        "type": "string"
                    },
                    "status_id": {
                        "type": "string"
                    },
                    "status_category": {
                        "type": "string"
                    },
                    "status_label": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "GetReviewByWeekDetails": {
                "properties": {
                    "employee": {
                        "$ref": "#/components/schemas/GetEmployeeSimple"
                    },
                    "start_date": {
                        "description": "Y-m-d, eg. 2020-01-01",
                        "type": "string"
                    },
                    "end_date": {
                        "description": "Y-m-d, eg. 2020-01-01",
                        "type": "string"
                    },
                    "status_id": {
                        "type": "string"
                    },
                    "status_category": {
                        "type": "string"
                    },
                    "status_label": {
                        "type": "string"
                    },
                    "raster_hours": {
                        "type": "number",
                        "format": "float"
                    },
                    "written_hours": {
                        "type": "number",
                        "format": "float"
                    },
                    "overtime": {
                        "type": "number",
                        "format": "float"
                    },
                    "leave": {
                        "type": "number",
                        "format": "float"
                    },
                    "absence": {
                        "type": "number",
                        "format": "float"
                    },
                    "mileage": {
                        "type": "number",
                        "format": "float"
                    },
                    "costs": {
                        "type": "number",
                        "format": "float"
                    },
                    "declarability": {
                        "type": "number",
                        "format": "float"
                    },
                    "productivity": {
                        "type": "number",
                        "format": "float"
                    },
                    "productivity_target": {
                        "type": "number",
                        "format": "float"
                    },
                    "productivity_value": {
                        "type": "number",
                        "format": "float"
                    },
                    "productivity_value_target": {
                        "type": "number",
                        "format": "float"
                    }
                },
                "type": "object"
            },
            "GetReviewByWeekId": {
                "properties": {
                    "employee_id": {
                        "type": "string"
                    },
                    "start_date": {
                        "description": "Y-m-d, eg. 2020-01-01",
                        "type": "string"
                    },
                    "end_date": {
                        "description": "Y-m-d, eg. 2020-01-01",
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "ReviewByWeekMetaData": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/MetaData"
                    },
                    {
                        "properties": {
                            "is_out_of_date": {
                                "description": "",
                                "type": "boolean"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "Right": {
                "properties": {
                    "module_key": {
                        "type": "string"
                    },
                    "module_label": {
                        "type": "string"
                    },
                    "right_key": {
                        "type": "string"
                    },
                    "right_label": {
                        "type": "string"
                    },
                    "rightsgroup_label": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "DuplicateSalesService": {},
            "GetQuote": {
                "description": "Sales DTO class for the REST API.\n\nThis class represents the sales data carrier between two processes.",
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/Quote"
                    },
                    {
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "quotetemplate": {
                                "$ref": "#/components/schemas/QuoteTemplate"
                            },
                            "send_type": {
                                "type": "string",
                                "enum": [
                                    "printer",
                                    "email",
                                    "email_approval"
                                ]
                            },
                            "quote_number": {
                                "type": "string"
                            },
                            "quote_date": {
                                "type": "string"
                            },
                            "quotestatus": {
                                "$ref": "#/components/schemas/QuoteStatus"
                            },
                            "json": {
                                "type": "string"
                            },
                            "services": {
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/QuoteSalesService"
                                }
                            },
                            "total_excl": {
                                "type": "string"
                            },
                            "total_incl": {
                                "type": "string"
                            },
                            "total_vat": {
                                "type": "string"
                            },
                            "vat": {
                                "type": "object"
                            },
                            "grand_totals": {
                                "type": "object"
                            },
                            "receivers": {
                                "type": "object"
                            },
                            "valid_days": {
                                "type": "integer"
                            },
                            "payment_term": {
                                "type": "object"
                            },
                            "download_url": {
                                "type": "object"
                            },
                            "is_sepa_authorization": {
                                "type": "integer"
                            },
                            "is_outdated": {
                                "type": "integer"
                            },
                            "is_blocked": {
                                "type": "integer"
                            },
                            "created_by": {
                                "type": "string"
                            },
                            "last_updated_approval_status": {
                                "type": "string"
                            },
                            "sent_at": {
                                "type": "string"
                            },
                            "created_at": {
                                "type": "string"
                            },
                            "updated_at": {
                                "type": "string"
                            },
                            "service_groups": {
                                "$ref": "#/components/schemas/QuoteServiceGroups"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "GetSales": {
                "description": "Sales DTO class for the REST API.\n\nThis class represents the sales data carrier between two processes.",
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/Sales"
                    },
                    {
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "responsible_employee": {
                                "$ref": "#/components/schemas/GetEmployeeSimple"
                            },
                            "person": {
                                "$ref": "#/components/schemas/GetPersonSimple"
                            },
                            "organization": {
                                "$ref": "#/components/schemas/GetOrganizationSimple"
                            },
                            "progress": {
                                "$ref": "#/components/schemas/SalesProgress"
                            },
                            "source": {
                                "$ref": "#/components/schemas/SalesSource"
                            },
                            "status": {
                                "$ref": "#/components/schemas/SalesStatus"
                            },
                            "separate_invoice_recipient": {
                                "$ref": "#/components/schemas/GetSeparateInvoiceRecipient"
                            },
                            "teams": {
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/GetTeamSimple"
                                }
                            },
                            "custom_fields": {
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/GetCustomField"
                                }
                            },
                            "created_at": {
                                "type": "string"
                            },
                            "updated_at": {
                                "type": "string"
                            },
                            "status_updated_at": {
                                "type": "string"
                            },
                            "simplicate_url": {
                                "type": "string"
                            },
                            "linked_project": {
                                "$ref": "#/components/schemas/GetProjectSimple"
                            },
                            "linked_projects": {
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/LinkedProject"
                                }
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "GetSalesService": {
                "description": "Service DTO class for the REST API.\n\nThis class represents the service data carrier between two processes.",
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/SalesService"
                    },
                    {
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "revenue_group_id": {
                                "type": "string"
                            },
                            "invoice_date": {
                                "type": "string"
                            },
                            "hour_types": {
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/GetSalesServiceHoursType"
                                }
                            },
                            "cost_types": {
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/GetSalesServiceCostType"
                                }
                            },
                            "subscription_cycle": {
                                "type": "string",
                                "enum": [
                                    "Month",
                                    "Quarter",
                                    "Half_a_year",
                                    "Year"
                                ]
                            },
                            "track_cost": {
                                "type": "boolean"
                            },
                            "vat_class": {
                                "$ref": "#/components/schemas/VatClass"
                            },
                            "created_at": {
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/GetSalesServiceHoursType"
                                }
                            },
                            "updated_at": {
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/GetSalesServiceHoursType"
                                }
                            },
                            "is_active": {
                                "type": "boolean"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "GetSeparateInvoiceRecipient": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/SeparateInvoiceRecipient"
                    },
                    {
                        "properties": {
                            "organization": {
                                "$ref": "#/components/schemas/GetOrganizationSimple"
                            },
                            "person": {
                                "$ref": "#/components/schemas/GetPersonSimple"
                            },
                            "contact": {
                                "$ref": "#/components/schemas/GetContactSimple"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "GrandTotals": {
                "properties": {
                    "total_excluding": {
                        "type": "number",
                        "format": "float"
                    },
                    "total_vat": {
                        "type": "number",
                        "format": "float"
                    },
                    "total_including": {
                        "type": "number",
                        "format": "float"
                    },
                    "vat_types": {
                        "type": "array",
                        "items": {
                            "type": "object"
                        }
                    }
                },
                "type": "object"
            },
            "LinkedProject": {
                "properties": {
                    "id": {
                        "type": "string"
                    },
                    "name": {
                        "type": "string"
                    },
                    "project_number": {
                        "type": "string"
                    },
                    "created_at": {
                        "type": "string"
                    },
                    "project_status": {
                        "$ref": "#/components/schemas/ProjectStatus"
                    },
                    "has_acquisition_service": {
                        "type": "boolean"
                    },
                    "has_services": {
                        "type": "boolean"
                    },
                    "is_pending_for_sale_approval": {
                        "type": "boolean"
                    }
                },
                "type": "object"
            },
            "LostToCompetitor": {
                "properties": {
                    "id": {
                        "type": "string"
                    },
                    "name": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "PostDuplicateSales": {
                "properties": {
                    "is_new_subject": {
                        "type": "boolean"
                    },
                    "subject": {
                        "type": "string"
                    },
                    "is_new_responsible_employee": {
                        "type": "boolean"
                    },
                    "responsible_employee_id": {
                        "type": "string"
                    },
                    "is_new_organization_or_person": {
                        "type": "boolean"
                    },
                    "organization_id": {
                        "type": "string"
                    },
                    "person_id": {
                        "type": "string"
                    },
                    "copy_latest_quote": {
                        "type": "boolean"
                    },
                    "start_date": {
                        "type": "string"
                    },
                    "end_date": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "PostQuote": {
                "description": "Sales DTO class for the REST API.\n\nThis class represents the Quote data carrier between two processes.",
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/Quote"
                    },
                    {
                        "properties": {
                            "quotetemplate_id": {
                                "type": "string"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "PostSales": {
                "description": "Sales DTO class for the REST API.\n\nThis class represents the sales data carrier between two processes.",
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/Sales"
                    },
                    {
                        "properties": {
                            "responsible_employee_id": {
                                "type": "string"
                            },
                            "progress_id": {
                                "type": "string"
                            },
                            "source_id": {
                                "type": "string"
                            },
                            "status_id": {
                                "type": "string"
                            },
                            "divergent_payment_term_id": {
                                "description": "See /invoices/paymentterm. Set to null to unset.",
                                "type": ["string", "null"]
                            },
                            "teams": {
                                "description": "See /hrm/team",
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/CrmPostTeam"
                                }
                            },
                            "separate_invoice_recipient": {
                                "$ref": "#/components/schemas/PostSeparateInvoiceRecipient"
                            },
                            "custom_fields": {
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/PostCustomFieldValue"
                                }
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "PostSalesService": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/SalesService"
                    },
                    {
                        "properties": {
                            "revenue_group_id": {
                                "description": "See /sales/revenuegroup",
                                "type": "string"
                            },
                            "hour_types": {
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/PostSalesServiceHoursType"
                                }
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "PostSeparateInvoiceRecipient": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/SeparateInvoiceRecipient"
                    },
                    {
                        "properties": {
                            "organization_id": {
                                "description": "See /crm/organization",
                                "type": "string"
                            },
                            "person_id": {
                                "description": "See /crm/person",
                                "type": "string"
                            },
                            "contact_id": {
                                "description": "See 'linked_persons_contact' in /crm/organization, or 'linked_as_contact_to_organization' in /crm/person, or /crm/contactperson",
                                "type": "string"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "PutQuoteEmail": {
                "description": "Sales DTO class for the REST API.\n\nThis class represents the Quote data carrier between two processes.",
                "properties": {
                    "subject": {
                        "type": "string"
                    },
                    "body": {
                        "type": "string"
                    },
                    "attachments": {
                        "type": "array",
                        "items": {
                            "type": "string"
                        }
                    },
                    "to": {
                        "type": "array",
                        "items": {
                            "type": "string"
                        }
                    },
                    "cc": {
                        "type": "array",
                        "items": {
                            "type": "string"
                        }
                    },
                    "bcc": {
                        "type": "array",
                        "items": {
                            "type": "string"
                        }
                    }
                },
                "type": "object"
            },
            "Quote": {
                "properties": {
                    "sales_id": {
                        "type": "string"
                    },
                    "quote_subject": {
                        "type": "string"
                    },
                    "json": {
                        "type": "string"
                    },
                    "customer_reference": {
                        "type": "string"
                    },
                    "is_blocked": {
                        "type": "integer"
                    }
                },
                "type": "object"
            },
            "QuoteContentBlock": {
                "properties": {
                    "id": {
                        "type": "string"
                    },
                    "name": {
                        "type": "string"
                    },
                    "json": {
                        "type": "string"
                    },
                    "created_at": {
                        "type": "string"
                    },
                    "updated_at": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "QuotePortalLabel": {
                "properties": {
                    "id": {
                        "type": "string"
                    },
                    "quote_template_id": {
                        "type": "string"
                    },
                    "label": {
                        "type": "string"
                    },
                    "value": {
                        "type": "string"
                    },
                    "fallback_value": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "QuoteSalesService": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/SalesService"
                    },
                    {
                        "properties": {
                            "vat_code": {
                                "type": "string"
                            },
                            "vat_description": {
                                "type": "string"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "QuoteServiceCollection": {
                "properties": {
                    "services": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/QuoteSalesService"
                        }
                    },
                    "totals": {
                        "$ref": "#/components/schemas/Totals"
                    }
                },
                "type": "object"
            },
            "QuoteServiceGroup": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/QuoteServiceCollection"
                    },
                    {
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "name": {
                                "type": "string"
                            },
                            "description": {
                                "type": "string"
                            },
                            "type": {
                                "type": "string",
                                "enum": [
                                    "all_included",
                                    "multiple_optional",
                                    "single_required",
                                    "single_optional"
                                ]
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "QuoteServiceGroups": {
                "properties": {
                    "ungrouped_services": {
                        "$ref": "#/components/schemas/QuoteServiceCollection"
                    },
                    "grouped_services": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/QuoteServiceGroup"
                        }
                    }
                },
                "type": "object"
            },
            "QuoteStatus": {
                "description": "SalesProgress  DTO class for the REST API.\n\nThis class represents the sales progress data carrier between two processes.\n\nThe properties below are the preparation for the dynamic tricks of PHP",
                "properties": {
                    "id": {
                        "type": "string"
                    },
                    "label": {
                        "type": "string"
                    },
                    "color": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "QuotetemplateConfigurationMetaData": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/MetaData"
                    },
                    {
                        "properties": {
                            "default_view_and_sign_button_text": {
                                "description": "Default text for view_and_sign_button for the quotetemplate e-mail",
                                "type": "string"
                            },
                            "default_view_and_sign_button_bg_color": {
                                "description": "Default background color for view_and_sign_button for the quotetemplate e-mail",
                                "type": "string"
                            },
                            "default_view_and_sign_button_text_color": {
                                "description": "Default text color for view_and_sign_button for the quotetemplate e-mail",
                                "type": "string"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "QuotetemplateMetaData": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/MetaData"
                    },
                    {
                        "properties": {
                            "configuration": {
                                "$ref": "#/components/schemas/QuotetemplateConfigurationMetaData"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "RecentSalesQuote": {
                "properties": {
                    "quote_number": {
                        "type": "string"
                    },
                    "status": {
                        "$ref": "#/components/schemas/RecentSalesQuoteStatus"
                    }
                },
                "type": "object"
            },
            "RecentSalesQuoteStatus": {
                "properties": {
                    "id": {
                        "type": "integer",
                        "enum": [
                            0,
                            1,
                            2,
                            3
                        ]
                    },
                    "status_label": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "RevenueGroup": {
                "description": "RevenueGroup DTO class for the REST API.\n\nThis class represents the source data carrier between two processes.",
                "properties": {
                    "id": {
                        "type": "string"
                    },
                    "label": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "Sales": {
                "description": "Sales DTO class for the REST API.\n\nThis class represents the sales data carrier between two processes.",
                "properties": {
                    "my_organization_profile_id": {
                        "type": "string"
                    },
                    "organization_id": {
                        "type": "string"
                    },
                    "person_id": {
                        "type": "string"
                    },
                    "contact_id": {
                        "type": "string"
                    },
                    "reason": {
                        "$ref": "#/components/schemas/SalesReason"
                    },
                    "contact": {
                        "$ref": "#/components/schemas/ContactPerson"
                    },
                    "subject": {
                        "type": "string"
                    },
                    "start_date": {
                        "type": "string"
                    },
                    "expected_closing_date": {
                        "type": "string"
                    },
                    "expected_revenue": {
                        "type": "number",
                        "format": "float"
                    },
                    "note": {
                        "type": "string"
                    },
                    "chance_to_score": {
                        "type": "integer"
                    },
                    "lost_to_competitor": {
                        "$ref": "#/components/schemas/LostToCompetitor"
                    }
                },
                "type": "object"
            },
            "SalesMoney": {
                "properties": {
                    "amount": {
                        "type": "number",
                        "format": "float"
                    },
                    "currency": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "SalesProgress": {
                "description": "SalesProgress  DTO class for the REST API.\n\nThis class represents the sales progress data carrier between two processes.\n\nThe properties below are the preparation for the dynamic tricks of PHP",
                "properties": {
                    "id": {
                        "type": "string"
                    },
                    "label": {
                        "type": "string"
                    },
                    "color": {
                        "type": "string"
                    },
                    "chance_to_score": {
                        "type": "number",
                        "format": "float"
                    },
                    "position": {
                        "type": "integer"
                    }
                },
                "type": "object"
            },
            "SalesProgressHistory": {
                "description": "SalesProgressHistory  DTO class for the REST API.\n\nThis class represents the sales progress history data carrier between two processes.\n\nThe properties below are the preparation for the dynamic tricks of PHP",
                "properties": {
                    "id": {
                        "type": "string"
                    },
                    "sales": {},
                    "sales_id": {
                        "type": "string"
                    },
                    "from_sales_progress": {
                        "$ref": "#/components/schemas/SalesProgress"
                    },
                    "from_sales_progress_id": {
                        "type": "string"
                    },
                    "to_sales_progress": {
                        "$ref": "#/components/schemas/SalesProgress"
                    },
                    "to_sales_progress_id": {
                        "type": "string"
                    },
                    "date": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "SalesReason": {
                "properties": {
                    "id": {
                        "type": "string"
                    },
                    "name": {
                        "type": "string"
                    },
                    "blocked": {
                        "type": "boolean"
                    }
                },
                "type": "object"
            },
            "SalesService": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/Service"
                    },
                    {
                        "properties": {
                            "sales_id": {
                                "type": "string"
                            },
                            "default_service_id": {
                                "type": "string"
                            },
                            "name": {
                                "type": "string"
                            },
                            "invoice_method": {
                                "type": "string",
                                "enum": [
                                    "FixedFee"
                                ]
                            },
                            "amount": {
                                "type": "number",
                                "format": "float"
                            },
                            "price": {
                                "type": "number",
                                "format": "float"
                            },
                            "show_itemtype": {
                                "type": "integer"
                            },
                            "total": {
                                "type": "string"
                            },
                            "total_incl_vat": {
                                "type": "number",
                                "format": "float"
                            },
                            "position": {
                                "type": "integer"
                            },
                            "subscription_cycle": {
                                "type": "string",
                                "enum": [
                                    "Month",
                                    "Quarter",
                                    "Half_a_year",
                                    "Year"
                                ]
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "SalesSource": {
                "description": "SalesSource DTO class for the REST API.\n\nThis class represents the sales source data carrier between two processes.",
                "properties": {
                    "id": {
                        "type": "string"
                    },
                    "name": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "SalesStatus": {
                "description": "SalesStatus DTO class for the REST API.\n\nThis class represents the sales status data carrier between two processes.",
                "properties": {
                    "id": {
                        "type": "string"
                    },
                    "label": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "SeparateInvoiceRecipient": {
                "properties": {
                    "is_separate_invoice_recipient": {
                        "type": "boolean"
                    }
                },
                "type": "object"
            },
            "Totals": {
                "properties": {
                    "total_excluding": {
                        "$ref": "#/components/schemas/SalesMoney"
                    },
                    "total_vat": {
                        "$ref": "#/components/schemas/SalesMoney"
                    },
                    "total_including": {
                        "$ref": "#/components/schemas/SalesMoney"
                    },
                    "vat_divisions": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/VatDivision"
                        }
                    }
                },
                "type": "object"
            },
            "VatDivision": {
                "properties": {
                    "vat_code": {
                        "type": "string"
                    },
                    "vat_description": {
                        "type": "string"
                    },
                    "vat_amount": {
                        "$ref": "#/components/schemas/SalesMoney"
                    }
                },
                "type": "object"
            },
            "DefaultService": {
                "description": "Default ervice DTO class for the REST API.\n\nThis class represents the default service data carrier between two processes.",
                "properties": {
                    "my_organization_profile_id": {
                        "type": "string"
                    },
                    "name": {
                        "type": "string"
                    },
                    "price_editable": {
                        "type": "boolean"
                    },
                    "price": {
                        "type": "number",
                        "format": "float"
                    }
                },
                "type": "object"
            },
            "GetDefaultService": {
                "description": "Default ervice DTO class for the REST API.\n\nThis class represents the default service data carrier between two processes.",
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/DefaultService"
                    },
                    {
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "vat_class": {
                                "$ref": "#/components/schemas/VatClass"
                            },
                            "revenue_group": {
                                "$ref": "#/components/schemas/RevenueGroup"
                            },
                            "created_at": {
                                "type": "string"
                            },
                            "updated_at": {
                                "type": "string"
                            },
                            "modified": {
                                "type": "string"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "GetService": {
                "description": "Service DTO class for the REST API.\n\nThis class represents the service data carrier between two processes.",
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/Service"
                    },
                    {
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "start_date": {
                                "type": "string"
                            },
                            "end_date": {
                                "type": "string"
                            },
                            "subscription_cycle": {
                                "type": "string",
                                "enum": [
                                    "Month",
                                    "Quarter",
                                    "Half_a_year",
                                    "Year"
                                ]
                            },
                            "budget": {
                                "type": "number",
                                "format": "float"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "Installment": {
                "description": "Service DTO class for the REST API.\n\nThis class represents the service data carrier between two processes.",
                "properties": {
                    "name": {
                        "type": "string"
                    },
                    "percentage": {
                        "type": "number",
                        "format": "float"
                    },
                    "price": {
                        "type": "number",
                        "format": "float"
                    },
                    "order": {
                        "type": "integer"
                    },
                    "expiration_date": {
                        "type": "string"
                    },
                    "status": {
                        "type": "string",
                        "enum": [
                            "open",
                            "flushed",
                            "invoiced"
                        ]
                    },
                    "invoiced_date": {
                        "type": "string"
                    },
                    "invoice_id": {
                        "type": "string"
                    },
                    "invoice_line_id": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "PostDefaultService": {
                "description": "Default ervice DTO class for the REST API.\n\nThis class represents the default service data carrier between two processes.",
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/DefaultService"
                    },
                    {
                        "properties": {
                            "vat_class_id": {
                                "type": "string"
                            },
                            "revenue_group_id": {
                                "type": "string"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "PostService": {
                "description": "Service DTO class for the REST API.\n\nThis class represents the service data carrier between two processes.",
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/Service"
                    },
                    {
                        "properties": {
                            "vat_class_id": {
                                "description": "See /invoices/vatclass",
                                "type": "string"
                            },
                            "revenue_group_id": {
                                "description": "See /sales/revenuegroup",
                                "type": "string"
                            },
                            "invoice_method": {
                                "type": "string",
                                "enum": [
                                    "FixedFee"
                                ]
                            },
                            "hour_types": {
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/PostProjectServiceHoursType"
                                }
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "Service": {
                "description": "Service DTO class for the REST API.\n\nThis class represents the service data carrier between two processes.",
                "properties": {
                    "default_service_id": {
                        "type": "string"
                    },
                    "name": {
                        "type": "string"
                    },
                    "explanation": {
                        "type": "string"
                    },
                    "invoice_method": {
                        "type": "string",
                        "enum": [
                            "Hours",
                            "FixedFee",
                            "Subscription"
                        ]
                    },
                    "amount": {
                        "type": "number",
                        "format": "float"
                    },
                    "price": {
                        "type": "number",
                        "format": "float"
                    },
                    "track_hours": {
                        "type": "boolean"
                    },
                    "track_cost": {
                        "type": "boolean"
                    }
                },
                "type": "object"
            },
            "GetSharedItem": {
                "description": "Service DTO class for the REST API.\n\nThis class represents the shared data data carrier between two processes ( on a GET request).",
                "properties": {
                    "tag": {
                        "type": "string"
                    },
                    "type": {
                        "type": "string"
                    },
                    "employee_id": {
                        "type": "string"
                    },
                    "shared": {
                        "type": "string"
                    },
                    "data": {
                        "type": "string"
                    },
                    "id": {
                        "type": "string"
                    },
                    "created_at": {
                        "type": "string"
                    },
                    "updated_at": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "IsSatisfied": {
                "properties": {
                    "value": {
                        "type": "boolean"
                    },
                    "reason": {
                        "$ref": "#/components/schemas/IsSatisfiedReason"
                    }
                },
                "type": "object"
            },
            "IsSatisfiedReason": {
                "properties": {
                    "message": {
                        "type": "string"
                    },
                    "translated_message": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "PostSharedItem": {
                "description": "Service DTO class for the REST API.\n\nThis class represents the shared data data carrier between two processes (POST, PUT request).",
                "properties": {
                    "tag": {
                        "type": "string"
                    },
                    "type": {
                        "type": "string"
                    },
                    "employee_id": {
                        "type": "string"
                    },
                    "shared": {
                        "type": "string"
                    },
                    "data": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "Task": {
                "description": "Task DTO class for the REST API.\n\nThis class represents the workflow item data carrier between two processes.",
                "properties": {
                    "status": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "Attachment": {
                "properties": {
                    "id": {
                        "type": "string"
                    },
                    "attachment_type": {
                        "$ref": "#/components/schemas/AttachmentType"
                    },
                    "title": {
                        "type": "string"
                    },
                    "document_id": {
                        "description": "See /documents/document",
                        "type": "string"
                    },
                    "download_link": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "AttachmentType": {
                "description": "Message DTO class for the REST API.\n\nThis class represents the time line attachment type item data carrier between two processes.",
                "properties": {
                    "id": {
                        "type": "string"
                    },
                    "label": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "ContentField": {
                "description": "Message DTO class for the REST API.\n\nThis class represents the time line content fields item data carrier between two processes.",
                "properties": {
                    "title": {
                        "type": "string"
                    },
                    "value": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "Creator": {
                "description": "Message DTO class for the REST API.\n\nThis class represents the time line creator data carrier between two processes.",
                "properties": {
                    "id": {
                        "type": "string"
                    },
                    "type": {
                        "type": "string"
                    },
                    "label": {
                        "type": "string"
                    },
                    "image": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "GetMessage": {
                "description": "Message DTO class for the REST API.\n\nThis class represents the time line message item data carrier between two processes.",
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/Message"
                    },
                    {
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "attachments": {
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/Attachment"
                                }
                            },
                            "message_type": {
                                "$ref": "#/components/schemas/MessageType"
                            },
                            "linked_to": {
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/LinkedToEntity"
                                }
                            },
                            "created_by": {
                                "$ref": "#/components/schemas/Creator"
                            },
                            "created_at": {
                                "type": "string"
                            },
                            "updated_at": {
                                "type": "string"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "LinkedToEntity": {
                "description": "Message DTO class for the REST API.\n\nThis class represents the time line linked to entity item data carrier between two processes.",
                "properties": {
                    "id": {
                        "type": "string"
                    },
                    "label": {
                        "type": "string"
                    },
                    "type": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "Message": {
                "description": "Message DTO class for the REST API.\n\nThis class represents the time line message item data carrier between two processes.",
                "properties": {
                    "title": {
                        "type": "string"
                    },
                    "content_fields": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/ContentField"
                        }
                    },
                    "content": {
                        "type": "string"
                    },
                    "pinned": {
                        "type": "boolean"
                    },
                    "display_date": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "MessageType": {
                "description": "Message DTO class for the REST API.\n\nThis class represents the time line message type data carrier between two processes.",
                "properties": {
                    "id": {
                        "type": "string"
                    },
                    "label": {
                        "type": "string"
                    },
                    "blocked": {
                        "type": "boolean"
                    },
                    "log_action": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "PostAttachment": {
                "properties": {
                    "message_id": {
                        "description": "See /timeline/message",
                        "type": "string"
                    },
                    "document_id": {
                        "description": "See /documents/document",
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "PostMessage": {
                "description": "Message DTO class for the REST API.\n\nThis class represents the time line message item data carrier between two processes.",
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/Message"
                    },
                    {
                        "properties": {
                            "messagetype_id": {
                                "type": "string"
                            },
                            "linked_to": {
                                "$ref": "#/components/schemas/PostMessageLinkedTo"
                            },
                            "created_by_id": {
                                "description": "employee_id as seen in /crm/employee",
                                "type": "string",
                                "default": "employee:abc123"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "PostMessageLinkedTo": {
                "description": "Message DTO class for the REST API.\n\nThis class represents the time line message item data carrier between two processes.",
                "properties": {
                    "sales_id": {
                        "description": "See /sales/sale",
                        "type": "string"
                    },
                    "project_id": {
                        "description": "See /projects/project",
                        "type": "string"
                    },
                    "employee_id": {
                        "description": "See /hrm/employee",
                        "type": "string"
                    },
                    "invoice_id": {
                        "description": "See /invoices/invoice",
                        "type": "string"
                    },
                    "person_id": {
                        "description": "See /crm/person",
                        "type": "string"
                    },
                    "organization_id": {
                        "description": "See /crm/organization",
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "GetTimer": {
                "description": "GetTimer DTO class for the REST API.\n\nThis class represents the relation type data carrier between two processes.",
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/Timer"
                    },
                    {
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "seconds_spent": {
                                "type": "integer"
                            },
                            "min_seconds_step": {
                                "type": "integer"
                            },
                            "employee": {
                                "$ref": "#/components/schemas/GetEmployeeSimple"
                            },
                            "project": {
                                "$ref": "#/components/schemas/GetProjectSimple"
                            },
                            "projectservice": {
                                "$ref": "#/components/schemas/GetProjectServiceSimple"
                            },
                            "hourstype": {
                                "$ref": "#/components/schemas/GetHoursType"
                            },
                            "related_hours": {
                                "$ref": "#/components/schemas/GetHoursSimple"
                            },
                            "created_at": {
                                "type": "string"
                            },
                            "updated_at": {
                                "type": "string"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "PostTimer": {
                "description": "PostTimer DTO class for the REST API.\n\nThis class represents the relation type data carrier between two processes.",
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/Timer"
                    },
                    {
                        "properties": {
                            "employee_id": {
                                "description": "See /hrm/employee",
                                "type": "string"
                            },
                            "project_id": {
                                "description": "See /projects/project",
                                "type": "string"
                            },
                            "projectservice_id": {
                                "description": "See /projects/projectservice",
                                "type": "string"
                            },
                            "hourstype_id": {
                                "description": "See /hours/hourstype",
                                "type": "string"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "PutTimer": {
                "description": "PutTimer DTO class for the REST API.\n\nThis class represents the relation type data carrier between two processes.",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/Timer"
                    }
                ]
            },
            "Timer": {
                "description": "Timer DTO class for the REST API.\n\nThis class represents the relation type data carrier between two processes.",
                "properties": {
                    "state": {
                        "type": "string",
                        "enum": [
                            "running",
                            "paused",
                            "finished"
                        ]
                    },
                    "description": {
                        "type": "string"
                    },
                    "metadata": {
                        "description": "JSON",
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "PostChunked": {
                "description": "PostChunked DTO class for the REST API.\n\nThis class represents the post upload item",
                "properties": {
                    "file_name": {
                        "type": "string"
                    },
                    "file_size": {
                        "description": "File size in bytes",
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "PutChunked": {
                "description": "PutChunked DTO class for the REST API.\n\nThis class represents the put for the upload",
                "properties": {
                    "chunk": {
                        "description": "Base64 encoded string of data",
                        "type": "string"
                    },
                    "checksum": {
                        "description": "Optional. md5 checksum of the 'chunk' property -- can be used to validate that the API has received the right data",
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "Avatar": {
                "description": "Setting DTO class for the REST API.",
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/AvatarSimple"
                    },
                    {
                        "properties": {
                            "url_small": {
                                "type": "string"
                            },
                            "url_large": {
                                "type": "string"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "AvatarPublic": {
                "description": "Setting DTO class for the REST API.",
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/Avatar"
                    },
                    {
                        "properties": {
                            "full_name": {
                                "type": "string"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "AvatarSimple": {
                "description": "Setting DTO class for the REST API.",
                "properties": {
                    "initials": {
                        "type": "string"
                    },
                    "color": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "User": {
                "properties": {
                    "username": {
                        "type": "string"
                    },
                    "email": {
                        "type": "string"
                    },
                    "gender": {
                        "type": "string"
                    },
                    "initials": {
                        "type": "string"
                    },
                    "first_name": {
                        "type": "string"
                    },
                    "family_name_prefix": {
                        "type": "string"
                    },
                    "family_name": {
                        "type": "string"
                    },
                    "birthdate": {
                        "type": "string"
                    },
                    "is_authy_enabled": {
                        "type": "boolean"
                    },
                    "is_employee": {
                        "type": "boolean"
                    },
                    "is_light_user": {
                        "type": "boolean"
                    },
                    "employee_id": {
                        "type": "string"
                    },
                    "person_id": {
                        "type": "string"
                    },
                    "is_blocked": {
                        "type": "boolean"
                    },
                    "key_identifier": {
                        "type": "string"
                    },
                    "timezone": {
                        "$ref": "#/components/schemas/Timezone"
                    },
                    "country": {
                        "$ref": "#/components/schemas/Country"
                    },
                    "hours_view_mode": {
                        "type": "string",
                        "enum": [
                            "agenda",
                            "grid",
                            "both"
                        ]
                    },
                    "is_account_owner": {
                        "type": "boolean"
                    },
                    "has_external_agenda_integration": {
                        "type": "boolean"
                    },
                    "rights": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/Right"
                        }
                    }
                },
                "type": "object"
            },
            "Comment": {
                "description": "Comment on a workflow",
                "properties": {
                    "message": {
                        "type": "string"
                    }
                }
            },
            "CreatedBy": {
                "description": "Employee who created the workflow",
                "properties": {
                    "id": {
                        "type": "string"
                    },
                    "name": {
                        "type": "string"
                    }
                }
            },
            "CurrentTask": {
                "description": "Current task in a workflow",
                "properties": {
                    "id": {
                        "type": "string"
                    },
                    "name": {
                        "type": "string"
                    },
                    "description": {
                        "type": "string"
                    },
                    "responsible_employee": {
                        "$ref": "#/components/schemas/GetEmployeeSimple"
                    }
                }
            },
            "CurrentTaskEmployee": {
                "properties": {
                    "employee_id": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "DefaultAction": {
                "description": "DefaultAction DTO class",
                "properties": {
                    "name": {
                        "type": "string"
                    },
                    "is_response_required": {
                        "type": "boolean"
                    },
                    "color": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "DefaultTask": {
                "description": "DefaultTask DTO class",
                "properties": {
                    "name": {
                        "type": "string"
                    },
                    "description": {
                        "type": "string"
                    },
                    "position": {
                        "type": "integer"
                    },
                    "will_send_email": {
                        "type": "boolean"
                    },
                    "is_return_to_sender": {
                        "type": "boolean"
                    },
                    "average_hours_cost": {
                        "type": "number",
                        "format": "float"
                    },
                    "is_blocked": {
                        "type": "boolean"
                    }
                }
            },
            "DefaultWorkflow": {
                "description": "DefaultWorkflowGroup DTO class",
                "properties": {
                    "title": {
                        "type": "string"
                    },
                    "description": {
                        "type": "string"
                    },
                    "can_have_attachment": {
                        "type": "boolean"
                    },
                    "is_blocked": {
                        "type": "boolean"
                    },
                    "is_for_crm": {
                        "type": "boolean"
                    },
                    "is_for_contact": {
                        "type": "boolean"
                    },
                    "is_for_sale": {
                        "type": "boolean"
                    },
                    "is_for_debtor": {
                        "type": "boolean"
                    },
                    "is_for_project": {
                        "type": "boolean"
                    },
                    "is_for_subscription": {
                        "type": "boolean"
                    },
                    "is_for_employee": {
                        "type": "boolean"
                    },
                    "is_for_invoice": {
                        "type": "boolean"
                    },
                    "is_for_myorganizationprofile": {
                        "type": "boolean"
                    },
                    "is_visible_on_all": {
                        "type": "boolean"
                    }
                },
                "type": "object"
            },
            "DefaultWorkflowGroup": {
                "description": "DefaultWorkflowGroup DTO class",
                "properties": {
                    "name": {
                        "type": "string"
                    },
                    "is_blocked": {
                        "type": "boolean"
                    }
                },
                "type": "object"
            },
            "GetDefaultAction": {
                "description": "DefaultAction DTO class",
                "properties": {
                    "id": {
                        "type": "string"
                    },
                    "name": {
                        "type": "string"
                    },
                    "is_blocked": {
                        "type": "boolean"
                    }
                }
            },
            "GetDefaultTask": {
                "description": "DefaultTask DTO class",
                "properties": {
                    "id": {
                        "type": "string"
                    },
                    "name": {
                        "type": "string"
                    },
                    "description": {
                        "type": "string"
                    },
                    "position": {
                        "type": "integer"
                    },
                    "will_send_email": {
                        "type": "boolean"
                    },
                    "is_return_to_sender": {
                        "type": "boolean"
                    },
                    "average_hours_cost": {
                        "type": "number",
                        "format": "float"
                    },
                    "is_blocked": {
                        "type": "boolean"
                    },
                    "defaultworkflow": {
                        "$ref": "#/components/schemas/GetSimpleDefaultWorkflow"
                    }
                }
            },
            "GetDefaultWorkflow": {
                "description": "DefaultWorkflowGroup DTO class",
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/DefaultWorkflow"
                    },
                    {
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "workflowgroup": {
                                "$ref": "#/components/schemas/GetDefaultWorkflowGroup"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "GetDefaultWorkflowGroup": {
                "description": "DefaultWorkflowGroup DTO class",
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/DefaultWorkflowGroup"
                    },
                    {
                        "properties": {
                            "id": {
                                "type": "string"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "GetSimpleDefaultTask": {
                "description": "DefaultTask DTO class",
                "properties": {
                    "id": {
                        "type": "string"
                    },
                    "description": {
                        "type": "boolean"
                    }
                },
                "type": "object"
            },
            "GetSimpleDefaultWorkflow": {
                "description": "DefaultWorkflowGroup DTO class",
                "properties": {
                    "id": {
                        "type": "string"
                    },
                    "title": {
                        "type": "string"
                    },
                    "description": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "GetWorkflow": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/Workflow"
                    },
                    {
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "defaultworkflow": {
                                "$ref": "#/components/schemas/GetSimpleDefaultWorkflow"
                            },
                            "current_task": {
                                "$ref": "#/components/schemas/CurrentTask"
                            },
                            "actions": {
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/GetDefaultAction"
                                }
                            },
                            "linked_to": {
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/LinkedTo"
                                }
                            },
                            "filename": {
                                "type": "string"
                            },
                            "attachments": {
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/GetDocument"
                                }
                            },
                            "comments": {
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/Comment"
                                }
                            },
                            "created_by": {
                                "$ref": "#/components/schemas/CreatedBy"
                            },
                            "created_at": {
                                "type": "string"
                            },
                            "updated_at": {
                                "type": "string"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "LinkedTo": {
                "description": "Entities linked to the workflow.",
                "properties": {
                    "organization_id": {
                        "type": "string"
                    },
                    "person_id": {
                        "type": "string"
                    },
                    "project_id": {
                        "type": "string"
                    },
                    "sales_id": {
                        "type": "string"
                    },
                    "invoice_id": {
                        "type": "string"
                    },
                    "document_id": {
                        "type": "string"
                    }
                }
            },
            "PostWorkflow": {
                "type": "object",
                "allOf": [
                    {
                        "$ref": "#/components/schemas/Workflow"
                    },
                    {
                        "properties": {
                            "linked_to": {
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/LinkedTo"
                                }
                            },
                            "attachments": {
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/PostDocument"
                                }
                            },
                            "comments": {
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/Comment"
                                }
                            },
                            "destination_employee_id": {
                                "type": "string"
                            },
                            "transfer_to_employee_id": {
                                "type": "string"
                            },
                            "transfer_to_message": {
                                "type": "string"
                            },
                            "defaultworkflow_id": {
                                "type": "string"
                            },
                            "created_by": {
                                "$ref": "#/components/schemas/CreatedBy"
                            }
                        },
                        "type": "object"
                    }
                ]
            },
            "Workflow": {
                "properties": {
                    "title": {
                        "type": "string"
                    },
                    "description": {
                        "type": "string"
                    },
                    "deadline_step": {
                        "type": "string"
                    },
                    "deadline_workflow": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "WorkflowItem": {
                "description": "WorkflowItem DTO class for the REST API.\n\nThis class represents the workflow item data carrier between two processes.",
                "properties": {
                    "subject": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "WorkflowItemType": {
                "description": "WorkflowItemType DTO class for the REST API.\n\nThis class represents the workflow item type data carrier between two processes.",
                "properties": {
                    "type": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "RestResultWorkflows": {
                "properties": {
                    "data": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/GetWorkflow"
                        }
                    },
                    "metadata": {
                        "$ref": "#/components/schemas/MetaData"
                    },
                    "errors": {
                        "type": "array",
                        "items": {}
                    },
                    "debug": {}
                }
            },
            "RestResultWorkflow": {
                "properties": {
                    "data": {
                        "$ref": "#/components/schemas/GetWorkflow"
                    },
                    "metadata": {
                        "$ref": "#/components/schemas/MetaData"
                    },
                    "errors": {
                        "type": "array",
                        "items": {}
                    },
                    "debug": {}
                }
            },
            "RestResultDefaultWorkflows": {
                "properties": {
                    "data": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/GetDefaultWorkflow"
                        }
                    },
                    "metadata": {
                        "$ref": "#/components/schemas/MetaData"
                    },
                    "errors": {
                        "type": "array",
                        "items": {}
                    },
                    "debug": {}
                }
            },
            "RestResultDefaultWorkflow": {
                "properties": {
                    "data": {
                        "$ref": "#/components/schemas/GetDefaultWorkflow"
                    },
                    "metadata": {
                        "$ref": "#/components/schemas/MetaData"
                    },
                    "errors": {
                        "type": "array",
                        "items": {}
                    },
                    "debug": {}
                }
            },
            "RestResultDefaultWorkflowGroups": {
                "properties": {
                    "data": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/GetDefaultWorkflowGroup"
                        }
                    },
                    "metadata": {
                        "$ref": "#/components/schemas/MetaData"
                    },
                    "errors": {
                        "type": "array",
                        "items": {}
                    },
                    "debug": {}
                }
            },
            "RestResultDefaultWorkflowGroup": {
                "properties": {
                    "data": {
                        "$ref": "#/components/schemas/GetDefaultWorkflowGroup"
                    },
                    "metadata": {
                        "$ref": "#/components/schemas/MetaData"
                    },
                    "errors": {
                        "type": "array",
                        "items": {}
                    },
                    "debug": {}
                }
            },
            "RestResultDefaultActions": {
                "properties": {
                    "data": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/GetDefaultAction"
                        }
                    },
                    "metadata": {
                        "$ref": "#/components/schemas/MetaData"
                    },
                    "errors": {
                        "type": "array",
                        "items": {}
                    },
                    "debug": {}
                }
            },
            "RestResultDefaultAction": {
                "properties": {
                    "data": {
                        "$ref": "#/components/schemas/GetDefaultAction"
                    },
                    "metadata": {
                        "$ref": "#/components/schemas/MetaData"
                    },
                    "errors": {
                        "type": "array",
                        "items": {}
                    },
                    "debug": {}
                }
            },
            "RestResultDefaultTasks": {
                "properties": {
                    "data": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/GetDefaultTask"
                        }
                    },
                    "metadata": {
                        "$ref": "#/components/schemas/MetaData"
                    },
                    "errors": {
                        "type": "array",
                        "items": {}
                    },
                    "debug": {}
                }
            },
            "RestResultDefaultTask": {
                "properties": {
                    "data": {
                        "$ref": "#/components/schemas/GetDefaultTask"
                    },
                    "metadata": {
                        "$ref": "#/components/schemas/MetaData"
                    },
                    "errors": {
                        "type": "array",
                        "items": {}
                    },
                    "debug": {}
                }
            },
            "PutWorkflow": {
                "properties": {
                    "title": {
                        "type": "string"
                    },
                    "description": {
                        "type": "string"
                    },
                    "deadline_step": {
                        "type": "string",
                        "example": "2026-02-20",
                        "description": "Deadline for the current step in Y-m-d format."
                    },
                    "deadline_workflow": {
                        "type": "string",
                        "example": "2026-02-25",
                        "description": "Deadline for the entire workflow in Y-m-d format."
                    },
                    "linked_to": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/LinkedTo"
                        },
                        "description": "Entities linked to this workflow."
                    },
                    "action_id": {
                        "type": "string",
                        "description": "Execute an action on the workflow."
                    },
                    "comments": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/Comment"
                        }
                    },
                    "transfer_to_employee_id": {
                        "type": "string",
                        "description": "Transfer the workflow to another employee."
                    },
                    "transfer_to_message": {
                        "type": "string",
                        "description": "Message to include when transferring the workflow."
                    }
                }
            },
            "Action": {
                "description": "Available action for a workflow task",
                "properties": {
                    "id": {
                        "type": "string"
                    },
                    "name": {
                        "type": "string"
                    }
                }
            }
        },
        "parameters": {
            "id": {
                "name": "id",
                "in": "path",
                "description": "The template's id",
                "required": true,
                "schema": {
                    "type": "string"
                }
            },
            "offset": {
                "name": "offset",
                "in": "query",
                "description": "The offset to search from",
                "required": false,
                "schema": {
                    "type": "integer"
                }
            },
            "limit": {
                "name": "limit",
                "in": "query",
                "description": "The limit of max allowed results",
                "required": false,
                "schema": {
                    "type": "integer",
                    "default": 5
                }
            },
            "filter": {
                "name": "filter",
                "in": "query",
                "description": "A collection of field filters",
                "required": false,
                "schema": {
                    "type": "array",
                    "items": {
                        "type": "string"
                    }
                }
            },
            "sort": {
                "name": "sort",
                "in": "query",
                "description": "Sort the result by column name",
                "required": false,
                "schema": {
                    "type": "string"
                }
            },
            "select": {
                "name": "select",
                "in": "query",
                "description": "Select only specific fields to return",
                "required": false,
                "schema": {
                    "type": "string"
                }
            },
            "RestResultWorkflows": {
                "properties": {
                    "data": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/GetWorkflow"
                        }
                    },
                    "metadata": {
                        "$ref": "#/components/schemas/MetaData"
                    },
                    "errors": {
                        "type": "array",
                        "items": {}
                    },
                    "debug": {}
                }
            },
            "RestResultWorkflow": {
                "properties": {
                    "data": {
                        "$ref": "#/components/schemas/GetWorkflow"
                    },
                    "metadata": {
                        "$ref": "#/components/schemas/MetaData"
                    },
                    "errors": {
                        "type": "array",
                        "items": {}
                    },
                    "debug": {}
                }
            },
            "RestResultDefaultWorkflows": {
                "properties": {
                    "data": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/GetDefaultWorkflow"
                        }
                    },
                    "metadata": {
                        "$ref": "#/components/schemas/MetaData"
                    },
                    "errors": {
                        "type": "array",
                        "items": {}
                    },
                    "debug": {}
                }
            },
            "RestResultDefaultWorkflowGroups": {
                "properties": {
                    "data": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/GetDefaultWorkflowGroup"
                        }
                    },
                    "metadata": {
                        "$ref": "#/components/schemas/MetaData"
                    },
                    "errors": {
                        "type": "array",
                        "items": {}
                    },
                    "debug": {}
                }
            },
            "RestResultDefaultActions": {
                "properties": {
                    "data": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/GetDefaultAction"
                        }
                    },
                    "metadata": {
                        "$ref": "#/components/schemas/MetaData"
                    },
                    "errors": {
                        "type": "array",
                        "items": {}
                    },
                    "debug": {}
                }
            },
            "RestResultDefaultAction": {
                "properties": {
                    "data": {
                        "$ref": "#/components/schemas/GetDefaultAction"
                    },
                    "metadata": {
                        "$ref": "#/components/schemas/MetaData"
                    },
                    "errors": {
                        "type": "array",
                        "items": {}
                    },
                    "debug": {}
                }
            },
            "RestResultDefaultTasks": {
                "properties": {
                    "data": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/GetDefaultTask"
                        }
                    },
                    "metadata": {
                        "$ref": "#/components/schemas/MetaData"
                    },
                    "errors": {
                        "type": "array",
                        "items": {}
                    },
                    "debug": {}
                }
            },
            "RestResultDefaultTask": {
                "properties": {
                    "data": {
                        "$ref": "#/components/schemas/GetDefaultTask"
                    },
                    "metadata": {
                        "$ref": "#/components/schemas/MetaData"
                    },
                    "errors": {
                        "type": "array",
                        "items": {}
                    },
                    "debug": {}
                }
            },
            "PutWorkflow": {
                "properties": {
                    "title": {
                        "type": "string"
                    },
                    "description": {
                        "type": "string"
                    },
                    "deadline_step": {
                        "type": "string",
                        "example": "2026-02-20"
                    },
                    "deadline_workflow": {
                        "type": "string",
                        "example": "2026-02-25"
                    },
                    "linked_to": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/LinkedTo"
                        }
                    },
                    "action_id": {
                        "type": "string"
                    },
                    "comments": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/Comment"
                        }
                    },
                    "transfer_to_employee_id": {
                        "type": "string"
                    },
                    "transfer_to_message": {
                        "type": "string"
                    }
                }
            },
            "Action": {
                "description": "Available action for a workflow task",
                "properties": {
                    "id": {
                        "type": "string"
                    },
                    "name": {
                        "type": "string"
                    }
                }
            },
            "RestResultDefaultWorkflow": {
                "properties": {
                    "data": {
                        "$ref": "#/components/schemas/GetDefaultWorkflow"
                    },
                    "metadata": {
                        "$ref": "#/components/schemas/MetaData"
                    },
                    "errors": {
                        "type": "array",
                        "items": {}
                    },
                    "debug": {}
                }
            },
            "RestResultDefaultWorkflowGroup": {
                "properties": {
                    "data": {
                        "$ref": "#/components/schemas/GetDefaultWorkflowGroup"
                    },
                    "metadata": {
                        "$ref": "#/components/schemas/MetaData"
                    },
                    "errors": {
                        "type": "array",
                        "items": {}
                    },
                    "debug": {}
                }
            }
        },
        "securitySchemes": {
            "bearerAuth": {
                "type": "http",
                "bearerFormat": "API-Key:API-secret",
                "scheme": "bearer"
            },
            "api_key": {
                "type": "apiKey",
                "description": "Your Simplicate API Key",
                "name": "Authentication-Key",
                "in": "header"
            },
            "api_secret": {
                "type": "apiKey",
                "description": "Your Simplicate API Secret",
                "name": "Authentication-Secret",
                "in": "header"
            }
        }
    },
    "security": [
        {
            "bearerAuth": []
        },
        {
            "api_key": [],
            "api_secret": []
        }
    ],
    "tags": [
        {
            "name": "CRM",
            "externalDocs": {
                "description": "Examples",
                "url": "#"
            }
        },
        {
            "name": "Custom Fields",
            "externalDocs": {
                "description": "Examples",
                "url": "#"
            }
        },
        {
            "name": "Documents"
        },
        {
            "name": "Hours",
            "externalDocs": {
                "description": "Examples",
                "url": "#"
            }
        },
        {
            "name": "HRM",
            "externalDocs": {
                "description": "Examples",
                "url": "#"
            }
        },
        {
            "name": "Invoices",
            "externalDocs": {
                "description": "Examples",
                "url": "#"
            }
        },
        {
            "name": "Merger",
            "description": "Operations about merging entities",
            "externalDocs": {
                "description": "",
                "url": "#"
            }
        },
        {
            "name": "Mileage",
            "externalDocs": {
                "description": "Examples",
                "url": "#"
            }
        },
        {
            "name": "Projects",
            "externalDocs": {
                "description": "Examples",
                "url": "#"
            }
        },
        {
            "name": "Sales",
            "externalDocs": {
                "description": "Examples",
                "url": "#"
            }
        },
        {
            "name": "Services",
            "externalDocs": {
                "description": "Examples",
                "url": "#"
            }
        },
        {
            "name": "Shared",
            "externalDocs": {
                "description": "",
                "url": ""
            }
        },
        {
            "name": "Timeline",
            "externalDocs": {
                "description": "Examples",
                "url": "#"
            }
        },
        {
            "name": "Upload",
            "description": "Operations about Uploads"
        },
        {
            "name": "Costs",
            "description": "Costs"
        }
    ],
    "externalDocs": {
        "description": "Find out more about API Simplicate",
        "url": "#"
    }
}
