{ "openapi": "3.0.1", "info": { "title": "titto", "description": "TIme Tracking TOol", "version": "v1.0" }, "paths": { "/api/v1.0/company/{company_id}/Clock/my-running": { "get": { "tags": [ "Clock" ], "summary": "MinLevel:Member", "operationId": "GetMyRunningClocks", "parameters": [ { "name": "company_id", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "Authorization", "in": "header", "schema": { "type": "string" } }, { "name": "Device-Token", "in": "header", "schema": { "type": "string" } }, { "name": "Client-Version", "in": "header", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ClockReadModel" } } }, "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ClockReadModel" } } }, "text/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ClockReadModel" } } }, "application/xml": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ClockReadModel" } } }, "text/xml": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ClockReadModel" } } } } } } } }, "/api/v1.0/company/{company_id}/Clock": { "get": { "tags": [ "Clock" ], "summary": "MinLevel:Member", "operationId": "GetClocks", "parameters": [ { "name": "customerId", "in": "query", "schema": { "type": "integer", "format": "int64" } }, { "name": "projectId", "in": "query", "schema": { "type": "integer", "format": "int64" } }, { "name": "questId", "in": "query", "schema": { "type": "integer", "format": "int64" } }, { "name": "clockId", "in": "query", "schema": { "type": "integer", "format": "int64" } }, { "name": "memberId", "in": "query", "schema": { "type": "integer", "format": "int64" } }, { "name": "limit", "in": "query", "schema": { "type": "integer", "format": "int32" } }, { "name": "offset", "in": "query", "schema": { "type": "integer", "format": "int32" } }, { "name": "from", "in": "query", "schema": { "type": "string", "format": "date-time" } }, { "name": "to", "in": "query", "schema": { "type": "string", "format": "date-time" } }, { "name": "customerIds", "in": "query", "schema": { "type": "array", "items": { "type": "integer", "format": "int64" } } }, { "name": "projectIds", "in": "query", "schema": { "type": "array", "items": { "type": "integer", "format": "int64" } } }, { "name": "questIds", "in": "query", "schema": { "type": "array", "items": { "type": "integer", "format": "int64" } } }, { "name": "clockIds", "in": "query", "schema": { "type": "array", "items": { "type": "integer", "format": "int64" } } }, { "name": "questAssigneeIds", "in": "query", "schema": { "type": "array", "items": { "type": "integer", "format": "int64" } } }, { "name": "memberIds", "in": "query", "schema": { "type": "array", "items": { "type": "integer", "format": "int64" } } }, { "name": "running", "in": "query", "schema": { "type": "boolean" } }, { "name": "company_id", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "Authorization", "in": "header", "schema": { "type": "string" } }, { "name": "Device-Token", "in": "header", "schema": { "type": "string" } }, { "name": "Client-Version", "in": "header", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ClockReadModel" } } }, "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ClockReadModel" } } }, "text/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ClockReadModel" } } }, "application/xml": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ClockReadModel" } } }, "text/xml": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ClockReadModel" } } } } } } } }, "/api/v1.0/company/{company_id}/Clock/clock-in": { "post": { "tags": [ "Clock" ], "summary": "MinLevel:Member", "operationId": "ClockIn", "parameters": [ { "name": "company_id", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "Authorization", "in": "header", "schema": { "type": "string" } }, { "name": "Device-Token", "in": "header", "schema": { "type": "string" } }, { "name": "Client-Version", "in": "header", "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ClockInModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ClockInModel" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/ClockInModel" } } } }, "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/ClockReadModel" } }, "application/json": { "schema": { "$ref": "#/components/schemas/ClockReadModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ClockReadModel" } }, "application/xml": { "schema": { "$ref": "#/components/schemas/ClockReadModel" } }, "text/xml": { "schema": { "$ref": "#/components/schemas/ClockReadModel" } } } } } } }, "/api/v1.0/company/{company_id}/Clock/clock-out": { "post": { "tags": [ "Clock" ], "summary": "MinLevel:Member", "operationId": "ClockOut", "parameters": [ { "name": "company_id", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "Authorization", "in": "header", "schema": { "type": "string" } }, { "name": "Device-Token", "in": "header", "schema": { "type": "string" } }, { "name": "Client-Version", "in": "header", "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ClockOutModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ClockOutModel" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/ClockOutModel" } } } }, "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/ClockReadModel" } }, "application/json": { "schema": { "$ref": "#/components/schemas/ClockReadModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ClockReadModel" } }, "application/xml": { "schema": { "$ref": "#/components/schemas/ClockReadModel" } }, "text/xml": { "schema": { "$ref": "#/components/schemas/ClockReadModel" } } } } } } }, "/api/v1.0/company/{company_id}/Customer": { "get": { "tags": [ "Customer" ], "summary": "MinLevel:Member", "operationId": "GetCustomers", "parameters": [ { "name": "fullTextFilter", "in": "query", "schema": { "type": "string" } }, { "name": "customerId", "in": "query", "schema": { "type": "integer", "format": "int64" } }, { "name": "customerIds", "in": "query", "schema": { "type": "array", "items": { "type": "integer", "format": "int64" } } }, { "name": "company_id", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "Authorization", "in": "header", "schema": { "type": "string" } }, { "name": "Device-Token", "in": "header", "schema": { "type": "string" } }, { "name": "Client-Version", "in": "header", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/CustomerReadModel" } } }, "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/CustomerReadModel" } } }, "text/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/CustomerReadModel" } } }, "application/xml": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/CustomerReadModel" } } }, "text/xml": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/CustomerReadModel" } } } } } } }, "post": { "tags": [ "Customer" ], "summary": "MinLevel:Admin", "operationId": "AddCustomer", "parameters": [ { "name": "company_id", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "Authorization", "in": "header", "schema": { "type": "string" } }, { "name": "Device-Token", "in": "header", "schema": { "type": "string" } }, { "name": "Client-Version", "in": "header", "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CustomerModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/CustomerModel" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/CustomerModel" } } } }, "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/CustomerReadModel" } }, "application/json": { "schema": { "$ref": "#/components/schemas/CustomerReadModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/CustomerReadModel" } }, "application/xml": { "schema": { "$ref": "#/components/schemas/CustomerReadModel" } }, "text/xml": { "schema": { "$ref": "#/components/schemas/CustomerReadModel" } } } } } } }, "/api/v1.0/company/{company_id}/Customer/{customerId}": { "get": { "tags": [ "Customer" ], "summary": "MinLevel:Member", "operationId": "GetCustomer", "parameters": [ { "name": "customerId", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } }, { "name": "company_id", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "Authorization", "in": "header", "schema": { "type": "string" } }, { "name": "Device-Token", "in": "header", "schema": { "type": "string" } }, { "name": "Client-Version", "in": "header", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/CustomerReadModel" } }, "application/json": { "schema": { "$ref": "#/components/schemas/CustomerReadModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/CustomerReadModel" } }, "application/xml": { "schema": { "$ref": "#/components/schemas/CustomerReadModel" } }, "text/xml": { "schema": { "$ref": "#/components/schemas/CustomerReadModel" } } } } } }, "patch": { "tags": [ "Customer" ], "summary": "MinLevel:Admin", "operationId": "UpdateCustomer", "parameters": [ { "name": "customerId", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } }, { "name": "company_id", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "Authorization", "in": "header", "schema": { "type": "string" } }, { "name": "Device-Token", "in": "header", "schema": { "type": "string" } }, { "name": "Client-Version", "in": "header", "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CustomerModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/CustomerModel" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/CustomerModel" } } } }, "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/CustomerReadModel" } }, "application/json": { "schema": { "$ref": "#/components/schemas/CustomerReadModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/CustomerReadModel" } }, "application/xml": { "schema": { "$ref": "#/components/schemas/CustomerReadModel" } }, "text/xml": { "schema": { "$ref": "#/components/schemas/CustomerReadModel" } } } } } }, "delete": { "tags": [ "Customer" ], "summary": "MinLevel:Admin", "operationId": "DeleteCustomer", "parameters": [ { "name": "customerId", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } }, { "name": "company_id", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "Authorization", "in": "header", "schema": { "type": "string" } }, { "name": "Device-Token", "in": "header", "schema": { "type": "string" } }, { "name": "Client-Version", "in": "header", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success" } } } }, "/api/v1.0/company/{company_id}/DailyWorkload": { "get": { "tags": [ "DailyWorkload" ], "summary": "MinLevel:Member", "operationId": "GetDailyWorkloads", "parameters": [ { "name": "customerId", "in": "query", "schema": { "type": "integer", "format": "int64" } }, { "name": "projectId", "in": "query", "schema": { "type": "integer", "format": "int64" } }, { "name": "questId", "in": "query", "schema": { "type": "integer", "format": "int64" } }, { "name": "dailyWorkloadId", "in": "query", "schema": { "type": "integer", "format": "int64" } }, { "name": "memberId", "in": "query", "schema": { "type": "integer", "format": "int64" } }, { "name": "limit", "in": "query", "schema": { "type": "integer", "format": "int32" } }, { "name": "offset", "in": "query", "schema": { "type": "integer", "format": "int32" } }, { "name": "from", "in": "query", "schema": { "type": "string", "format": "date" } }, { "name": "to", "in": "query", "schema": { "type": "string", "format": "date" } }, { "name": "fullTextFilter", "in": "query", "schema": { "type": "string" } }, { "name": "invoiceSent", "in": "query", "schema": { "type": "boolean" } }, { "name": "paid", "in": "query", "schema": { "type": "boolean" } }, { "name": "customerIds", "in": "query", "schema": { "type": "array", "items": { "type": "integer", "format": "int64" } } }, { "name": "projectIds", "in": "query", "schema": { "type": "array", "items": { "type": "integer", "format": "int64" } } }, { "name": "questIds", "in": "query", "schema": { "type": "array", "items": { "type": "integer", "format": "int64" } } }, { "name": "dailyWorkloadIds", "in": "query", "schema": { "type": "array", "items": { "type": "integer", "format": "int64" } } }, { "name": "questAssigneeIds", "in": "query", "schema": { "type": "array", "items": { "type": "integer", "format": "int64" } } }, { "name": "memberIds", "in": "query", "schema": { "type": "array", "items": { "type": "integer", "format": "int64" } } }, { "name": "locked", "in": "query", "schema": { "type": "boolean" } }, { "name": "workStepId", "in": "query", "schema": { "type": "integer", "format": "int64" } }, { "name": "workStepIds", "in": "query", "schema": { "type": "array", "items": { "type": "integer", "format": "int64" } } }, { "name": "closed", "in": "query", "schema": { "type": "boolean" } }, { "name": "labelIds", "in": "query", "schema": { "type": "array", "items": { "type": "integer", "format": "int64" } } }, { "name": "minDuration", "in": "query", "schema": { "type": "integer", "format": "int32" } }, { "name": "company_id", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "Authorization", "in": "header", "schema": { "type": "string" } }, { "name": "Device-Token", "in": "header", "schema": { "type": "string" } }, { "name": "Client-Version", "in": "header", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/DailyWorkloadContainerModel" } }, "application/json": { "schema": { "$ref": "#/components/schemas/DailyWorkloadContainerModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/DailyWorkloadContainerModel" } }, "application/xml": { "schema": { "$ref": "#/components/schemas/DailyWorkloadContainerModel" } }, "text/xml": { "schema": { "$ref": "#/components/schemas/DailyWorkloadContainerModel" } } } } } }, "post": { "tags": [ "DailyWorkload" ], "summary": "MinLevel:Member", "operationId": "AddDailyWorkload", "parameters": [ { "name": "company_id", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "Authorization", "in": "header", "schema": { "type": "string" } }, { "name": "Device-Token", "in": "header", "schema": { "type": "string" } }, { "name": "Client-Version", "in": "header", "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DailyWorkloadAddModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/DailyWorkloadAddModel" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/DailyWorkloadAddModel" } } } }, "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/DailyWorkloadReadModel" } }, "application/json": { "schema": { "$ref": "#/components/schemas/DailyWorkloadReadModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/DailyWorkloadReadModel" } }, "application/xml": { "schema": { "$ref": "#/components/schemas/DailyWorkloadReadModel" } }, "text/xml": { "schema": { "$ref": "#/components/schemas/DailyWorkloadReadModel" } } } } } } }, "/api/v1.0/company/{company_id}/DailyWorkload/export": { "get": { "tags": [ "DailyWorkload" ], "summary": "MinLevel:Admin", "operationId": "ExportDailyWorkloads", "parameters": [ { "name": "customerId", "in": "query", "schema": { "type": "integer", "format": "int64" } }, { "name": "projectId", "in": "query", "schema": { "type": "integer", "format": "int64" } }, { "name": "questId", "in": "query", "schema": { "type": "integer", "format": "int64" } }, { "name": "dailyWorkloadId", "in": "query", "schema": { "type": "integer", "format": "int64" } }, { "name": "memberId", "in": "query", "schema": { "type": "integer", "format": "int64" } }, { "name": "limit", "in": "query", "schema": { "type": "integer", "format": "int32" } }, { "name": "offset", "in": "query", "schema": { "type": "integer", "format": "int32" } }, { "name": "from", "in": "query", "schema": { "type": "string", "format": "date" } }, { "name": "to", "in": "query", "schema": { "type": "string", "format": "date" } }, { "name": "fullTextFilter", "in": "query", "schema": { "type": "string" } }, { "name": "invoiceSent", "in": "query", "schema": { "type": "boolean" } }, { "name": "paid", "in": "query", "schema": { "type": "boolean" } }, { "name": "customerIds", "in": "query", "schema": { "type": "array", "items": { "type": "integer", "format": "int64" } } }, { "name": "projectIds", "in": "query", "schema": { "type": "array", "items": { "type": "integer", "format": "int64" } } }, { "name": "questIds", "in": "query", "schema": { "type": "array", "items": { "type": "integer", "format": "int64" } } }, { "name": "dailyWorkloadIds", "in": "query", "schema": { "type": "array", "items": { "type": "integer", "format": "int64" } } }, { "name": "questAssigneeIds", "in": "query", "schema": { "type": "array", "items": { "type": "integer", "format": "int64" } } }, { "name": "memberIds", "in": "query", "schema": { "type": "array", "items": { "type": "integer", "format": "int64" } } }, { "name": "locked", "in": "query", "schema": { "type": "boolean" } }, { "name": "workStepId", "in": "query", "schema": { "type": "integer", "format": "int64" } }, { "name": "workStepIds", "in": "query", "schema": { "type": "array", "items": { "type": "integer", "format": "int64" } } }, { "name": "closed", "in": "query", "schema": { "type": "boolean" } }, { "name": "labelIds", "in": "query", "schema": { "type": "array", "items": { "type": "integer", "format": "int64" } } }, { "name": "minDuration", "in": "query", "schema": { "type": "integer", "format": "int32" } }, { "name": "sortingOrder", "in": "query", "schema": { "$ref": "#/components/schemas/DailyWorkloadExportSortingOrder" } }, { "name": "company_id", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "Authorization", "in": "header", "schema": { "type": "string" } }, { "name": "Device-Token", "in": "header", "schema": { "type": "string" } }, { "name": "Client-Version", "in": "header", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "application/octet-stream": { "schema": { "type": "string", "format": "binary" } } } } } } }, "/api/v1.0/company/{company_id}/DailyWorkload/{dailyWorkloadId}": { "get": { "tags": [ "DailyWorkload" ], "summary": "MinLevel:Member", "operationId": "GetDailyWorkload", "parameters": [ { "name": "dailyWorkloadId", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } }, { "name": "company_id", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "Authorization", "in": "header", "schema": { "type": "string" } }, { "name": "Device-Token", "in": "header", "schema": { "type": "string" } }, { "name": "Client-Version", "in": "header", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/DailyWorkloadReadModel" } }, "application/json": { "schema": { "$ref": "#/components/schemas/DailyWorkloadReadModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/DailyWorkloadReadModel" } }, "application/xml": { "schema": { "$ref": "#/components/schemas/DailyWorkloadReadModel" } }, "text/xml": { "schema": { "$ref": "#/components/schemas/DailyWorkloadReadModel" } } } } } }, "patch": { "tags": [ "DailyWorkload" ], "summary": "MinLevel:Member", "operationId": "UpdateDailyWorkload", "parameters": [ { "name": "dailyWorkloadId", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } }, { "name": "company_id", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "Authorization", "in": "header", "schema": { "type": "string" } }, { "name": "Device-Token", "in": "header", "schema": { "type": "string" } }, { "name": "Client-Version", "in": "header", "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/DailyWorkloadAddModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/DailyWorkloadAddModel" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/DailyWorkloadAddModel" } } } }, "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/DailyWorkloadReadModel" } }, "application/json": { "schema": { "$ref": "#/components/schemas/DailyWorkloadReadModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/DailyWorkloadReadModel" } }, "application/xml": { "schema": { "$ref": "#/components/schemas/DailyWorkloadReadModel" } }, "text/xml": { "schema": { "$ref": "#/components/schemas/DailyWorkloadReadModel" } } } } } }, "delete": { "tags": [ "DailyWorkload" ], "summary": "MinLevel:Member", "operationId": "DeleteDailyWorkload", "parameters": [ { "name": "dailyWorkloadId", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } }, { "name": "company_id", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "Authorization", "in": "header", "schema": { "type": "string" } }, { "name": "Device-Token", "in": "header", "schema": { "type": "string" } }, { "name": "Client-Version", "in": "header", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success" } } } }, "/api/v1.0/company/{company_id}/Event/{eventId}": { "get": { "tags": [ "Event" ], "summary": "MinLevel:Member", "operationId": "GetEvent", "parameters": [ { "name": "eventId", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } }, { "name": "company_id", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "Authorization", "in": "header", "schema": { "type": "string" } }, { "name": "Device-Token", "in": "header", "schema": { "type": "string" } }, { "name": "Client-Version", "in": "header", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/EventReadModel" } }, "application/json": { "schema": { "$ref": "#/components/schemas/EventReadModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/EventReadModel" } }, "application/xml": { "schema": { "$ref": "#/components/schemas/EventReadModel" } }, "text/xml": { "schema": { "$ref": "#/components/schemas/EventReadModel" } } } } } } }, "/api/v1.0/company/{company_id}/Event": { "get": { "tags": [ "Event" ], "summary": "MinLevel:Member", "operationId": "GetEvents", "parameters": [ { "name": "type", "in": "query", "schema": { "$ref": "#/components/schemas/EventType" } }, { "name": "from", "in": "query", "schema": { "type": "string", "format": "date-time" } }, { "name": "to", "in": "query", "schema": { "type": "string", "format": "date-time" } }, { "name": "memberId", "in": "query", "schema": { "type": "integer", "format": "int64" } }, { "name": "eventId", "in": "query", "schema": { "type": "integer", "format": "int64" } }, { "name": "company_id", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "Authorization", "in": "header", "schema": { "type": "string" } }, { "name": "Device-Token", "in": "header", "schema": { "type": "string" } }, { "name": "Client-Version", "in": "header", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/EventReadModel" } } }, "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/EventReadModel" } } }, "text/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/EventReadModel" } } }, "application/xml": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/EventReadModel" } } }, "text/xml": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/EventReadModel" } } } } } } }, "post": { "tags": [ "Event" ], "summary": "MinLevel:Member", "operationId": "AddMemberEvent", "parameters": [ { "name": "company_id", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "Authorization", "in": "header", "schema": { "type": "string" } }, { "name": "Device-Token", "in": "header", "schema": { "type": "string" } }, { "name": "Client-Version", "in": "header", "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/MemberEventModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/MemberEventModel" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/MemberEventModel" } } } }, "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/EventReadModel" } }, "application/json": { "schema": { "$ref": "#/components/schemas/EventReadModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/EventReadModel" } }, "application/xml": { "schema": { "$ref": "#/components/schemas/EventReadModel" } }, "text/xml": { "schema": { "$ref": "#/components/schemas/EventReadModel" } } } } } } }, "/api/v1.0/Event": { "post": { "tags": [ "Event" ], "summary": "MinLevel:WriteService", "operationId": "AddEvent", "parameters": [ { "name": "Authorization", "in": "header", "schema": { "type": "string" } }, { "name": "Device-Token", "in": "header", "schema": { "type": "string" } }, { "name": "Client-Version", "in": "header", "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/EventModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/EventModel" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/EventModel" } } } }, "responses": { "200": { "description": "Success" } } } }, "/api/v1.0/company/{company_id}/Gitlab/personalAccessToken/{personalAccessToken}": { "get": { "tags": [ "Gitlab" ], "summary": "MinLevel:Admin", "operationId": "GetProjectsByPersonalAccessToken", "parameters": [ { "name": "personalAccessToken", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "company_id", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "Authorization", "in": "header", "schema": { "type": "string" } }, { "name": "Device-Token", "in": "header", "schema": { "type": "string" } }, { "name": "Client-Version", "in": "header", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/GitlabProjectListModel" } } }, "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/GitlabProjectListModel" } } }, "text/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/GitlabProjectListModel" } } }, "application/xml": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/GitlabProjectListModel" } } }, "text/xml": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/GitlabProjectListModel" } } } } } } } }, "/api/v1.0/company/{company_id}/Gitlab/project/{projectId}": { "put": { "tags": [ "Gitlab" ], "summary": "MinLevel:Admin", "operationId": "SetupConnectionToGitlabProject", "parameters": [ { "name": "projectId", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } }, { "name": "company_id", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "Authorization", "in": "header", "schema": { "type": "string" } }, { "name": "Device-Token", "in": "header", "schema": { "type": "string" } }, { "name": "Client-Version", "in": "header", "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/GitlabProjectUpdateModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/GitlabProjectUpdateModel" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/GitlabProjectUpdateModel" } } } }, "responses": { "200": { "description": "Success" } } }, "delete": { "tags": [ "Gitlab" ], "summary": "MinLevel:Admin", "operationId": "RemoveConnectionToGitlabProject", "parameters": [ { "name": "projectId", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } }, { "name": "company_id", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "Authorization", "in": "header", "schema": { "type": "string" } }, { "name": "Device-Token", "in": "header", "schema": { "type": "string" } }, { "name": "Client-Version", "in": "header", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success" } } } }, "/api/v1.0/company/{company_id}/Gitlab/project/{projectId}/sync": { "post": { "tags": [ "Gitlab" ], "summary": "MinLevel:Admin", "operationId": "SyncGitlabProject", "parameters": [ { "name": "projectId", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } }, { "name": "company_id", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "Authorization", "in": "header", "schema": { "type": "string" } }, { "name": "Device-Token", "in": "header", "schema": { "type": "string" } }, { "name": "Client-Version", "in": "header", "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/GitlabSyncModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/GitlabSyncModel" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/GitlabSyncModel" } } }, "required": true }, "responses": { "200": { "description": "Success" } } } }, "/api/v1.0/GitlabHook/issue": { "post": { "tags": [ "GitlabHook" ], "summary": "MinLevel:Unknown", "operationId": "OnGitlabIssueChanged", "parameters": [ { "name": "Authorization", "in": "header", "schema": { "type": "string" } }, { "name": "Device-Token", "in": "header", "schema": { "type": "string" } }, { "name": "Client-Version", "in": "header", "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/IssueEventModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/IssueEventModel" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/IssueEventModel" } } }, "required": true }, "responses": { "200": { "description": "Success" } } } }, "/api/v1.0/Hello": { "get": { "tags": [ "Hello" ], "summary": "MinLevel:Unknown", "description": "Hello!", "operationId": "Hello", "parameters": [ { "name": "Authorization", "in": "header", "schema": { "type": "string" } }, { "name": "Device-Token", "in": "header", "schema": { "type": "string" } }, { "name": "Client-Version", "in": "header", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "type": "string" } }, "application/json": { "schema": { "type": "string" } }, "text/json": { "schema": { "type": "string" } }, "application/xml": { "schema": { "type": "string" } }, "text/xml": { "schema": { "type": "string" } } } } } } }, "/api/v1.0/Hello/future": { "get": { "tags": [ "Hello" ], "summary": "MinLevel:Unknown", "description": "Future Hello", "operationId": "TheNewHello", "parameters": [ { "name": "Authorization", "in": "header", "schema": { "type": "string" } }, { "name": "Device-Token", "in": "header", "schema": { "type": "string" } }, { "name": "Client-Version", "in": "header", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "type": "string" } }, "application/json": { "schema": { "type": "string" } }, "text/json": { "schema": { "type": "string" } }, "application/xml": { "schema": { "type": "string" } }, "text/xml": { "schema": { "type": "string" } } } } } } }, "/api/v1.0/company/{company_id}/Holiday": { "get": { "tags": [ "Holiday" ], "summary": "MinLevel:Member", "operationId": "GetHolidayRequests", "parameters": [ { "name": "memberId", "in": "query", "schema": { "type": "integer", "format": "int64" } }, { "name": "responseSeen", "in": "query", "schema": { "type": "boolean" } }, { "name": "setResponseSeen", "in": "query", "schema": { "type": "boolean", "default": false } }, { "name": "state", "in": "query", "schema": { "$ref": "#/components/schemas/HolidayRequestState" } }, { "name": "fromDate", "in": "query", "schema": { "type": "string", "format": "date" } }, { "name": "toDate", "in": "query", "schema": { "type": "string", "format": "date" } }, { "name": "memberIds", "in": "query", "schema": { "type": "array", "items": { "type": "integer", "format": "int64" } } }, { "name": "type", "in": "query", "schema": { "$ref": "#/components/schemas/HolidayRequestType" } }, { "name": "company_id", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "Authorization", "in": "header", "schema": { "type": "string" } }, { "name": "Device-Token", "in": "header", "schema": { "type": "string" } }, { "name": "Client-Version", "in": "header", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/HolidayRequestContainerModel" } }, "application/json": { "schema": { "$ref": "#/components/schemas/HolidayRequestContainerModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/HolidayRequestContainerModel" } }, "application/xml": { "schema": { "$ref": "#/components/schemas/HolidayRequestContainerModel" } }, "text/xml": { "schema": { "$ref": "#/components/schemas/HolidayRequestContainerModel" } } } } } }, "post": { "tags": [ "Holiday" ], "summary": "MinLevel:Member", "operationId": "AddHolidayRequest", "parameters": [ { "name": "company_id", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "Authorization", "in": "header", "schema": { "type": "string" } }, { "name": "Device-Token", "in": "header", "schema": { "type": "string" } }, { "name": "Client-Version", "in": "header", "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HolidayRequestAddModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/HolidayRequestAddModel" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/HolidayRequestAddModel" } } }, "required": true }, "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/HolidayRequestReadModel" } }, "application/json": { "schema": { "$ref": "#/components/schemas/HolidayRequestReadModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/HolidayRequestReadModel" } }, "application/xml": { "schema": { "$ref": "#/components/schemas/HolidayRequestReadModel" } }, "text/xml": { "schema": { "$ref": "#/components/schemas/HolidayRequestReadModel" } } } } } } }, "/api/v1.0/company/{company_id}/Holiday/{holidayRequestId}": { "get": { "tags": [ "Holiday" ], "summary": "MinLevel:Member", "operationId": "GetHolidayRequest", "parameters": [ { "name": "holidayRequestId", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } }, { "name": "company_id", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "Authorization", "in": "header", "schema": { "type": "string" } }, { "name": "Device-Token", "in": "header", "schema": { "type": "string" } }, { "name": "Client-Version", "in": "header", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/HolidayRequestReadModel" } }, "application/json": { "schema": { "$ref": "#/components/schemas/HolidayRequestReadModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/HolidayRequestReadModel" } }, "application/xml": { "schema": { "$ref": "#/components/schemas/HolidayRequestReadModel" } }, "text/xml": { "schema": { "$ref": "#/components/schemas/HolidayRequestReadModel" } } } } } }, "patch": { "tags": [ "Holiday" ], "summary": "MinLevel:Member", "operationId": "UpdateHolidayRequest", "parameters": [ { "name": "holidayRequestId", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } }, { "name": "company_id", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "Authorization", "in": "header", "schema": { "type": "string" } }, { "name": "Device-Token", "in": "header", "schema": { "type": "string" } }, { "name": "Client-Version", "in": "header", "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HolidayRequestAddModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/HolidayRequestAddModel" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/HolidayRequestAddModel" } } }, "required": true }, "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/HolidayRequestReadModel" } }, "application/json": { "schema": { "$ref": "#/components/schemas/HolidayRequestReadModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/HolidayRequestReadModel" } }, "application/xml": { "schema": { "$ref": "#/components/schemas/HolidayRequestReadModel" } }, "text/xml": { "schema": { "$ref": "#/components/schemas/HolidayRequestReadModel" } } } } } }, "delete": { "tags": [ "Holiday" ], "summary": "MinLevel:Member", "operationId": "DeleteHolidayRequest", "parameters": [ { "name": "holidayRequestId", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } }, { "name": "company_id", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "Authorization", "in": "header", "schema": { "type": "string" } }, { "name": "Device-Token", "in": "header", "schema": { "type": "string" } }, { "name": "Client-Version", "in": "header", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success" } } } }, "/api/v1.0/company/{company_id}/Holiday/duration": { "get": { "tags": [ "Holiday" ], "summary": "MinLevel:Member", "operationId": "GetDuration", "parameters": [ { "name": "fromDate", "in": "query", "required": true, "schema": { "type": "string", "format": "date" } }, { "name": "fromTime", "in": "query", "schema": { "type": "string", "format": "time" } }, { "name": "toDate", "in": "query", "required": true, "schema": { "type": "string", "format": "date" } }, { "name": "toTime", "in": "query", "schema": { "type": "string", "format": "time" } }, { "name": "company_id", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "Authorization", "in": "header", "schema": { "type": "string" } }, { "name": "Device-Token", "in": "header", "schema": { "type": "string" } }, { "name": "Client-Version", "in": "header", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/HolidayDuration" } }, "application/json": { "schema": { "$ref": "#/components/schemas/HolidayDuration" } }, "text/json": { "schema": { "$ref": "#/components/schemas/HolidayDuration" } }, "application/xml": { "schema": { "$ref": "#/components/schemas/HolidayDuration" } }, "text/xml": { "schema": { "$ref": "#/components/schemas/HolidayDuration" } } } } } } }, "/api/v1.0/company/{company_id}/Holiday/{holidayRequestId}/approve": { "post": { "tags": [ "Holiday" ], "summary": "MinLevel:Admin", "operationId": "ApproveHolidayRequest", "parameters": [ { "name": "holidayRequestId", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } }, { "name": "company_id", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "Authorization", "in": "header", "schema": { "type": "string" } }, { "name": "Device-Token", "in": "header", "schema": { "type": "string" } }, { "name": "Client-Version", "in": "header", "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HolidayRequestApproveModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/HolidayRequestApproveModel" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/HolidayRequestApproveModel" } } }, "required": true }, "responses": { "200": { "description": "Success" } } } }, "/api/v1.0/company/{company_id}/Holiday/{holidayRequestId}/reject": { "post": { "tags": [ "Holiday" ], "summary": "MinLevel:Admin", "operationId": "RejectHolidayRequest", "parameters": [ { "name": "holidayRequestId", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } }, { "name": "company_id", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "Authorization", "in": "header", "schema": { "type": "string" } }, { "name": "Device-Token", "in": "header", "schema": { "type": "string" } }, { "name": "Client-Version", "in": "header", "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HolidayRequestRejectModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/HolidayRequestRejectModel" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/HolidayRequestRejectModel" } } }, "required": true }, "responses": { "200": { "description": "Success" } } } }, "/api/v1.0/company/{company_id}/Label": { "get": { "tags": [ "Label" ], "summary": "MinLevel:Member", "operationId": "GetLabels", "parameters": [ { "name": "fullTextFilter", "in": "query", "schema": { "type": "string" } }, { "name": "labelId", "in": "query", "schema": { "type": "integer", "format": "int64" } }, { "name": "labelIds", "in": "query", "schema": { "type": "array", "items": { "type": "integer", "format": "int64" } } }, { "name": "archived", "in": "query", "schema": { "type": "boolean" } }, { "name": "toBeNotified", "in": "query", "schema": { "type": "boolean" } }, { "name": "company_id", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "Authorization", "in": "header", "schema": { "type": "string" } }, { "name": "Device-Token", "in": "header", "schema": { "type": "string" } }, { "name": "Client-Version", "in": "header", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/LabelReadModel" } } }, "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/LabelReadModel" } } }, "text/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/LabelReadModel" } } }, "application/xml": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/LabelReadModel" } } }, "text/xml": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/LabelReadModel" } } } } } } }, "post": { "tags": [ "Label" ], "summary": "MinLevel:Admin", "operationId": "AddLabel", "parameters": [ { "name": "company_id", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "Authorization", "in": "header", "schema": { "type": "string" } }, { "name": "Device-Token", "in": "header", "schema": { "type": "string" } }, { "name": "Client-Version", "in": "header", "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/LabelModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/LabelModel" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/LabelModel" } } } }, "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/LabelReadModel" } }, "application/json": { "schema": { "$ref": "#/components/schemas/LabelReadModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/LabelReadModel" } }, "application/xml": { "schema": { "$ref": "#/components/schemas/LabelReadModel" } }, "text/xml": { "schema": { "$ref": "#/components/schemas/LabelReadModel" } } } } } } }, "/api/v1.0/company/{company_id}/Label/{labelId}": { "get": { "tags": [ "Label" ], "summary": "MinLevel:Member", "operationId": "GetLabel", "parameters": [ { "name": "labelId", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } }, { "name": "company_id", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "Authorization", "in": "header", "schema": { "type": "string" } }, { "name": "Device-Token", "in": "header", "schema": { "type": "string" } }, { "name": "Client-Version", "in": "header", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/LabelReadModel" } }, "application/json": { "schema": { "$ref": "#/components/schemas/LabelReadModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/LabelReadModel" } }, "application/xml": { "schema": { "$ref": "#/components/schemas/LabelReadModel" } }, "text/xml": { "schema": { "$ref": "#/components/schemas/LabelReadModel" } } } } } }, "patch": { "tags": [ "Label" ], "summary": "MinLevel:Admin", "operationId": "UpdateLabel", "parameters": [ { "name": "labelId", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } }, { "name": "company_id", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "Authorization", "in": "header", "schema": { "type": "string" } }, { "name": "Device-Token", "in": "header", "schema": { "type": "string" } }, { "name": "Client-Version", "in": "header", "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/LabelModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/LabelModel" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/LabelModel" } } } }, "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/LabelReadModel" } }, "application/json": { "schema": { "$ref": "#/components/schemas/LabelReadModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/LabelReadModel" } }, "application/xml": { "schema": { "$ref": "#/components/schemas/LabelReadModel" } }, "text/xml": { "schema": { "$ref": "#/components/schemas/LabelReadModel" } } } } } }, "delete": { "tags": [ "Label" ], "summary": "MinLevel:Admin", "operationId": "DeleteLabel", "parameters": [ { "name": "labelId", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } }, { "name": "company_id", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "Authorization", "in": "header", "schema": { "type": "string" } }, { "name": "Device-Token", "in": "header", "schema": { "type": "string" } }, { "name": "Client-Version", "in": "header", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success" } } } }, "/api/v1.0/Login": { "post": { "tags": [ "Login" ], "summary": "MinLevel:Unknown", "operationId": "Login", "parameters": [ { "name": "Authorization", "in": "header", "required": true, "schema": { "type": "string" } }, { "name": "Device-Token", "in": "header", "required": true, "schema": { "type": "string" } }, { "name": "Client-Version", "in": "header", "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/LoginModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/LoginModel" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/LoginModel" } } } }, "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/WhoAmIModel" } }, "application/json": { "schema": { "$ref": "#/components/schemas/WhoAmIModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/WhoAmIModel" } }, "application/xml": { "schema": { "$ref": "#/components/schemas/WhoAmIModel" } }, "text/xml": { "schema": { "$ref": "#/components/schemas/WhoAmIModel" } } } } } } }, "/api/v1.0/Login/whoami": { "get": { "tags": [ "Login" ], "summary": "MinLevel:BaseUser", "operationId": "GetWhoIAm", "parameters": [ { "name": "Authorization", "in": "header", "schema": { "type": "string" } }, { "name": "Device-Token", "in": "header", "schema": { "type": "string" } }, { "name": "Client-Version", "in": "header", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/WhoAmIModel" } }, "application/json": { "schema": { "$ref": "#/components/schemas/WhoAmIModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/WhoAmIModel" } }, "application/xml": { "schema": { "$ref": "#/components/schemas/WhoAmIModel" } }, "text/xml": { "schema": { "$ref": "#/components/schemas/WhoAmIModel" } } } } } } }, "/api/v1.0/Login/delete": { "post": { "tags": [ "Login" ], "summary": "MinLevel:BaseUser", "operationId": "DeleteAccount", "parameters": [ { "name": "Authorization", "in": "header", "schema": { "type": "string" } }, { "name": "Device-Token", "in": "header", "schema": { "type": "string" } }, { "name": "Client-Version", "in": "header", "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AccountDeletionModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/AccountDeletionModel" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/AccountDeletionModel" } } }, "required": true }, "responses": { "200": { "description": "Success" } } } }, "/api/v1.0/company/{company_id}/Member": { "get": { "tags": [ "Member" ], "summary": "MinLevel:Member", "operationId": "GetMembers", "parameters": [ { "name": "fullTextFilter", "in": "query", "schema": { "type": "string" } }, { "name": "memberId", "in": "query", "schema": { "type": "integer", "format": "int64" } }, { "name": "memberIds", "in": "query", "schema": { "type": "array", "items": { "type": "integer", "format": "int64" } } }, { "name": "company_id", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "Authorization", "in": "header", "schema": { "type": "string" } }, { "name": "Device-Token", "in": "header", "schema": { "type": "string" } }, { "name": "Client-Version", "in": "header", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/MemberReadModel" } } }, "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/MemberReadModel" } } }, "text/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/MemberReadModel" } } }, "application/xml": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/MemberReadModel" } } }, "text/xml": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/MemberReadModel" } } } } } } }, "post": { "tags": [ "Member" ], "summary": "MinLevel:Admin", "operationId": "AddMember", "parameters": [ { "name": "company_id", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "Authorization", "in": "header", "schema": { "type": "string" } }, { "name": "Device-Token", "in": "header", "schema": { "type": "string" } }, { "name": "Client-Version", "in": "header", "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/MemberModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/MemberModel" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/MemberModel" } } } }, "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/MemberReadModel" } }, "application/json": { "schema": { "$ref": "#/components/schemas/MemberReadModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/MemberReadModel" } }, "application/xml": { "schema": { "$ref": "#/components/schemas/MemberReadModel" } }, "text/xml": { "schema": { "$ref": "#/components/schemas/MemberReadModel" } } } } } } }, "/api/v1.0/company/{company_id}/Member/{memberId}": { "get": { "tags": [ "Member" ], "summary": "MinLevel:Member", "operationId": "GetMember", "parameters": [ { "name": "memberId", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } }, { "name": "company_id", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "Authorization", "in": "header", "schema": { "type": "string" } }, { "name": "Device-Token", "in": "header", "schema": { "type": "string" } }, { "name": "Client-Version", "in": "header", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/MemberReadModel" } }, "application/json": { "schema": { "$ref": "#/components/schemas/MemberReadModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/MemberReadModel" } }, "application/xml": { "schema": { "$ref": "#/components/schemas/MemberReadModel" } }, "text/xml": { "schema": { "$ref": "#/components/schemas/MemberReadModel" } } } } } }, "patch": { "tags": [ "Member" ], "summary": "MinLevel:Admin", "operationId": "UpdateMember", "parameters": [ { "name": "memberId", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } }, { "name": "company_id", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "Authorization", "in": "header", "schema": { "type": "string" } }, { "name": "Device-Token", "in": "header", "schema": { "type": "string" } }, { "name": "Client-Version", "in": "header", "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/MemberModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/MemberModel" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/MemberModel" } } } }, "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/MemberReadModel" } }, "application/json": { "schema": { "$ref": "#/components/schemas/MemberReadModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/MemberReadModel" } }, "application/xml": { "schema": { "$ref": "#/components/schemas/MemberReadModel" } }, "text/xml": { "schema": { "$ref": "#/components/schemas/MemberReadModel" } } } } } }, "delete": { "tags": [ "Member" ], "summary": "MinLevel:Admin", "operationId": "DeleteMember", "parameters": [ { "name": "memberId", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } }, { "name": "company_id", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "Authorization", "in": "header", "schema": { "type": "string" } }, { "name": "Device-Token", "in": "header", "schema": { "type": "string" } }, { "name": "Client-Version", "in": "header", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success" } } } }, "/api/v1.0/company/{company_id}/PlannedWorkload/{plannedWorkloadId}": { "get": { "tags": [ "PlannedWorkload" ], "summary": "MinLevel:Admin", "operationId": "GetPlannedWorkload", "parameters": [ { "name": "plannedWorkloadId", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } }, { "name": "company_id", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "Authorization", "in": "header", "schema": { "type": "string" } }, { "name": "Device-Token", "in": "header", "schema": { "type": "string" } }, { "name": "Client-Version", "in": "header", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/PlannedWorkloadReadModel" } }, "application/json": { "schema": { "$ref": "#/components/schemas/PlannedWorkloadReadModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/PlannedWorkloadReadModel" } }, "application/xml": { "schema": { "$ref": "#/components/schemas/PlannedWorkloadReadModel" } }, "text/xml": { "schema": { "$ref": "#/components/schemas/PlannedWorkloadReadModel" } } } } } }, "patch": { "tags": [ "PlannedWorkload" ], "summary": "MinLevel:Admin", "operationId": "UpdatePlannedWorkload", "parameters": [ { "name": "plannedWorkloadId", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } }, { "name": "company_id", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "Authorization", "in": "header", "schema": { "type": "string" } }, { "name": "Device-Token", "in": "header", "schema": { "type": "string" } }, { "name": "Client-Version", "in": "header", "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PlannedWorkloadModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/PlannedWorkloadModel" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/PlannedWorkloadModel" } } } }, "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/PlannedWorkloadReadModel" } }, "application/json": { "schema": { "$ref": "#/components/schemas/PlannedWorkloadReadModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/PlannedWorkloadReadModel" } }, "application/xml": { "schema": { "$ref": "#/components/schemas/PlannedWorkloadReadModel" } }, "text/xml": { "schema": { "$ref": "#/components/schemas/PlannedWorkloadReadModel" } } } } } }, "delete": { "tags": [ "PlannedWorkload" ], "summary": "MinLevel:Admin", "operationId": "DeletePlannedWorkload", "parameters": [ { "name": "plannedWorkloadId", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } }, { "name": "company_id", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "Authorization", "in": "header", "schema": { "type": "string" } }, { "name": "Device-Token", "in": "header", "schema": { "type": "string" } }, { "name": "Client-Version", "in": "header", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success" } } } }, "/api/v1.0/company/{company_id}/PlannedWorkload": { "get": { "tags": [ "PlannedWorkload" ], "summary": "MinLevel:Admin", "operationId": "GetPlannedWorkloads", "parameters": [ { "name": "starDateFrom", "in": "query", "schema": { "type": "string", "format": "date" } }, { "name": "starDateTo", "in": "query", "schema": { "type": "string", "format": "date" } }, { "name": "memberIds", "in": "query", "schema": { "type": "array", "items": { "type": "integer", "format": "int64" } } }, { "name": "company_id", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "Authorization", "in": "header", "schema": { "type": "string" } }, { "name": "Device-Token", "in": "header", "schema": { "type": "string" } }, { "name": "Client-Version", "in": "header", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/PlannedWorkloadReadModel" } } }, "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/PlannedWorkloadReadModel" } } }, "text/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/PlannedWorkloadReadModel" } } }, "application/xml": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/PlannedWorkloadReadModel" } } }, "text/xml": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/PlannedWorkloadReadModel" } } } } } } }, "post": { "tags": [ "PlannedWorkload" ], "summary": "MinLevel:Admin", "operationId": "AddPlannedWorkload", "parameters": [ { "name": "company_id", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "Authorization", "in": "header", "schema": { "type": "string" } }, { "name": "Device-Token", "in": "header", "schema": { "type": "string" } }, { "name": "Client-Version", "in": "header", "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PlannedWorkloadModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/PlannedWorkloadModel" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/PlannedWorkloadModel" } } } }, "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/PlannedWorkloadReadModel" } }, "application/json": { "schema": { "$ref": "#/components/schemas/PlannedWorkloadReadModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/PlannedWorkloadReadModel" } }, "application/xml": { "schema": { "$ref": "#/components/schemas/PlannedWorkloadReadModel" } }, "text/xml": { "schema": { "$ref": "#/components/schemas/PlannedWorkloadReadModel" } } } } } } }, "/api/v1.0/company/{company_id}/Project": { "get": { "tags": [ "Project" ], "summary": "MinLevel:Member", "operationId": "GetProjects", "parameters": [ { "name": "customerId", "in": "query", "schema": { "type": "integer", "format": "int64" } }, { "name": "fullTextFilter", "in": "query", "schema": { "type": "string" } }, { "name": "customerIds", "in": "query", "schema": { "type": "array", "items": { "type": "integer", "format": "int64" } } }, { "name": "projectIds", "in": "query", "schema": { "type": "array", "items": { "type": "integer", "format": "int64" } } }, { "name": "projectId", "in": "query", "schema": { "type": "integer", "format": "int64" } }, { "name": "inactive", "in": "query", "schema": { "type": "boolean" } }, { "name": "company_id", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "Authorization", "in": "header", "schema": { "type": "string" } }, { "name": "Device-Token", "in": "header", "schema": { "type": "string" } }, { "name": "Client-Version", "in": "header", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ProjectReadModel" } } }, "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ProjectReadModel" } } }, "text/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ProjectReadModel" } } }, "application/xml": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ProjectReadModel" } } }, "text/xml": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/ProjectReadModel" } } } } } } }, "post": { "tags": [ "Project" ], "summary": "MinLevel:Admin", "operationId": "AddProject", "parameters": [ { "name": "company_id", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "Authorization", "in": "header", "schema": { "type": "string" } }, { "name": "Device-Token", "in": "header", "schema": { "type": "string" } }, { "name": "Client-Version", "in": "header", "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProjectModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ProjectModel" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/ProjectModel" } } } }, "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/ProjectReadModel" } }, "application/json": { "schema": { "$ref": "#/components/schemas/ProjectReadModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ProjectReadModel" } }, "application/xml": { "schema": { "$ref": "#/components/schemas/ProjectReadModel" } }, "text/xml": { "schema": { "$ref": "#/components/schemas/ProjectReadModel" } } } } } } }, "/api/v1.0/company/{company_id}/Project/{projectId}": { "get": { "tags": [ "Project" ], "summary": "MinLevel:Member", "operationId": "GetProject", "parameters": [ { "name": "projectId", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } }, { "name": "company_id", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "Authorization", "in": "header", "schema": { "type": "string" } }, { "name": "Device-Token", "in": "header", "schema": { "type": "string" } }, { "name": "Client-Version", "in": "header", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/ProjectReadModel" } }, "application/json": { "schema": { "$ref": "#/components/schemas/ProjectReadModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ProjectReadModel" } }, "application/xml": { "schema": { "$ref": "#/components/schemas/ProjectReadModel" } }, "text/xml": { "schema": { "$ref": "#/components/schemas/ProjectReadModel" } } } } } }, "patch": { "tags": [ "Project" ], "summary": "MinLevel:Admin", "operationId": "UpdateProject", "parameters": [ { "name": "projectId", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } }, { "name": "company_id", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "Authorization", "in": "header", "schema": { "type": "string" } }, { "name": "Device-Token", "in": "header", "schema": { "type": "string" } }, { "name": "Client-Version", "in": "header", "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ProjectModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ProjectModel" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/ProjectModel" } } } }, "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/ProjectReadModel" } }, "application/json": { "schema": { "$ref": "#/components/schemas/ProjectReadModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/ProjectReadModel" } }, "application/xml": { "schema": { "$ref": "#/components/schemas/ProjectReadModel" } }, "text/xml": { "schema": { "$ref": "#/components/schemas/ProjectReadModel" } } } } } }, "delete": { "tags": [ "Project" ], "summary": "MinLevel:Admin", "operationId": "DeleteProject", "parameters": [ { "name": "projectId", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } }, { "name": "company_id", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "Authorization", "in": "header", "schema": { "type": "string" } }, { "name": "Device-Token", "in": "header", "schema": { "type": "string" } }, { "name": "Client-Version", "in": "header", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success" } } } }, "/api/v1.0/company/{company_id}/Quest": { "get": { "tags": [ "Quest" ], "summary": "MinLevel:Member", "operationId": "GetQuests", "parameters": [ { "name": "customerId", "in": "query", "schema": { "type": "integer", "format": "int64" } }, { "name": "projectId", "in": "query", "schema": { "type": "integer", "format": "int64" } }, { "name": "questId", "in": "query", "schema": { "type": "integer", "format": "int64" } }, { "name": "isCompleted", "in": "query", "schema": { "type": "boolean" } }, { "name": "assigneeId", "in": "query", "schema": { "type": "integer", "format": "int64" } }, { "name": "limit", "in": "query", "schema": { "type": "integer", "format": "int32" } }, { "name": "offset", "in": "query", "schema": { "type": "integer", "format": "int32" } }, { "name": "invoiceSent", "in": "query", "schema": { "type": "boolean" } }, { "name": "paid", "in": "query", "schema": { "type": "boolean" } }, { "name": "fullTextFilter", "in": "query", "schema": { "type": "string" } }, { "name": "sortingOrder", "in": "query", "schema": { "$ref": "#/components/schemas/QuestSortingOrder" } }, { "name": "customerIds", "in": "query", "schema": { "type": "array", "items": { "type": "integer", "format": "int64" } } }, { "name": "projectIds", "in": "query", "schema": { "type": "array", "items": { "type": "integer", "format": "int64" } } }, { "name": "questIds", "in": "query", "schema": { "type": "array", "items": { "type": "integer", "format": "int64" } } }, { "name": "assigneeIds", "in": "query", "schema": { "type": "array", "items": { "type": "integer", "format": "int64" } } }, { "name": "openedOnFrom", "in": "query", "schema": { "type": "string", "format": "date" } }, { "name": "openedOnTo", "in": "query", "schema": { "type": "string", "format": "date" } }, { "name": "closedOnFrom", "in": "query", "schema": { "type": "string", "format": "date" } }, { "name": "closedOnTo", "in": "query", "schema": { "type": "string", "format": "date" } }, { "name": "locked", "in": "query", "schema": { "type": "boolean" } }, { "name": "workStepId", "in": "query", "schema": { "type": "integer", "format": "int64" } }, { "name": "labelIds", "in": "query", "schema": { "type": "array", "items": { "type": "integer", "format": "int64" } } }, { "name": "closed", "in": "query", "schema": { "type": "boolean" } }, { "name": "questsWithoutWorkstep", "in": "query", "schema": { "type": "boolean" } }, { "name": "questsWithToBeNotifiedController", "in": "query", "schema": { "type": "boolean" } }, { "name": "sensitive", "in": "query", "schema": { "type": "boolean" } }, { "name": "company_id", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "Authorization", "in": "header", "schema": { "type": "string" } }, { "name": "Device-Token", "in": "header", "schema": { "type": "string" } }, { "name": "Client-Version", "in": "header", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/QuestListModel" } } }, "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/QuestListModel" } } }, "text/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/QuestListModel" } } }, "application/xml": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/QuestListModel" } } }, "text/xml": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/QuestListModel" } } } } } } }, "post": { "tags": [ "Quest" ], "summary": "MinLevel:Admin", "operationId": "AddQuest", "parameters": [ { "name": "company_id", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "Authorization", "in": "header", "schema": { "type": "string" } }, { "name": "Device-Token", "in": "header", "schema": { "type": "string" } }, { "name": "Client-Version", "in": "header", "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/QuestAddModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/QuestAddModel" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/QuestAddModel" } } } }, "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/QuestReadModel" } }, "application/json": { "schema": { "$ref": "#/components/schemas/QuestReadModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/QuestReadModel" } }, "application/xml": { "schema": { "$ref": "#/components/schemas/QuestReadModel" } }, "text/xml": { "schema": { "$ref": "#/components/schemas/QuestReadModel" } } } } } } }, "/api/v1.0/company/{company_id}/Quest/{questId}": { "get": { "tags": [ "Quest" ], "summary": "MinLevel:Member", "operationId": "GetQuest", "parameters": [ { "name": "questId", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } }, { "name": "company_id", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "Authorization", "in": "header", "schema": { "type": "string" } }, { "name": "Device-Token", "in": "header", "schema": { "type": "string" } }, { "name": "Client-Version", "in": "header", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/QuestReadModel" } }, "application/json": { "schema": { "$ref": "#/components/schemas/QuestReadModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/QuestReadModel" } }, "application/xml": { "schema": { "$ref": "#/components/schemas/QuestReadModel" } }, "text/xml": { "schema": { "$ref": "#/components/schemas/QuestReadModel" } } } } } }, "patch": { "tags": [ "Quest" ], "summary": "MinLevel:Member", "operationId": "UpdateQuest", "parameters": [ { "name": "questId", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } }, { "name": "company_id", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "Authorization", "in": "header", "schema": { "type": "string" } }, { "name": "Device-Token", "in": "header", "schema": { "type": "string" } }, { "name": "Client-Version", "in": "header", "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/QuestAddModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/QuestAddModel" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/QuestAddModel" } } } }, "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/QuestReadModel" } }, "application/json": { "schema": { "$ref": "#/components/schemas/QuestReadModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/QuestReadModel" } }, "application/xml": { "schema": { "$ref": "#/components/schemas/QuestReadModel" } }, "text/xml": { "schema": { "$ref": "#/components/schemas/QuestReadModel" } } } } } }, "delete": { "tags": [ "Quest" ], "summary": "MinLevel:Admin", "operationId": "DeleteQuest", "parameters": [ { "name": "questId", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } }, { "name": "company_id", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "Authorization", "in": "header", "schema": { "type": "string" } }, { "name": "Device-Token", "in": "header", "schema": { "type": "string" } }, { "name": "Client-Version", "in": "header", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success" } } } }, "/api/v1.0/company/{company_id}/Quest/clone": { "post": { "tags": [ "Quest" ], "summary": "MinLevel:Member", "operationId": "CloneQuest", "parameters": [ { "name": "company_id", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "Authorization", "in": "header", "schema": { "type": "string" } }, { "name": "Device-Token", "in": "header", "schema": { "type": "string" } }, { "name": "Client-Version", "in": "header", "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/QuestCloneModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/QuestCloneModel" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/QuestCloneModel" } } } }, "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/QuestReadModel" } }, "application/json": { "schema": { "$ref": "#/components/schemas/QuestReadModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/QuestReadModel" } }, "application/xml": { "schema": { "$ref": "#/components/schemas/QuestReadModel" } }, "text/xml": { "schema": { "$ref": "#/components/schemas/QuestReadModel" } } } } } } }, "/api/v1.0/company/{company_id}/Quest/{questId}/workstep": { "patch": { "tags": [ "Quest" ], "summary": "MinLevel:Member", "operationId": "UpdateWorkingStepForQuest", "parameters": [ { "name": "questId", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } }, { "name": "company_id", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "Authorization", "in": "header", "schema": { "type": "string" } }, { "name": "Device-Token", "in": "header", "schema": { "type": "string" } }, { "name": "Client-Version", "in": "header", "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/QuestWorkingStepUpdateModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/QuestWorkingStepUpdateModel" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/QuestWorkingStepUpdateModel" } } } }, "responses": { "200": { "description": "Success" } } } }, "/api/v1.0/company/{company_id}/Quest/{questId}/closeQuest": { "patch": { "tags": [ "Quest" ], "summary": "MinLevel:Admin", "operationId": "CloseQuest", "parameters": [ { "name": "questId", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } }, { "name": "company_id", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "Authorization", "in": "header", "schema": { "type": "string" } }, { "name": "Device-Token", "in": "header", "schema": { "type": "string" } }, { "name": "Client-Version", "in": "header", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success" } } } }, "/api/v1.0/company/{company_id}/Quest/{questId}/reOpenQuest": { "patch": { "tags": [ "Quest" ], "summary": "MinLevel:Admin", "operationId": "ReOpenQuest", "parameters": [ { "name": "questId", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } }, { "name": "company_id", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "Authorization", "in": "header", "schema": { "type": "string" } }, { "name": "Device-Token", "in": "header", "schema": { "type": "string" } }, { "name": "Client-Version", "in": "header", "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/QuestWorkingStepUpdateModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/QuestWorkingStepUpdateModel" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/QuestWorkingStepUpdateModel" } } } }, "responses": { "200": { "description": "Success" } } } }, "/api/v1.0/company/{company_id}/Quest/bulk": { "patch": { "tags": [ "Quest" ], "summary": "MinLevel:Member", "operationId": "UpdateQuests", "parameters": [ { "name": "company_id", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "Authorization", "in": "header", "schema": { "type": "string" } }, { "name": "Device-Token", "in": "header", "schema": { "type": "string" } }, { "name": "Client-Version", "in": "header", "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/QuestsBulkUpdateModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/QuestsBulkUpdateModel" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/QuestsBulkUpdateModel" } } }, "required": true }, "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/QuestReadModel" } } }, "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/QuestReadModel" } } }, "text/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/QuestReadModel" } } }, "application/xml": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/QuestReadModel" } } }, "text/xml": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/QuestReadModel" } } } } } } } }, "/api/v1.0/company/{company_id}/Quest/move/{questId}/before": { "post": { "tags": [ "Quest" ], "summary": "MinLevel:Admin", "operationId": "MoveQuestBefore", "parameters": [ { "name": "questId", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } }, { "name": "company_id", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "Authorization", "in": "header", "schema": { "type": "string" } }, { "name": "Device-Token", "in": "header", "schema": { "type": "string" } }, { "name": "Client-Version", "in": "header", "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/MoveQuestModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/MoveQuestModel" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/MoveQuestModel" } } } }, "responses": { "200": { "description": "Success" } } } }, "/api/v1.0/company/{company_id}/Quest/move/{questId}/after": { "post": { "tags": [ "Quest" ], "summary": "MinLevel:Admin", "operationId": "MoveQuestAfter", "parameters": [ { "name": "questId", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } }, { "name": "company_id", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "Authorization", "in": "header", "schema": { "type": "string" } }, { "name": "Device-Token", "in": "header", "schema": { "type": "string" } }, { "name": "Client-Version", "in": "header", "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/MoveQuestModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/MoveQuestModel" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/MoveQuestModel" } } } }, "responses": { "200": { "description": "Success" } } } }, "/api/v1.0/company/{company_id}/Quest/{questId}/files": { "get": { "tags": [ "Quest" ], "summary": "MinLevel:Member", "operationId": "GetQuestFiles", "parameters": [ { "name": "questId", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } }, { "name": "company_id", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "Authorization", "in": "header", "schema": { "type": "string" } }, { "name": "Device-Token", "in": "header", "schema": { "type": "string" } }, { "name": "Client-Version", "in": "header", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/FileInfoModel" } } }, "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/FileInfoModel" } } }, "text/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/FileInfoModel" } } }, "application/xml": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/FileInfoModel" } } }, "text/xml": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/FileInfoModel" } } } } } } } }, "/api/v1.0/company/{company_id}/QuestAttachment/{fileId}/download": { "get": { "tags": [ "QuestAttachment" ], "summary": "MinLevel:Member", "operationId": "DownloadQuestAttachment", "parameters": [ { "name": "fileId", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } }, { "name": "company_id", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "Authorization", "in": "header", "schema": { "type": "string" } }, { "name": "Device-Token", "in": "header", "schema": { "type": "string" } }, { "name": "Client-Version", "in": "header", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "application/octet-stream": { "schema": { "type": "string", "format": "binary" } } } } } } }, "/api/v1.0/company/{company_id}/QuestAttachment/upload/quest/{questId}": { "post": { "tags": [ "QuestAttachment" ], "summary": "MinLevel:Member", "operationId": "UploadQuestFile", "parameters": [ { "name": "questId", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } }, { "name": "overrideExistingFile", "in": "query", "schema": { "type": "boolean" } }, { "name": "company_id", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "Authorization", "in": "header", "schema": { "type": "string" } }, { "name": "Device-Token", "in": "header", "schema": { "type": "string" } }, { "name": "Client-Version", "in": "header", "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/IMultipartContent" } }, "text/json": { "schema": { "$ref": "#/components/schemas/IMultipartContent" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/IMultipartContent" } } } }, "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/FileInfoModel" } }, "application/json": { "schema": { "$ref": "#/components/schemas/FileInfoModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/FileInfoModel" } }, "application/xml": { "schema": { "$ref": "#/components/schemas/FileInfoModel" } }, "text/xml": { "schema": { "$ref": "#/components/schemas/FileInfoModel" } } } } } } }, "/api/v1.0/company/{company_id}/QuestAttachment/{fileId}": { "delete": { "tags": [ "QuestAttachment" ], "summary": "MinLevel:Member", "operationId": "DeleteFile", "parameters": [ { "name": "fileId", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } }, { "name": "company_id", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "Authorization", "in": "header", "schema": { "type": "string" } }, { "name": "Device-Token", "in": "header", "schema": { "type": "string" } }, { "name": "Client-Version", "in": "header", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success" } } } }, "/api/v1.0/company/{company_id}/TimelineTab": { "get": { "tags": [ "TimelineTab" ], "summary": "MinLevel:Admin", "operationId": "GetTimelineTab", "parameters": [ { "name": "from", "in": "query", "required": true, "schema": { "type": "string", "format": "date" } }, { "name": "to", "in": "query", "required": true, "schema": { "type": "string", "format": "date" } }, { "name": "company_id", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "Authorization", "in": "header", "schema": { "type": "string" } }, { "name": "Device-Token", "in": "header", "schema": { "type": "string" } }, { "name": "Client-Version", "in": "header", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/TimelineTabModel" } }, "application/json": { "schema": { "$ref": "#/components/schemas/TimelineTabModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/TimelineTabModel" } }, "application/xml": { "schema": { "$ref": "#/components/schemas/TimelineTabModel" } }, "text/xml": { "schema": { "$ref": "#/components/schemas/TimelineTabModel" } } } } } } }, "/api/v1.0/company/{company_id}/WorkingHours/export": { "get": { "tags": [ "WorkingHours" ], "summary": "MinLevel:Member", "operationId": "ExportWorkingHours", "parameters": [ { "name": "memberId", "in": "query", "required": true, "schema": { "type": "integer", "format": "int64" } }, { "name": "year", "in": "query", "required": true, "schema": { "type": "integer", "format": "int32" } }, { "name": "month", "in": "query", "required": true, "schema": { "type": "integer", "format": "int32" } }, { "name": "company_id", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "Authorization", "in": "header", "schema": { "type": "string" } }, { "name": "Device-Token", "in": "header", "schema": { "type": "string" } }, { "name": "Client-Version", "in": "header", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "application/octet-stream": { "schema": { "type": "string", "format": "binary" } } } } } } }, "/api/v1.0/company/{company_id}/WorkStep": { "get": { "tags": [ "WorkStep" ], "summary": "MinLevel:Member", "operationId": "GetWorkSteps", "parameters": [ { "name": "workStepId", "in": "query", "schema": { "type": "integer", "format": "int64" } }, { "name": "workStepIds", "in": "query", "schema": { "type": "array", "items": { "type": "integer", "format": "int64" } } }, { "name": "company_id", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "Authorization", "in": "header", "schema": { "type": "string" } }, { "name": "Device-Token", "in": "header", "schema": { "type": "string" } }, { "name": "Client-Version", "in": "header", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/WorkStepReadModel" } } }, "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/WorkStepReadModel" } } }, "text/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/WorkStepReadModel" } } }, "application/xml": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/WorkStepReadModel" } } }, "text/xml": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/WorkStepReadModel" } } } } } } }, "post": { "tags": [ "WorkStep" ], "summary": "MinLevel:Admin", "operationId": "AddWorkStep", "parameters": [ { "name": "company_id", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "Authorization", "in": "header", "schema": { "type": "string" } }, { "name": "Device-Token", "in": "header", "schema": { "type": "string" } }, { "name": "Client-Version", "in": "header", "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/WorkStepModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/WorkStepModel" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/WorkStepModel" } } } }, "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/WorkStepReadModel" } }, "application/json": { "schema": { "$ref": "#/components/schemas/WorkStepReadModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/WorkStepReadModel" } }, "application/xml": { "schema": { "$ref": "#/components/schemas/WorkStepReadModel" } }, "text/xml": { "schema": { "$ref": "#/components/schemas/WorkStepReadModel" } } } } } } }, "/api/v1.0/company/{company_id}/WorkStep/{workStepId}": { "get": { "tags": [ "WorkStep" ], "summary": "MinLevel:Member", "operationId": "GetWorkStep", "parameters": [ { "name": "workStepId", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } }, { "name": "company_id", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "Authorization", "in": "header", "schema": { "type": "string" } }, { "name": "Device-Token", "in": "header", "schema": { "type": "string" } }, { "name": "Client-Version", "in": "header", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/WorkStepReadModel" } }, "application/json": { "schema": { "$ref": "#/components/schemas/WorkStepReadModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/WorkStepReadModel" } }, "application/xml": { "schema": { "$ref": "#/components/schemas/WorkStepReadModel" } }, "text/xml": { "schema": { "$ref": "#/components/schemas/WorkStepReadModel" } } } } } }, "patch": { "tags": [ "WorkStep" ], "summary": "MinLevel:Admin", "operationId": "UpdateWorkStep", "parameters": [ { "name": "workStepId", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } }, { "name": "company_id", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "Authorization", "in": "header", "schema": { "type": "string" } }, { "name": "Device-Token", "in": "header", "schema": { "type": "string" } }, { "name": "Client-Version", "in": "header", "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/WorkStepModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/WorkStepModel" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/WorkStepModel" } } } }, "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "$ref": "#/components/schemas/WorkStepReadModel" } }, "application/json": { "schema": { "$ref": "#/components/schemas/WorkStepReadModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/WorkStepReadModel" } }, "application/xml": { "schema": { "$ref": "#/components/schemas/WorkStepReadModel" } }, "text/xml": { "schema": { "$ref": "#/components/schemas/WorkStepReadModel" } } } } } }, "delete": { "tags": [ "WorkStep" ], "summary": "MinLevel:Admin", "operationId": "DeleteWorkStep", "parameters": [ { "name": "workStepId", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } }, { "name": "company_id", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "Authorization", "in": "header", "schema": { "type": "string" } }, { "name": "Device-Token", "in": "header", "schema": { "type": "string" } }, { "name": "Client-Version", "in": "header", "schema": { "type": "string" } } ], "responses": { "200": { "description": "Success" } } } }, "/api/v1.0/company/{company_id}/WorkStep/sequence": { "put": { "tags": [ "WorkStep" ], "summary": "MinLevel:Admin", "operationId": "UpdateWorkStepSequence", "parameters": [ { "name": "company_id", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "Authorization", "in": "header", "schema": { "type": "string" } }, { "name": "Device-Token", "in": "header", "schema": { "type": "string" } }, { "name": "Client-Version", "in": "header", "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/WorkStepSequenceModel" } }, "text/json": { "schema": { "$ref": "#/components/schemas/WorkStepSequenceModel" } }, "application/*+json": { "schema": { "$ref": "#/components/schemas/WorkStepSequenceModel" } } } }, "responses": { "200": { "description": "Success", "content": { "text/plain": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/WorkStepReadModel" } } }, "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/WorkStepReadModel" } } }, "text/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/WorkStepReadModel" } } }, "application/xml": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/WorkStepReadModel" } } }, "text/xml": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/WorkStepReadModel" } } } } } } } } }, "components": { "schemas": { "AccountDeletionModel": { "type": "object", "properties": { "Reason": { "type": "string", "nullable": true } }, "additionalProperties": false }, "BooleanDtoField": { "type": "object", "properties": { "Value": { "type": "boolean", "readOnly": true } }, "additionalProperties": false }, "ClockInModel": { "required": [ "QuestId", "Timestamp" ], "type": "object", "properties": { "QuestId": { "type": "integer", "format": "int64", "readOnly": true }, "Timestamp": { "type": "string", "format": "date-time", "readOnly": true } }, "additionalProperties": false }, "ClockOutModel": { "required": [ "ClockId", "Timestamp" ], "type": "object", "properties": { "ClockId": { "type": "integer", "format": "int64", "readOnly": true }, "Timestamp": { "type": "string", "format": "date-time", "readOnly": true }, "Comment": { "type": "string", "nullable": true, "readOnly": true } }, "additionalProperties": false }, "ClockReadModel": { "required": [ "ClockId", "ClockIn", "Member", "MemberId", "QuestId" ], "type": "object", "properties": { "ClockId": { "type": "integer", "format": "int64" }, "QuestId": { "type": "integer", "format": "int64" }, "MemberId": { "type": "integer", "format": "int64" }, "ClockIn": { "type": "string", "format": "date-time" }, "ClockOut": { "type": "string", "format": "date-time", "nullable": true }, "DurationMinutes": { "type": "integer", "format": "int32", "nullable": true }, "Member": { "$ref": "#/components/schemas/MemberListModel" } }, "additionalProperties": false }, "CustomerListModel": { "required": [ "CustomerId", "Name" ], "type": "object", "properties": { "CustomerId": { "type": "integer", "format": "int64" }, "Name": { "minLength": 1, "type": "string" } }, "additionalProperties": false }, "CustomerModel": { "required": [ "Name" ], "type": "object", "properties": { "Name": { "type": "string", "nullable": true, "readOnly": true }, "Comment": { "type": "string", "nullable": true, "readOnly": true }, "DefaultHourlyRate": { "type": "number", "format": "double", "nullable": true, "readOnly": true } }, "additionalProperties": false }, "CustomerReadModel": { "required": [ "CustomerId", "Name" ], "type": "object", "properties": { "Name": { "type": "string", "nullable": true, "readOnly": true }, "Comment": { "type": "string", "nullable": true, "readOnly": true }, "DefaultHourlyRate": { "type": "number", "format": "double", "nullable": true, "readOnly": true }, "CustomerId": { "type": "integer", "format": "int64" } }, "additionalProperties": false }, "DailyWorkloadAddModel": { "required": [ "Date", "DurationMinutes", "MemberId", "QuestId" ], "type": "object", "properties": { "Date": { "type": "string", "format": "date", "readOnly": true }, "DurationMinutes": { "type": "integer", "format": "int32", "readOnly": true }, "Comment": { "type": "string", "nullable": true, "readOnly": true }, "QuestId": { "type": "integer", "format": "int64", "readOnly": true }, "MemberId": { "type": "integer", "format": "int64", "readOnly": true } }, "additionalProperties": false }, "DailyWorkloadContainerModel": { "required": [ "Items", "Summary" ], "type": "object", "properties": { "Summary": { "$ref": "#/components/schemas/DailyWorkloadSummaryModel" }, "Items": { "type": "array", "items": { "$ref": "#/components/schemas/DailyWorkloadReadModel" } } }, "additionalProperties": false }, "DailyWorkloadExportSortingOrder": { "enum": [ "ClosedOn", "Hours", "CreatedAt", "Alphabetically" ], "type": "string" }, "DailyWorkloadReadModel": { "required": [ "DailyWorkloadId", "Date", "DurationMinutes", "Member", "Quest" ], "type": "object", "properties": { "Date": { "type": "string", "format": "date", "readOnly": true }, "DurationMinutes": { "type": "integer", "format": "int32", "readOnly": true }, "Comment": { "type": "string", "nullable": true, "readOnly": true }, "DailyWorkloadId": { "type": "integer", "format": "int64" }, "Quest": { "$ref": "#/components/schemas/QuestLookupModel" }, "Member": { "$ref": "#/components/schemas/MemberListModel" } }, "additionalProperties": false }, "DailyWorkloadSummaryModel": { "required": [ "DurationMinutes" ], "type": "object", "properties": { "DurationMinutes": { "type": "integer", "format": "int32" }, "SumOfMoney": { "type": "number", "format": "double", "nullable": true } }, "additionalProperties": false }, "DateInformationModel": { "type": "object", "properties": { "Date": { "type": "string", "format": "date" }, "Members": { "type": "array", "items": { "$ref": "#/components/schemas/MemberWorkloadModel" }, "nullable": true }, "IsLegalHoliday": { "type": "boolean" } }, "additionalProperties": false }, "DateOnlyDtoField": { "type": "object", "properties": { "Value": { "type": "string", "format": "date", "readOnly": true } }, "additionalProperties": false }, "DateOnlyNullableDtoField": { "type": "object", "properties": { "Value": { "type": "string", "format": "date", "nullable": true, "readOnly": true } }, "additionalProperties": false }, "DateTimeDtoField": { "type": "object", "properties": { "Value": { "type": "string", "format": "date-time", "readOnly": true } }, "additionalProperties": false }, "DecimalNullableDtoField": { "type": "object", "properties": { "Value": { "type": "number", "format": "double", "nullable": true, "readOnly": true } }, "additionalProperties": false }, "EstimatedTimeState": { "enum": [ "Unknown", "InTime", "Warning", "EstimatedTimeExceeded" ], "type": "string" }, "EventModel": { "required": [ "Type" ], "type": "object", "properties": { "Type": { "$ref": "#/components/schemas/EventType" }, "Data": { "type": "string", "nullable": true, "readOnly": true }, "MemberId": { "type": "integer", "format": "int64", "readOnly": true } }, "additionalProperties": false }, "EventReadModel": { "required": [ "CreatedAt", "EventId", "Type" ], "type": "object", "properties": { "Type": { "$ref": "#/components/schemas/EventType" }, "Data": { "type": "string", "nullable": true, "readOnly": true }, "MemberId": { "type": "integer", "format": "int64", "readOnly": true }, "EventId": { "type": "integer", "format": "int64", "readOnly": true }, "CreatedAt": { "type": "string", "format": "date-time", "readOnly": true }, "MemberName": { "type": "string", "nullable": true, "readOnly": true } }, "additionalProperties": false }, "EventType": { "enum": [ "ConnectToWifi", "DisconnectFromWifi", "ClockIn", "ClockOut", "WorkstationToolLaunched", "ProcessStarted", "ProcessStopped" ], "type": "string" }, "EventTypeDtoField": { "type": "object", "properties": { "Value": { "$ref": "#/components/schemas/EventType" } }, "additionalProperties": false }, "FileInfoModel": { "required": [ "CreatedOn", "FileId", "Filename" ], "type": "object", "properties": { "FileId": { "type": "integer", "format": "int64" }, "Filename": { "minLength": 1, "type": "string" }, "CreatedOn": { "type": "string", "format": "date-time" }, "Size": { "type": "integer", "format": "int64" } }, "additionalProperties": false }, "GitlabProjectListModel": { "type": "object", "properties": { "Id": { "type": "integer", "format": "int32" }, "PathWithNamespace": { "type": "string", "nullable": true } }, "additionalProperties": false }, "GitlabProjectUpdateModel": { "required": [ "GitlabProjectId", "PersonalAccessToken" ], "type": "object", "properties": { "GitlabProjectId": { "type": "integer", "format": "int32" }, "PersonalAccessToken": { "minLength": 1, "type": "string" }, "GitlabAutoSync": { "type": "boolean" } }, "additionalProperties": false }, "GitlabSyncModel": { "type": "object", "properties": { "DummyField": { "type": "string", "nullable": true } }, "additionalProperties": false }, "GuidNullableDtoField": { "type": "object", "properties": { "Value": { "type": "string", "format": "uuid", "nullable": true, "readOnly": true } }, "additionalProperties": false }, "HolidayDuration": { "required": [ "TotalMinutes" ], "type": "object", "properties": { "TotalMinutes": { "type": "integer", "format": "int32" } }, "additionalProperties": false }, "HolidayModel": { "type": "object", "properties": { "HolidayRequestId": { "type": "integer", "format": "int64" }, "Type": { "$ref": "#/components/schemas/HolidayRequestType" }, "From": { "type": "string", "format": "time", "nullable": true }, "To": { "type": "string", "format": "time", "nullable": true }, "Minutes": { "type": "integer", "format": "int32" } }, "additionalProperties": false }, "HolidayRequestAddModel": { "required": [ "FromDate", "MemberId", "ToDate" ], "type": "object", "properties": { "MemberId": { "type": "integer", "format": "int64" }, "FromDate": { "type": "string", "format": "date" }, "ToDate": { "type": "string", "format": "date" }, "FromTime": { "type": "string", "format": "time", "nullable": true }, "ToTime": { "type": "string", "format": "time", "nullable": true }, "Comment": { "type": "string", "nullable": true }, "State": { "$ref": "#/components/schemas/HolidayRequestState" }, "ReasonForRejection": { "type": "string", "nullable": true, "readOnly": true }, "Type": { "$ref": "#/components/schemas/HolidayRequestType" } }, "additionalProperties": false }, "HolidayRequestApproveModel": { "type": "object", "additionalProperties": false }, "HolidayRequestContainerModel": { "required": [ "Items", "Summary" ], "type": "object", "properties": { "Summary": { "$ref": "#/components/schemas/HolidayRequestSummaryModel" }, "Items": { "type": "array", "items": { "$ref": "#/components/schemas/HolidayRequestReadModel" } } }, "additionalProperties": false }, "HolidayRequestReadModel": { "required": [ "DurationMinutes", "FromDate", "HolidayRequestId", "Member", "ResponseSeen", "State", "ToDate", "Type" ], "type": "object", "properties": { "HolidayRequestId": { "type": "integer", "format": "int64" }, "Member": { "$ref": "#/components/schemas/MemberListModel" }, "FromDate": { "type": "string", "format": "date" }, "ToDate": { "type": "string", "format": "date" }, "FromTime": { "type": "string", "format": "time", "nullable": true }, "ToTime": { "type": "string", "format": "time", "nullable": true }, "Comment": { "type": "string", "nullable": true }, "DurationMinutes": { "type": "integer", "format": "int32" }, "State": { "$ref": "#/components/schemas/HolidayRequestState" }, "ReasonForRejection": { "type": "string", "nullable": true }, "ResponseSeen": { "type": "boolean" }, "Type": { "$ref": "#/components/schemas/HolidayRequestType" } }, "additionalProperties": false }, "HolidayRequestRejectModel": { "type": "object", "properties": { "ReasonForRejection": { "type": "string", "nullable": true } }, "additionalProperties": false }, "HolidayRequestState": { "enum": [ "Pending", "Approved", "Rejected" ], "type": "string" }, "HolidayRequestStateNullableDtoField": { "type": "object", "properties": { "Value": { "$ref": "#/components/schemas/HolidayRequestState" } }, "additionalProperties": false }, "HolidayRequestSummaryModel": { "required": [ "DurationMinutes" ], "type": "object", "properties": { "DurationMinutes": { "type": "integer", "format": "int32" } }, "additionalProperties": false }, "HolidayRequestType": { "enum": [ "Holidays", "SickLeave", "HomeOffice" ], "type": "string" }, "HolidayRequestTypeDtoField": { "type": "object", "properties": { "Value": { "$ref": "#/components/schemas/HolidayRequestType" } }, "additionalProperties": false }, "IMultipartContent": { "type": "object", "properties": { "Stream": { "$ref": "#/components/schemas/Stream" }, "Filename": { "type": "string", "nullable": true, "readOnly": true } }, "additionalProperties": false }, "Int32DtoField": { "type": "object", "properties": { "Value": { "type": "integer", "format": "int32", "readOnly": true } }, "additionalProperties": false }, "Int32ListDtoField": { "type": "object", "properties": { "Value": { "type": "array", "items": { "type": "integer", "format": "int32" }, "nullable": true, "readOnly": true } }, "additionalProperties": false }, "Int32NullableDtoField": { "type": "object", "properties": { "Value": { "type": "integer", "format": "int32", "nullable": true, "readOnly": true } }, "additionalProperties": false }, "Int64DtoField": { "type": "object", "properties": { "Value": { "type": "integer", "format": "int64", "readOnly": true } }, "additionalProperties": false }, "Int64ListDtoField": { "type": "object", "properties": { "Value": { "type": "array", "items": { "type": "integer", "format": "int64" }, "nullable": true, "readOnly": true } }, "additionalProperties": false }, "Int64NullableDtoField": { "type": "object", "properties": { "Value": { "type": "integer", "format": "int64", "nullable": true, "readOnly": true } }, "additionalProperties": false }, "IssueEventModel": { "type": "object", "properties": { "object_attributes": { "$ref": "#/components/schemas/ObjectAttributesModel" }, "object_kind": { "type": "string", "nullable": true }, "event_type": { "type": "string", "nullable": true } }, "additionalProperties": false }, "LabelListModel": { "required": [ "LabelId", "Name" ], "type": "object", "properties": { "LabelId": { "type": "integer", "format": "int64" }, "Name": { "minLength": 1, "type": "string" }, "ToBeNotified": { "type": "boolean" } }, "additionalProperties": false }, "LabelModel": { "required": [ "Name" ], "type": "object", "properties": { "Name": { "type": "string", "nullable": true, "readOnly": true }, "Archived": { "type": "boolean", "readOnly": true }, "ToBeNotified": { "type": "boolean", "readOnly": true } }, "additionalProperties": false }, "LabelReadModel": { "required": [ "LabelId", "Name" ], "type": "object", "properties": { "Name": { "type": "string", "nullable": true, "readOnly": true }, "Archived": { "type": "boolean", "readOnly": true }, "ToBeNotified": { "type": "boolean", "readOnly": true }, "LabelId": { "type": "integer", "format": "int64" } }, "additionalProperties": false }, "LoginModel": { "required": [ "DeviceName", "IsBrowser", "IsMobile", "IsVirtual" ], "type": "object", "properties": { "DeviceName": { "minLength": 1, "type": "string" }, "IsBrowser": { "type": "boolean" }, "IsMobile": { "type": "boolean" }, "IsVirtual": { "type": "boolean" } }, "additionalProperties": false }, "MemberEventModel": { "required": [ "Type" ], "type": "object", "properties": { "Type": { "$ref": "#/components/schemas/EventType" }, "Data": { "type": "string", "nullable": true, "readOnly": true } }, "additionalProperties": false }, "MemberListModel": { "required": [ "MemberId", "Name", "Short" ], "type": "object", "properties": { "MemberId": { "type": "integer", "format": "int64" }, "Name": { "minLength": 1, "type": "string" }, "Short": { "minLength": 1, "type": "string" } }, "additionalProperties": false }, "MemberModel": { "required": [ "Email", "IsAdmin", "Name" ], "type": "object", "properties": { "Email": { "type": "string", "nullable": true, "readOnly": true }, "Name": { "type": "string", "nullable": true, "readOnly": true }, "IsAdmin": { "type": "boolean", "readOnly": true }, "GitlabUsername": { "type": "string", "nullable": true, "readOnly": true } }, "additionalProperties": false }, "MemberReadModel": { "required": [ "CompanyId", "CompanyName", "Email", "IsAdmin", "MemberId", "Name", "Short" ], "type": "object", "properties": { "Email": { "type": "string", "nullable": true, "readOnly": true }, "Name": { "type": "string", "nullable": true, "readOnly": true }, "IsAdmin": { "type": "boolean", "readOnly": true }, "GitlabUsername": { "type": "string", "nullable": true, "readOnly": true }, "MemberId": { "type": "integer", "format": "int64", "readOnly": true }, "CompanyId": { "type": "integer", "format": "int64", "readOnly": true }, "CompanyName": { "type": "string", "nullable": true, "readOnly": true }, "Short": { "type": "string", "nullable": true, "readOnly": true } }, "additionalProperties": false }, "MemberWorkloadModel": { "type": "object", "properties": { "MemberId": { "type": "integer", "format": "int64" }, "PlannedDailyWorkloads": { "type": "array", "items": { "$ref": "#/components/schemas/PlannedDailyWorkloadModel" }, "nullable": true }, "ClockedMinutes": { "type": "number", "format": "double" }, "Holidays": { "type": "array", "items": { "$ref": "#/components/schemas/HolidayModel" }, "nullable": true } }, "additionalProperties": false }, "MoveQuestModel": { "type": "object", "properties": { "TargetQuestId": { "type": "integer", "format": "int64", "nullable": true, "readOnly": true } }, "additionalProperties": false }, "ObjectAttributesModel": { "type": "object", "properties": { "iid": { "type": "integer", "format": "int32" }, "project_id": { "type": "integer", "format": "int32" } }, "additionalProperties": false }, "PlannedDailyWorkloadModel": { "type": "object", "properties": { "PlannedWorkloadId": { "type": "integer", "format": "int64", "nullable": true }, "Name": { "type": "string", "nullable": true }, "DurationMinutes": { "type": "integer", "format": "int32", "nullable": true }, "DurationMinutesOfEntireWorkload": { "type": "integer", "format": "int32", "nullable": true }, "StartDateOfWorkload": { "type": "string", "format": "date", "nullable": true } }, "additionalProperties": false }, "PlannedWorkloadModel": { "type": "object", "properties": { "MemberId": { "type": "integer", "format": "int64", "readOnly": true }, "StartDate": { "type": "string", "format": "date", "readOnly": true }, "DurationMinutes": { "type": "integer", "format": "int32", "readOnly": true }, "Name": { "type": "string", "nullable": true, "readOnly": true } }, "additionalProperties": false }, "PlannedWorkloadReadModel": { "type": "object", "properties": { "MemberId": { "type": "integer", "format": "int64", "readOnly": true }, "StartDate": { "type": "string", "format": "date", "readOnly": true }, "DurationMinutes": { "type": "integer", "format": "int32", "readOnly": true }, "Name": { "type": "string", "nullable": true, "readOnly": true }, "PlannedWorkloadId": { "type": "integer", "format": "int64" } }, "additionalProperties": false }, "ProjectListModel": { "required": [ "Customer", "CustomerId", "Name", "ProjectId" ], "type": "object", "properties": { "ProjectId": { "type": "integer", "format": "int64" }, "Name": { "minLength": 1, "type": "string" }, "CustomerId": { "type": "integer", "format": "int64", "readOnly": true }, "Customer": { "$ref": "#/components/schemas/CustomerListModel" } }, "additionalProperties": false }, "ProjectModel": { "required": [ "CustomerId", "Name" ], "type": "object", "properties": { "Name": { "type": "string", "nullable": true, "readOnly": true }, "CustomerId": { "type": "integer", "format": "int64", "readOnly": true }, "StartedOn": { "type": "string", "format": "date", "nullable": true, "readOnly": true }, "Comment": { "type": "string", "nullable": true, "readOnly": true }, "Inactive": { "type": "boolean", "readOnly": true }, "GitlabAutoSync": { "type": "boolean", "readOnly": true } }, "additionalProperties": false }, "ProjectReadModel": { "required": [ "Customer", "CustomerId", "Name", "ProjectId" ], "type": "object", "properties": { "Name": { "type": "string", "nullable": true, "readOnly": true }, "CustomerId": { "type": "integer", "format": "int64", "readOnly": true }, "StartedOn": { "type": "string", "format": "date", "nullable": true, "readOnly": true }, "Comment": { "type": "string", "nullable": true, "readOnly": true }, "Inactive": { "type": "boolean", "readOnly": true }, "GitlabAutoSync": { "type": "boolean", "readOnly": true }, "ProjectId": { "type": "integer", "format": "int64" }, "Customer": { "$ref": "#/components/schemas/CustomerReadModel" }, "GitlabProjectId": { "type": "integer", "format": "int32", "nullable": true }, "GitlabProjectPath": { "type": "string", "nullable": true }, "GitlabProjectLink": { "type": "string", "nullable": true } }, "additionalProperties": false }, "QuestAddModel": { "required": [ "Name", "ProjectId" ], "type": "object", "properties": { "ProjectId": { "type": "integer", "format": "int64", "readOnly": true }, "Name": { "type": "string", "nullable": true, "readOnly": true }, "EstimationMinutes": { "type": "integer", "format": "int32", "nullable": true, "readOnly": true }, "InvoiceSentOn": { "type": "string", "format": "date", "nullable": true, "readOnly": true }, "PaidOn": { "type": "string", "format": "date", "nullable": true, "readOnly": true }, "Locked": { "type": "boolean", "readOnly": true }, "ClosedOn": { "type": "string", "format": "date", "nullable": true, "readOnly": true }, "OpenedOn": { "type": "string", "format": "date", "nullable": true, "readOnly": true }, "PlainComment": { "type": "string", "nullable": true, "readOnly": true }, "QuillComment": { "type": "string", "nullable": true, "readOnly": true }, "HourlyRate": { "type": "number", "format": "double", "nullable": true, "readOnly": true }, "WorkStepId": { "type": "integer", "format": "int64", "nullable": true, "readOnly": true }, "GitlabIssueNumber": { "type": "integer", "format": "int32", "nullable": true, "readOnly": true }, "MutedUntil": { "type": "string", "format": "date", "nullable": true, "readOnly": true }, "ExternalLink": { "type": "string", "nullable": true, "readOnly": true }, "Version": { "type": "string", "format": "uuid", "nullable": true, "readOnly": true }, "Sensitive": { "type": "boolean", "readOnly": true }, "AssigneeIds": { "type": "array", "items": { "type": "integer", "format": "int64" }, "nullable": true, "readOnly": true }, "LabelIds": { "type": "array", "items": { "type": "integer", "format": "int64" }, "nullable": true, "readOnly": true } }, "additionalProperties": false }, "QuestAddModelDtoField": { "type": "object", "properties": { "Value": { "$ref": "#/components/schemas/QuestAddModel" } }, "additionalProperties": false }, "QuestBulkUpdateModel": { "required": [ "ProjectId", "QuestId" ], "type": "object", "properties": { "QuestId": { "type": "integer", "format": "int64", "readOnly": true }, "ProjectId": { "type": "integer", "format": "int64", "readOnly": true }, "ProjectIdSet": { "type": "boolean", "readOnly": true }, "AssigneeIds": { "type": "array", "items": { "type": "integer", "format": "int64" }, "nullable": true, "readOnly": true }, "AssigneeIdsSet": { "type": "boolean", "readOnly": true }, "HourlyRate": { "type": "number", "format": "double", "nullable": true, "readOnly": true }, "HourlyRateSet": { "type": "boolean", "readOnly": true }, "InvoiceSentOn": { "type": "string", "format": "date", "nullable": true, "readOnly": true }, "InvoiceSentOnSet": { "type": "boolean", "readOnly": true }, "PaidOn": { "type": "string", "format": "date", "nullable": true, "readOnly": true }, "PaidOnSet": { "type": "boolean", "readOnly": true }, "Locked": { "type": "boolean", "readOnly": true }, "LockedSet": { "type": "boolean", "readOnly": true }, "Sensitive": { "type": "boolean", "readOnly": true }, "SensitiveSet": { "type": "boolean", "readOnly": true }, "MutedUntil": { "type": "string", "format": "date", "nullable": true, "readOnly": true }, "MutedUntilSet": { "type": "boolean", "readOnly": true }, "WorkStepId": { "type": "integer", "format": "int64", "nullable": true, "readOnly": true }, "WorkStepIdSet": { "type": "boolean", "readOnly": true }, "LabelIds": { "type": "array", "items": { "type": "integer", "format": "int64" }, "nullable": true, "readOnly": true }, "LabelIdsSet": { "type": "boolean", "readOnly": true }, "OpenedOn": { "type": "string", "format": "date", "nullable": true, "readOnly": true }, "OpenedOnSet": { "type": "boolean", "readOnly": true }, "ClosedOn": { "type": "string", "format": "date", "nullable": true, "readOnly": true }, "ClosedOnSet": { "type": "boolean", "readOnly": true } }, "additionalProperties": false }, "QuestCloneModel": { "required": [ "FileIdsToCopy", "NewQuest" ], "type": "object", "properties": { "NewQuest": { "$ref": "#/components/schemas/QuestAddModel" }, "FileIdsToCopy": { "type": "array", "items": { "type": "integer", "format": "int32" }, "nullable": true, "readOnly": true } }, "additionalProperties": false }, "QuestListModel": { "required": [ "Assignees", "Labels", "Name", "Project", "ProjectId", "QuestId" ], "type": "object", "properties": { "QuestId": { "type": "integer", "format": "int64" }, "Project": { "$ref": "#/components/schemas/ProjectListModel" }, "ProjectId": { "type": "integer", "format": "int64" }, "Name": { "minLength": 1, "type": "string" }, "ClockedMinutes": { "type": "integer", "format": "int32" }, "EstimatedTimeState": { "$ref": "#/components/schemas/EstimatedTimeState" }, "Assignees": { "type": "array", "items": { "$ref": "#/components/schemas/MemberListModel" } }, "WorkStep": { "$ref": "#/components/schemas/WorkStepReadModel" }, "Labels": { "type": "array", "items": { "$ref": "#/components/schemas/LabelListModel" } }, "EstimationMinutes": { "type": "integer", "format": "int32", "nullable": true }, "InvoiceSentOn": { "type": "string", "format": "date", "nullable": true }, "PaidOn": { "type": "string", "format": "date", "nullable": true }, "Locked": { "type": "boolean" }, "ClosedOn": { "type": "string", "format": "date", "nullable": true }, "OpenedOn": { "type": "string", "format": "date", "nullable": true }, "MutedUntil": { "type": "string", "format": "date", "nullable": true }, "ExternalLink": { "type": "string", "nullable": true }, "Sensitive": { "type": "boolean" }, "HasAttachments": { "type": "boolean" } }, "additionalProperties": false }, "QuestLookupModel": { "required": [ "Name", "Project", "QuestId" ], "type": "object", "properties": { "QuestId": { "type": "integer", "format": "int64" }, "Name": { "minLength": 1, "type": "string" }, "Project": { "$ref": "#/components/schemas/ProjectListModel" }, "Assignees": { "type": "array", "items": { "$ref": "#/components/schemas/MemberListModel" }, "nullable": true }, "HourlyRate": { "type": "number", "format": "double", "nullable": true } }, "additionalProperties": false }, "QuestReadModel": { "required": [ "Assignees", "CreatedAt", "Labels", "Name", "Project", "ProjectId", "QuestId" ], "type": "object", "properties": { "ProjectId": { "type": "integer", "format": "int64", "readOnly": true }, "Name": { "type": "string", "nullable": true, "readOnly": true }, "EstimationMinutes": { "type": "integer", "format": "int32", "nullable": true, "readOnly": true }, "InvoiceSentOn": { "type": "string", "format": "date", "nullable": true, "readOnly": true }, "PaidOn": { "type": "string", "format": "date", "nullable": true, "readOnly": true }, "Locked": { "type": "boolean", "readOnly": true }, "ClosedOn": { "type": "string", "format": "date", "nullable": true, "readOnly": true }, "OpenedOn": { "type": "string", "format": "date", "nullable": true, "readOnly": true }, "PlainComment": { "type": "string", "nullable": true, "readOnly": true }, "QuillComment": { "type": "string", "nullable": true, "readOnly": true }, "HourlyRate": { "type": "number", "format": "double", "nullable": true, "readOnly": true }, "WorkStepId": { "type": "integer", "format": "int64", "nullable": true, "readOnly": true }, "GitlabIssueNumber": { "type": "integer", "format": "int32", "nullable": true, "readOnly": true }, "MutedUntil": { "type": "string", "format": "date", "nullable": true, "readOnly": true }, "ExternalLink": { "type": "string", "nullable": true, "readOnly": true }, "Version": { "type": "string", "format": "uuid", "nullable": true, "readOnly": true }, "Sensitive": { "type": "boolean", "readOnly": true }, "AssigneeIds": { "type": "array", "items": { "type": "integer", "format": "int64" }, "nullable": true, "readOnly": true }, "LabelIds": { "type": "array", "items": { "type": "integer", "format": "int64" }, "nullable": true, "readOnly": true }, "QuestId": { "type": "integer", "format": "int64" }, "Project": { "$ref": "#/components/schemas/ProjectReadModel" }, "ClockedMinutes": { "type": "integer", "format": "int32" }, "EstimatedTimeState": { "$ref": "#/components/schemas/EstimatedTimeState" }, "Assignees": { "type": "array", "items": { "$ref": "#/components/schemas/MemberListModel" } }, "WorkStep": { "$ref": "#/components/schemas/WorkStepReadModel" }, "Labels": { "type": "array", "items": { "$ref": "#/components/schemas/LabelListModel" } }, "CreatedByMember": { "type": "string", "nullable": true }, "CreatedAt": { "type": "string", "format": "date-time" } }, "additionalProperties": false }, "QuestSortingOrder": { "enum": [ "Priority", "NewestFirst", "ClosedOnFirst", "Relevancy", "Alphabetically", "ByProjectAlphabetically" ], "type": "string" }, "QuestWorkingStepUpdateModel": { "type": "object", "properties": { "WorkStepId": { "type": "integer", "format": "int64", "nullable": true } }, "additionalProperties": false }, "QuestsBulkUpdateModel": { "required": [ "Quests" ], "type": "object", "properties": { "Quests": { "type": "array", "items": { "$ref": "#/components/schemas/QuestBulkUpdateModel" } } }, "additionalProperties": false }, "Stream": { "type": "object", "properties": { "CanRead": { "type": "boolean", "readOnly": true }, "CanWrite": { "type": "boolean", "readOnly": true }, "CanSeek": { "type": "boolean", "readOnly": true }, "CanTimeout": { "type": "boolean", "readOnly": true }, "Length": { "type": "integer", "format": "int64", "readOnly": true }, "Position": { "type": "integer", "format": "int64" }, "ReadTimeout": { "type": "integer", "format": "int32" }, "WriteTimeout": { "type": "integer", "format": "int32" } }, "additionalProperties": false }, "StringDtoField": { "type": "object", "properties": { "Value": { "type": "string", "nullable": true, "readOnly": true } }, "additionalProperties": false }, "TimelineTabModel": { "type": "object", "properties": { "Days": { "type": "array", "items": { "$ref": "#/components/schemas/DateInformationModel" }, "nullable": true } }, "additionalProperties": false }, "WhoAmIModel": { "required": [ "Email", "Language", "Memberships" ], "type": "object", "properties": { "Email": { "minLength": 1, "type": "string" }, "Language": { "minLength": 1, "type": "string" }, "Memberships": { "type": "array", "items": { "$ref": "#/components/schemas/MemberReadModel" } } }, "additionalProperties": false }, "WorkStepModel": { "required": [ "Name" ], "type": "object", "properties": { "Name": { "type": "string", "nullable": true, "readOnly": true } }, "additionalProperties": false }, "WorkStepReadModel": { "required": [ "Name", "WorkStepId" ], "type": "object", "properties": { "Name": { "type": "string", "nullable": true, "readOnly": true }, "WorkStepId": { "type": "integer", "format": "int64" } }, "additionalProperties": false }, "WorkStepSequenceModel": { "required": [ "WorkStepIds" ], "type": "object", "properties": { "WorkStepIds": { "type": "array", "items": { "type": "integer", "format": "int64" } } }, "additionalProperties": false } }, "securitySchemes": { "Bearer": { "type": "apiKey", "description": "JWT Authorization header using the Bearer scheme. Example: \"Authorization: Bearer {token}\"", "name": "Authorization", "in": "header" }, "Device-Token": { "type": "apiKey", "description": "Device-Token", "name": "Device-Token", "in": "header" } } }, "security": [ { "Bearer": [], "Device-Token": [] } ] }