Last active
April 23, 2024 08:46
-
-
Save flexwie/6e2e2f2130a2fe605e3e06cb17b9f747 to your computer and use it in GitHub Desktop.
Swagger DYCE Cloud
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"openapi": "3.0.1", | |
"info": { | |
"title": "DYCE Business API", | |
"description": "Whether you're a developer, business analyst, or an entrepreneur looking to integrate your time recording and resource planning appsinto the backend of DYCE, the **DYCE Business API** is your gateway to improved efficiency and innovation. This documentation is your comprehensive resource, guiding you through integrating the API seamlessly into your time and resource management solutions, explaining endpoints, authentication methods, and sharing best practices for a smooth, tailored integration experience.", | |
"termsOfService": "https://dyce.cloud/licence-agreement/", | |
"contact": { | |
"name": "Singhammer IT Consulting AG", | |
"url": "https://www.singhammer.com" | |
}, | |
"version": "v1.0.0" | |
}, | |
"servers": [ | |
{ | |
"url": "https://api.dyce.cloud" | |
} | |
], | |
"paths": { | |
"/api/timeRecordings/getStatistics(from={from},to={to})": { | |
"get": { | |
"tags": [ | |
"TimeRecordings" | |
], | |
"summary": "Get statistics within a certain date range", | |
"operationId": "GET api/TimeRecordings/GetStatistics(from={from},to={to})", | |
"parameters": [ | |
{ | |
"name": "from", | |
"in": "path", | |
"description": "Include all time recordings with a start date later or equal to this ISO 8601 datetime", | |
"required": true, | |
"schema": { | |
"title": "DateTimeOffset", | |
"type": "string", | |
"format": "date-time" | |
} | |
}, | |
{ | |
"name": "to", | |
"in": "path", | |
"description": "Include all time recordings with a start date earlier to this ISO 8601 datetime", | |
"required": true, | |
"schema": { | |
"title": "DateTimeOffset", | |
"type": "string", | |
"format": "date-time" | |
} | |
}, | |
{ | |
"name": "x-instance", | |
"in": "header", | |
"description": "The target instance for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "x-company", | |
"in": "header", | |
"description": "The target company for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "$top", | |
"in": "query", | |
"description": "The max number of records.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$skip", | |
"in": "query", | |
"description": "The number of records to skip.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$filter", | |
"in": "query", | |
"description": "A function that must evaluate to true for a record to be returned.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$select", | |
"in": "query", | |
"description": "Specifies a subset of properties to return. Use a comma separated list.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$orderby", | |
"in": "query", | |
"description": "Determines what values are used to order a collection of records.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$expand", | |
"in": "query", | |
"description": "Use to add related query data.", | |
"schema": { | |
"type": "String" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.Data.Models.TimeRecordingStatistics" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/api/timeRecordings/getSummary(from={from},to={to},unit={unit})": { | |
"get": { | |
"tags": [ | |
"TimeRecordings" | |
], | |
"summary": "Get summary within a certain datetime range", | |
"operationId": "GET api/TimeRecordings/GetSummary(from={from},to={to},unit={unit})", | |
"parameters": [ | |
{ | |
"name": "from", | |
"in": "path", | |
"description": "First point in time of summary in ISO 8601 format.", | |
"required": true, | |
"schema": { | |
"title": "DateTimeOffset", | |
"type": "string", | |
"format": "date-time" | |
} | |
}, | |
{ | |
"name": "to", | |
"in": "path", | |
"description": "Last point in time of summary in ISO 8601 format.", | |
"required": true, | |
"schema": { | |
"title": "DateTimeOffset", | |
"type": "string", | |
"format": "date-time" | |
} | |
}, | |
{ | |
"name": "unit", | |
"in": "path", | |
"description": "Valid options are: day, week, or month", | |
"required": true, | |
"schema": { | |
"title": "String", | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "x-instance", | |
"in": "header", | |
"description": "The target instance for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "x-company", | |
"in": "header", | |
"description": "The target company for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "$top", | |
"in": "query", | |
"description": "The max number of records.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$skip", | |
"in": "query", | |
"description": "The number of records to skip.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$filter", | |
"in": "query", | |
"description": "A function that must evaluate to true for a record to be returned.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$select", | |
"in": "query", | |
"description": "Specifies a subset of properties to return. Use a comma separated list.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$orderby", | |
"in": "query", | |
"description": "Determines what values are used to order a collection of records.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$expand", | |
"in": "query", | |
"description": "Use to add related query data.", | |
"schema": { | |
"type": "String" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"title": "List<TimeRecordingSummary>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.Data.Models.TimeRecordingSummary" | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/api/timeRecordings": { | |
"get": { | |
"tags": [ | |
"TimeRecordings" | |
], | |
"summary": "Get all time recordings of current user", | |
"operationId": "GET api/TimeRecordings", | |
"parameters": [ | |
{ | |
"name": "x-instance", | |
"in": "header", | |
"description": "The target instance for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "x-company", | |
"in": "header", | |
"description": "The target company for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "$top", | |
"in": "query", | |
"description": "The max number of records.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$skip", | |
"in": "query", | |
"description": "The number of records to skip.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$filter", | |
"in": "query", | |
"description": "A function that must evaluate to true for a record to be returned.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$select", | |
"in": "query", | |
"description": "Specifies a subset of properties to return. Use a comma separated list.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$orderby", | |
"in": "query", | |
"description": "Determines what values are used to order a collection of records.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$expand", | |
"in": "query", | |
"description": "Use to add related query data.", | |
"schema": { | |
"type": "String" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.Business.API.Swagger.ODataResponseType`1[[Backend.BusinessLogic.Dto.TimeRecordingDto, Backend.BusinessLogic, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"post": { | |
"tags": [ | |
"TimeRecordings" | |
], | |
"summary": "Add a new Time Recording", | |
"operationId": "POST api/TimeRecordings", | |
"parameters": [ | |
{ | |
"name": "x-instance", | |
"in": "header", | |
"description": "The target instance for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "x-company", | |
"in": "header", | |
"description": "The target company for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "$top", | |
"in": "query", | |
"description": "The max number of records.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$skip", | |
"in": "query", | |
"description": "The number of records to skip.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$filter", | |
"in": "query", | |
"description": "A function that must evaluate to true for a record to be returned.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$select", | |
"in": "query", | |
"description": "Specifies a subset of properties to return. Use a comma separated list.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$orderby", | |
"in": "query", | |
"description": "Determines what values are used to order a collection of records.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$expand", | |
"in": "query", | |
"description": "Use to add related query data.", | |
"schema": { | |
"type": "String" | |
} | |
} | |
], | |
"requestBody": { | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.TimeRecordingDto" | |
} | |
} | |
} | |
}, | |
"responses": { | |
"200": { | |
"description": "Success" | |
} | |
} | |
} | |
}, | |
"/api/timeRecordings/{key}": { | |
"get": { | |
"tags": [ | |
"TimeRecordings" | |
], | |
"summary": "Get time recording by id", | |
"operationId": "GET api/TimeRecordings/{key}", | |
"parameters": [ | |
{ | |
"name": "key", | |
"in": "path", | |
"description": "The GUID of the Time Recording", | |
"required": true, | |
"schema": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
} | |
}, | |
{ | |
"name": "x-instance", | |
"in": "header", | |
"description": "The target instance for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "x-company", | |
"in": "header", | |
"description": "The target company for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "$top", | |
"in": "query", | |
"description": "The max number of records.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$skip", | |
"in": "query", | |
"description": "The number of records to skip.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$filter", | |
"in": "query", | |
"description": "A function that must evaluate to true for a record to be returned.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$select", | |
"in": "query", | |
"description": "Specifies a subset of properties to return. Use a comma separated list.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$orderby", | |
"in": "query", | |
"description": "Determines what values are used to order a collection of records.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$expand", | |
"in": "query", | |
"description": "Use to add related query data.", | |
"schema": { | |
"type": "String" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.TimeRecordingDto" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"patch": { | |
"tags": [ | |
"TimeRecordings" | |
], | |
"summary": "Partial update of an existing Time Recording", | |
"operationId": "PATCH api/TimeRecordings/{key}", | |
"parameters": [ | |
{ | |
"name": "key", | |
"in": "path", | |
"required": true, | |
"schema": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
} | |
}, | |
{ | |
"name": "x-instance", | |
"in": "header", | |
"description": "The target instance for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "x-company", | |
"in": "header", | |
"description": "The target company for the request", | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.TimeRecordingDto" | |
} | |
} | |
} | |
}, | |
"responses": { | |
"200": { | |
"description": "Success" | |
} | |
} | |
}, | |
"put": { | |
"tags": [ | |
"TimeRecordings" | |
], | |
"summary": "Update an existing Time Recording", | |
"operationId": "PUT api/TimeRecordings/{key}", | |
"parameters": [ | |
{ | |
"name": "key", | |
"in": "path", | |
"required": true, | |
"schema": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
} | |
}, | |
{ | |
"name": "x-instance", | |
"in": "header", | |
"description": "The target instance for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "x-company", | |
"in": "header", | |
"description": "The target company for the request", | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.TimeRecordingDto" | |
} | |
} | |
} | |
}, | |
"responses": { | |
"200": { | |
"description": "Success" | |
} | |
} | |
}, | |
"delete": { | |
"tags": [ | |
"TimeRecordings" | |
], | |
"summary": "Delete a Time Recording", | |
"operationId": "DELETE api/TimeRecordings/{key}", | |
"parameters": [ | |
{ | |
"name": "key", | |
"in": "path", | |
"required": true, | |
"schema": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
} | |
}, | |
{ | |
"name": "x-instance", | |
"in": "header", | |
"description": "The target instance for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "x-company", | |
"in": "header", | |
"description": "The target company for the request", | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success" | |
} | |
} | |
} | |
}, | |
"/api/templateCategories": { | |
"get": { | |
"tags": [ | |
"TemplateCategories" | |
], | |
"summary": "Get all template categories of current user", | |
"operationId": "GET api/TemplateCategories", | |
"parameters": [ | |
{ | |
"name": "x-instance", | |
"in": "header", | |
"description": "The target instance for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "x-company", | |
"in": "header", | |
"description": "The target company for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "$top", | |
"in": "query", | |
"description": "The max number of records.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$skip", | |
"in": "query", | |
"description": "The number of records to skip.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$filter", | |
"in": "query", | |
"description": "A function that must evaluate to true for a record to be returned.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$select", | |
"in": "query", | |
"description": "Specifies a subset of properties to return. Use a comma separated list.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$orderby", | |
"in": "query", | |
"description": "Determines what values are used to order a collection of records.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$expand", | |
"in": "query", | |
"description": "Use to add related query data.", | |
"schema": { | |
"type": "String" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.Business.API.Swagger.ODataResponseType`1[[Backend.BusinessLogic.Dto.TemplateCategoryDto, Backend.BusinessLogic, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"post": { | |
"tags": [ | |
"TemplateCategories" | |
], | |
"summary": "Add a template category", | |
"operationId": "POST api/TemplateCategories", | |
"parameters": [ | |
{ | |
"name": "x-instance", | |
"in": "header", | |
"description": "The target instance for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "x-company", | |
"in": "header", | |
"description": "The target company for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "$top", | |
"in": "query", | |
"description": "The max number of records.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$skip", | |
"in": "query", | |
"description": "The number of records to skip.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$filter", | |
"in": "query", | |
"description": "A function that must evaluate to true for a record to be returned.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$select", | |
"in": "query", | |
"description": "Specifies a subset of properties to return. Use a comma separated list.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$orderby", | |
"in": "query", | |
"description": "Determines what values are used to order a collection of records.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$expand", | |
"in": "query", | |
"description": "Use to add related query data.", | |
"schema": { | |
"type": "String" | |
} | |
} | |
], | |
"requestBody": { | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.TemplateCategoryDto" | |
} | |
} | |
} | |
}, | |
"responses": { | |
"200": { | |
"description": "Success" | |
} | |
} | |
} | |
}, | |
"/api/templateCategories/{key}": { | |
"get": { | |
"tags": [ | |
"TemplateCategories" | |
], | |
"summary": "Get template category by id", | |
"operationId": "GET api/TemplateCategories/{key}", | |
"parameters": [ | |
{ | |
"name": "key", | |
"in": "path", | |
"description": "The GUID of the template category", | |
"required": true, | |
"schema": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
} | |
}, | |
{ | |
"name": "x-instance", | |
"in": "header", | |
"description": "The target instance for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "x-company", | |
"in": "header", | |
"description": "The target company for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "$top", | |
"in": "query", | |
"description": "The max number of records.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$skip", | |
"in": "query", | |
"description": "The number of records to skip.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$filter", | |
"in": "query", | |
"description": "A function that must evaluate to true for a record to be returned.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$select", | |
"in": "query", | |
"description": "Specifies a subset of properties to return. Use a comma separated list.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$orderby", | |
"in": "query", | |
"description": "Determines what values are used to order a collection of records.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$expand", | |
"in": "query", | |
"description": "Use to add related query data.", | |
"schema": { | |
"type": "String" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.TemplateCategoryDto" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"patch": { | |
"tags": [ | |
"TemplateCategories" | |
], | |
"summary": "Partial update of an existing template category", | |
"operationId": "PATCH api/TemplateCategories/{key}", | |
"parameters": [ | |
{ | |
"name": "key", | |
"in": "path", | |
"required": true, | |
"schema": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
} | |
}, | |
{ | |
"name": "x-instance", | |
"in": "header", | |
"description": "The target instance for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "x-company", | |
"in": "header", | |
"description": "The target company for the request", | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.TemplateCategoryDto" | |
} | |
} | |
} | |
}, | |
"responses": { | |
"200": { | |
"description": "Success" | |
} | |
} | |
}, | |
"put": { | |
"tags": [ | |
"TemplateCategories" | |
], | |
"summary": "Update an existing Template Category", | |
"operationId": "PUT api/TemplateCategories/{key}", | |
"parameters": [ | |
{ | |
"name": "key", | |
"in": "path", | |
"required": true, | |
"schema": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
} | |
}, | |
{ | |
"name": "x-instance", | |
"in": "header", | |
"description": "The target instance for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "x-company", | |
"in": "header", | |
"description": "The target company for the request", | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.TemplateCategoryDto" | |
} | |
} | |
} | |
}, | |
"responses": { | |
"200": { | |
"description": "Success" | |
} | |
} | |
}, | |
"delete": { | |
"tags": [ | |
"TemplateCategories" | |
], | |
"summary": "Delete a time recording template", | |
"operationId": "DELETE api/TemplateCategories/{key}", | |
"parameters": [ | |
{ | |
"name": "key", | |
"in": "path", | |
"required": true, | |
"schema": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
} | |
}, | |
{ | |
"name": "x-instance", | |
"in": "header", | |
"description": "The target instance for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "x-company", | |
"in": "header", | |
"description": "The target company for the request", | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success" | |
} | |
} | |
} | |
}, | |
"/api/sync/receive/{id}": { | |
"get": { | |
"tags": [ | |
"Sync" | |
], | |
"summary": "Gets a single entry", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"required": true, | |
"schema": { | |
"title": "Int32", | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "x-instance", | |
"in": "header", | |
"description": "The target instance for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "x-company", | |
"in": "header", | |
"description": "The target company for the request", | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.Persistence.Models.SyncReceiveLog" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"delete": { | |
"tags": [ | |
"Sync" | |
], | |
"summary": "Removes an entry from the error list", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"required": true, | |
"schema": { | |
"title": "Int32", | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "x-instance", | |
"in": "header", | |
"description": "The target instance for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "x-company", | |
"in": "header", | |
"description": "The target company for the request", | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success" | |
} | |
} | |
}, | |
"post": { | |
"tags": [ | |
"Sync" | |
], | |
"summary": "Retries a failed entry", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"required": true, | |
"schema": { | |
"title": "Int32", | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "x-instance", | |
"in": "header", | |
"description": "The target instance for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "x-company", | |
"in": "header", | |
"description": "The target company for the request", | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success" | |
} | |
} | |
} | |
}, | |
"/api/sync/info": { | |
"get": { | |
"tags": [ | |
"Sync" | |
], | |
"summary": "Get synchronization status", | |
"parameters": [ | |
{ | |
"name": "x-instance", | |
"in": "header", | |
"description": "The target instance for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "x-company", | |
"in": "header", | |
"description": "The target company for the request", | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.Data.Models.Sync.SyncInfo" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/api/stopwatches/{key}": { | |
"delete": { | |
"tags": [ | |
"Stopwatches" | |
], | |
"summary": "Reset stopwatch of current user", | |
"operationId": "DELETE api/Stopwatches/{key}", | |
"parameters": [ | |
{ | |
"name": "key", | |
"in": "path", | |
"required": true, | |
"schema": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
} | |
}, | |
{ | |
"name": "x-instance", | |
"in": "header", | |
"description": "The target instance for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "x-company", | |
"in": "header", | |
"description": "The target company for the request", | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success" | |
} | |
} | |
} | |
}, | |
"/api/stopwatches": { | |
"get": { | |
"tags": [ | |
"Stopwatches" | |
], | |
"summary": "Get stopwatch of current user", | |
"operationId": "GET api/Stopwatches", | |
"parameters": [ | |
{ | |
"name": "x-instance", | |
"in": "header", | |
"description": "The target instance for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "x-company", | |
"in": "header", | |
"description": "The target company for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "$top", | |
"in": "query", | |
"description": "The max number of records.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$skip", | |
"in": "query", | |
"description": "The number of records to skip.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$filter", | |
"in": "query", | |
"description": "A function that must evaluate to true for a record to be returned.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$select", | |
"in": "query", | |
"description": "Specifies a subset of properties to return. Use a comma separated list.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$orderby", | |
"in": "query", | |
"description": "Determines what values are used to order a collection of records.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$expand", | |
"in": "query", | |
"description": "Use to add related query data.", | |
"schema": { | |
"type": "String" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.StopwatchDto" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"post": { | |
"tags": [ | |
"Stopwatches" | |
], | |
"summary": "Set stopwatch of current user", | |
"operationId": "POST api/Stopwatches", | |
"parameters": [ | |
{ | |
"name": "x-instance", | |
"in": "header", | |
"description": "The target instance for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "x-company", | |
"in": "header", | |
"description": "The target company for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "$top", | |
"in": "query", | |
"description": "The max number of records.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$skip", | |
"in": "query", | |
"description": "The number of records to skip.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$filter", | |
"in": "query", | |
"description": "A function that must evaluate to true for a record to be returned.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$select", | |
"in": "query", | |
"description": "Specifies a subset of properties to return. Use a comma separated list.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$orderby", | |
"in": "query", | |
"description": "Determines what values are used to order a collection of records.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$expand", | |
"in": "query", | |
"description": "Use to add related query data.", | |
"schema": { | |
"type": "String" | |
} | |
} | |
], | |
"requestBody": { | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.StopwatchDto" | |
} | |
} | |
} | |
}, | |
"responses": { | |
"200": { | |
"description": "Success" | |
} | |
} | |
} | |
}, | |
"/api/skills": { | |
"get": { | |
"tags": [ | |
"Skills" | |
], | |
"operationId": "GET api/Skills", | |
"parameters": [ | |
{ | |
"name": "x-instance", | |
"in": "header", | |
"description": "The target instance for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "x-company", | |
"in": "header", | |
"description": "The target company for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "$top", | |
"in": "query", | |
"description": "The max number of records.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$skip", | |
"in": "query", | |
"description": "The number of records to skip.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$filter", | |
"in": "query", | |
"description": "A function that must evaluate to true for a record to be returned.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$select", | |
"in": "query", | |
"description": "Specifies a subset of properties to return. Use a comma separated list.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$orderby", | |
"in": "query", | |
"description": "Determines what values are used to order a collection of records.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$expand", | |
"in": "query", | |
"description": "Use to add related query data.", | |
"schema": { | |
"type": "String" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json;odata.metadata=minimal;odata.streaming=true": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.Business.API.Swagger.ODataResponseType`1[[Backend.BusinessLogic.Dto.SkillDto, Backend.BusinessLogic, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" | |
} | |
}, | |
"application/json;odata.metadata=minimal;odata.streaming=false": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.Business.API.Swagger.ODataResponseType`1[[Backend.BusinessLogic.Dto.SkillDto, Backend.BusinessLogic, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" | |
} | |
}, | |
"application/json;odata.metadata=minimal": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.Business.API.Swagger.ODataResponseType`1[[Backend.BusinessLogic.Dto.SkillDto, Backend.BusinessLogic, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" | |
} | |
}, | |
"application/json;odata.metadata=full;odata.streaming=true": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.Business.API.Swagger.ODataResponseType`1[[Backend.BusinessLogic.Dto.SkillDto, Backend.BusinessLogic, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" | |
} | |
}, | |
"application/json;odata.metadata=full;odata.streaming=false": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.Business.API.Swagger.ODataResponseType`1[[Backend.BusinessLogic.Dto.SkillDto, Backend.BusinessLogic, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" | |
} | |
}, | |
"application/json;odata.metadata=full": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.Business.API.Swagger.ODataResponseType`1[[Backend.BusinessLogic.Dto.SkillDto, Backend.BusinessLogic, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" | |
} | |
}, | |
"application/json;odata.metadata=none;odata.streaming=true": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.Business.API.Swagger.ODataResponseType`1[[Backend.BusinessLogic.Dto.SkillDto, Backend.BusinessLogic, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" | |
} | |
}, | |
"application/json;odata.metadata=none;odata.streaming=false": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.Business.API.Swagger.ODataResponseType`1[[Backend.BusinessLogic.Dto.SkillDto, Backend.BusinessLogic, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" | |
} | |
}, | |
"application/json;odata.metadata=none": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.Business.API.Swagger.ODataResponseType`1[[Backend.BusinessLogic.Dto.SkillDto, Backend.BusinessLogic, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" | |
} | |
}, | |
"application/json;odata.streaming=true": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.Business.API.Swagger.ODataResponseType`1[[Backend.BusinessLogic.Dto.SkillDto, Backend.BusinessLogic, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" | |
} | |
}, | |
"application/json;odata.streaming=false": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.Business.API.Swagger.ODataResponseType`1[[Backend.BusinessLogic.Dto.SkillDto, Backend.BusinessLogic, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" | |
} | |
}, | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.Business.API.Swagger.ODataResponseType`1[[Backend.BusinessLogic.Dto.SkillDto, Backend.BusinessLogic, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" | |
} | |
}, | |
"application/xml": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.Business.API.Swagger.ODataResponseType`1[[Backend.BusinessLogic.Dto.SkillDto, Backend.BusinessLogic, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/api/skills/{key}": { | |
"get": { | |
"tags": [ | |
"Skills" | |
], | |
"operationId": "GET api/Skills/{key}", | |
"parameters": [ | |
{ | |
"name": "key", | |
"in": "path", | |
"required": true, | |
"schema": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
} | |
}, | |
{ | |
"name": "x-instance", | |
"in": "header", | |
"description": "The target instance for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "x-company", | |
"in": "header", | |
"description": "The target company for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "$top", | |
"in": "query", | |
"description": "The max number of records.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$skip", | |
"in": "query", | |
"description": "The number of records to skip.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$filter", | |
"in": "query", | |
"description": "A function that must evaluate to true for a record to be returned.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$select", | |
"in": "query", | |
"description": "Specifies a subset of properties to return. Use a comma separated list.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$orderby", | |
"in": "query", | |
"description": "Determines what values are used to order a collection of records.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$expand", | |
"in": "query", | |
"description": "Use to add related query data.", | |
"schema": { | |
"type": "String" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json;odata.metadata=minimal;odata.streaming=true": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.SkillDto" | |
} | |
}, | |
"application/json;odata.metadata=minimal;odata.streaming=false": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.SkillDto" | |
} | |
}, | |
"application/json;odata.metadata=minimal": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.SkillDto" | |
} | |
}, | |
"application/json;odata.metadata=full;odata.streaming=true": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.SkillDto" | |
} | |
}, | |
"application/json;odata.metadata=full;odata.streaming=false": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.SkillDto" | |
} | |
}, | |
"application/json;odata.metadata=full": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.SkillDto" | |
} | |
}, | |
"application/json;odata.metadata=none;odata.streaming=true": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.SkillDto" | |
} | |
}, | |
"application/json;odata.metadata=none;odata.streaming=false": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.SkillDto" | |
} | |
}, | |
"application/json;odata.metadata=none": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.SkillDto" | |
} | |
}, | |
"application/json;odata.streaming=true": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.SkillDto" | |
} | |
}, | |
"application/json;odata.streaming=false": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.SkillDto" | |
} | |
}, | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.SkillDto" | |
} | |
}, | |
"application/xml": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.SkillDto" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/api/settings/{key}": { | |
"get": { | |
"tags": [ | |
"Settings" | |
], | |
"summary": "Get settings by key", | |
"parameters": [ | |
{ | |
"name": "key", | |
"in": "path", | |
"required": true, | |
"schema": { | |
"title": "String", | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "x-instance", | |
"in": "header", | |
"description": "The target instance for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "x-company", | |
"in": "header", | |
"description": "The target company for the request", | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"title": "String", | |
"type": "string" | |
} | |
}, | |
"text/plain": { | |
"schema": { | |
"title": "String", | |
"type": "string" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"post": { | |
"tags": [ | |
"Settings" | |
], | |
"summary": "Store settings by key", | |
"parameters": [ | |
{ | |
"name": "key", | |
"in": "path", | |
"required": true, | |
"schema": { | |
"title": "String", | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "x-instance", | |
"in": "header", | |
"description": "The target instance for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "x-company", | |
"in": "header", | |
"description": "The target company for the request", | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success" | |
} | |
} | |
} | |
}, | |
"/api/settings": { | |
"get": { | |
"tags": [ | |
"Settings" | |
], | |
"summary": "Get settings", | |
"parameters": [ | |
{ | |
"name": "x-instance", | |
"in": "header", | |
"description": "The target instance for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "x-company", | |
"in": "header", | |
"description": "The target company for the request", | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"title": "String", | |
"type": "string" | |
} | |
}, | |
"text/plain": { | |
"schema": { | |
"title": "String", | |
"type": "string" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"post": { | |
"tags": [ | |
"Settings" | |
], | |
"summary": "Store settings", | |
"parameters": [ | |
{ | |
"name": "x-instance", | |
"in": "header", | |
"description": "The target instance for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "x-company", | |
"in": "header", | |
"description": "The target company for the request", | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success" | |
} | |
} | |
} | |
}, | |
"/api/roles": { | |
"get": { | |
"tags": [ | |
"Roles" | |
], | |
"summary": "Get all roles", | |
"operationId": "GET api/Roles", | |
"parameters": [ | |
{ | |
"name": "x-instance", | |
"in": "header", | |
"description": "The target instance for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "x-company", | |
"in": "header", | |
"description": "The target company for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "$top", | |
"in": "query", | |
"description": "The max number of records.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$skip", | |
"in": "query", | |
"description": "The number of records to skip.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$filter", | |
"in": "query", | |
"description": "A function that must evaluate to true for a record to be returned.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$select", | |
"in": "query", | |
"description": "Specifies a subset of properties to return. Use a comma separated list.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$orderby", | |
"in": "query", | |
"description": "Determines what values are used to order a collection of records.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$expand", | |
"in": "query", | |
"description": "Use to add related query data.", | |
"schema": { | |
"type": "String" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.Business.API.Swagger.ODataResponseType`1[[Backend.BusinessLogic.Dto.RoleDto, Backend.BusinessLogic, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/api/roles/{key}": { | |
"get": { | |
"tags": [ | |
"Roles" | |
], | |
"summary": "Get role by id", | |
"operationId": "GET api/Roles/{key}", | |
"parameters": [ | |
{ | |
"name": "key", | |
"in": "path", | |
"description": "The GUID of the role", | |
"required": true, | |
"schema": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
} | |
}, | |
{ | |
"name": "x-instance", | |
"in": "header", | |
"description": "The target instance for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "x-company", | |
"in": "header", | |
"description": "The target company for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "$top", | |
"in": "query", | |
"description": "The max number of records.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$skip", | |
"in": "query", | |
"description": "The number of records to skip.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$filter", | |
"in": "query", | |
"description": "A function that must evaluate to true for a record to be returned.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$select", | |
"in": "query", | |
"description": "Specifies a subset of properties to return. Use a comma separated list.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$orderby", | |
"in": "query", | |
"description": "Determines what values are used to order a collection of records.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$expand", | |
"in": "query", | |
"description": "Use to add related query data.", | |
"schema": { | |
"type": "String" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.RoleDto" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/api/resourceTaskAssignments": { | |
"get": { | |
"tags": [ | |
"ResourceTaskAssignments" | |
], | |
"operationId": "api/ResourceTaskAssignments", | |
"parameters": [ | |
{ | |
"name": "x-instance", | |
"in": "header", | |
"description": "The target instance for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "x-company", | |
"in": "header", | |
"description": "The target company for the request", | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json;odata.metadata=minimal;odata.streaming=true": { | |
"schema": { | |
"title": "IQueryable<ResourceTaskAssignment>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ResourceTaskAssignmentDto" | |
} | |
} | |
}, | |
"application/json;odata.metadata=minimal;odata.streaming=false": { | |
"schema": { | |
"title": "IQueryable<ResourceTaskAssignment>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ResourceTaskAssignmentDto" | |
} | |
} | |
}, | |
"application/json;odata.metadata=minimal": { | |
"schema": { | |
"title": "IQueryable<ResourceTaskAssignment>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ResourceTaskAssignmentDto" | |
} | |
} | |
}, | |
"application/json;odata.metadata=full;odata.streaming=true": { | |
"schema": { | |
"title": "IQueryable<ResourceTaskAssignment>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ResourceTaskAssignmentDto" | |
} | |
} | |
}, | |
"application/json;odata.metadata=full;odata.streaming=false": { | |
"schema": { | |
"title": "IQueryable<ResourceTaskAssignment>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ResourceTaskAssignmentDto" | |
} | |
} | |
}, | |
"application/json;odata.metadata=full": { | |
"schema": { | |
"title": "IQueryable<ResourceTaskAssignment>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ResourceTaskAssignmentDto" | |
} | |
} | |
}, | |
"application/json;odata.metadata=none;odata.streaming=true": { | |
"schema": { | |
"title": "IQueryable<ResourceTaskAssignment>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ResourceTaskAssignmentDto" | |
} | |
} | |
}, | |
"application/json;odata.metadata=none;odata.streaming=false": { | |
"schema": { | |
"title": "IQueryable<ResourceTaskAssignment>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ResourceTaskAssignmentDto" | |
} | |
} | |
}, | |
"application/json;odata.metadata=none": { | |
"schema": { | |
"title": "IQueryable<ResourceTaskAssignment>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ResourceTaskAssignmentDto" | |
} | |
} | |
}, | |
"application/json;odata.streaming=true": { | |
"schema": { | |
"title": "IQueryable<ResourceTaskAssignment>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ResourceTaskAssignmentDto" | |
} | |
} | |
}, | |
"application/json;odata.streaming=false": { | |
"schema": { | |
"title": "IQueryable<ResourceTaskAssignment>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ResourceTaskAssignmentDto" | |
} | |
} | |
}, | |
"application/json": { | |
"schema": { | |
"title": "IQueryable<ResourceTaskAssignment>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ResourceTaskAssignmentDto" | |
} | |
} | |
}, | |
"application/xml": { | |
"schema": { | |
"title": "IQueryable<ResourceTaskAssignment>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ResourceTaskAssignmentDto" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"post": { | |
"tags": [ | |
"ResourceTaskAssignments" | |
], | |
"operationId": "api/ResourceTaskAssignments", | |
"parameters": [ | |
{ | |
"name": "x-instance", | |
"in": "header", | |
"description": "The target instance for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "x-company", | |
"in": "header", | |
"description": "The target company for the request", | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"content": { | |
"application/json;odata.metadata=minimal;odata.streaming=true": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ResourceTaskAssignmentDto" | |
} | |
}, | |
"application/json;odata.metadata=minimal;odata.streaming=false": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ResourceTaskAssignmentDto" | |
} | |
}, | |
"application/json;odata.metadata=minimal": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ResourceTaskAssignmentDto" | |
} | |
}, | |
"application/json;odata.metadata=full;odata.streaming=true": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ResourceTaskAssignmentDto" | |
} | |
}, | |
"application/json;odata.metadata=full;odata.streaming=false": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ResourceTaskAssignmentDto" | |
} | |
}, | |
"application/json;odata.metadata=full": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ResourceTaskAssignmentDto" | |
} | |
}, | |
"application/json;odata.metadata=none;odata.streaming=true": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ResourceTaskAssignmentDto" | |
} | |
}, | |
"application/json;odata.metadata=none;odata.streaming=false": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ResourceTaskAssignmentDto" | |
} | |
}, | |
"application/json;odata.metadata=none": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ResourceTaskAssignmentDto" | |
} | |
}, | |
"application/json;odata.streaming=true": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ResourceTaskAssignmentDto" | |
} | |
}, | |
"application/json;odata.streaming=false": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ResourceTaskAssignmentDto" | |
} | |
}, | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ResourceTaskAssignmentDto" | |
} | |
}, | |
"application/xml": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ResourceTaskAssignmentDto" | |
} | |
}, | |
"text/plain": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ResourceTaskAssignmentDto" | |
} | |
}, | |
"text/json": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ResourceTaskAssignmentDto" | |
} | |
}, | |
"application/*+json": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ResourceTaskAssignmentDto" | |
} | |
} | |
} | |
}, | |
"responses": { | |
"200": { | |
"description": "Success" | |
} | |
} | |
} | |
}, | |
"/api/resourceTaskAssignments/{key}": { | |
"get": { | |
"tags": [ | |
"ResourceTaskAssignments" | |
], | |
"operationId": "api/ResourceTaskAssignments/{key}", | |
"parameters": [ | |
{ | |
"name": "key", | |
"in": "path", | |
"required": true, | |
"schema": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
} | |
}, | |
{ | |
"name": "x-instance", | |
"in": "header", | |
"description": "The target instance for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "x-company", | |
"in": "header", | |
"description": "The target company for the request", | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json;odata.metadata=minimal;odata.streaming=true": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ResourceTaskAssignmentDto" | |
} | |
}, | |
"application/json;odata.metadata=minimal;odata.streaming=false": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ResourceTaskAssignmentDto" | |
} | |
}, | |
"application/json;odata.metadata=minimal": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ResourceTaskAssignmentDto" | |
} | |
}, | |
"application/json;odata.metadata=full;odata.streaming=true": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ResourceTaskAssignmentDto" | |
} | |
}, | |
"application/json;odata.metadata=full;odata.streaming=false": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ResourceTaskAssignmentDto" | |
} | |
}, | |
"application/json;odata.metadata=full": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ResourceTaskAssignmentDto" | |
} | |
}, | |
"application/json;odata.metadata=none;odata.streaming=true": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ResourceTaskAssignmentDto" | |
} | |
}, | |
"application/json;odata.metadata=none;odata.streaming=false": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ResourceTaskAssignmentDto" | |
} | |
}, | |
"application/json;odata.metadata=none": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ResourceTaskAssignmentDto" | |
} | |
}, | |
"application/json;odata.streaming=true": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ResourceTaskAssignmentDto" | |
} | |
}, | |
"application/json;odata.streaming=false": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ResourceTaskAssignmentDto" | |
} | |
}, | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ResourceTaskAssignmentDto" | |
} | |
}, | |
"application/xml": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ResourceTaskAssignmentDto" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"put": { | |
"tags": [ | |
"ResourceTaskAssignments" | |
], | |
"operationId": "api/ResourceTaskAssignments/{key}", | |
"parameters": [ | |
{ | |
"name": "key", | |
"in": "path", | |
"required": true, | |
"schema": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
} | |
}, | |
{ | |
"name": "x-instance", | |
"in": "header", | |
"description": "The target instance for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "x-company", | |
"in": "header", | |
"description": "The target company for the request", | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"content": { | |
"application/json;odata.metadata=minimal;odata.streaming=true": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ResourceTaskAssignmentDto" | |
} | |
}, | |
"application/json;odata.metadata=minimal;odata.streaming=false": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ResourceTaskAssignmentDto" | |
} | |
}, | |
"application/json;odata.metadata=minimal": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ResourceTaskAssignmentDto" | |
} | |
}, | |
"application/json;odata.metadata=full;odata.streaming=true": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ResourceTaskAssignmentDto" | |
} | |
}, | |
"application/json;odata.metadata=full;odata.streaming=false": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ResourceTaskAssignmentDto" | |
} | |
}, | |
"application/json;odata.metadata=full": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ResourceTaskAssignmentDto" | |
} | |
}, | |
"application/json;odata.metadata=none;odata.streaming=true": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ResourceTaskAssignmentDto" | |
} | |
}, | |
"application/json;odata.metadata=none;odata.streaming=false": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ResourceTaskAssignmentDto" | |
} | |
}, | |
"application/json;odata.metadata=none": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ResourceTaskAssignmentDto" | |
} | |
}, | |
"application/json;odata.streaming=true": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ResourceTaskAssignmentDto" | |
} | |
}, | |
"application/json;odata.streaming=false": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ResourceTaskAssignmentDto" | |
} | |
}, | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ResourceTaskAssignmentDto" | |
} | |
}, | |
"application/xml": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ResourceTaskAssignmentDto" | |
} | |
}, | |
"text/plain": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ResourceTaskAssignmentDto" | |
} | |
}, | |
"text/json": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ResourceTaskAssignmentDto" | |
} | |
}, | |
"application/*+json": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ResourceTaskAssignmentDto" | |
} | |
} | |
} | |
}, | |
"responses": { | |
"200": { | |
"description": "Success" | |
} | |
} | |
}, | |
"patch": { | |
"tags": [ | |
"ResourceTaskAssignments" | |
], | |
"operationId": "api/ResourceTaskAssignments/{key}", | |
"parameters": [ | |
{ | |
"name": "key", | |
"in": "path", | |
"required": true, | |
"schema": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
} | |
}, | |
{ | |
"name": "x-instance", | |
"in": "header", | |
"description": "The target instance for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "x-company", | |
"in": "header", | |
"description": "The target company for the request", | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"content": { | |
"application/json;odata.metadata=minimal;odata.streaming=true": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ResourceTaskAssignmentDto" | |
} | |
}, | |
"application/json;odata.metadata=minimal;odata.streaming=false": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ResourceTaskAssignmentDto" | |
} | |
}, | |
"application/json;odata.metadata=minimal": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ResourceTaskAssignmentDto" | |
} | |
}, | |
"application/json;odata.metadata=full;odata.streaming=true": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ResourceTaskAssignmentDto" | |
} | |
}, | |
"application/json;odata.metadata=full;odata.streaming=false": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ResourceTaskAssignmentDto" | |
} | |
}, | |
"application/json;odata.metadata=full": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ResourceTaskAssignmentDto" | |
} | |
}, | |
"application/json;odata.metadata=none;odata.streaming=true": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ResourceTaskAssignmentDto" | |
} | |
}, | |
"application/json;odata.metadata=none;odata.streaming=false": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ResourceTaskAssignmentDto" | |
} | |
}, | |
"application/json;odata.metadata=none": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ResourceTaskAssignmentDto" | |
} | |
}, | |
"application/json;odata.streaming=true": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ResourceTaskAssignmentDto" | |
} | |
}, | |
"application/json;odata.streaming=false": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ResourceTaskAssignmentDto" | |
} | |
}, | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ResourceTaskAssignmentDto" | |
} | |
}, | |
"application/xml": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ResourceTaskAssignmentDto" | |
} | |
}, | |
"text/plain": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ResourceTaskAssignmentDto" | |
} | |
}, | |
"text/json": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ResourceTaskAssignmentDto" | |
} | |
}, | |
"application/*+json": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ResourceTaskAssignmentDto" | |
} | |
} | |
} | |
}, | |
"responses": { | |
"200": { | |
"description": "Success" | |
} | |
} | |
}, | |
"delete": { | |
"tags": [ | |
"ResourceTaskAssignments" | |
], | |
"operationId": "api/ResourceTaskAssignments/{key}", | |
"parameters": [ | |
{ | |
"name": "key", | |
"in": "path", | |
"required": true, | |
"schema": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
} | |
}, | |
{ | |
"name": "x-instance", | |
"in": "header", | |
"description": "The target instance for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "x-company", | |
"in": "header", | |
"description": "The target company for the request", | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success" | |
} | |
} | |
} | |
}, | |
"/api/resources/jobAssignments": { | |
"get": { | |
"tags": [ | |
"Resources" | |
], | |
"summary": "Get all job assignments of current resource", | |
"operationId": "GET api/Resources/JobAssignments", | |
"parameters": [ | |
{ | |
"name": "x-instance", | |
"in": "header", | |
"description": "The target instance for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "x-company", | |
"in": "header", | |
"description": "The target company for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "$top", | |
"in": "query", | |
"description": "The max number of records.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$skip", | |
"in": "query", | |
"description": "The number of records to skip.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$filter", | |
"in": "query", | |
"description": "A function that must evaluate to true for a record to be returned.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$select", | |
"in": "query", | |
"description": "Specifies a subset of properties to return. Use a comma separated list.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$orderby", | |
"in": "query", | |
"description": "Determines what values are used to order a collection of records.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$expand", | |
"in": "query", | |
"description": "Use to add related query data.", | |
"schema": { | |
"type": "String" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.Business.API.Swagger.ODataResponseType`1[[Backend.BusinessLogic.Dto.ResourceJobAssignmentDto, Backend.BusinessLogic, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/api/resources": { | |
"get": { | |
"tags": [ | |
"Resources" | |
], | |
"summary": "Get all resources", | |
"operationId": "GET api/Resources", | |
"parameters": [ | |
{ | |
"name": "x-instance", | |
"in": "header", | |
"description": "The target instance for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "x-company", | |
"in": "header", | |
"description": "The target company for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "$top", | |
"in": "query", | |
"description": "The max number of records.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$skip", | |
"in": "query", | |
"description": "The number of records to skip.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$filter", | |
"in": "query", | |
"description": "A function that must evaluate to true for a record to be returned.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$select", | |
"in": "query", | |
"description": "Specifies a subset of properties to return. Use a comma separated list.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$orderby", | |
"in": "query", | |
"description": "Determines what values are used to order a collection of records.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$expand", | |
"in": "query", | |
"description": "Use to add related query data.", | |
"schema": { | |
"type": "String" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.Business.API.Swagger.ODataResponseType`1[[Backend.BusinessLogic.Dto.ResourceDto, Backend.BusinessLogic, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/api/resources/{key}": { | |
"get": { | |
"tags": [ | |
"Resources" | |
], | |
"summary": "Get resource by id", | |
"operationId": "GET api/Resources/{key}", | |
"parameters": [ | |
{ | |
"name": "key", | |
"in": "path", | |
"description": "The GUID of the resource", | |
"required": true, | |
"schema": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
} | |
}, | |
{ | |
"name": "x-instance", | |
"in": "header", | |
"description": "The target instance for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "x-company", | |
"in": "header", | |
"description": "The target company for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "$top", | |
"in": "query", | |
"description": "The max number of records.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$skip", | |
"in": "query", | |
"description": "The number of records to skip.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$filter", | |
"in": "query", | |
"description": "A function that must evaluate to true for a record to be returned.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$select", | |
"in": "query", | |
"description": "Specifies a subset of properties to return. Use a comma separated list.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$orderby", | |
"in": "query", | |
"description": "Determines what values are used to order a collection of records.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$expand", | |
"in": "query", | |
"description": "Use to add related query data.", | |
"schema": { | |
"type": "String" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ResourceDto" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"patch": { | |
"tags": [ | |
"Resources" | |
], | |
"summary": "Modify existing resource", | |
"operationId": "PATCH api/Resources/{key}", | |
"parameters": [ | |
{ | |
"name": "key", | |
"in": "path", | |
"required": true, | |
"schema": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
} | |
}, | |
{ | |
"name": "x-instance", | |
"in": "header", | |
"description": "The target instance for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "x-company", | |
"in": "header", | |
"description": "The target company for the request", | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ResourceDto" | |
} | |
} | |
} | |
}, | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ResourceDto" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/api/jobs/{key}/budgets": { | |
"get": { | |
"tags": [ | |
"Jobs" | |
], | |
"operationId": "GET ", | |
"parameters": [ | |
{ | |
"name": "key", | |
"in": "query", | |
"schema": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
} | |
}, | |
{ | |
"name": "x-instance", | |
"in": "header", | |
"description": "The target instance for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "x-company", | |
"in": "header", | |
"description": "The target company for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "$top", | |
"in": "query", | |
"description": "The max number of records.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$skip", | |
"in": "query", | |
"description": "The number of records to skip.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$filter", | |
"in": "query", | |
"description": "A function that must evaluate to true for a record to be returned.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$select", | |
"in": "query", | |
"description": "Specifies a subset of properties to return. Use a comma separated list.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$orderby", | |
"in": "query", | |
"description": "Determines what values are used to order a collection of records.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$expand", | |
"in": "query", | |
"description": "Use to add related query data.", | |
"schema": { | |
"type": "String" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"title": "List<JobBudget>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.JobBudgetDto" | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/api/resourceJobAssignments/jobTasks": { | |
"get": { | |
"tags": [ | |
"ResourceJobAssignments" | |
], | |
"summary": "Get all job tasks for which the current resource has assignments", | |
"operationId": "GET api/ResourceJobAssignments/JobTasks", | |
"parameters": [ | |
{ | |
"name": "x-instance", | |
"in": "header", | |
"description": "The target instance for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "x-company", | |
"in": "header", | |
"description": "The target company for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "$top", | |
"in": "query", | |
"description": "The max number of records.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$skip", | |
"in": "query", | |
"description": "The number of records to skip.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$filter", | |
"in": "query", | |
"description": "A function that must evaluate to true for a record to be returned.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$select", | |
"in": "query", | |
"description": "Specifies a subset of properties to return. Use a comma separated list.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$orderby", | |
"in": "query", | |
"description": "Determines what values are used to order a collection of records.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$expand", | |
"in": "query", | |
"description": "Use to add related query data.", | |
"schema": { | |
"type": "String" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.Business.API.Swagger.ODataResponseType`1[[Backend.BusinessLogic.Dto.JobTaskDto, Backend.BusinessLogic, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/api/resourceJobAssignments/jobs": { | |
"get": { | |
"tags": [ | |
"ResourceJobAssignments" | |
], | |
"summary": "Get all jobs for which the current resource has assignments", | |
"operationId": "GET api/ResourceJobAssignments/Jobs", | |
"parameters": [ | |
{ | |
"name": "x-instance", | |
"in": "header", | |
"description": "The target instance for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "x-company", | |
"in": "header", | |
"description": "The target company for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "$top", | |
"in": "query", | |
"description": "The max number of records.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$skip", | |
"in": "query", | |
"description": "The number of records to skip.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$filter", | |
"in": "query", | |
"description": "A function that must evaluate to true for a record to be returned.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$select", | |
"in": "query", | |
"description": "Specifies a subset of properties to return. Use a comma separated list.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$orderby", | |
"in": "query", | |
"description": "Determines what values are used to order a collection of records.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$expand", | |
"in": "query", | |
"description": "Use to add related query data.", | |
"schema": { | |
"type": "String" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.Business.API.Swagger.ODataResponseType`1[[Backend.BusinessLogic.Dto.JobDto, Backend.BusinessLogic, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/api/resourceJobAssignments/customers": { | |
"get": { | |
"tags": [ | |
"ResourceJobAssignments" | |
], | |
"summary": "Get all customers for which the current resource has assignments", | |
"operationId": "GET api/ResourceJobAssignments/Customers", | |
"parameters": [ | |
{ | |
"name": "x-instance", | |
"in": "header", | |
"description": "The target instance for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "x-company", | |
"in": "header", | |
"description": "The target company for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "$top", | |
"in": "query", | |
"description": "The max number of records.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$skip", | |
"in": "query", | |
"description": "The number of records to skip.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$filter", | |
"in": "query", | |
"description": "A function that must evaluate to true for a record to be returned.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$select", | |
"in": "query", | |
"description": "Specifies a subset of properties to return. Use a comma separated list.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$orderby", | |
"in": "query", | |
"description": "Determines what values are used to order a collection of records.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$expand", | |
"in": "query", | |
"description": "Use to add related query data.", | |
"schema": { | |
"type": "String" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.Business.API.Swagger.ODataResponseType`1[[Backend.BusinessLogic.Dto.CustomerDto, Backend.BusinessLogic, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/api/resourceJobAssignments": { | |
"get": { | |
"tags": [ | |
"ResourceJobAssignments" | |
], | |
"summary": "Get all resource job assignments", | |
"description": "Requires administrator rights", | |
"operationId": "GET api/ResourceJobAssignments", | |
"parameters": [ | |
{ | |
"name": "x-instance", | |
"in": "header", | |
"description": "The target instance for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "x-company", | |
"in": "header", | |
"description": "The target company for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "$top", | |
"in": "query", | |
"description": "The max number of records.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$skip", | |
"in": "query", | |
"description": "The number of records to skip.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$filter", | |
"in": "query", | |
"description": "A function that must evaluate to true for a record to be returned.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$select", | |
"in": "query", | |
"description": "Specifies a subset of properties to return. Use a comma separated list.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$orderby", | |
"in": "query", | |
"description": "Determines what values are used to order a collection of records.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$expand", | |
"in": "query", | |
"description": "Use to add related query data.", | |
"schema": { | |
"type": "String" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.Business.API.Swagger.ODataResponseType`1[[Backend.BusinessLogic.Dto.ResourceJobAssignmentDto, Backend.BusinessLogic, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/api/resourceJobAssignments/{key}": { | |
"get": { | |
"tags": [ | |
"ResourceJobAssignments" | |
], | |
"summary": "Get resource job assignment by id", | |
"operationId": "GET api/ResourceJobAssignments/{key}", | |
"parameters": [ | |
{ | |
"name": "key", | |
"in": "path", | |
"description": "The GUID of the assignment", | |
"required": true, | |
"schema": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
} | |
}, | |
{ | |
"name": "x-instance", | |
"in": "header", | |
"description": "The target instance for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "x-company", | |
"in": "header", | |
"description": "The target company for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "$top", | |
"in": "query", | |
"description": "The max number of records.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$skip", | |
"in": "query", | |
"description": "The number of records to skip.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$filter", | |
"in": "query", | |
"description": "A function that must evaluate to true for a record to be returned.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$select", | |
"in": "query", | |
"description": "Specifies a subset of properties to return. Use a comma separated list.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$orderby", | |
"in": "query", | |
"description": "Determines what values are used to order a collection of records.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$expand", | |
"in": "query", | |
"description": "Use to add related query data.", | |
"schema": { | |
"type": "String" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ResourceJobAssignmentDto" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/api/resourceGroups": { | |
"get": { | |
"tags": [ | |
"ResourceGroups" | |
], | |
"summary": "Get all resource groups", | |
"operationId": "GET api/ResourceGroups", | |
"parameters": [ | |
{ | |
"name": "x-instance", | |
"in": "header", | |
"description": "The target instance for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "x-company", | |
"in": "header", | |
"description": "The target company for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "$top", | |
"in": "query", | |
"description": "The max number of records.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$skip", | |
"in": "query", | |
"description": "The number of records to skip.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$filter", | |
"in": "query", | |
"description": "A function that must evaluate to true for a record to be returned.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$select", | |
"in": "query", | |
"description": "Specifies a subset of properties to return. Use a comma separated list.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$orderby", | |
"in": "query", | |
"description": "Determines what values are used to order a collection of records.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$expand", | |
"in": "query", | |
"description": "Use to add related query data.", | |
"schema": { | |
"type": "String" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.Business.API.Swagger.ODataResponseType`1[[Backend.BusinessLogic.Dto.ResourceGroupDto, Backend.BusinessLogic, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/api/resourceGroups/{key}": { | |
"get": { | |
"tags": [ | |
"ResourceGroups" | |
], | |
"summary": "Get resource group by id", | |
"operationId": "GET api/ResourceGroups/{key}", | |
"parameters": [ | |
{ | |
"name": "key", | |
"in": "path", | |
"description": "The GUID of the resource group", | |
"required": true, | |
"schema": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
} | |
}, | |
{ | |
"name": "x-instance", | |
"in": "header", | |
"description": "The target instance for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "x-company", | |
"in": "header", | |
"description": "The target company for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "$top", | |
"in": "query", | |
"description": "The max number of records.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$skip", | |
"in": "query", | |
"description": "The number of records to skip.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$filter", | |
"in": "query", | |
"description": "A function that must evaluate to true for a record to be returned.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$select", | |
"in": "query", | |
"description": "Specifies a subset of properties to return. Use a comma separated list.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$orderby", | |
"in": "query", | |
"description": "Determines what values are used to order a collection of records.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$expand", | |
"in": "query", | |
"description": "Use to add related query data.", | |
"schema": { | |
"type": "String" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ResourceGroupDto" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/api/projectTasks": { | |
"get": { | |
"tags": [ | |
"ProjectTasks" | |
], | |
"operationId": "api/ProjectTasks", | |
"parameters": [ | |
{ | |
"name": "x-instance", | |
"in": "header", | |
"description": "The target instance for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "x-company", | |
"in": "header", | |
"description": "The target company for the request", | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json;odata.metadata=minimal;odata.streaming=true": { | |
"schema": { | |
"title": "IQueryable<ProjectTask>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskDto" | |
} | |
} | |
}, | |
"application/json;odata.metadata=minimal;odata.streaming=false": { | |
"schema": { | |
"title": "IQueryable<ProjectTask>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskDto" | |
} | |
} | |
}, | |
"application/json;odata.metadata=minimal": { | |
"schema": { | |
"title": "IQueryable<ProjectTask>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskDto" | |
} | |
} | |
}, | |
"application/json;odata.metadata=full;odata.streaming=true": { | |
"schema": { | |
"title": "IQueryable<ProjectTask>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskDto" | |
} | |
} | |
}, | |
"application/json;odata.metadata=full;odata.streaming=false": { | |
"schema": { | |
"title": "IQueryable<ProjectTask>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskDto" | |
} | |
} | |
}, | |
"application/json;odata.metadata=full": { | |
"schema": { | |
"title": "IQueryable<ProjectTask>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskDto" | |
} | |
} | |
}, | |
"application/json;odata.metadata=none;odata.streaming=true": { | |
"schema": { | |
"title": "IQueryable<ProjectTask>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskDto" | |
} | |
} | |
}, | |
"application/json;odata.metadata=none;odata.streaming=false": { | |
"schema": { | |
"title": "IQueryable<ProjectTask>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskDto" | |
} | |
} | |
}, | |
"application/json;odata.metadata=none": { | |
"schema": { | |
"title": "IQueryable<ProjectTask>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskDto" | |
} | |
} | |
}, | |
"application/json;odata.streaming=true": { | |
"schema": { | |
"title": "IQueryable<ProjectTask>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskDto" | |
} | |
} | |
}, | |
"application/json;odata.streaming=false": { | |
"schema": { | |
"title": "IQueryable<ProjectTask>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskDto" | |
} | |
} | |
}, | |
"application/json": { | |
"schema": { | |
"title": "IQueryable<ProjectTask>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskDto" | |
} | |
} | |
}, | |
"application/xml": { | |
"schema": { | |
"title": "IQueryable<ProjectTask>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskDto" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"post": { | |
"tags": [ | |
"ProjectTasks" | |
], | |
"operationId": "api/ProjectTasks", | |
"parameters": [ | |
{ | |
"name": "x-instance", | |
"in": "header", | |
"description": "The target instance for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "x-company", | |
"in": "header", | |
"description": "The target company for the request", | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"content": { | |
"application/json;odata.metadata=minimal;odata.streaming=true": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskDto" | |
} | |
}, | |
"application/json;odata.metadata=minimal;odata.streaming=false": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskDto" | |
} | |
}, | |
"application/json;odata.metadata=minimal": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskDto" | |
} | |
}, | |
"application/json;odata.metadata=full;odata.streaming=true": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskDto" | |
} | |
}, | |
"application/json;odata.metadata=full;odata.streaming=false": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskDto" | |
} | |
}, | |
"application/json;odata.metadata=full": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskDto" | |
} | |
}, | |
"application/json;odata.metadata=none;odata.streaming=true": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskDto" | |
} | |
}, | |
"application/json;odata.metadata=none;odata.streaming=false": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskDto" | |
} | |
}, | |
"application/json;odata.metadata=none": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskDto" | |
} | |
}, | |
"application/json;odata.streaming=true": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskDto" | |
} | |
}, | |
"application/json;odata.streaming=false": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskDto" | |
} | |
}, | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskDto" | |
} | |
}, | |
"application/xml": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskDto" | |
} | |
}, | |
"text/plain": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskDto" | |
} | |
}, | |
"text/json": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskDto" | |
} | |
}, | |
"application/*+json": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskDto" | |
} | |
} | |
} | |
}, | |
"responses": { | |
"200": { | |
"description": "Success" | |
} | |
} | |
} | |
}, | |
"/api/projectTasks/{key}": { | |
"get": { | |
"tags": [ | |
"ProjectTasks" | |
], | |
"operationId": "api/ProjectTasks/{key}", | |
"parameters": [ | |
{ | |
"name": "key", | |
"in": "path", | |
"required": true, | |
"schema": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
} | |
}, | |
{ | |
"name": "x-instance", | |
"in": "header", | |
"description": "The target instance for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "x-company", | |
"in": "header", | |
"description": "The target company for the request", | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json;odata.metadata=minimal;odata.streaming=true": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskDto" | |
} | |
}, | |
"application/json;odata.metadata=minimal;odata.streaming=false": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskDto" | |
} | |
}, | |
"application/json;odata.metadata=minimal": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskDto" | |
} | |
}, | |
"application/json;odata.metadata=full;odata.streaming=true": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskDto" | |
} | |
}, | |
"application/json;odata.metadata=full;odata.streaming=false": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskDto" | |
} | |
}, | |
"application/json;odata.metadata=full": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskDto" | |
} | |
}, | |
"application/json;odata.metadata=none;odata.streaming=true": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskDto" | |
} | |
}, | |
"application/json;odata.metadata=none;odata.streaming=false": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskDto" | |
} | |
}, | |
"application/json;odata.metadata=none": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskDto" | |
} | |
}, | |
"application/json;odata.streaming=true": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskDto" | |
} | |
}, | |
"application/json;odata.streaming=false": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskDto" | |
} | |
}, | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskDto" | |
} | |
}, | |
"application/xml": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskDto" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"put": { | |
"tags": [ | |
"ProjectTasks" | |
], | |
"operationId": "api/ProjectTasks/{key}", | |
"parameters": [ | |
{ | |
"name": "key", | |
"in": "path", | |
"required": true, | |
"schema": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
} | |
}, | |
{ | |
"name": "x-instance", | |
"in": "header", | |
"description": "The target instance for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "x-company", | |
"in": "header", | |
"description": "The target company for the request", | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"content": { | |
"application/json;odata.metadata=minimal;odata.streaming=true": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskDto" | |
} | |
}, | |
"application/json;odata.metadata=minimal;odata.streaming=false": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskDto" | |
} | |
}, | |
"application/json;odata.metadata=minimal": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskDto" | |
} | |
}, | |
"application/json;odata.metadata=full;odata.streaming=true": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskDto" | |
} | |
}, | |
"application/json;odata.metadata=full;odata.streaming=false": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskDto" | |
} | |
}, | |
"application/json;odata.metadata=full": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskDto" | |
} | |
}, | |
"application/json;odata.metadata=none;odata.streaming=true": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskDto" | |
} | |
}, | |
"application/json;odata.metadata=none;odata.streaming=false": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskDto" | |
} | |
}, | |
"application/json;odata.metadata=none": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskDto" | |
} | |
}, | |
"application/json;odata.streaming=true": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskDto" | |
} | |
}, | |
"application/json;odata.streaming=false": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskDto" | |
} | |
}, | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskDto" | |
} | |
}, | |
"application/xml": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskDto" | |
} | |
}, | |
"text/plain": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskDto" | |
} | |
}, | |
"text/json": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskDto" | |
} | |
}, | |
"application/*+json": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskDto" | |
} | |
} | |
} | |
}, | |
"responses": { | |
"200": { | |
"description": "Success" | |
} | |
} | |
}, | |
"patch": { | |
"tags": [ | |
"ProjectTasks" | |
], | |
"operationId": "api/ProjectTasks/{key}", | |
"parameters": [ | |
{ | |
"name": "key", | |
"in": "path", | |
"required": true, | |
"schema": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
} | |
}, | |
{ | |
"name": "x-instance", | |
"in": "header", | |
"description": "The target instance for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "x-company", | |
"in": "header", | |
"description": "The target company for the request", | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"content": { | |
"application/json;odata.metadata=minimal;odata.streaming=true": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskDto" | |
} | |
}, | |
"application/json;odata.metadata=minimal;odata.streaming=false": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskDto" | |
} | |
}, | |
"application/json;odata.metadata=minimal": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskDto" | |
} | |
}, | |
"application/json;odata.metadata=full;odata.streaming=true": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskDto" | |
} | |
}, | |
"application/json;odata.metadata=full;odata.streaming=false": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskDto" | |
} | |
}, | |
"application/json;odata.metadata=full": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskDto" | |
} | |
}, | |
"application/json;odata.metadata=none;odata.streaming=true": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskDto" | |
} | |
}, | |
"application/json;odata.metadata=none;odata.streaming=false": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskDto" | |
} | |
}, | |
"application/json;odata.metadata=none": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskDto" | |
} | |
}, | |
"application/json;odata.streaming=true": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskDto" | |
} | |
}, | |
"application/json;odata.streaming=false": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskDto" | |
} | |
}, | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskDto" | |
} | |
}, | |
"application/xml": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskDto" | |
} | |
}, | |
"text/plain": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskDto" | |
} | |
}, | |
"text/json": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskDto" | |
} | |
}, | |
"application/*+json": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskDto" | |
} | |
} | |
} | |
}, | |
"responses": { | |
"200": { | |
"description": "Success" | |
} | |
} | |
}, | |
"delete": { | |
"tags": [ | |
"ProjectTasks" | |
], | |
"operationId": "api/ProjectTasks/{key}", | |
"parameters": [ | |
{ | |
"name": "key", | |
"in": "path", | |
"required": true, | |
"schema": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
} | |
}, | |
{ | |
"name": "x-instance", | |
"in": "header", | |
"description": "The target instance for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "x-company", | |
"in": "header", | |
"description": "The target company for the request", | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success" | |
} | |
} | |
} | |
}, | |
"/api/projectTasks/forCurrentResource": { | |
"get": { | |
"tags": [ | |
"ProjectTasks" | |
], | |
"summary": "List all tasks that are assigned to the current resource", | |
"operationId": "api/ProjectTasks/ForCurrentResource", | |
"parameters": [ | |
{ | |
"name": "x-instance", | |
"in": "header", | |
"description": "The target instance for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "x-company", | |
"in": "header", | |
"description": "The target company for the request", | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json;odata.metadata=minimal;odata.streaming=true": { | |
"schema": { | |
"title": "IQueryable<ProjectTask>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskDto" | |
} | |
} | |
}, | |
"application/json;odata.metadata=minimal;odata.streaming=false": { | |
"schema": { | |
"title": "IQueryable<ProjectTask>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskDto" | |
} | |
} | |
}, | |
"application/json;odata.metadata=minimal": { | |
"schema": { | |
"title": "IQueryable<ProjectTask>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskDto" | |
} | |
} | |
}, | |
"application/json;odata.metadata=full;odata.streaming=true": { | |
"schema": { | |
"title": "IQueryable<ProjectTask>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskDto" | |
} | |
} | |
}, | |
"application/json;odata.metadata=full;odata.streaming=false": { | |
"schema": { | |
"title": "IQueryable<ProjectTask>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskDto" | |
} | |
} | |
}, | |
"application/json;odata.metadata=full": { | |
"schema": { | |
"title": "IQueryable<ProjectTask>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskDto" | |
} | |
} | |
}, | |
"application/json;odata.metadata=none;odata.streaming=true": { | |
"schema": { | |
"title": "IQueryable<ProjectTask>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskDto" | |
} | |
} | |
}, | |
"application/json;odata.metadata=none;odata.streaming=false": { | |
"schema": { | |
"title": "IQueryable<ProjectTask>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskDto" | |
} | |
} | |
}, | |
"application/json;odata.metadata=none": { | |
"schema": { | |
"title": "IQueryable<ProjectTask>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskDto" | |
} | |
} | |
}, | |
"application/json;odata.streaming=true": { | |
"schema": { | |
"title": "IQueryable<ProjectTask>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskDto" | |
} | |
} | |
}, | |
"application/json;odata.streaming=false": { | |
"schema": { | |
"title": "IQueryable<ProjectTask>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskDto" | |
} | |
} | |
}, | |
"application/json": { | |
"schema": { | |
"title": "IQueryable<ProjectTask>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskDto" | |
} | |
} | |
}, | |
"application/xml": { | |
"schema": { | |
"title": "IQueryable<ProjectTask>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskDto" | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/api/projectTasks/budgets": { | |
"get": { | |
"tags": [ | |
"ProjectTasks" | |
], | |
"summary": "Get a mapping of time recording budgets to project tasks ids", | |
"operationId": "api/ProjectTasks/Budgets", | |
"parameters": [ | |
{ | |
"name": "x-instance", | |
"in": "header", | |
"description": "The target instance for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "x-company", | |
"in": "header", | |
"description": "The target company for the request", | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json;odata.metadata=minimal;odata.streaming=true": { | |
"schema": { | |
"title": "Dictionary<Guid>", | |
"type": "object", | |
"additionalProperties": { | |
"$ref": "#/components/schemas/Backend.Data.Models.TimeRecordingBudgetWithSum" | |
} | |
} | |
}, | |
"application/json;odata.metadata=minimal;odata.streaming=false": { | |
"schema": { | |
"title": "Dictionary<Guid>", | |
"type": "object", | |
"additionalProperties": { | |
"$ref": "#/components/schemas/Backend.Data.Models.TimeRecordingBudgetWithSum" | |
} | |
} | |
}, | |
"application/json;odata.metadata=minimal": { | |
"schema": { | |
"title": "Dictionary<Guid>", | |
"type": "object", | |
"additionalProperties": { | |
"$ref": "#/components/schemas/Backend.Data.Models.TimeRecordingBudgetWithSum" | |
} | |
} | |
}, | |
"application/json;odata.metadata=full;odata.streaming=true": { | |
"schema": { | |
"title": "Dictionary<Guid>", | |
"type": "object", | |
"additionalProperties": { | |
"$ref": "#/components/schemas/Backend.Data.Models.TimeRecordingBudgetWithSum" | |
} | |
} | |
}, | |
"application/json;odata.metadata=full;odata.streaming=false": { | |
"schema": { | |
"title": "Dictionary<Guid>", | |
"type": "object", | |
"additionalProperties": { | |
"$ref": "#/components/schemas/Backend.Data.Models.TimeRecordingBudgetWithSum" | |
} | |
} | |
}, | |
"application/json;odata.metadata=full": { | |
"schema": { | |
"title": "Dictionary<Guid>", | |
"type": "object", | |
"additionalProperties": { | |
"$ref": "#/components/schemas/Backend.Data.Models.TimeRecordingBudgetWithSum" | |
} | |
} | |
}, | |
"application/json;odata.metadata=none;odata.streaming=true": { | |
"schema": { | |
"title": "Dictionary<Guid>", | |
"type": "object", | |
"additionalProperties": { | |
"$ref": "#/components/schemas/Backend.Data.Models.TimeRecordingBudgetWithSum" | |
} | |
} | |
}, | |
"application/json;odata.metadata=none;odata.streaming=false": { | |
"schema": { | |
"title": "Dictionary<Guid>", | |
"type": "object", | |
"additionalProperties": { | |
"$ref": "#/components/schemas/Backend.Data.Models.TimeRecordingBudgetWithSum" | |
} | |
} | |
}, | |
"application/json;odata.metadata=none": { | |
"schema": { | |
"title": "Dictionary<Guid>", | |
"type": "object", | |
"additionalProperties": { | |
"$ref": "#/components/schemas/Backend.Data.Models.TimeRecordingBudgetWithSum" | |
} | |
} | |
}, | |
"application/json;odata.streaming=true": { | |
"schema": { | |
"title": "Dictionary<Guid>", | |
"type": "object", | |
"additionalProperties": { | |
"$ref": "#/components/schemas/Backend.Data.Models.TimeRecordingBudgetWithSum" | |
} | |
} | |
}, | |
"application/json;odata.streaming=false": { | |
"schema": { | |
"title": "Dictionary<Guid>", | |
"type": "object", | |
"additionalProperties": { | |
"$ref": "#/components/schemas/Backend.Data.Models.TimeRecordingBudgetWithSum" | |
} | |
} | |
}, | |
"application/json": { | |
"schema": { | |
"title": "Dictionary<Guid>", | |
"type": "object", | |
"additionalProperties": { | |
"$ref": "#/components/schemas/Backend.Data.Models.TimeRecordingBudgetWithSum" | |
} | |
} | |
}, | |
"application/xml": { | |
"schema": { | |
"title": "Dictionary<Guid>", | |
"type": "object", | |
"additionalProperties": { | |
"$ref": "#/components/schemas/Backend.Data.Models.TimeRecordingBudgetWithSum" | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/api/projectTasks/{key}/setSkills": { | |
"post": { | |
"tags": [ | |
"ProjectTasks" | |
], | |
"summary": "Set the skills and skill levels on a project task", | |
"operationId": "api/ProjectTasks/{key}/SetSkills", | |
"parameters": [ | |
{ | |
"name": "key", | |
"in": "query", | |
"description": "Id of the task to set on", | |
"schema": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
} | |
}, | |
{ | |
"name": "x-instance", | |
"in": "header", | |
"description": "The target instance for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "x-company", | |
"in": "header", | |
"description": "The target company for the request", | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "Collection of skills and levels", | |
"content": { | |
"application/json;odata.metadata=minimal;odata.streaming=true": { | |
"schema": { | |
"title": "List<ProjectTaskSkillAssignment>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskSkillAssignment" | |
} | |
} | |
}, | |
"application/json;odata.metadata=minimal;odata.streaming=false": { | |
"schema": { | |
"title": "List<ProjectTaskSkillAssignment>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskSkillAssignment" | |
} | |
} | |
}, | |
"application/json;odata.metadata=minimal": { | |
"schema": { | |
"title": "List<ProjectTaskSkillAssignment>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskSkillAssignment" | |
} | |
} | |
}, | |
"application/json;odata.metadata=full;odata.streaming=true": { | |
"schema": { | |
"title": "List<ProjectTaskSkillAssignment>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskSkillAssignment" | |
} | |
} | |
}, | |
"application/json;odata.metadata=full;odata.streaming=false": { | |
"schema": { | |
"title": "List<ProjectTaskSkillAssignment>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskSkillAssignment" | |
} | |
} | |
}, | |
"application/json;odata.metadata=full": { | |
"schema": { | |
"title": "List<ProjectTaskSkillAssignment>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskSkillAssignment" | |
} | |
} | |
}, | |
"application/json;odata.metadata=none;odata.streaming=true": { | |
"schema": { | |
"title": "List<ProjectTaskSkillAssignment>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskSkillAssignment" | |
} | |
} | |
}, | |
"application/json;odata.metadata=none;odata.streaming=false": { | |
"schema": { | |
"title": "List<ProjectTaskSkillAssignment>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskSkillAssignment" | |
} | |
} | |
}, | |
"application/json;odata.metadata=none": { | |
"schema": { | |
"title": "List<ProjectTaskSkillAssignment>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskSkillAssignment" | |
} | |
} | |
}, | |
"application/json;odata.streaming=true": { | |
"schema": { | |
"title": "List<ProjectTaskSkillAssignment>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskSkillAssignment" | |
} | |
} | |
}, | |
"application/json;odata.streaming=false": { | |
"schema": { | |
"title": "List<ProjectTaskSkillAssignment>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskSkillAssignment" | |
} | |
} | |
}, | |
"application/json": { | |
"schema": { | |
"title": "List<ProjectTaskSkillAssignment>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskSkillAssignment" | |
} | |
} | |
}, | |
"application/xml": { | |
"schema": { | |
"title": "List<ProjectTaskSkillAssignment>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskSkillAssignment" | |
} | |
} | |
}, | |
"text/plain": { | |
"schema": { | |
"title": "List<ProjectTaskSkillAssignment>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskSkillAssignment" | |
} | |
} | |
}, | |
"text/json": { | |
"schema": { | |
"title": "List<ProjectTaskSkillAssignment>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskSkillAssignment" | |
} | |
} | |
}, | |
"application/*+json": { | |
"schema": { | |
"title": "List<ProjectTaskSkillAssignment>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskSkillAssignment" | |
} | |
} | |
} | |
} | |
}, | |
"responses": { | |
"200": { | |
"description": "Success" | |
} | |
} | |
} | |
}, | |
"/apiProjectTasks/api/projectTasks/{key}/setSkills": { | |
"post": { | |
"tags": [ | |
"ProjectTasks" | |
], | |
"summary": "Set the skills and skill levels on a project task", | |
"parameters": [ | |
{ | |
"name": "key", | |
"in": "query", | |
"description": "Id of the task to set on", | |
"schema": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
} | |
}, | |
{ | |
"name": "x-instance", | |
"in": "header", | |
"description": "The target instance for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "x-company", | |
"in": "header", | |
"description": "The target company for the request", | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "Collection of skills and levels", | |
"content": { | |
"application/json;odata.metadata=minimal;odata.streaming=true": { | |
"schema": { | |
"title": "List<ProjectTaskSkillAssignment>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskSkillAssignment" | |
} | |
} | |
}, | |
"application/json;odata.metadata=minimal;odata.streaming=false": { | |
"schema": { | |
"title": "List<ProjectTaskSkillAssignment>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskSkillAssignment" | |
} | |
} | |
}, | |
"application/json;odata.metadata=minimal": { | |
"schema": { | |
"title": "List<ProjectTaskSkillAssignment>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskSkillAssignment" | |
} | |
} | |
}, | |
"application/json;odata.metadata=full;odata.streaming=true": { | |
"schema": { | |
"title": "List<ProjectTaskSkillAssignment>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskSkillAssignment" | |
} | |
} | |
}, | |
"application/json;odata.metadata=full;odata.streaming=false": { | |
"schema": { | |
"title": "List<ProjectTaskSkillAssignment>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskSkillAssignment" | |
} | |
} | |
}, | |
"application/json;odata.metadata=full": { | |
"schema": { | |
"title": "List<ProjectTaskSkillAssignment>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskSkillAssignment" | |
} | |
} | |
}, | |
"application/json;odata.metadata=none;odata.streaming=true": { | |
"schema": { | |
"title": "List<ProjectTaskSkillAssignment>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskSkillAssignment" | |
} | |
} | |
}, | |
"application/json;odata.metadata=none;odata.streaming=false": { | |
"schema": { | |
"title": "List<ProjectTaskSkillAssignment>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskSkillAssignment" | |
} | |
} | |
}, | |
"application/json;odata.metadata=none": { | |
"schema": { | |
"title": "List<ProjectTaskSkillAssignment>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskSkillAssignment" | |
} | |
} | |
}, | |
"application/json;odata.streaming=true": { | |
"schema": { | |
"title": "List<ProjectTaskSkillAssignment>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskSkillAssignment" | |
} | |
} | |
}, | |
"application/json;odata.streaming=false": { | |
"schema": { | |
"title": "List<ProjectTaskSkillAssignment>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskSkillAssignment" | |
} | |
} | |
}, | |
"application/json": { | |
"schema": { | |
"title": "List<ProjectTaskSkillAssignment>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskSkillAssignment" | |
} | |
} | |
}, | |
"application/xml": { | |
"schema": { | |
"title": "List<ProjectTaskSkillAssignment>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskSkillAssignment" | |
} | |
} | |
}, | |
"text/plain": { | |
"schema": { | |
"title": "List<ProjectTaskSkillAssignment>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskSkillAssignment" | |
} | |
} | |
}, | |
"text/json": { | |
"schema": { | |
"title": "List<ProjectTaskSkillAssignment>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskSkillAssignment" | |
} | |
} | |
}, | |
"application/*+json": { | |
"schema": { | |
"title": "List<ProjectTaskSkillAssignment>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskSkillAssignment" | |
} | |
} | |
} | |
} | |
}, | |
"responses": { | |
"200": { | |
"description": "Success" | |
} | |
} | |
} | |
}, | |
"/api/projectTasks/{key}/copy": { | |
"post": { | |
"tags": [ | |
"ProjectTasks" | |
], | |
"summary": "Copy a project task with its children and (optionally) its dependencies and assignments.\r\nDependencies are only copied if both the source and target project task are part of the copy operation.", | |
"operationId": "api/ProjectTasks/{key}/Copy", | |
"parameters": [ | |
{ | |
"name": "key", | |
"in": "query", | |
"description": "Id of the project task", | |
"schema": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
} | |
}, | |
{ | |
"name": "x-instance", | |
"in": "header", | |
"description": "The target instance for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "x-company", | |
"in": "header", | |
"description": "The target company for the request", | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "Options for the operation", | |
"content": { | |
"application/json;odata.metadata=minimal;odata.streaming=true": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.CopyProjectTaskOptions" | |
} | |
}, | |
"application/json;odata.metadata=minimal;odata.streaming=false": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.CopyProjectTaskOptions" | |
} | |
}, | |
"application/json;odata.metadata=minimal": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.CopyProjectTaskOptions" | |
} | |
}, | |
"application/json;odata.metadata=full;odata.streaming=true": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.CopyProjectTaskOptions" | |
} | |
}, | |
"application/json;odata.metadata=full;odata.streaming=false": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.CopyProjectTaskOptions" | |
} | |
}, | |
"application/json;odata.metadata=full": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.CopyProjectTaskOptions" | |
} | |
}, | |
"application/json;odata.metadata=none;odata.streaming=true": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.CopyProjectTaskOptions" | |
} | |
}, | |
"application/json;odata.metadata=none;odata.streaming=false": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.CopyProjectTaskOptions" | |
} | |
}, | |
"application/json;odata.metadata=none": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.CopyProjectTaskOptions" | |
} | |
}, | |
"application/json;odata.streaming=true": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.CopyProjectTaskOptions" | |
} | |
}, | |
"application/json;odata.streaming=false": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.CopyProjectTaskOptions" | |
} | |
}, | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.CopyProjectTaskOptions" | |
} | |
}, | |
"application/xml": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.CopyProjectTaskOptions" | |
} | |
}, | |
"text/plain": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.CopyProjectTaskOptions" | |
} | |
}, | |
"text/json": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.CopyProjectTaskOptions" | |
} | |
}, | |
"application/*+json": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.CopyProjectTaskOptions" | |
} | |
} | |
} | |
}, | |
"responses": { | |
"200": { | |
"description": "Success" | |
} | |
} | |
} | |
}, | |
"/apiProjectTasks/api/projectTasks/{key}/copy": { | |
"post": { | |
"tags": [ | |
"ProjectTasks" | |
], | |
"summary": "Copy a project task with its children and (optionally) its dependencies and assignments.\r\nDependencies are only copied if both the source and target project task are part of the copy operation.", | |
"parameters": [ | |
{ | |
"name": "key", | |
"in": "query", | |
"description": "Id of the project task", | |
"schema": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
} | |
}, | |
{ | |
"name": "x-instance", | |
"in": "header", | |
"description": "The target instance for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "x-company", | |
"in": "header", | |
"description": "The target company for the request", | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "Options for the operation", | |
"content": { | |
"application/json;odata.metadata=minimal;odata.streaming=true": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.CopyProjectTaskOptions" | |
} | |
}, | |
"application/json;odata.metadata=minimal;odata.streaming=false": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.CopyProjectTaskOptions" | |
} | |
}, | |
"application/json;odata.metadata=minimal": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.CopyProjectTaskOptions" | |
} | |
}, | |
"application/json;odata.metadata=full;odata.streaming=true": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.CopyProjectTaskOptions" | |
} | |
}, | |
"application/json;odata.metadata=full;odata.streaming=false": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.CopyProjectTaskOptions" | |
} | |
}, | |
"application/json;odata.metadata=full": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.CopyProjectTaskOptions" | |
} | |
}, | |
"application/json;odata.metadata=none;odata.streaming=true": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.CopyProjectTaskOptions" | |
} | |
}, | |
"application/json;odata.metadata=none;odata.streaming=false": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.CopyProjectTaskOptions" | |
} | |
}, | |
"application/json;odata.metadata=none": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.CopyProjectTaskOptions" | |
} | |
}, | |
"application/json;odata.streaming=true": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.CopyProjectTaskOptions" | |
} | |
}, | |
"application/json;odata.streaming=false": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.CopyProjectTaskOptions" | |
} | |
}, | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.CopyProjectTaskOptions" | |
} | |
}, | |
"application/xml": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.CopyProjectTaskOptions" | |
} | |
}, | |
"text/plain": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.CopyProjectTaskOptions" | |
} | |
}, | |
"text/json": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.CopyProjectTaskOptions" | |
} | |
}, | |
"application/*+json": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.CopyProjectTaskOptions" | |
} | |
} | |
} | |
}, | |
"responses": { | |
"200": { | |
"description": "Success" | |
} | |
} | |
} | |
}, | |
"/apiProjectTasks": { | |
"get": { | |
"tags": [ | |
"ProjectTasks" | |
], | |
"summary": "Get a mapping of time recording budgets to project tasks ids", | |
"parameters": [ | |
{ | |
"name": "x-instance", | |
"in": "header", | |
"description": "The target instance for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "x-company", | |
"in": "header", | |
"description": "The target company for the request", | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json;odata.metadata=minimal;odata.streaming=true": { | |
"schema": { | |
"title": "Dictionary<Guid>", | |
"type": "object", | |
"additionalProperties": { | |
"$ref": "#/components/schemas/Backend.Data.Models.TimeRecordingBudgetWithSum" | |
} | |
} | |
}, | |
"application/json;odata.metadata=minimal;odata.streaming=false": { | |
"schema": { | |
"title": "Dictionary<Guid>", | |
"type": "object", | |
"additionalProperties": { | |
"$ref": "#/components/schemas/Backend.Data.Models.TimeRecordingBudgetWithSum" | |
} | |
} | |
}, | |
"application/json;odata.metadata=minimal": { | |
"schema": { | |
"title": "Dictionary<Guid>", | |
"type": "object", | |
"additionalProperties": { | |
"$ref": "#/components/schemas/Backend.Data.Models.TimeRecordingBudgetWithSum" | |
} | |
} | |
}, | |
"application/json;odata.metadata=full;odata.streaming=true": { | |
"schema": { | |
"title": "Dictionary<Guid>", | |
"type": "object", | |
"additionalProperties": { | |
"$ref": "#/components/schemas/Backend.Data.Models.TimeRecordingBudgetWithSum" | |
} | |
} | |
}, | |
"application/json;odata.metadata=full;odata.streaming=false": { | |
"schema": { | |
"title": "Dictionary<Guid>", | |
"type": "object", | |
"additionalProperties": { | |
"$ref": "#/components/schemas/Backend.Data.Models.TimeRecordingBudgetWithSum" | |
} | |
} | |
}, | |
"application/json;odata.metadata=full": { | |
"schema": { | |
"title": "Dictionary<Guid>", | |
"type": "object", | |
"additionalProperties": { | |
"$ref": "#/components/schemas/Backend.Data.Models.TimeRecordingBudgetWithSum" | |
} | |
} | |
}, | |
"application/json;odata.metadata=none;odata.streaming=true": { | |
"schema": { | |
"title": "Dictionary<Guid>", | |
"type": "object", | |
"additionalProperties": { | |
"$ref": "#/components/schemas/Backend.Data.Models.TimeRecordingBudgetWithSum" | |
} | |
} | |
}, | |
"application/json;odata.metadata=none;odata.streaming=false": { | |
"schema": { | |
"title": "Dictionary<Guid>", | |
"type": "object", | |
"additionalProperties": { | |
"$ref": "#/components/schemas/Backend.Data.Models.TimeRecordingBudgetWithSum" | |
} | |
} | |
}, | |
"application/json;odata.metadata=none": { | |
"schema": { | |
"title": "Dictionary<Guid>", | |
"type": "object", | |
"additionalProperties": { | |
"$ref": "#/components/schemas/Backend.Data.Models.TimeRecordingBudgetWithSum" | |
} | |
} | |
}, | |
"application/json;odata.streaming=true": { | |
"schema": { | |
"title": "Dictionary<Guid>", | |
"type": "object", | |
"additionalProperties": { | |
"$ref": "#/components/schemas/Backend.Data.Models.TimeRecordingBudgetWithSum" | |
} | |
} | |
}, | |
"application/json;odata.streaming=false": { | |
"schema": { | |
"title": "Dictionary<Guid>", | |
"type": "object", | |
"additionalProperties": { | |
"$ref": "#/components/schemas/Backend.Data.Models.TimeRecordingBudgetWithSum" | |
} | |
} | |
}, | |
"application/json": { | |
"schema": { | |
"title": "Dictionary<Guid>", | |
"type": "object", | |
"additionalProperties": { | |
"$ref": "#/components/schemas/Backend.Data.Models.TimeRecordingBudgetWithSum" | |
} | |
} | |
}, | |
"application/xml": { | |
"schema": { | |
"title": "Dictionary<Guid>", | |
"type": "object", | |
"additionalProperties": { | |
"$ref": "#/components/schemas/Backend.Data.Models.TimeRecordingBudgetWithSum" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"post": { | |
"tags": [ | |
"ProjectTasks" | |
], | |
"parameters": [ | |
{ | |
"name": "x-instance", | |
"in": "header", | |
"description": "The target instance for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "x-company", | |
"in": "header", | |
"description": "The target company for the request", | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"content": { | |
"application/json;odata.metadata=minimal;odata.streaming=true": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskDto" | |
} | |
}, | |
"application/json;odata.metadata=minimal;odata.streaming=false": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskDto" | |
} | |
}, | |
"application/json;odata.metadata=minimal": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskDto" | |
} | |
}, | |
"application/json;odata.metadata=full;odata.streaming=true": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskDto" | |
} | |
}, | |
"application/json;odata.metadata=full;odata.streaming=false": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskDto" | |
} | |
}, | |
"application/json;odata.metadata=full": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskDto" | |
} | |
}, | |
"application/json;odata.metadata=none;odata.streaming=true": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskDto" | |
} | |
}, | |
"application/json;odata.metadata=none;odata.streaming=false": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskDto" | |
} | |
}, | |
"application/json;odata.metadata=none": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskDto" | |
} | |
}, | |
"application/json;odata.streaming=true": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskDto" | |
} | |
}, | |
"application/json;odata.streaming=false": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskDto" | |
} | |
}, | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskDto" | |
} | |
}, | |
"application/xml": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskDto" | |
} | |
}, | |
"text/plain": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskDto" | |
} | |
}, | |
"text/json": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskDto" | |
} | |
}, | |
"application/*+json": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskDto" | |
} | |
} | |
} | |
}, | |
"responses": { | |
"200": { | |
"description": "Success" | |
} | |
} | |
}, | |
"put": { | |
"tags": [ | |
"ProjectTasks" | |
], | |
"parameters": [ | |
{ | |
"name": "key", | |
"in": "query", | |
"schema": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
} | |
}, | |
{ | |
"name": "x-instance", | |
"in": "header", | |
"description": "The target instance for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "x-company", | |
"in": "header", | |
"description": "The target company for the request", | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"content": { | |
"application/json;odata.metadata=minimal;odata.streaming=true": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskDto" | |
} | |
}, | |
"application/json;odata.metadata=minimal;odata.streaming=false": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskDto" | |
} | |
}, | |
"application/json;odata.metadata=minimal": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskDto" | |
} | |
}, | |
"application/json;odata.metadata=full;odata.streaming=true": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskDto" | |
} | |
}, | |
"application/json;odata.metadata=full;odata.streaming=false": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskDto" | |
} | |
}, | |
"application/json;odata.metadata=full": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskDto" | |
} | |
}, | |
"application/json;odata.metadata=none;odata.streaming=true": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskDto" | |
} | |
}, | |
"application/json;odata.metadata=none;odata.streaming=false": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskDto" | |
} | |
}, | |
"application/json;odata.metadata=none": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskDto" | |
} | |
}, | |
"application/json;odata.streaming=true": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskDto" | |
} | |
}, | |
"application/json;odata.streaming=false": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskDto" | |
} | |
}, | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskDto" | |
} | |
}, | |
"application/xml": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskDto" | |
} | |
}, | |
"text/plain": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskDto" | |
} | |
}, | |
"text/json": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskDto" | |
} | |
}, | |
"application/*+json": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskDto" | |
} | |
} | |
} | |
}, | |
"responses": { | |
"200": { | |
"description": "Success" | |
} | |
} | |
}, | |
"patch": { | |
"tags": [ | |
"ProjectTasks" | |
], | |
"parameters": [ | |
{ | |
"name": "key", | |
"in": "query", | |
"schema": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
} | |
}, | |
{ | |
"name": "x-instance", | |
"in": "header", | |
"description": "The target instance for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "x-company", | |
"in": "header", | |
"description": "The target company for the request", | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"content": { | |
"application/json;odata.metadata=minimal;odata.streaming=true": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskDto" | |
} | |
}, | |
"application/json;odata.metadata=minimal;odata.streaming=false": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskDto" | |
} | |
}, | |
"application/json;odata.metadata=minimal": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskDto" | |
} | |
}, | |
"application/json;odata.metadata=full;odata.streaming=true": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskDto" | |
} | |
}, | |
"application/json;odata.metadata=full;odata.streaming=false": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskDto" | |
} | |
}, | |
"application/json;odata.metadata=full": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskDto" | |
} | |
}, | |
"application/json;odata.metadata=none;odata.streaming=true": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskDto" | |
} | |
}, | |
"application/json;odata.metadata=none;odata.streaming=false": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskDto" | |
} | |
}, | |
"application/json;odata.metadata=none": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskDto" | |
} | |
}, | |
"application/json;odata.streaming=true": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskDto" | |
} | |
}, | |
"application/json;odata.streaming=false": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskDto" | |
} | |
}, | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskDto" | |
} | |
}, | |
"application/xml": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskDto" | |
} | |
}, | |
"text/plain": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskDto" | |
} | |
}, | |
"text/json": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskDto" | |
} | |
}, | |
"application/*+json": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskDto" | |
} | |
} | |
} | |
}, | |
"responses": { | |
"200": { | |
"description": "Success" | |
} | |
} | |
}, | |
"delete": { | |
"tags": [ | |
"ProjectTasks" | |
], | |
"parameters": [ | |
{ | |
"name": "key", | |
"in": "query", | |
"schema": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
} | |
}, | |
{ | |
"name": "x-instance", | |
"in": "header", | |
"description": "The target instance for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "x-company", | |
"in": "header", | |
"description": "The target company for the request", | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success" | |
} | |
} | |
} | |
}, | |
"/api/projects": { | |
"get": { | |
"tags": [ | |
"Projects" | |
], | |
"operationId": "api/Projects", | |
"parameters": [ | |
{ | |
"name": "x-instance", | |
"in": "header", | |
"description": "The target instance for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "x-company", | |
"in": "header", | |
"description": "The target company for the request", | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json;odata.metadata=minimal;odata.streaming=true": { | |
"schema": { | |
"title": "IQueryable<Project>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectDto" | |
} | |
} | |
}, | |
"application/json;odata.metadata=minimal;odata.streaming=false": { | |
"schema": { | |
"title": "IQueryable<Project>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectDto" | |
} | |
} | |
}, | |
"application/json;odata.metadata=minimal": { | |
"schema": { | |
"title": "IQueryable<Project>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectDto" | |
} | |
} | |
}, | |
"application/json;odata.metadata=full;odata.streaming=true": { | |
"schema": { | |
"title": "IQueryable<Project>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectDto" | |
} | |
} | |
}, | |
"application/json;odata.metadata=full;odata.streaming=false": { | |
"schema": { | |
"title": "IQueryable<Project>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectDto" | |
} | |
} | |
}, | |
"application/json;odata.metadata=full": { | |
"schema": { | |
"title": "IQueryable<Project>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectDto" | |
} | |
} | |
}, | |
"application/json;odata.metadata=none;odata.streaming=true": { | |
"schema": { | |
"title": "IQueryable<Project>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectDto" | |
} | |
} | |
}, | |
"application/json;odata.metadata=none;odata.streaming=false": { | |
"schema": { | |
"title": "IQueryable<Project>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectDto" | |
} | |
} | |
}, | |
"application/json;odata.metadata=none": { | |
"schema": { | |
"title": "IQueryable<Project>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectDto" | |
} | |
} | |
}, | |
"application/json;odata.streaming=true": { | |
"schema": { | |
"title": "IQueryable<Project>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectDto" | |
} | |
} | |
}, | |
"application/json;odata.streaming=false": { | |
"schema": { | |
"title": "IQueryable<Project>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectDto" | |
} | |
} | |
}, | |
"application/json": { | |
"schema": { | |
"title": "IQueryable<Project>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectDto" | |
} | |
} | |
}, | |
"application/xml": { | |
"schema": { | |
"title": "IQueryable<Project>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectDto" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"post": { | |
"tags": [ | |
"Projects" | |
], | |
"operationId": "api/Projects", | |
"parameters": [ | |
{ | |
"name": "x-instance", | |
"in": "header", | |
"description": "The target instance for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "x-company", | |
"in": "header", | |
"description": "The target company for the request", | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"content": { | |
"application/json;odata.metadata=minimal;odata.streaming=true": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectDto" | |
} | |
}, | |
"application/json;odata.metadata=minimal;odata.streaming=false": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectDto" | |
} | |
}, | |
"application/json;odata.metadata=minimal": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectDto" | |
} | |
}, | |
"application/json;odata.metadata=full;odata.streaming=true": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectDto" | |
} | |
}, | |
"application/json;odata.metadata=full;odata.streaming=false": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectDto" | |
} | |
}, | |
"application/json;odata.metadata=full": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectDto" | |
} | |
}, | |
"application/json;odata.metadata=none;odata.streaming=true": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectDto" | |
} | |
}, | |
"application/json;odata.metadata=none;odata.streaming=false": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectDto" | |
} | |
}, | |
"application/json;odata.metadata=none": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectDto" | |
} | |
}, | |
"application/json;odata.streaming=true": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectDto" | |
} | |
}, | |
"application/json;odata.streaming=false": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectDto" | |
} | |
}, | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectDto" | |
} | |
}, | |
"application/xml": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectDto" | |
} | |
}, | |
"text/plain": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectDto" | |
} | |
}, | |
"text/json": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectDto" | |
} | |
}, | |
"application/*+json": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectDto" | |
} | |
} | |
} | |
}, | |
"responses": { | |
"200": { | |
"description": "Success" | |
} | |
} | |
} | |
}, | |
"/api/projects/{key}": { | |
"get": { | |
"tags": [ | |
"Projects" | |
], | |
"operationId": "api/Projects/{key}", | |
"parameters": [ | |
{ | |
"name": "key", | |
"in": "path", | |
"required": true, | |
"schema": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
} | |
}, | |
{ | |
"name": "x-instance", | |
"in": "header", | |
"description": "The target instance for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "x-company", | |
"in": "header", | |
"description": "The target company for the request", | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json;odata.metadata=minimal;odata.streaming=true": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectDto" | |
} | |
}, | |
"application/json;odata.metadata=minimal;odata.streaming=false": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectDto" | |
} | |
}, | |
"application/json;odata.metadata=minimal": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectDto" | |
} | |
}, | |
"application/json;odata.metadata=full;odata.streaming=true": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectDto" | |
} | |
}, | |
"application/json;odata.metadata=full;odata.streaming=false": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectDto" | |
} | |
}, | |
"application/json;odata.metadata=full": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectDto" | |
} | |
}, | |
"application/json;odata.metadata=none;odata.streaming=true": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectDto" | |
} | |
}, | |
"application/json;odata.metadata=none;odata.streaming=false": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectDto" | |
} | |
}, | |
"application/json;odata.metadata=none": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectDto" | |
} | |
}, | |
"application/json;odata.streaming=true": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectDto" | |
} | |
}, | |
"application/json;odata.streaming=false": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectDto" | |
} | |
}, | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectDto" | |
} | |
}, | |
"application/xml": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectDto" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"put": { | |
"tags": [ | |
"Projects" | |
], | |
"operationId": "api/Projects/{key}", | |
"parameters": [ | |
{ | |
"name": "key", | |
"in": "path", | |
"required": true, | |
"schema": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
} | |
}, | |
{ | |
"name": "x-instance", | |
"in": "header", | |
"description": "The target instance for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "x-company", | |
"in": "header", | |
"description": "The target company for the request", | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"content": { | |
"application/json;odata.metadata=minimal;odata.streaming=true": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectDto" | |
} | |
}, | |
"application/json;odata.metadata=minimal;odata.streaming=false": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectDto" | |
} | |
}, | |
"application/json;odata.metadata=minimal": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectDto" | |
} | |
}, | |
"application/json;odata.metadata=full;odata.streaming=true": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectDto" | |
} | |
}, | |
"application/json;odata.metadata=full;odata.streaming=false": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectDto" | |
} | |
}, | |
"application/json;odata.metadata=full": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectDto" | |
} | |
}, | |
"application/json;odata.metadata=none;odata.streaming=true": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectDto" | |
} | |
}, | |
"application/json;odata.metadata=none;odata.streaming=false": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectDto" | |
} | |
}, | |
"application/json;odata.metadata=none": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectDto" | |
} | |
}, | |
"application/json;odata.streaming=true": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectDto" | |
} | |
}, | |
"application/json;odata.streaming=false": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectDto" | |
} | |
}, | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectDto" | |
} | |
}, | |
"application/xml": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectDto" | |
} | |
}, | |
"text/plain": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectDto" | |
} | |
}, | |
"text/json": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectDto" | |
} | |
}, | |
"application/*+json": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectDto" | |
} | |
} | |
} | |
}, | |
"responses": { | |
"200": { | |
"description": "Success" | |
} | |
} | |
}, | |
"patch": { | |
"tags": [ | |
"Projects" | |
], | |
"operationId": "api/Projects/{key}", | |
"parameters": [ | |
{ | |
"name": "key", | |
"in": "path", | |
"required": true, | |
"schema": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
} | |
}, | |
{ | |
"name": "x-instance", | |
"in": "header", | |
"description": "The target instance for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "x-company", | |
"in": "header", | |
"description": "The target company for the request", | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"content": { | |
"application/json;odata.metadata=minimal;odata.streaming=true": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectDto" | |
} | |
}, | |
"application/json;odata.metadata=minimal;odata.streaming=false": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectDto" | |
} | |
}, | |
"application/json;odata.metadata=minimal": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectDto" | |
} | |
}, | |
"application/json;odata.metadata=full;odata.streaming=true": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectDto" | |
} | |
}, | |
"application/json;odata.metadata=full;odata.streaming=false": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectDto" | |
} | |
}, | |
"application/json;odata.metadata=full": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectDto" | |
} | |
}, | |
"application/json;odata.metadata=none;odata.streaming=true": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectDto" | |
} | |
}, | |
"application/json;odata.metadata=none;odata.streaming=false": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectDto" | |
} | |
}, | |
"application/json;odata.metadata=none": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectDto" | |
} | |
}, | |
"application/json;odata.streaming=true": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectDto" | |
} | |
}, | |
"application/json;odata.streaming=false": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectDto" | |
} | |
}, | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectDto" | |
} | |
}, | |
"application/xml": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectDto" | |
} | |
}, | |
"text/plain": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectDto" | |
} | |
}, | |
"text/json": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectDto" | |
} | |
}, | |
"application/*+json": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectDto" | |
} | |
} | |
} | |
}, | |
"responses": { | |
"200": { | |
"description": "Success" | |
} | |
} | |
}, | |
"delete": { | |
"tags": [ | |
"Projects" | |
], | |
"operationId": "api/Projects/{key}", | |
"parameters": [ | |
{ | |
"name": "key", | |
"in": "path", | |
"required": true, | |
"schema": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
} | |
}, | |
{ | |
"name": "x-instance", | |
"in": "header", | |
"description": "The target instance for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "x-company", | |
"in": "header", | |
"description": "The target company for the request", | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success" | |
} | |
} | |
} | |
}, | |
"/api/projects/{key}/unfavorite": { | |
"post": { | |
"tags": [ | |
"Projects" | |
], | |
"parameters": [ | |
{ | |
"name": "key", | |
"in": "query", | |
"schema": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
} | |
}, | |
{ | |
"name": "x-instance", | |
"in": "header", | |
"description": "The target instance for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "x-company", | |
"in": "header", | |
"description": "The target company for the request", | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success" | |
} | |
} | |
} | |
}, | |
"/api/projects/{key}/favorite": { | |
"post": { | |
"tags": [ | |
"Projects" | |
], | |
"parameters": [ | |
{ | |
"name": "key", | |
"in": "query", | |
"schema": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
} | |
}, | |
{ | |
"name": "x-instance", | |
"in": "header", | |
"description": "The target instance for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "x-company", | |
"in": "header", | |
"description": "The target company for the request", | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success" | |
} | |
} | |
} | |
}, | |
"/api/projects/{key}/copy": { | |
"post": { | |
"tags": [ | |
"Projects" | |
], | |
"summary": "Copies a project\r\nThe new name will be the old name plus a number", | |
"parameters": [ | |
{ | |
"name": "key", | |
"in": "query", | |
"description": "Id of the project", | |
"schema": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
} | |
}, | |
{ | |
"name": "x-instance", | |
"in": "header", | |
"description": "The target instance for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "x-company", | |
"in": "header", | |
"description": "The target company for the request", | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "Operation options. You can choose whether to keep assignments of resources to tasks and to the project itself.", | |
"content": { | |
"application/json;odata.metadata=minimal;odata.streaming=true": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.CopyProjectOptions" | |
} | |
}, | |
"application/json;odata.metadata=minimal;odata.streaming=false": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.CopyProjectOptions" | |
} | |
}, | |
"application/json;odata.metadata=minimal": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.CopyProjectOptions" | |
} | |
}, | |
"application/json;odata.metadata=full;odata.streaming=true": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.CopyProjectOptions" | |
} | |
}, | |
"application/json;odata.metadata=full;odata.streaming=false": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.CopyProjectOptions" | |
} | |
}, | |
"application/json;odata.metadata=full": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.CopyProjectOptions" | |
} | |
}, | |
"application/json;odata.metadata=none;odata.streaming=true": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.CopyProjectOptions" | |
} | |
}, | |
"application/json;odata.metadata=none;odata.streaming=false": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.CopyProjectOptions" | |
} | |
}, | |
"application/json;odata.metadata=none": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.CopyProjectOptions" | |
} | |
}, | |
"application/json;odata.streaming=true": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.CopyProjectOptions" | |
} | |
}, | |
"application/json;odata.streaming=false": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.CopyProjectOptions" | |
} | |
}, | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.CopyProjectOptions" | |
} | |
}, | |
"application/xml": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.CopyProjectOptions" | |
} | |
}, | |
"text/plain": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.CopyProjectOptions" | |
} | |
}, | |
"text/json": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.CopyProjectOptions" | |
} | |
}, | |
"application/*+json": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.CopyProjectOptions" | |
} | |
} | |
} | |
}, | |
"responses": { | |
"200": { | |
"description": "Success" | |
} | |
} | |
} | |
}, | |
"/api/projectResources": { | |
"get": { | |
"tags": [ | |
"ProjectResources" | |
], | |
"operationId": "api/ProjectResources", | |
"parameters": [ | |
{ | |
"name": "x-instance", | |
"in": "header", | |
"description": "The target instance for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "x-company", | |
"in": "header", | |
"description": "The target company for the request", | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json;odata.metadata=minimal;odata.streaming=true": { | |
"schema": { | |
"title": "IQueryable<ProjectResource>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectResourceDto" | |
} | |
} | |
}, | |
"application/json;odata.metadata=minimal;odata.streaming=false": { | |
"schema": { | |
"title": "IQueryable<ProjectResource>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectResourceDto" | |
} | |
} | |
}, | |
"application/json;odata.metadata=minimal": { | |
"schema": { | |
"title": "IQueryable<ProjectResource>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectResourceDto" | |
} | |
} | |
}, | |
"application/json;odata.metadata=full;odata.streaming=true": { | |
"schema": { | |
"title": "IQueryable<ProjectResource>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectResourceDto" | |
} | |
} | |
}, | |
"application/json;odata.metadata=full;odata.streaming=false": { | |
"schema": { | |
"title": "IQueryable<ProjectResource>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectResourceDto" | |
} | |
} | |
}, | |
"application/json;odata.metadata=full": { | |
"schema": { | |
"title": "IQueryable<ProjectResource>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectResourceDto" | |
} | |
} | |
}, | |
"application/json;odata.metadata=none;odata.streaming=true": { | |
"schema": { | |
"title": "IQueryable<ProjectResource>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectResourceDto" | |
} | |
} | |
}, | |
"application/json;odata.metadata=none;odata.streaming=false": { | |
"schema": { | |
"title": "IQueryable<ProjectResource>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectResourceDto" | |
} | |
} | |
}, | |
"application/json;odata.metadata=none": { | |
"schema": { | |
"title": "IQueryable<ProjectResource>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectResourceDto" | |
} | |
} | |
}, | |
"application/json;odata.streaming=true": { | |
"schema": { | |
"title": "IQueryable<ProjectResource>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectResourceDto" | |
} | |
} | |
}, | |
"application/json;odata.streaming=false": { | |
"schema": { | |
"title": "IQueryable<ProjectResource>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectResourceDto" | |
} | |
} | |
}, | |
"application/json": { | |
"schema": { | |
"title": "IQueryable<ProjectResource>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectResourceDto" | |
} | |
} | |
}, | |
"application/xml": { | |
"schema": { | |
"title": "IQueryable<ProjectResource>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectResourceDto" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"post": { | |
"tags": [ | |
"ProjectResources" | |
], | |
"operationId": "api/ProjectResources", | |
"parameters": [ | |
{ | |
"name": "x-instance", | |
"in": "header", | |
"description": "The target instance for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "x-company", | |
"in": "header", | |
"description": "The target company for the request", | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"content": { | |
"application/json;odata.metadata=minimal;odata.streaming=true": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectResourceDto" | |
} | |
}, | |
"application/json;odata.metadata=minimal;odata.streaming=false": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectResourceDto" | |
} | |
}, | |
"application/json;odata.metadata=minimal": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectResourceDto" | |
} | |
}, | |
"application/json;odata.metadata=full;odata.streaming=true": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectResourceDto" | |
} | |
}, | |
"application/json;odata.metadata=full;odata.streaming=false": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectResourceDto" | |
} | |
}, | |
"application/json;odata.metadata=full": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectResourceDto" | |
} | |
}, | |
"application/json;odata.metadata=none;odata.streaming=true": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectResourceDto" | |
} | |
}, | |
"application/json;odata.metadata=none;odata.streaming=false": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectResourceDto" | |
} | |
}, | |
"application/json;odata.metadata=none": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectResourceDto" | |
} | |
}, | |
"application/json;odata.streaming=true": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectResourceDto" | |
} | |
}, | |
"application/json;odata.streaming=false": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectResourceDto" | |
} | |
}, | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectResourceDto" | |
} | |
}, | |
"application/xml": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectResourceDto" | |
} | |
}, | |
"text/plain": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectResourceDto" | |
} | |
}, | |
"text/json": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectResourceDto" | |
} | |
}, | |
"application/*+json": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectResourceDto" | |
} | |
} | |
} | |
}, | |
"responses": { | |
"200": { | |
"description": "Success" | |
} | |
} | |
} | |
}, | |
"/api/projectResources/{key}": { | |
"get": { | |
"tags": [ | |
"ProjectResources" | |
], | |
"operationId": "api/ProjectResources/{key}", | |
"parameters": [ | |
{ | |
"name": "key", | |
"in": "path", | |
"required": true, | |
"schema": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
} | |
}, | |
{ | |
"name": "x-instance", | |
"in": "header", | |
"description": "The target instance for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "x-company", | |
"in": "header", | |
"description": "The target company for the request", | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json;odata.metadata=minimal;odata.streaming=true": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectResourceDto" | |
} | |
}, | |
"application/json;odata.metadata=minimal;odata.streaming=false": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectResourceDto" | |
} | |
}, | |
"application/json;odata.metadata=minimal": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectResourceDto" | |
} | |
}, | |
"application/json;odata.metadata=full;odata.streaming=true": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectResourceDto" | |
} | |
}, | |
"application/json;odata.metadata=full;odata.streaming=false": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectResourceDto" | |
} | |
}, | |
"application/json;odata.metadata=full": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectResourceDto" | |
} | |
}, | |
"application/json;odata.metadata=none;odata.streaming=true": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectResourceDto" | |
} | |
}, | |
"application/json;odata.metadata=none;odata.streaming=false": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectResourceDto" | |
} | |
}, | |
"application/json;odata.metadata=none": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectResourceDto" | |
} | |
}, | |
"application/json;odata.streaming=true": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectResourceDto" | |
} | |
}, | |
"application/json;odata.streaming=false": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectResourceDto" | |
} | |
}, | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectResourceDto" | |
} | |
}, | |
"application/xml": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectResourceDto" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"put": { | |
"tags": [ | |
"ProjectResources" | |
], | |
"operationId": "api/ProjectResources/{key}", | |
"parameters": [ | |
{ | |
"name": "key", | |
"in": "path", | |
"required": true, | |
"schema": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
} | |
}, | |
{ | |
"name": "x-instance", | |
"in": "header", | |
"description": "The target instance for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "x-company", | |
"in": "header", | |
"description": "The target company for the request", | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"content": { | |
"application/json;odata.metadata=minimal;odata.streaming=true": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectResourceDto" | |
} | |
}, | |
"application/json;odata.metadata=minimal;odata.streaming=false": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectResourceDto" | |
} | |
}, | |
"application/json;odata.metadata=minimal": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectResourceDto" | |
} | |
}, | |
"application/json;odata.metadata=full;odata.streaming=true": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectResourceDto" | |
} | |
}, | |
"application/json;odata.metadata=full;odata.streaming=false": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectResourceDto" | |
} | |
}, | |
"application/json;odata.metadata=full": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectResourceDto" | |
} | |
}, | |
"application/json;odata.metadata=none;odata.streaming=true": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectResourceDto" | |
} | |
}, | |
"application/json;odata.metadata=none;odata.streaming=false": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectResourceDto" | |
} | |
}, | |
"application/json;odata.metadata=none": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectResourceDto" | |
} | |
}, | |
"application/json;odata.streaming=true": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectResourceDto" | |
} | |
}, | |
"application/json;odata.streaming=false": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectResourceDto" | |
} | |
}, | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectResourceDto" | |
} | |
}, | |
"application/xml": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectResourceDto" | |
} | |
}, | |
"text/plain": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectResourceDto" | |
} | |
}, | |
"text/json": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectResourceDto" | |
} | |
}, | |
"application/*+json": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectResourceDto" | |
} | |
} | |
} | |
}, | |
"responses": { | |
"200": { | |
"description": "Success" | |
} | |
} | |
}, | |
"patch": { | |
"tags": [ | |
"ProjectResources" | |
], | |
"operationId": "api/ProjectResources/{key}", | |
"parameters": [ | |
{ | |
"name": "key", | |
"in": "path", | |
"required": true, | |
"schema": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
} | |
}, | |
{ | |
"name": "x-instance", | |
"in": "header", | |
"description": "The target instance for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "x-company", | |
"in": "header", | |
"description": "The target company for the request", | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"content": { | |
"application/json;odata.metadata=minimal;odata.streaming=true": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectResourceDto" | |
} | |
}, | |
"application/json;odata.metadata=minimal;odata.streaming=false": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectResourceDto" | |
} | |
}, | |
"application/json;odata.metadata=minimal": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectResourceDto" | |
} | |
}, | |
"application/json;odata.metadata=full;odata.streaming=true": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectResourceDto" | |
} | |
}, | |
"application/json;odata.metadata=full;odata.streaming=false": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectResourceDto" | |
} | |
}, | |
"application/json;odata.metadata=full": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectResourceDto" | |
} | |
}, | |
"application/json;odata.metadata=none;odata.streaming=true": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectResourceDto" | |
} | |
}, | |
"application/json;odata.metadata=none;odata.streaming=false": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectResourceDto" | |
} | |
}, | |
"application/json;odata.metadata=none": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectResourceDto" | |
} | |
}, | |
"application/json;odata.streaming=true": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectResourceDto" | |
} | |
}, | |
"application/json;odata.streaming=false": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectResourceDto" | |
} | |
}, | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectResourceDto" | |
} | |
}, | |
"application/xml": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectResourceDto" | |
} | |
}, | |
"text/plain": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectResourceDto" | |
} | |
}, | |
"text/json": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectResourceDto" | |
} | |
}, | |
"application/*+json": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectResourceDto" | |
} | |
} | |
} | |
}, | |
"responses": { | |
"200": { | |
"description": "Success" | |
} | |
} | |
}, | |
"delete": { | |
"tags": [ | |
"ProjectResources" | |
], | |
"operationId": "api/ProjectResources/{key}", | |
"parameters": [ | |
{ | |
"name": "key", | |
"in": "path", | |
"required": true, | |
"schema": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
} | |
}, | |
{ | |
"name": "x-instance", | |
"in": "header", | |
"description": "The target instance for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "x-company", | |
"in": "header", | |
"description": "The target company for the request", | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success" | |
} | |
} | |
} | |
}, | |
"/api/jobTasks": { | |
"get": { | |
"tags": [ | |
"JobTasks" | |
], | |
"summary": "Get all job tasks", | |
"operationId": "GET api/JobTasks", | |
"parameters": [ | |
{ | |
"name": "x-instance", | |
"in": "header", | |
"description": "The target instance for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "x-company", | |
"in": "header", | |
"description": "The target company for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "$top", | |
"in": "query", | |
"description": "The max number of records.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$skip", | |
"in": "query", | |
"description": "The number of records to skip.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$filter", | |
"in": "query", | |
"description": "A function that must evaluate to true for a record to be returned.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$select", | |
"in": "query", | |
"description": "Specifies a subset of properties to return. Use a comma separated list.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$orderby", | |
"in": "query", | |
"description": "Determines what values are used to order a collection of records.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$expand", | |
"in": "query", | |
"description": "Use to add related query data.", | |
"schema": { | |
"type": "String" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.Business.API.Swagger.ODataResponseType`1[[Backend.BusinessLogic.Dto.JobTaskDto, Backend.BusinessLogic, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/api/jobTasks/{key}": { | |
"get": { | |
"tags": [ | |
"JobTasks" | |
], | |
"summary": "Get job task by id", | |
"operationId": "GET api/JobTasks/{key}", | |
"parameters": [ | |
{ | |
"name": "key", | |
"in": "path", | |
"description": "The GUID of the job task", | |
"required": true, | |
"schema": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
} | |
}, | |
{ | |
"name": "x-instance", | |
"in": "header", | |
"description": "The target instance for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "x-company", | |
"in": "header", | |
"description": "The target company for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "$top", | |
"in": "query", | |
"description": "The max number of records.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$skip", | |
"in": "query", | |
"description": "The number of records to skip.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$filter", | |
"in": "query", | |
"description": "A function that must evaluate to true for a record to be returned.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$select", | |
"in": "query", | |
"description": "Specifies a subset of properties to return. Use a comma separated list.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$orderby", | |
"in": "query", | |
"description": "Determines what values are used to order a collection of records.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$expand", | |
"in": "query", | |
"description": "Use to add related query data.", | |
"schema": { | |
"type": "String" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.JobTaskDto" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/api/jobs/{key}/getActivities": { | |
"get": { | |
"tags": [ | |
"Jobs" | |
], | |
"summary": "Get activities", | |
"operationId": "GET api/Jobs/{key}/GetActivities", | |
"parameters": [ | |
{ | |
"name": "key", | |
"in": "path", | |
"required": true, | |
"schema": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
} | |
}, | |
{ | |
"name": "x-instance", | |
"in": "header", | |
"description": "The target instance for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "x-company", | |
"in": "header", | |
"description": "The target company for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "$top", | |
"in": "query", | |
"description": "The max number of records.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$skip", | |
"in": "query", | |
"description": "The number of records to skip.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$filter", | |
"in": "query", | |
"description": "A function that must evaluate to true for a record to be returned.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$select", | |
"in": "query", | |
"description": "Specifies a subset of properties to return. Use a comma separated list.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$orderby", | |
"in": "query", | |
"description": "Determines what values are used to order a collection of records.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$expand", | |
"in": "query", | |
"description": "Use to add related query data.", | |
"schema": { | |
"type": "String" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"title": "List<Activity>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ActivityDto" | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/api/jobs/{key}/getActivities(jobTaskId={jobTaskId})": { | |
"get": { | |
"tags": [ | |
"Jobs" | |
], | |
"summary": "Get activities", | |
"operationId": "GET api/Jobs/{key}/GetActivities(jobTaskId={jobTaskId})", | |
"parameters": [ | |
{ | |
"name": "key", | |
"in": "path", | |
"required": true, | |
"schema": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
} | |
}, | |
{ | |
"name": "jobTaskId", | |
"in": "path", | |
"required": true, | |
"schema": { | |
"title": "Nullable<Guid>", | |
"type": "string", | |
"format": "uuid" | |
} | |
}, | |
{ | |
"name": "x-instance", | |
"in": "header", | |
"description": "The target instance for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "x-company", | |
"in": "header", | |
"description": "The target company for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "$top", | |
"in": "query", | |
"description": "The max number of records.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$skip", | |
"in": "query", | |
"description": "The number of records to skip.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$filter", | |
"in": "query", | |
"description": "A function that must evaluate to true for a record to be returned.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$select", | |
"in": "query", | |
"description": "Specifies a subset of properties to return. Use a comma separated list.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$orderby", | |
"in": "query", | |
"description": "Determines what values are used to order a collection of records.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$expand", | |
"in": "query", | |
"description": "Use to add related query data.", | |
"schema": { | |
"type": "String" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"title": "List<Activity>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ActivityDto" | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/api/jobs/{key}/getActivities(jobTaskId={jobTaskId},assignedToResourceId={assignedToResourceId})": { | |
"get": { | |
"tags": [ | |
"Jobs" | |
], | |
"summary": "Get activities filtered by resource job assignments", | |
"operationId": "GET api/Jobs/{key}/GetActivities(jobTaskId={jobTaskId},assignedToResourceId={assignedToResourceId})", | |
"parameters": [ | |
{ | |
"name": "key", | |
"in": "path", | |
"required": true, | |
"schema": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
} | |
}, | |
{ | |
"name": "jobTaskId", | |
"in": "path", | |
"required": true, | |
"schema": { | |
"title": "Nullable<Guid>", | |
"type": "string", | |
"format": "uuid" | |
} | |
}, | |
{ | |
"name": "assignedToResourceId", | |
"in": "path", | |
"required": true, | |
"schema": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
} | |
}, | |
{ | |
"name": "x-instance", | |
"in": "header", | |
"description": "The target instance for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "x-company", | |
"in": "header", | |
"description": "The target company for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "$top", | |
"in": "query", | |
"description": "The max number of records.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$skip", | |
"in": "query", | |
"description": "The number of records to skip.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$filter", | |
"in": "query", | |
"description": "A function that must evaluate to true for a record to be returned.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$select", | |
"in": "query", | |
"description": "Specifies a subset of properties to return. Use a comma separated list.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$orderby", | |
"in": "query", | |
"description": "Determines what values are used to order a collection of records.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$expand", | |
"in": "query", | |
"description": "Use to add related query data.", | |
"schema": { | |
"type": "String" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"title": "List<Activity>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ActivityDto" | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/api/jobs": { | |
"get": { | |
"tags": [ | |
"Jobs" | |
], | |
"summary": "Get all jobs", | |
"operationId": "GET api/Jobs", | |
"parameters": [ | |
{ | |
"name": "x-instance", | |
"in": "header", | |
"description": "The target instance for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "x-company", | |
"in": "header", | |
"description": "The target company for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "$top", | |
"in": "query", | |
"description": "The max number of records.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$skip", | |
"in": "query", | |
"description": "The number of records to skip.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$filter", | |
"in": "query", | |
"description": "A function that must evaluate to true for a record to be returned.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$select", | |
"in": "query", | |
"description": "Specifies a subset of properties to return. Use a comma separated list.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$orderby", | |
"in": "query", | |
"description": "Determines what values are used to order a collection of records.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$expand", | |
"in": "query", | |
"description": "Use to add related query data.", | |
"schema": { | |
"type": "String" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.Business.API.Swagger.ODataResponseType`1[[Backend.BusinessLogic.Dto.JobDto, Backend.BusinessLogic, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/api/jobs/{key}": { | |
"get": { | |
"tags": [ | |
"Jobs" | |
], | |
"summary": "Get job by id", | |
"operationId": "GET api/Jobs/{key}", | |
"parameters": [ | |
{ | |
"name": "key", | |
"in": "path", | |
"description": "The GUID of the job", | |
"required": true, | |
"schema": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
} | |
}, | |
{ | |
"name": "x-instance", | |
"in": "header", | |
"description": "The target instance for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "x-company", | |
"in": "header", | |
"description": "The target company for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "$top", | |
"in": "query", | |
"description": "The max number of records.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$skip", | |
"in": "query", | |
"description": "The number of records to skip.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$filter", | |
"in": "query", | |
"description": "A function that must evaluate to true for a record to be returned.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$select", | |
"in": "query", | |
"description": "Specifies a subset of properties to return. Use a comma separated list.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$orderby", | |
"in": "query", | |
"description": "Determines what values are used to order a collection of records.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$expand", | |
"in": "query", | |
"description": "Use to add related query data.", | |
"schema": { | |
"type": "String" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.JobDto" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/api/jobPlanningLines": { | |
"get": { | |
"tags": [ | |
"JobPlanningLines" | |
], | |
"summary": "Get all jobs", | |
"operationId": "GET api/JobPlanningLines", | |
"parameters": [ | |
{ | |
"name": "x-instance", | |
"in": "header", | |
"description": "The target instance for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "x-company", | |
"in": "header", | |
"description": "The target company for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "$top", | |
"in": "query", | |
"description": "The max number of records.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$skip", | |
"in": "query", | |
"description": "The number of records to skip.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$filter", | |
"in": "query", | |
"description": "A function that must evaluate to true for a record to be returned.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$select", | |
"in": "query", | |
"description": "Specifies a subset of properties to return. Use a comma separated list.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$orderby", | |
"in": "query", | |
"description": "Determines what values are used to order a collection of records.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$expand", | |
"in": "query", | |
"description": "Use to add related query data.", | |
"schema": { | |
"type": "String" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.Business.API.Swagger.ODataResponseType`1[[Backend.BusinessLogic.Dto.JobPlanningLineDto, Backend.BusinessLogic, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/api/jobPlanningLines/{key}": { | |
"get": { | |
"tags": [ | |
"JobPlanningLines" | |
], | |
"summary": "Get job planning line by id", | |
"operationId": "GET api/JobPlanningLines/{key}", | |
"parameters": [ | |
{ | |
"name": "key", | |
"in": "path", | |
"description": "The GUID of the job", | |
"required": true, | |
"schema": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
} | |
}, | |
{ | |
"name": "x-instance", | |
"in": "header", | |
"description": "The target instance for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "x-company", | |
"in": "header", | |
"description": "The target company for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "$top", | |
"in": "query", | |
"description": "The max number of records.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$skip", | |
"in": "query", | |
"description": "The number of records to skip.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$filter", | |
"in": "query", | |
"description": "A function that must evaluate to true for a record to be returned.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$select", | |
"in": "query", | |
"description": "Specifies a subset of properties to return. Use a comma separated list.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$orderby", | |
"in": "query", | |
"description": "Determines what values are used to order a collection of records.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$expand", | |
"in": "query", | |
"description": "Use to add related query data.", | |
"schema": { | |
"type": "String" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.JobPlanningLineDto" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/api/integration/jira": { | |
"post": { | |
"tags": [ | |
"Jira" | |
], | |
"parameters": [ | |
{ | |
"name": "projectId", | |
"in": "query", | |
"schema": { | |
"title": "String", | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "x-instance", | |
"in": "header", | |
"description": "The target instance for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "x-company", | |
"in": "header", | |
"description": "The target company for the request", | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success" | |
} | |
} | |
} | |
}, | |
"/api/instances/name/{name}": { | |
"get": { | |
"tags": [ | |
"Instances" | |
], | |
"summary": "Get a specific instance for the current tenant and current user", | |
"parameters": [ | |
{ | |
"name": "name", | |
"in": "path", | |
"description": "", | |
"required": true, | |
"schema": { | |
"title": "String", | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "x-instance", | |
"in": "header", | |
"description": "The target instance for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "x-company", | |
"in": "header", | |
"description": "The target company for the request", | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.Data.DTO.Instance.InstanceDto" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/api/instances/default": { | |
"get": { | |
"tags": [ | |
"Instances" | |
], | |
"summary": "Get default instance for the current tenant and current user", | |
"parameters": [ | |
{ | |
"name": "x-instance", | |
"in": "header", | |
"description": "The target instance for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "x-company", | |
"in": "header", | |
"description": "The target company for the request", | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.Data.DTO.Instance.InstanceDto" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/api/instances/user": { | |
"get": { | |
"tags": [ | |
"Instances" | |
], | |
"summary": "Get allowed instances and companies for the current user", | |
"parameters": [ | |
{ | |
"name": "x-instance", | |
"in": "header", | |
"description": "The target instance for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "x-company", | |
"in": "header", | |
"description": "The target company for the request", | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"title": "List<Instance>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.Data.DTO.Instance.InstanceDto" | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/api/instances": { | |
"get": { | |
"tags": [ | |
"Instances" | |
], | |
"summary": "Get all instances for the current tenant", | |
"parameters": [ | |
{ | |
"name": "x-instance", | |
"in": "header", | |
"description": "The target instance for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "x-company", | |
"in": "header", | |
"description": "The target company for the request", | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"title": "List<Instance>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.Data.DTO.Instance.InstanceDto" | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/api/dependencies": { | |
"get": { | |
"tags": [ | |
"Dependencies" | |
], | |
"operationId": "api/Dependencies", | |
"parameters": [ | |
{ | |
"name": "x-instance", | |
"in": "header", | |
"description": "The target instance for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "x-company", | |
"in": "header", | |
"description": "The target company for the request", | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json;odata.metadata=minimal;odata.streaming=true": { | |
"schema": { | |
"title": "IQueryable<Dependency>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.DependencyDto" | |
} | |
} | |
}, | |
"application/json;odata.metadata=minimal;odata.streaming=false": { | |
"schema": { | |
"title": "IQueryable<Dependency>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.DependencyDto" | |
} | |
} | |
}, | |
"application/json;odata.metadata=minimal": { | |
"schema": { | |
"title": "IQueryable<Dependency>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.DependencyDto" | |
} | |
} | |
}, | |
"application/json;odata.metadata=full;odata.streaming=true": { | |
"schema": { | |
"title": "IQueryable<Dependency>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.DependencyDto" | |
} | |
} | |
}, | |
"application/json;odata.metadata=full;odata.streaming=false": { | |
"schema": { | |
"title": "IQueryable<Dependency>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.DependencyDto" | |
} | |
} | |
}, | |
"application/json;odata.metadata=full": { | |
"schema": { | |
"title": "IQueryable<Dependency>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.DependencyDto" | |
} | |
} | |
}, | |
"application/json;odata.metadata=none;odata.streaming=true": { | |
"schema": { | |
"title": "IQueryable<Dependency>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.DependencyDto" | |
} | |
} | |
}, | |
"application/json;odata.metadata=none;odata.streaming=false": { | |
"schema": { | |
"title": "IQueryable<Dependency>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.DependencyDto" | |
} | |
} | |
}, | |
"application/json;odata.metadata=none": { | |
"schema": { | |
"title": "IQueryable<Dependency>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.DependencyDto" | |
} | |
} | |
}, | |
"application/json;odata.streaming=true": { | |
"schema": { | |
"title": "IQueryable<Dependency>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.DependencyDto" | |
} | |
} | |
}, | |
"application/json;odata.streaming=false": { | |
"schema": { | |
"title": "IQueryable<Dependency>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.DependencyDto" | |
} | |
} | |
}, | |
"application/json": { | |
"schema": { | |
"title": "IQueryable<Dependency>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.DependencyDto" | |
} | |
} | |
}, | |
"application/xml": { | |
"schema": { | |
"title": "IQueryable<Dependency>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.DependencyDto" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"post": { | |
"tags": [ | |
"Dependencies" | |
], | |
"operationId": "api/Dependencies", | |
"parameters": [ | |
{ | |
"name": "x-instance", | |
"in": "header", | |
"description": "The target instance for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "x-company", | |
"in": "header", | |
"description": "The target company for the request", | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"content": { | |
"application/json;odata.metadata=minimal;odata.streaming=true": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.DependencyDto" | |
} | |
}, | |
"application/json;odata.metadata=minimal;odata.streaming=false": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.DependencyDto" | |
} | |
}, | |
"application/json;odata.metadata=minimal": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.DependencyDto" | |
} | |
}, | |
"application/json;odata.metadata=full;odata.streaming=true": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.DependencyDto" | |
} | |
}, | |
"application/json;odata.metadata=full;odata.streaming=false": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.DependencyDto" | |
} | |
}, | |
"application/json;odata.metadata=full": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.DependencyDto" | |
} | |
}, | |
"application/json;odata.metadata=none;odata.streaming=true": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.DependencyDto" | |
} | |
}, | |
"application/json;odata.metadata=none;odata.streaming=false": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.DependencyDto" | |
} | |
}, | |
"application/json;odata.metadata=none": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.DependencyDto" | |
} | |
}, | |
"application/json;odata.streaming=true": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.DependencyDto" | |
} | |
}, | |
"application/json;odata.streaming=false": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.DependencyDto" | |
} | |
}, | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.DependencyDto" | |
} | |
}, | |
"application/xml": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.DependencyDto" | |
} | |
}, | |
"text/plain": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.DependencyDto" | |
} | |
}, | |
"text/json": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.DependencyDto" | |
} | |
}, | |
"application/*+json": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.DependencyDto" | |
} | |
} | |
} | |
}, | |
"responses": { | |
"200": { | |
"description": "Success" | |
} | |
} | |
} | |
}, | |
"/api/dependencies/{key}": { | |
"get": { | |
"tags": [ | |
"Dependencies" | |
], | |
"operationId": "api/Dependencies/{key}", | |
"parameters": [ | |
{ | |
"name": "key", | |
"in": "path", | |
"required": true, | |
"schema": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
} | |
}, | |
{ | |
"name": "x-instance", | |
"in": "header", | |
"description": "The target instance for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "x-company", | |
"in": "header", | |
"description": "The target company for the request", | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json;odata.metadata=minimal;odata.streaming=true": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.DependencyDto" | |
} | |
}, | |
"application/json;odata.metadata=minimal;odata.streaming=false": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.DependencyDto" | |
} | |
}, | |
"application/json;odata.metadata=minimal": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.DependencyDto" | |
} | |
}, | |
"application/json;odata.metadata=full;odata.streaming=true": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.DependencyDto" | |
} | |
}, | |
"application/json;odata.metadata=full;odata.streaming=false": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.DependencyDto" | |
} | |
}, | |
"application/json;odata.metadata=full": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.DependencyDto" | |
} | |
}, | |
"application/json;odata.metadata=none;odata.streaming=true": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.DependencyDto" | |
} | |
}, | |
"application/json;odata.metadata=none;odata.streaming=false": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.DependencyDto" | |
} | |
}, | |
"application/json;odata.metadata=none": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.DependencyDto" | |
} | |
}, | |
"application/json;odata.streaming=true": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.DependencyDto" | |
} | |
}, | |
"application/json;odata.streaming=false": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.DependencyDto" | |
} | |
}, | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.DependencyDto" | |
} | |
}, | |
"application/xml": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.DependencyDto" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"put": { | |
"tags": [ | |
"Dependencies" | |
], | |
"operationId": "api/Dependencies/{key}", | |
"parameters": [ | |
{ | |
"name": "key", | |
"in": "path", | |
"required": true, | |
"schema": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
} | |
}, | |
{ | |
"name": "x-instance", | |
"in": "header", | |
"description": "The target instance for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "x-company", | |
"in": "header", | |
"description": "The target company for the request", | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"content": { | |
"application/json;odata.metadata=minimal;odata.streaming=true": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.DependencyDto" | |
} | |
}, | |
"application/json;odata.metadata=minimal;odata.streaming=false": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.DependencyDto" | |
} | |
}, | |
"application/json;odata.metadata=minimal": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.DependencyDto" | |
} | |
}, | |
"application/json;odata.metadata=full;odata.streaming=true": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.DependencyDto" | |
} | |
}, | |
"application/json;odata.metadata=full;odata.streaming=false": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.DependencyDto" | |
} | |
}, | |
"application/json;odata.metadata=full": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.DependencyDto" | |
} | |
}, | |
"application/json;odata.metadata=none;odata.streaming=true": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.DependencyDto" | |
} | |
}, | |
"application/json;odata.metadata=none;odata.streaming=false": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.DependencyDto" | |
} | |
}, | |
"application/json;odata.metadata=none": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.DependencyDto" | |
} | |
}, | |
"application/json;odata.streaming=true": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.DependencyDto" | |
} | |
}, | |
"application/json;odata.streaming=false": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.DependencyDto" | |
} | |
}, | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.DependencyDto" | |
} | |
}, | |
"application/xml": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.DependencyDto" | |
} | |
}, | |
"text/plain": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.DependencyDto" | |
} | |
}, | |
"text/json": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.DependencyDto" | |
} | |
}, | |
"application/*+json": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.DependencyDto" | |
} | |
} | |
} | |
}, | |
"responses": { | |
"200": { | |
"description": "Success" | |
} | |
} | |
}, | |
"patch": { | |
"tags": [ | |
"Dependencies" | |
], | |
"operationId": "api/Dependencies/{key}", | |
"parameters": [ | |
{ | |
"name": "key", | |
"in": "path", | |
"required": true, | |
"schema": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
} | |
}, | |
{ | |
"name": "x-instance", | |
"in": "header", | |
"description": "The target instance for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "x-company", | |
"in": "header", | |
"description": "The target company for the request", | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"content": { | |
"application/json;odata.metadata=minimal;odata.streaming=true": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.DependencyDto" | |
} | |
}, | |
"application/json;odata.metadata=minimal;odata.streaming=false": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.DependencyDto" | |
} | |
}, | |
"application/json;odata.metadata=minimal": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.DependencyDto" | |
} | |
}, | |
"application/json;odata.metadata=full;odata.streaming=true": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.DependencyDto" | |
} | |
}, | |
"application/json;odata.metadata=full;odata.streaming=false": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.DependencyDto" | |
} | |
}, | |
"application/json;odata.metadata=full": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.DependencyDto" | |
} | |
}, | |
"application/json;odata.metadata=none;odata.streaming=true": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.DependencyDto" | |
} | |
}, | |
"application/json;odata.metadata=none;odata.streaming=false": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.DependencyDto" | |
} | |
}, | |
"application/json;odata.metadata=none": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.DependencyDto" | |
} | |
}, | |
"application/json;odata.streaming=true": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.DependencyDto" | |
} | |
}, | |
"application/json;odata.streaming=false": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.DependencyDto" | |
} | |
}, | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.DependencyDto" | |
} | |
}, | |
"application/xml": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.DependencyDto" | |
} | |
}, | |
"text/plain": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.DependencyDto" | |
} | |
}, | |
"text/json": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.DependencyDto" | |
} | |
}, | |
"application/*+json": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.DependencyDto" | |
} | |
} | |
} | |
}, | |
"responses": { | |
"200": { | |
"description": "Success" | |
} | |
} | |
}, | |
"delete": { | |
"tags": [ | |
"Dependencies" | |
], | |
"operationId": "api/Dependencies/{key}", | |
"parameters": [ | |
{ | |
"name": "key", | |
"in": "path", | |
"required": true, | |
"schema": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
} | |
}, | |
{ | |
"name": "x-instance", | |
"in": "header", | |
"description": "The target instance for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "x-company", | |
"in": "header", | |
"description": "The target company for the request", | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success" | |
} | |
} | |
} | |
}, | |
"/api/customers": { | |
"get": { | |
"tags": [ | |
"Customers" | |
], | |
"summary": "Get all customers", | |
"operationId": "GET api/Customers", | |
"parameters": [ | |
{ | |
"name": "x-instance", | |
"in": "header", | |
"description": "The target instance for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "x-company", | |
"in": "header", | |
"description": "The target company for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "$top", | |
"in": "query", | |
"description": "The max number of records.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$skip", | |
"in": "query", | |
"description": "The number of records to skip.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$filter", | |
"in": "query", | |
"description": "A function that must evaluate to true for a record to be returned.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$select", | |
"in": "query", | |
"description": "Specifies a subset of properties to return. Use a comma separated list.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$orderby", | |
"in": "query", | |
"description": "Determines what values are used to order a collection of records.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$expand", | |
"in": "query", | |
"description": "Use to add related query data.", | |
"schema": { | |
"type": "String" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.Business.API.Swagger.ODataResponseType`1[[Backend.BusinessLogic.Dto.CustomerDto, Backend.BusinessLogic, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/api/customers/{key}": { | |
"get": { | |
"tags": [ | |
"Customers" | |
], | |
"summary": "Get customer by id", | |
"operationId": "GET api/Customers/{key}", | |
"parameters": [ | |
{ | |
"name": "key", | |
"in": "path", | |
"description": "The GUID of the customer", | |
"required": true, | |
"schema": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
} | |
}, | |
{ | |
"name": "x-instance", | |
"in": "header", | |
"description": "The target instance for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "x-company", | |
"in": "header", | |
"description": "The target company for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "$top", | |
"in": "query", | |
"description": "The max number of records.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$skip", | |
"in": "query", | |
"description": "The number of records to skip.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$filter", | |
"in": "query", | |
"description": "A function that must evaluate to true for a record to be returned.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$select", | |
"in": "query", | |
"description": "Specifies a subset of properties to return. Use a comma separated list.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$orderby", | |
"in": "query", | |
"description": "Determines what values are used to order a collection of records.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$expand", | |
"in": "query", | |
"description": "Use to add related query data.", | |
"schema": { | |
"type": "String" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.CustomerDto" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/api/clients/{key}/createApiKey": { | |
"get": { | |
"tags": [ | |
"Clients" | |
], | |
"summary": "Fetch the API Key for a client", | |
"description": "Can not be called with an API Key.", | |
"operationId": "GET ", | |
"parameters": [ | |
{ | |
"name": "key", | |
"in": "path", | |
"description": "The GUID of the client", | |
"required": true, | |
"schema": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
} | |
}, | |
{ | |
"name": "x-instance", | |
"in": "header", | |
"description": "The target instance for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "x-company", | |
"in": "header", | |
"description": "The target company for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "$top", | |
"in": "query", | |
"description": "The max number of records.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$skip", | |
"in": "query", | |
"description": "The number of records to skip.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$filter", | |
"in": "query", | |
"description": "A function that must evaluate to true for a record to be returned.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$select", | |
"in": "query", | |
"description": "Specifies a subset of properties to return. Use a comma separated list.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$orderby", | |
"in": "query", | |
"description": "Determines what values are used to order a collection of records.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$expand", | |
"in": "query", | |
"description": "Use to add related query data.", | |
"schema": { | |
"type": "String" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"title": "String", | |
"type": "string" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/api/clients/{key}": { | |
"get": { | |
"tags": [ | |
"Clients" | |
], | |
"summary": "Get a client by its ID", | |
"operationId": "GET api/Clients/{key}", | |
"parameters": [ | |
{ | |
"name": "key", | |
"in": "path", | |
"required": true, | |
"schema": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
} | |
}, | |
{ | |
"name": "x-instance", | |
"in": "header", | |
"description": "The target instance for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "x-company", | |
"in": "header", | |
"description": "The target company for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "$top", | |
"in": "query", | |
"description": "The max number of records.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$skip", | |
"in": "query", | |
"description": "The number of records to skip.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$filter", | |
"in": "query", | |
"description": "A function that must evaluate to true for a record to be returned.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$select", | |
"in": "query", | |
"description": "Specifies a subset of properties to return. Use a comma separated list.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$orderby", | |
"in": "query", | |
"description": "Determines what values are used to order a collection of records.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$expand", | |
"in": "query", | |
"description": "Use to add related query data.", | |
"schema": { | |
"type": "String" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ClientDto" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"put": { | |
"tags": [ | |
"Clients" | |
], | |
"summary": "Modify existing client", | |
"operationId": "PUT api/Clients/{key}", | |
"parameters": [ | |
{ | |
"name": "key", | |
"in": "path", | |
"required": true, | |
"schema": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
} | |
}, | |
{ | |
"name": "x-instance", | |
"in": "header", | |
"description": "The target instance for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "x-company", | |
"in": "header", | |
"description": "The target company for the request", | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ClientDto" | |
} | |
} | |
} | |
}, | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ClientDto" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"patch": { | |
"tags": [ | |
"Clients" | |
], | |
"summary": "Modify existing client", | |
"operationId": "PATCH api/Clients/{key}", | |
"parameters": [ | |
{ | |
"name": "key", | |
"in": "path", | |
"required": true, | |
"schema": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
} | |
}, | |
{ | |
"name": "x-instance", | |
"in": "header", | |
"description": "The target instance for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "x-company", | |
"in": "header", | |
"description": "The target company for the request", | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ClientDto" | |
} | |
} | |
} | |
}, | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ClientDto" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"delete": { | |
"tags": [ | |
"Clients" | |
], | |
"summary": "Delete a client", | |
"description": "Can not be called with an API Key.", | |
"operationId": "DELETE api/Clients/{key}", | |
"parameters": [ | |
{ | |
"name": "key", | |
"in": "path", | |
"description": "The GUID of the client", | |
"required": true, | |
"schema": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
} | |
}, | |
{ | |
"name": "x-instance", | |
"in": "header", | |
"description": "The target instance for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "x-company", | |
"in": "header", | |
"description": "The target company for the request", | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success" | |
} | |
} | |
} | |
}, | |
"/api/clients": { | |
"get": { | |
"tags": [ | |
"Clients" | |
], | |
"summary": "Get all clients in this company", | |
"operationId": "GET api/Clients", | |
"parameters": [ | |
{ | |
"name": "x-instance", | |
"in": "header", | |
"description": "The target instance for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "x-company", | |
"in": "header", | |
"description": "The target company for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "$top", | |
"in": "query", | |
"description": "The max number of records.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$skip", | |
"in": "query", | |
"description": "The number of records to skip.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$filter", | |
"in": "query", | |
"description": "A function that must evaluate to true for a record to be returned.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$select", | |
"in": "query", | |
"description": "Specifies a subset of properties to return. Use a comma separated list.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$orderby", | |
"in": "query", | |
"description": "Determines what values are used to order a collection of records.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$expand", | |
"in": "query", | |
"description": "Use to add related query data.", | |
"schema": { | |
"type": "String" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.Business.API.Swagger.ODataResponseType`1[[Backend.BusinessLogic.Dto.ClientDto, Backend.BusinessLogic, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"post": { | |
"tags": [ | |
"Clients" | |
], | |
"summary": "Create a new client in the current company", | |
"operationId": "POST api/Clients", | |
"parameters": [ | |
{ | |
"name": "x-instance", | |
"in": "header", | |
"description": "The target instance for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "x-company", | |
"in": "header", | |
"description": "The target company for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "$top", | |
"in": "query", | |
"description": "The max number of records.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$skip", | |
"in": "query", | |
"description": "The number of records to skip.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$filter", | |
"in": "query", | |
"description": "A function that must evaluate to true for a record to be returned.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$select", | |
"in": "query", | |
"description": "Specifies a subset of properties to return. Use a comma separated list.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$orderby", | |
"in": "query", | |
"description": "Determines what values are used to order a collection of records.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$expand", | |
"in": "query", | |
"description": "Use to add related query data.", | |
"schema": { | |
"type": "String" | |
} | |
} | |
], | |
"requestBody": { | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ClientDto" | |
} | |
} | |
} | |
}, | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ClientDto" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/api/calendar": { | |
"get": { | |
"tags": [ | |
"Calendar" | |
], | |
"summary": "Get events for current user", | |
"parameters": [ | |
{ | |
"name": "from", | |
"in": "query", | |
"description": "First point in time of summary in ISO 8601 format.", | |
"schema": { | |
"title": "DateTimeOffset", | |
"type": "string", | |
"format": "date-time" | |
} | |
}, | |
{ | |
"name": "to", | |
"in": "query", | |
"description": "Last point in time of summary in ISO 8601 format.", | |
"schema": { | |
"title": "DateTimeOffset", | |
"type": "string", | |
"format": "date-time" | |
} | |
}, | |
{ | |
"name": "x-instance", | |
"in": "header", | |
"description": "The target instance for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "x-company", | |
"in": "header", | |
"description": "The target company for the request", | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "A list of all events in the date range", | |
"content": { | |
"application/json": { | |
"schema": { | |
"title": "Event[]", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.Data.Models.Calendar.Event" | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/api/baseCalendars": { | |
"get": { | |
"tags": [ | |
"BaseCalendars" | |
], | |
"operationId": "GET api/BaseCalendars", | |
"parameters": [ | |
{ | |
"name": "x-instance", | |
"in": "header", | |
"description": "The target instance for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "x-company", | |
"in": "header", | |
"description": "The target company for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "$top", | |
"in": "query", | |
"description": "The max number of records.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$skip", | |
"in": "query", | |
"description": "The number of records to skip.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$filter", | |
"in": "query", | |
"description": "A function that must evaluate to true for a record to be returned.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$select", | |
"in": "query", | |
"description": "Specifies a subset of properties to return. Use a comma separated list.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$orderby", | |
"in": "query", | |
"description": "Determines what values are used to order a collection of records.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$expand", | |
"in": "query", | |
"description": "Use to add related query data.", | |
"schema": { | |
"type": "String" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json;odata.metadata=minimal;odata.streaming=true": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.Business.API.Swagger.ODataResponseType`1[[Backend.BusinessLogic.Dto.CalendarDto, Backend.BusinessLogic, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" | |
} | |
}, | |
"application/json;odata.metadata=minimal;odata.streaming=false": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.Business.API.Swagger.ODataResponseType`1[[Backend.BusinessLogic.Dto.CalendarDto, Backend.BusinessLogic, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" | |
} | |
}, | |
"application/json;odata.metadata=minimal": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.Business.API.Swagger.ODataResponseType`1[[Backend.BusinessLogic.Dto.CalendarDto, Backend.BusinessLogic, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" | |
} | |
}, | |
"application/json;odata.metadata=full;odata.streaming=true": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.Business.API.Swagger.ODataResponseType`1[[Backend.BusinessLogic.Dto.CalendarDto, Backend.BusinessLogic, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" | |
} | |
}, | |
"application/json;odata.metadata=full;odata.streaming=false": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.Business.API.Swagger.ODataResponseType`1[[Backend.BusinessLogic.Dto.CalendarDto, Backend.BusinessLogic, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" | |
} | |
}, | |
"application/json;odata.metadata=full": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.Business.API.Swagger.ODataResponseType`1[[Backend.BusinessLogic.Dto.CalendarDto, Backend.BusinessLogic, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" | |
} | |
}, | |
"application/json;odata.metadata=none;odata.streaming=true": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.Business.API.Swagger.ODataResponseType`1[[Backend.BusinessLogic.Dto.CalendarDto, Backend.BusinessLogic, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" | |
} | |
}, | |
"application/json;odata.metadata=none;odata.streaming=false": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.Business.API.Swagger.ODataResponseType`1[[Backend.BusinessLogic.Dto.CalendarDto, Backend.BusinessLogic, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" | |
} | |
}, | |
"application/json;odata.metadata=none": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.Business.API.Swagger.ODataResponseType`1[[Backend.BusinessLogic.Dto.CalendarDto, Backend.BusinessLogic, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" | |
} | |
}, | |
"application/json;odata.streaming=true": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.Business.API.Swagger.ODataResponseType`1[[Backend.BusinessLogic.Dto.CalendarDto, Backend.BusinessLogic, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" | |
} | |
}, | |
"application/json;odata.streaming=false": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.Business.API.Swagger.ODataResponseType`1[[Backend.BusinessLogic.Dto.CalendarDto, Backend.BusinessLogic, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" | |
} | |
}, | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.Business.API.Swagger.ODataResponseType`1[[Backend.BusinessLogic.Dto.CalendarDto, Backend.BusinessLogic, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" | |
} | |
}, | |
"application/xml": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.Business.API.Swagger.ODataResponseType`1[[Backend.BusinessLogic.Dto.CalendarDto, Backend.BusinessLogic, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/api/timeRecordings/byWorkItem(source={source},organization={organization},project={project},id={id})": { | |
"get": { | |
"tags": [ | |
"TimeRecordings" | |
], | |
"summary": "Get time recordings linked to a work item", | |
"operationId": "GET api/TimeRecordings/ByWorkItem(source={source},organization={organization},project={project},id={id})", | |
"parameters": [ | |
{ | |
"name": "source", | |
"in": "path", | |
"description": "Identifier of work item's source system (e.g. DevOps)", | |
"required": true, | |
"schema": { | |
"title": "String", | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "organization", | |
"in": "path", | |
"description": "Identifier of work item's organization (e.g. My Company)", | |
"required": true, | |
"schema": { | |
"title": "String", | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "project", | |
"in": "path", | |
"description": "Identifier of project the work item is in (e.g. P12345)", | |
"required": true, | |
"schema": { | |
"title": "String", | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "Identifier of the work item (e.g. 4711)", | |
"required": true, | |
"schema": { | |
"title": "String", | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "x-instance", | |
"in": "header", | |
"description": "The target instance for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "x-company", | |
"in": "header", | |
"description": "The target company for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "$top", | |
"in": "query", | |
"description": "The max number of records.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$skip", | |
"in": "query", | |
"description": "The number of records to skip.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$filter", | |
"in": "query", | |
"description": "A function that must evaluate to true for a record to be returned.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$select", | |
"in": "query", | |
"description": "Specifies a subset of properties to return. Use a comma separated list.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$orderby", | |
"in": "query", | |
"description": "Determines what values are used to order a collection of records.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$expand", | |
"in": "query", | |
"description": "Use to add related query data.", | |
"schema": { | |
"type": "String" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.Business.API.Swagger.ODataResponseType`1[[Backend.BusinessLogic.Dto.TimeRecordingDto, Backend.BusinessLogic, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/api/timeRecordings/validate": { | |
"post": { | |
"tags": [ | |
"TimeRecordings" | |
], | |
"summary": "Validate a time recording", | |
"operationId": "POST api/TimeRecordings/Validate", | |
"parameters": [ | |
{ | |
"name": "x-instance", | |
"in": "header", | |
"description": "The target instance for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "x-company", | |
"in": "header", | |
"description": "The target company for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "$top", | |
"in": "query", | |
"description": "The max number of records.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$skip", | |
"in": "query", | |
"description": "The number of records to skip.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$filter", | |
"in": "query", | |
"description": "A function that must evaluate to true for a record to be returned.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$select", | |
"in": "query", | |
"description": "Specifies a subset of properties to return. Use a comma separated list.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$orderby", | |
"in": "query", | |
"description": "Determines what values are used to order a collection of records.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$expand", | |
"in": "query", | |
"description": "Use to add related query data.", | |
"schema": { | |
"type": "String" | |
} | |
} | |
], | |
"requestBody": { | |
"content": { | |
"application/json": { | |
"schema": { | |
"title": "ODataActionParameters", | |
"type": "object", | |
"additionalProperties": { | |
"title": "Object" | |
} | |
} | |
} | |
} | |
}, | |
"responses": { | |
"200": { | |
"description": "Validation result", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/FluentValidation.Results.ValidationResult" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/api/timeRecordings/getBudget": { | |
"get": { | |
"tags": [ | |
"TimeRecordings" | |
], | |
"summary": "Get total and remaining budget for a job task or job planning line", | |
"operationId": "GET api/TimeRecordings/GetBudget", | |
"parameters": [ | |
{ | |
"name": "jobTaskId", | |
"in": "query", | |
"description": "If only job task is specified, the sum of all assigend planning lines will be calculated", | |
"schema": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
} | |
}, | |
{ | |
"name": "jobPlanningLineId", | |
"in": "query", | |
"description": "If job planning line is specified, the result will include values for just that one line", | |
"schema": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
} | |
}, | |
{ | |
"name": "x-instance", | |
"in": "header", | |
"description": "The target instance for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "x-company", | |
"in": "header", | |
"description": "The target company for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "$top", | |
"in": "query", | |
"description": "The max number of records.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$skip", | |
"in": "query", | |
"description": "The number of records to skip.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$filter", | |
"in": "query", | |
"description": "A function that must evaluate to true for a record to be returned.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$select", | |
"in": "query", | |
"description": "Specifies a subset of properties to return. Use a comma separated list.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$orderby", | |
"in": "query", | |
"description": "Determines what values are used to order a collection of records.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$expand", | |
"in": "query", | |
"description": "Use to add related query data.", | |
"schema": { | |
"type": "String" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.Data.Models.TimeRecordingBudget" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/api/timeRecordingTemplates/{key}": { | |
"get": { | |
"tags": [ | |
"TimeRecordingTemplates" | |
], | |
"summary": "Get time recording template by id", | |
"operationId": "GET api/TimeRecordingTemplates/{key}", | |
"parameters": [ | |
{ | |
"name": "key", | |
"in": "path", | |
"description": "The GUID of the Time Recording Template", | |
"required": true, | |
"schema": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
} | |
}, | |
{ | |
"name": "x-instance", | |
"in": "header", | |
"description": "The target instance for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "x-company", | |
"in": "header", | |
"description": "The target company for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "$top", | |
"in": "query", | |
"description": "The max number of records.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$skip", | |
"in": "query", | |
"description": "The number of records to skip.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$filter", | |
"in": "query", | |
"description": "A function that must evaluate to true for a record to be returned.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$select", | |
"in": "query", | |
"description": "Specifies a subset of properties to return. Use a comma separated list.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$orderby", | |
"in": "query", | |
"description": "Determines what values are used to order a collection of records.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$expand", | |
"in": "query", | |
"description": "Use to add related query data.", | |
"schema": { | |
"type": "String" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.TimeRecordingTemplateDto" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"patch": { | |
"tags": [ | |
"TimeRecordingTemplates" | |
], | |
"summary": "Partial update of an existing time recording template", | |
"operationId": "PATCH api/TimeRecordingTemplates/{key}", | |
"parameters": [ | |
{ | |
"name": "key", | |
"in": "path", | |
"required": true, | |
"schema": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
} | |
}, | |
{ | |
"name": "x-instance", | |
"in": "header", | |
"description": "The target instance for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "x-company", | |
"in": "header", | |
"description": "The target company for the request", | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.TimeRecordingTemplateDto" | |
} | |
} | |
} | |
}, | |
"responses": { | |
"200": { | |
"description": "Success" | |
} | |
} | |
}, | |
"put": { | |
"tags": [ | |
"TimeRecordingTemplates" | |
], | |
"summary": "Updates and existing Time Recording Template", | |
"operationId": "PUT api/TimeRecordingTemplates/{key}", | |
"parameters": [ | |
{ | |
"name": "key", | |
"in": "path", | |
"description": "", | |
"required": true, | |
"schema": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
} | |
}, | |
{ | |
"name": "x-instance", | |
"in": "header", | |
"description": "The target instance for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "x-company", | |
"in": "header", | |
"description": "The target company for the request", | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.TimeRecordingTemplateDto" | |
} | |
} | |
} | |
}, | |
"responses": { | |
"200": { | |
"description": "Success" | |
} | |
} | |
}, | |
"delete": { | |
"tags": [ | |
"TimeRecordingTemplates" | |
], | |
"summary": "Delete a time recording template", | |
"operationId": "DELETE api/TimeRecordingTemplates/{key}", | |
"parameters": [ | |
{ | |
"name": "key", | |
"in": "path", | |
"required": true, | |
"schema": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
} | |
}, | |
{ | |
"name": "x-instance", | |
"in": "header", | |
"description": "The target instance for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "x-company", | |
"in": "header", | |
"description": "The target company for the request", | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success" | |
} | |
} | |
} | |
}, | |
"/api/timeRecordingTemplates": { | |
"get": { | |
"tags": [ | |
"TimeRecordingTemplates" | |
], | |
"summary": "Get all time recording templates of current user", | |
"operationId": "GET api/TimeRecordingTemplates", | |
"parameters": [ | |
{ | |
"name": "x-instance", | |
"in": "header", | |
"description": "The target instance for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "x-company", | |
"in": "header", | |
"description": "The target company for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "$top", | |
"in": "query", | |
"description": "The max number of records.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$skip", | |
"in": "query", | |
"description": "The number of records to skip.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$filter", | |
"in": "query", | |
"description": "A function that must evaluate to true for a record to be returned.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$select", | |
"in": "query", | |
"description": "Specifies a subset of properties to return. Use a comma separated list.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$orderby", | |
"in": "query", | |
"description": "Determines what values are used to order a collection of records.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$expand", | |
"in": "query", | |
"description": "Use to add related query data.", | |
"schema": { | |
"type": "String" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.Business.API.Swagger.ODataResponseType`1[[Backend.BusinessLogic.Dto.TimeRecordingTemplateDto, Backend.BusinessLogic, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"post": { | |
"tags": [ | |
"TimeRecordingTemplates" | |
], | |
"summary": "Add a new time recording template", | |
"operationId": "POST api/TimeRecordingTemplates", | |
"parameters": [ | |
{ | |
"name": "x-instance", | |
"in": "header", | |
"description": "The target instance for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "x-company", | |
"in": "header", | |
"description": "The target company for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "$top", | |
"in": "query", | |
"description": "The max number of records.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$skip", | |
"in": "query", | |
"description": "The number of records to skip.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$filter", | |
"in": "query", | |
"description": "A function that must evaluate to true for a record to be returned.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$select", | |
"in": "query", | |
"description": "Specifies a subset of properties to return. Use a comma separated list.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$orderby", | |
"in": "query", | |
"description": "Determines what values are used to order a collection of records.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$expand", | |
"in": "query", | |
"description": "Use to add related query data.", | |
"schema": { | |
"type": "String" | |
} | |
} | |
], | |
"requestBody": { | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.TimeRecordingTemplateDto" | |
} | |
} | |
} | |
}, | |
"responses": { | |
"200": { | |
"description": "Success" | |
} | |
} | |
} | |
}, | |
"/api/users/{key}": { | |
"get": { | |
"tags": [ | |
"Users" | |
], | |
"summary": "Get user by id", | |
"operationId": "GET api/Users/{key}", | |
"parameters": [ | |
{ | |
"name": "key", | |
"in": "path", | |
"description": "The GUID of the user", | |
"required": true, | |
"schema": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
} | |
}, | |
{ | |
"name": "x-instance", | |
"in": "header", | |
"description": "The target instance for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "x-company", | |
"in": "header", | |
"description": "The target company for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "$top", | |
"in": "query", | |
"description": "The max number of records.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$skip", | |
"in": "query", | |
"description": "The number of records to skip.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$filter", | |
"in": "query", | |
"description": "A function that must evaluate to true for a record to be returned.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$select", | |
"in": "query", | |
"description": "Specifies a subset of properties to return. Use a comma separated list.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$orderby", | |
"in": "query", | |
"description": "Determines what values are used to order a collection of records.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$expand", | |
"in": "query", | |
"description": "Use to add related query data.", | |
"schema": { | |
"type": "String" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.UserDto" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"put": { | |
"tags": [ | |
"Users" | |
], | |
"summary": "Modify existing user", | |
"operationId": "PUT api/Users/{key}", | |
"parameters": [ | |
{ | |
"name": "key", | |
"in": "path", | |
"required": true, | |
"schema": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
} | |
}, | |
{ | |
"name": "x-instance", | |
"in": "header", | |
"description": "The target instance for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "x-company", | |
"in": "header", | |
"description": "The target company for the request", | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.UserDto" | |
} | |
} | |
} | |
}, | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.UserDto" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"patch": { | |
"tags": [ | |
"Users" | |
], | |
"summary": "Modify existing user", | |
"operationId": "PATCH api/Users/{key}", | |
"parameters": [ | |
{ | |
"name": "key", | |
"in": "path", | |
"required": true, | |
"schema": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
} | |
}, | |
{ | |
"name": "x-instance", | |
"in": "header", | |
"description": "The target instance for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "x-company", | |
"in": "header", | |
"description": "The target company for the request", | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.UserDto" | |
} | |
} | |
} | |
}, | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.UserDto" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"delete": { | |
"tags": [ | |
"Users" | |
], | |
"summary": "Delete user", | |
"operationId": "DELETE api/Users/{key}", | |
"parameters": [ | |
{ | |
"name": "key", | |
"in": "path", | |
"required": true, | |
"schema": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
} | |
}, | |
{ | |
"name": "x-instance", | |
"in": "header", | |
"description": "The target instance for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "x-company", | |
"in": "header", | |
"description": "The target company for the request", | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success" | |
} | |
} | |
} | |
}, | |
"/api/users/current": { | |
"get": { | |
"tags": [ | |
"Users" | |
], | |
"summary": "Get current user", | |
"operationId": "GET api/Users/Current", | |
"parameters": [ | |
{ | |
"name": "x-instance", | |
"in": "header", | |
"description": "The target instance for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "x-company", | |
"in": "header", | |
"description": "The target company for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "$top", | |
"in": "query", | |
"description": "The max number of records.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$skip", | |
"in": "query", | |
"description": "The number of records to skip.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$filter", | |
"in": "query", | |
"description": "A function that must evaluate to true for a record to be returned.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$select", | |
"in": "query", | |
"description": "Specifies a subset of properties to return. Use a comma separated list.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$orderby", | |
"in": "query", | |
"description": "Determines what values are used to order a collection of records.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$expand", | |
"in": "query", | |
"description": "Use to add related query data.", | |
"schema": { | |
"type": "String" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.UserDto" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/api/users": { | |
"get": { | |
"tags": [ | |
"Users" | |
], | |
"summary": "Get all users", | |
"operationId": "GET api/Users", | |
"parameters": [ | |
{ | |
"name": "x-instance", | |
"in": "header", | |
"description": "The target instance for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "x-company", | |
"in": "header", | |
"description": "The target company for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "$top", | |
"in": "query", | |
"description": "The max number of records.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$skip", | |
"in": "query", | |
"description": "The number of records to skip.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$filter", | |
"in": "query", | |
"description": "A function that must evaluate to true for a record to be returned.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$select", | |
"in": "query", | |
"description": "Specifies a subset of properties to return. Use a comma separated list.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$orderby", | |
"in": "query", | |
"description": "Determines what values are used to order a collection of records.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$expand", | |
"in": "query", | |
"description": "Use to add related query data.", | |
"schema": { | |
"type": "String" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.Business.API.Swagger.ODataResponseType`1[[Backend.BusinessLogic.Dto.UserDto, Backend.BusinessLogic, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"post": { | |
"tags": [ | |
"Users" | |
], | |
"summary": "Add a new user", | |
"operationId": "POST api/Users", | |
"parameters": [ | |
{ | |
"name": "x-instance", | |
"in": "header", | |
"description": "The target instance for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "x-company", | |
"in": "header", | |
"description": "The target company for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "$top", | |
"in": "query", | |
"description": "The max number of records.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$skip", | |
"in": "query", | |
"description": "The number of records to skip.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$filter", | |
"in": "query", | |
"description": "A function that must evaluate to true for a record to be returned.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$select", | |
"in": "query", | |
"description": "Specifies a subset of properties to return. Use a comma separated list.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$orderby", | |
"in": "query", | |
"description": "Determines what values are used to order a collection of records.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$expand", | |
"in": "query", | |
"description": "Use to add related query data.", | |
"schema": { | |
"type": "String" | |
} | |
} | |
], | |
"requestBody": { | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.UserDto" | |
} | |
} | |
} | |
}, | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.UserDto" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/api/users/aad": { | |
"get": { | |
"tags": [ | |
"Users" | |
], | |
"summary": "Get all users from AAD\r\n<remarks>Only for users authenticated by AAD.</remarks>", | |
"operationId": "GET api/Users/AAD", | |
"parameters": [ | |
{ | |
"name": "x-instance", | |
"in": "header", | |
"description": "The target instance for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "x-company", | |
"in": "header", | |
"description": "The target company for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "$top", | |
"in": "query", | |
"description": "The max number of records.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$skip", | |
"in": "query", | |
"description": "The number of records to skip.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$filter", | |
"in": "query", | |
"description": "A function that must evaluate to true for a record to be returned.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$select", | |
"in": "query", | |
"description": "Specifies a subset of properties to return. Use a comma separated list.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$orderby", | |
"in": "query", | |
"description": "Determines what values are used to order a collection of records.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$expand", | |
"in": "query", | |
"description": "Use to add related query data.", | |
"schema": { | |
"type": "String" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"title": "List<AadUser>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.Data.Models.AadUser" | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/api/users/{key}/setRoles": { | |
"post": { | |
"tags": [ | |
"Users" | |
], | |
"summary": "Set user roles", | |
"operationId": "POST api/Users/{key}/SetRoles", | |
"parameters": [ | |
{ | |
"name": "key", | |
"in": "path", | |
"required": true, | |
"schema": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
} | |
}, | |
{ | |
"name": "x-instance", | |
"in": "header", | |
"description": "The target instance for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "x-company", | |
"in": "header", | |
"description": "The target company for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "$top", | |
"in": "query", | |
"description": "The max number of records.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$skip", | |
"in": "query", | |
"description": "The number of records to skip.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$filter", | |
"in": "query", | |
"description": "A function that must evaluate to true for a record to be returned.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$select", | |
"in": "query", | |
"description": "Specifies a subset of properties to return. Use a comma separated list.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$orderby", | |
"in": "query", | |
"description": "Determines what values are used to order a collection of records.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$expand", | |
"in": "query", | |
"description": "Use to add related query data.", | |
"schema": { | |
"type": "String" | |
} | |
} | |
], | |
"requestBody": { | |
"content": { | |
"application/json": { | |
"schema": { | |
"title": "ODataActionParameters", | |
"type": "object", | |
"additionalProperties": { | |
"title": "Object" | |
} | |
} | |
} | |
} | |
}, | |
"responses": { | |
"200": { | |
"description": "Success" | |
} | |
} | |
} | |
}, | |
"/api/workItems({source},{organization},{project},{id})": { | |
"get": { | |
"tags": [ | |
"WorkItems" | |
], | |
"summary": "Get work item by identifiers", | |
"operationId": "GET ", | |
"parameters": [ | |
{ | |
"name": "source", | |
"in": "path", | |
"description": "Identifier of work item's source system (e.g. DevOps)", | |
"required": true, | |
"schema": { | |
"title": "String", | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "organization", | |
"in": "path", | |
"required": true, | |
"schema": { | |
"title": "String", | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "project", | |
"in": "path", | |
"description": "Identifier of project the work item is in (e.g. P12345)", | |
"required": true, | |
"schema": { | |
"title": "String", | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "Identifier of the work item (e.g. 4711)", | |
"required": true, | |
"schema": { | |
"title": "String", | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "x-instance", | |
"in": "header", | |
"description": "The target instance for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "x-company", | |
"in": "header", | |
"description": "The target company for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "$top", | |
"in": "query", | |
"description": "The max number of records.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$skip", | |
"in": "query", | |
"description": "The number of records to skip.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$filter", | |
"in": "query", | |
"description": "A function that must evaluate to true for a record to be returned.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$select", | |
"in": "query", | |
"description": "Specifies a subset of properties to return. Use a comma separated list.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$orderby", | |
"in": "query", | |
"description": "Determines what values are used to order a collection of records.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$expand", | |
"in": "query", | |
"description": "Use to add related query data.", | |
"schema": { | |
"type": "String" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.WorkItemDto" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"put": { | |
"tags": [ | |
"WorkItems" | |
], | |
"summary": "Modify existing work item", | |
"operationId": "PUT ", | |
"parameters": [ | |
{ | |
"name": "source", | |
"in": "path", | |
"required": true, | |
"schema": { | |
"title": "String", | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "organization", | |
"in": "path", | |
"required": true, | |
"schema": { | |
"title": "String", | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "project", | |
"in": "path", | |
"required": true, | |
"schema": { | |
"title": "String", | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "id", | |
"in": "path", | |
"required": true, | |
"schema": { | |
"title": "String", | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "x-instance", | |
"in": "header", | |
"description": "The target instance for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "x-company", | |
"in": "header", | |
"description": "The target company for the request", | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.WorkItemDto" | |
} | |
} | |
} | |
}, | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.WorkItemDto" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"delete": { | |
"tags": [ | |
"WorkItems" | |
], | |
"summary": "Delete work item", | |
"operationId": "DELETE ", | |
"parameters": [ | |
{ | |
"name": "source", | |
"in": "path", | |
"required": true, | |
"schema": { | |
"title": "String", | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "organization", | |
"in": "path", | |
"required": true, | |
"schema": { | |
"title": "String", | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "project", | |
"in": "path", | |
"required": true, | |
"schema": { | |
"title": "String", | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "id", | |
"in": "path", | |
"required": true, | |
"schema": { | |
"title": "String", | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "x-instance", | |
"in": "header", | |
"description": "The target instance for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "x-company", | |
"in": "header", | |
"description": "The target company for the request", | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success" | |
} | |
} | |
} | |
}, | |
"/api/workItems": { | |
"get": { | |
"tags": [ | |
"WorkItems" | |
], | |
"summary": "Get all work items", | |
"operationId": "GET api/WorkItems", | |
"parameters": [ | |
{ | |
"name": "x-instance", | |
"in": "header", | |
"description": "The target instance for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "x-company", | |
"in": "header", | |
"description": "The target company for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "$top", | |
"in": "query", | |
"description": "The max number of records.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$skip", | |
"in": "query", | |
"description": "The number of records to skip.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$filter", | |
"in": "query", | |
"description": "A function that must evaluate to true for a record to be returned.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$select", | |
"in": "query", | |
"description": "Specifies a subset of properties to return. Use a comma separated list.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$orderby", | |
"in": "query", | |
"description": "Determines what values are used to order a collection of records.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$expand", | |
"in": "query", | |
"description": "Use to add related query data.", | |
"schema": { | |
"type": "String" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.Business.API.Swagger.ODataResponseType`1[[Backend.BusinessLogic.Dto.WorkItemDto, Backend.BusinessLogic, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"post": { | |
"tags": [ | |
"WorkItems" | |
], | |
"summary": "Add a new work item", | |
"operationId": "POST api/WorkItems", | |
"parameters": [ | |
{ | |
"name": "x-instance", | |
"in": "header", | |
"description": "The target instance for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "x-company", | |
"in": "header", | |
"description": "The target company for the request", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "$top", | |
"in": "query", | |
"description": "The max number of records.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$skip", | |
"in": "query", | |
"description": "The number of records to skip.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$filter", | |
"in": "query", | |
"description": "A function that must evaluate to true for a record to be returned.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$select", | |
"in": "query", | |
"description": "Specifies a subset of properties to return. Use a comma separated list.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$orderby", | |
"in": "query", | |
"description": "Determines what values are used to order a collection of records.", | |
"schema": { | |
"type": "String" | |
} | |
}, | |
{ | |
"name": "$expand", | |
"in": "query", | |
"description": "Use to add related query data.", | |
"schema": { | |
"type": "String" | |
} | |
} | |
], | |
"requestBody": { | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.WorkItemDto" | |
} | |
} | |
} | |
}, | |
"responses": { | |
"200": { | |
"description": "Success", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.WorkItemDto" | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"components": { | |
"schemas": { | |
"Backend.Business.API.Swagger.ODataResponseType`1[[Backend.BusinessLogic.Dto.CalendarDto, Backend.BusinessLogic, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]": { | |
"title": "ODataResponse<Calendar>", | |
"type": "object", | |
"properties": { | |
"context": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"value": { | |
"title": "Calendar[]", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.CalendarDto" | |
}, | |
"nullable": true | |
} | |
}, | |
"additionalProperties": false | |
}, | |
"Backend.Business.API.Swagger.ODataResponseType`1[[Backend.BusinessLogic.Dto.ClientDto, Backend.BusinessLogic, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]": { | |
"title": "ODataResponse<Client>", | |
"type": "object", | |
"properties": { | |
"context": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"value": { | |
"title": "Client[]", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ClientDto" | |
}, | |
"nullable": true | |
} | |
}, | |
"additionalProperties": false | |
}, | |
"Backend.Business.API.Swagger.ODataResponseType`1[[Backend.BusinessLogic.Dto.CustomerDto, Backend.BusinessLogic, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]": { | |
"title": "ODataResponse<Customer>", | |
"type": "object", | |
"properties": { | |
"context": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"value": { | |
"title": "Customer[]", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.CustomerDto" | |
}, | |
"nullable": true | |
} | |
}, | |
"additionalProperties": false | |
}, | |
"Backend.Business.API.Swagger.ODataResponseType`1[[Backend.BusinessLogic.Dto.JobDto, Backend.BusinessLogic, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]": { | |
"title": "ODataResponse<Job>", | |
"type": "object", | |
"properties": { | |
"context": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"value": { | |
"title": "Job[]", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.JobDto" | |
}, | |
"nullable": true | |
} | |
}, | |
"additionalProperties": false | |
}, | |
"Backend.Business.API.Swagger.ODataResponseType`1[[Backend.BusinessLogic.Dto.JobPlanningLineDto, Backend.BusinessLogic, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]": { | |
"title": "ODataResponse<JobPlanningLine>", | |
"type": "object", | |
"properties": { | |
"context": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"value": { | |
"title": "JobPlanningLine[]", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.JobPlanningLineDto" | |
}, | |
"nullable": true | |
} | |
}, | |
"additionalProperties": false | |
}, | |
"Backend.Business.API.Swagger.ODataResponseType`1[[Backend.BusinessLogic.Dto.JobTaskDto, Backend.BusinessLogic, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]": { | |
"title": "ODataResponse<JobTask>", | |
"type": "object", | |
"properties": { | |
"context": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"value": { | |
"title": "JobTask[]", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.JobTaskDto" | |
}, | |
"nullable": true | |
} | |
}, | |
"additionalProperties": false | |
}, | |
"Backend.Business.API.Swagger.ODataResponseType`1[[Backend.BusinessLogic.Dto.ResourceDto, Backend.BusinessLogic, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]": { | |
"title": "ODataResponse<Resource>", | |
"type": "object", | |
"properties": { | |
"context": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"value": { | |
"title": "Resource[]", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ResourceDto" | |
}, | |
"nullable": true | |
} | |
}, | |
"additionalProperties": false | |
}, | |
"Backend.Business.API.Swagger.ODataResponseType`1[[Backend.BusinessLogic.Dto.ResourceGroupDto, Backend.BusinessLogic, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]": { | |
"title": "ODataResponse<ResourceGroup>", | |
"type": "object", | |
"properties": { | |
"context": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"value": { | |
"title": "ResourceGroup[]", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ResourceGroupDto" | |
}, | |
"nullable": true | |
} | |
}, | |
"additionalProperties": false | |
}, | |
"Backend.Business.API.Swagger.ODataResponseType`1[[Backend.BusinessLogic.Dto.ResourceJobAssignmentDto, Backend.BusinessLogic, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]": { | |
"title": "ODataResponse<ResourceJobAssignment>", | |
"type": "object", | |
"properties": { | |
"context": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"value": { | |
"title": "ResourceJobAssignment[]", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ResourceJobAssignmentDto" | |
}, | |
"nullable": true | |
} | |
}, | |
"additionalProperties": false | |
}, | |
"Backend.Business.API.Swagger.ODataResponseType`1[[Backend.BusinessLogic.Dto.RoleDto, Backend.BusinessLogic, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]": { | |
"title": "ODataResponse<Role>", | |
"type": "object", | |
"properties": { | |
"context": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"value": { | |
"title": "Role[]", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.RoleDto" | |
}, | |
"nullable": true | |
} | |
}, | |
"additionalProperties": false | |
}, | |
"Backend.Business.API.Swagger.ODataResponseType`1[[Backend.BusinessLogic.Dto.SkillDto, Backend.BusinessLogic, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]": { | |
"title": "ODataResponse<Skill>", | |
"type": "object", | |
"properties": { | |
"context": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"value": { | |
"title": "Skill[]", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.SkillDto" | |
}, | |
"nullable": true | |
} | |
}, | |
"additionalProperties": false | |
}, | |
"Backend.Business.API.Swagger.ODataResponseType`1[[Backend.BusinessLogic.Dto.TemplateCategoryDto, Backend.BusinessLogic, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]": { | |
"title": "ODataResponse<TemplateCategory>", | |
"type": "object", | |
"properties": { | |
"context": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"value": { | |
"title": "TemplateCategory[]", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.TemplateCategoryDto" | |
}, | |
"nullable": true | |
} | |
}, | |
"additionalProperties": false | |
}, | |
"Backend.Business.API.Swagger.ODataResponseType`1[[Backend.BusinessLogic.Dto.TimeRecordingDto, Backend.BusinessLogic, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]": { | |
"title": "ODataResponse<TimeRecording>", | |
"type": "object", | |
"properties": { | |
"context": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"value": { | |
"title": "TimeRecording[]", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.TimeRecordingDto" | |
}, | |
"nullable": true | |
} | |
}, | |
"additionalProperties": false | |
}, | |
"Backend.Business.API.Swagger.ODataResponseType`1[[Backend.BusinessLogic.Dto.TimeRecordingTemplateDto, Backend.BusinessLogic, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]": { | |
"title": "ODataResponse<TimeRecordingTemplate>", | |
"type": "object", | |
"properties": { | |
"context": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"value": { | |
"title": "TimeRecordingTemplate[]", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.TimeRecordingTemplateDto" | |
}, | |
"nullable": true | |
} | |
}, | |
"additionalProperties": false | |
}, | |
"Backend.Business.API.Swagger.ODataResponseType`1[[Backend.BusinessLogic.Dto.UserDto, Backend.BusinessLogic, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]": { | |
"title": "ODataResponse<User>", | |
"type": "object", | |
"properties": { | |
"context": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"value": { | |
"title": "User[]", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.UserDto" | |
}, | |
"nullable": true | |
} | |
}, | |
"additionalProperties": false | |
}, | |
"Backend.Business.API.Swagger.ODataResponseType`1[[Backend.BusinessLogic.Dto.WorkItemDto, Backend.BusinessLogic, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]": { | |
"title": "ODataResponse<WorkItem>", | |
"type": "object", | |
"properties": { | |
"context": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"value": { | |
"title": "WorkItem[]", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.WorkItemDto" | |
}, | |
"nullable": true | |
} | |
}, | |
"additionalProperties": false | |
}, | |
"Backend.BusinessLogic.Dto.ActivityDto": { | |
"title": "Activity", | |
"type": "object", | |
"properties": { | |
"no": { | |
"title": "Int32", | |
"type": "integer", | |
"format": "int32" | |
}, | |
"jobTask": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.JobTaskDto" | |
}, | |
"jobPlanningLine": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.JobPlanningLineDto" | |
}, | |
"tntModelLine": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.TntModelLineDto" | |
} | |
}, | |
"additionalProperties": false | |
}, | |
"Backend.BusinessLogic.Dto.AddressDto": { | |
"title": "Address", | |
"type": "object", | |
"properties": { | |
"id": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
}, | |
"address1": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"address2": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"city": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"state": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"postCode": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"country": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
} | |
}, | |
"additionalProperties": false | |
}, | |
"Backend.BusinessLogic.Dto.CalendarDto": { | |
"title": "Calendar", | |
"type": "object", | |
"properties": { | |
"code": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"description": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"entries": { | |
"title": "List<CalendarEntry>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.CalendarEntryDto" | |
}, | |
"nullable": true | |
} | |
}, | |
"additionalProperties": false | |
}, | |
"Backend.BusinessLogic.Dto.CalendarEntryDto": { | |
"title": "CalendarEntry", | |
"type": "object", | |
"properties": { | |
"id": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
}, | |
"date": { | |
"title": "DateTimeOffset", | |
"type": "string", | |
"format": "date-time" | |
}, | |
"description": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"recurrent": { | |
"title": "Boolean", | |
"type": "boolean" | |
}, | |
"isWorking": { | |
"title": "Boolean", | |
"type": "boolean" | |
} | |
}, | |
"additionalProperties": false | |
}, | |
"Backend.BusinessLogic.Dto.ClientDto": { | |
"title": "Client", | |
"type": "object", | |
"properties": { | |
"id": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
}, | |
"name": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"roles": { | |
"title": "List<Role>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.RoleDto" | |
}, | |
"nullable": true | |
}, | |
"resource": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ResourceDto" | |
}, | |
"validUntil": { | |
"title": "Nullable<DateTime>", | |
"type": "string", | |
"format": "date-time", | |
"nullable": true | |
} | |
}, | |
"additionalProperties": false | |
}, | |
"Backend.BusinessLogic.Dto.CopyProjectOptions": { | |
"title": "CopyProjectOptions", | |
"type": "object", | |
"properties": { | |
"name": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"start": { | |
"title": "DateTimeOffset", | |
"type": "string", | |
"format": "date-time" | |
}, | |
"copyProjectResources": { | |
"title": "Boolean", | |
"type": "boolean" | |
}, | |
"copyResourceTaskAssignments": { | |
"title": "Boolean", | |
"type": "boolean" | |
} | |
}, | |
"additionalProperties": false | |
}, | |
"Backend.BusinessLogic.Dto.CopyProjectTaskOptions": { | |
"title": "CopyProjectTaskOptions", | |
"type": "object", | |
"properties": { | |
"orderedParentIndex": { | |
"title": "Nullable<Int32>", | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
}, | |
"parentId": { | |
"title": "Nullable<Guid>", | |
"type": "string", | |
"format": "uuid", | |
"nullable": true | |
}, | |
"copyResourceTaskAssignments": { | |
"title": "Boolean", | |
"type": "boolean" | |
} | |
}, | |
"additionalProperties": false | |
}, | |
"Backend.BusinessLogic.Dto.CustomerDto": { | |
"title": "Customer", | |
"type": "object", | |
"properties": { | |
"id": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
}, | |
"no": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"name": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"address": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.AddressDto" | |
}, | |
"jobs": { | |
"title": "List<Job>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.JobDto" | |
}, | |
"nullable": true | |
} | |
}, | |
"additionalProperties": false | |
}, | |
"Backend.BusinessLogic.Dto.DependencyDto": { | |
"title": "Dependency", | |
"type": "object", | |
"properties": { | |
"id": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
}, | |
"from": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskDto" | |
}, | |
"to": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskDto" | |
}, | |
"cls": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"lag": { | |
"title": "Nullable<Double>", | |
"type": "number", | |
"format": "double", | |
"nullable": true | |
}, | |
"lagUnit": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"active": { | |
"title": "Boolean", | |
"type": "boolean" | |
}, | |
"type": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
} | |
}, | |
"additionalProperties": false | |
}, | |
"Backend.BusinessLogic.Dto.JobBudgetDto": { | |
"title": "JobBudget", | |
"type": "object", | |
"properties": { | |
"jobPlanningLineId": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
}, | |
"jobPlanningLineDescription": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"jobTaskId": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
}, | |
"jobTaskDescription": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"jobTaskNo": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"remaining": { | |
"title": "Single", | |
"type": "number", | |
"format": "float" | |
}, | |
"total": { | |
"title": "Single", | |
"type": "number", | |
"format": "float" | |
} | |
}, | |
"additionalProperties": false | |
}, | |
"Backend.BusinessLogic.Dto.JobDto": { | |
"title": "Job", | |
"type": "object", | |
"properties": { | |
"id": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
}, | |
"no": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"description": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"jobTasks": { | |
"title": "List<JobTask>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.JobTaskDto" | |
}, | |
"nullable": true | |
}, | |
"customer": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.CustomerDto" | |
}, | |
"tntModel": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.TntModelDto" | |
} | |
}, | |
"additionalProperties": false | |
}, | |
"Backend.BusinessLogic.Dto.JobPlanningLineDto": { | |
"title": "JobPlanningLine", | |
"type": "object", | |
"properties": { | |
"id": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
}, | |
"jobTaskId": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
}, | |
"jobTask": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.JobTaskDto" | |
}, | |
"jobNo": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"taskNo": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"lineNo": { | |
"title": "Int32", | |
"type": "integer", | |
"format": "int32" | |
}, | |
"description": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"itemNo": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"serviceBillingType": { | |
"$ref": "#/components/schemas/Backend.Data.Models.ServiceBillingLineTypeEnum" | |
} | |
}, | |
"additionalProperties": false | |
}, | |
"Backend.BusinessLogic.Dto.JobTaskDto": { | |
"title": "JobTask", | |
"type": "object", | |
"properties": { | |
"id": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
}, | |
"no": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"description": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"job": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.JobDto" | |
}, | |
"status": { | |
"$ref": "#/components/schemas/Backend.Data.Models.JobTaskStatusEnum" | |
}, | |
"jobPlanningLines": { | |
"title": "List<JobPlanningLine>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.JobPlanningLineDto" | |
}, | |
"nullable": true | |
} | |
}, | |
"additionalProperties": false | |
}, | |
"Backend.BusinessLogic.Dto.ProjectDto": { | |
"title": "Project", | |
"type": "object", | |
"properties": { | |
"id": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
}, | |
"icon": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"color": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"job": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.JobDto" | |
}, | |
"customer": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.CustomerDto" | |
}, | |
"created": { | |
"title": "Nullable<DateTimeOffset>", | |
"type": "string", | |
"format": "date-time", | |
"nullable": true | |
}, | |
"modified": { | |
"title": "Nullable<DateTimeOffset>", | |
"type": "string", | |
"format": "date-time", | |
"nullable": true | |
}, | |
"name": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"description": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"start": { | |
"title": "Nullable<DateTimeOffset>", | |
"type": "string", | |
"format": "date-time", | |
"nullable": true | |
}, | |
"end": { | |
"title": "Nullable<DateTimeOffset>", | |
"type": "string", | |
"format": "date-time", | |
"nullable": true | |
}, | |
"status": { | |
"$ref": "#/components/schemas/Backend.Data.Models.ResourcePlanning.ProjectStatusEnum" | |
}, | |
"tentative": { | |
"title": "Boolean", | |
"type": "boolean" | |
}, | |
"favoritedBy": { | |
"title": "List<User>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.UserDto" | |
}, | |
"nullable": true | |
}, | |
"dynamicProperties": { | |
"title": "IDictionary<String>", | |
"type": "object", | |
"additionalProperties": { | |
"title": "Object" | |
}, | |
"nullable": true | |
} | |
}, | |
"additionalProperties": false | |
}, | |
"Backend.BusinessLogic.Dto.ProjectResourceDto": { | |
"title": "ProjectResource", | |
"type": "object", | |
"properties": { | |
"id": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
}, | |
"resource": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ResourceDto" | |
}, | |
"project": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectDto" | |
} | |
}, | |
"additionalProperties": false | |
}, | |
"Backend.BusinessLogic.Dto.ProjectTaskDto": { | |
"title": "ProjectTask", | |
"type": "object", | |
"properties": { | |
"id": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
}, | |
"parentId": { | |
"title": "Nullable<Guid>", | |
"type": "string", | |
"format": "uuid", | |
"nullable": true | |
}, | |
"project": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectDto" | |
}, | |
"jobPlanningLine": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.JobPlanningLineDto" | |
}, | |
"skills": { | |
"title": "List<Skill>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.SkillDto" | |
}, | |
"nullable": true | |
}, | |
"skillLevels": { | |
"title": "List<SkillLevel>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.SkillLevelDto" | |
}, | |
"nullable": true | |
}, | |
"name": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"description": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"estimate": { | |
"title": "Double", | |
"type": "number", | |
"format": "double" | |
}, | |
"start": { | |
"title": "Nullable<DateTimeOffset>", | |
"type": "string", | |
"format": "date-time", | |
"nullable": true | |
}, | |
"end": { | |
"title": "Nullable<DateTimeOffset>", | |
"type": "string", | |
"format": "date-time", | |
"nullable": true | |
}, | |
"status": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"projectBorder": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"calendar": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"ignoreResourceCalendar": { | |
"title": "Boolean", | |
"type": "boolean" | |
}, | |
"orderedParentIndex": { | |
"title": "Int32", | |
"type": "integer", | |
"format": "int32" | |
}, | |
"inactive": { | |
"title": "Boolean", | |
"type": "boolean" | |
}, | |
"schedulingMode": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"cls": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"expanded": { | |
"title": "Boolean", | |
"type": "boolean" | |
}, | |
"constraintType": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"constraintDate": { | |
"title": "Nullable<DateTimeOffset>", | |
"type": "string", | |
"format": "date-time", | |
"nullable": true | |
}, | |
"manuallyScheduled": { | |
"title": "Boolean", | |
"type": "boolean" | |
}, | |
"draggable": { | |
"title": "Boolean", | |
"type": "boolean" | |
}, | |
"resizable": { | |
"title": "Boolean", | |
"type": "boolean" | |
}, | |
"rollup": { | |
"title": "Boolean", | |
"type": "boolean" | |
}, | |
"showInTimeline": { | |
"title": "Boolean", | |
"type": "boolean" | |
}, | |
"color": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"effortDriven": { | |
"title": "Boolean", | |
"type": "boolean" | |
}, | |
"percentDone": { | |
"title": "Double", | |
"type": "number", | |
"format": "double" | |
}, | |
"baselinePercentDone": { | |
"title": "Nullable<Double>", | |
"type": "number", | |
"format": "double", | |
"nullable": true | |
}, | |
"baselineStartDate": { | |
"title": "Nullable<DateTimeOffset>", | |
"type": "string", | |
"format": "date-time", | |
"nullable": true | |
}, | |
"baselineEndDate": { | |
"title": "Nullable<DateTimeOffset>", | |
"type": "string", | |
"format": "date-time", | |
"nullable": true | |
}, | |
"note": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"deadlineDate": { | |
"title": "Nullable<DateTimeOffset>", | |
"type": "string", | |
"format": "date-time", | |
"nullable": true | |
}, | |
"duration": { | |
"title": "Double", | |
"type": "number", | |
"format": "double" | |
}, | |
"durationUnit": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"effort": { | |
"title": "Double", | |
"type": "number", | |
"format": "double" | |
}, | |
"effortUnit": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"timeRecordings": { | |
"title": "List<TimeRecording>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.TimeRecordingDto" | |
}, | |
"nullable": true | |
} | |
}, | |
"additionalProperties": false | |
}, | |
"Backend.BusinessLogic.Dto.ProjectTaskSkillAssignment": { | |
"title": "ProjectTaskSkillAssignment", | |
"type": "object", | |
"properties": { | |
"skill": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.SkillDto" | |
}, | |
"skillLevel": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.SkillLevelDto" | |
} | |
}, | |
"additionalProperties": false | |
}, | |
"Backend.BusinessLogic.Dto.ResourceDefaultDto": { | |
"title": "ResourceDefault", | |
"type": "object", | |
"properties": { | |
"id": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
}, | |
"validFrom": { | |
"title": "DateTimeOffset", | |
"type": "string", | |
"format": "date-time" | |
}, | |
"workHourTemplate": { | |
"$ref": "#/components/schemas/Backend.Data.Models.ResourceDefaults.WorkHourTemplate" | |
}, | |
"calendar": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.CalendarDto" | |
} | |
}, | |
"additionalProperties": false | |
}, | |
"Backend.BusinessLogic.Dto.ResourceDto": { | |
"title": "Resource", | |
"type": "object", | |
"properties": { | |
"id": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
}, | |
"no": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"name": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"group": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ResourceGroupDto" | |
}, | |
"isPlaceholder": { | |
"title": "Boolean", | |
"type": "boolean" | |
}, | |
"defaults": { | |
"title": "List<ResourceDefault>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ResourceDefaultDto" | |
}, | |
"nullable": true | |
}, | |
"projectAssignments": { | |
"title": "List<ProjectResource>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectResourceDto" | |
}, | |
"nullable": true | |
}, | |
"skills": { | |
"title": "List<ResourceSkill>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ResourceSkillDto" | |
}, | |
"nullable": true | |
}, | |
"projectTaskAssignments": { | |
"title": "List<ResourceTaskAssignment>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ResourceTaskAssignmentDto" | |
}, | |
"nullable": true | |
} | |
}, | |
"additionalProperties": false | |
}, | |
"Backend.BusinessLogic.Dto.ResourceGroupDto": { | |
"title": "ResourceGroup", | |
"type": "object", | |
"properties": { | |
"id": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
}, | |
"name": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"no": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"resources": { | |
"title": "List<Resource>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ResourceDto" | |
}, | |
"nullable": true | |
} | |
}, | |
"additionalProperties": false | |
}, | |
"Backend.BusinessLogic.Dto.ResourceJobAssignmentDto": { | |
"title": "ResourceJobAssignment", | |
"type": "object", | |
"properties": { | |
"id": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
}, | |
"resource": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ResourceDto" | |
}, | |
"customer": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.CustomerDto" | |
}, | |
"job": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.JobDto" | |
}, | |
"jobTask": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.JobTaskDto" | |
}, | |
"jobPlanningLine": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.JobPlanningLineDto" | |
}, | |
"name": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"plannedStartDate": { | |
"title": "Nullable<DateTimeOffset>", | |
"type": "string", | |
"format": "date-time", | |
"nullable": true | |
}, | |
"plannedEndDate": { | |
"title": "Nullable<DateTimeOffset>", | |
"type": "string", | |
"format": "date-time", | |
"nullable": true | |
} | |
}, | |
"additionalProperties": false | |
}, | |
"Backend.BusinessLogic.Dto.ResourceSkillDto": { | |
"title": "ResourceSkill", | |
"type": "object", | |
"properties": { | |
"id": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
}, | |
"resource": { | |
"$ref": "#/components/schemas/Backend.Data.Models.Resource" | |
}, | |
"skill": { | |
"$ref": "#/components/schemas/Backend.Data.Models.ResourcePlanning.Skill" | |
}, | |
"skillLevel": { | |
"$ref": "#/components/schemas/Backend.Data.Models.ResourcePlanning.SkillLevel" | |
} | |
}, | |
"additionalProperties": false | |
}, | |
"Backend.BusinessLogic.Dto.ResourceTaskAssignmentDto": { | |
"title": "ResourceTaskAssignment", | |
"type": "object", | |
"properties": { | |
"id": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
}, | |
"resource": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ResourceDto" | |
}, | |
"projectTask": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskDto" | |
}, | |
"units": { | |
"title": "Double", | |
"type": "number", | |
"format": "double" | |
} | |
}, | |
"additionalProperties": false | |
}, | |
"Backend.BusinessLogic.Dto.RoleDto": { | |
"title": "Role", | |
"type": "object", | |
"properties": { | |
"id": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
}, | |
"description": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"type": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
} | |
}, | |
"additionalProperties": false | |
}, | |
"Backend.BusinessLogic.Dto.SkillDto": { | |
"title": "Skill", | |
"type": "object", | |
"properties": { | |
"id": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
}, | |
"code": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"description": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"skillLevels": { | |
"title": "List<SkillLevel>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.SkillLevelDto" | |
}, | |
"nullable": true | |
}, | |
"projectTasks": { | |
"title": "List<ProjectTask>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskDto" | |
}, | |
"nullable": true | |
}, | |
"resources": { | |
"title": "List<Resource>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ResourceDto" | |
}, | |
"nullable": true | |
} | |
}, | |
"additionalProperties": false | |
}, | |
"Backend.BusinessLogic.Dto.SkillLevelDto": { | |
"title": "SkillLevel", | |
"type": "object", | |
"properties": { | |
"id": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
}, | |
"description": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"level": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"skill": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.SkillDto" | |
} | |
}, | |
"additionalProperties": false | |
}, | |
"Backend.BusinessLogic.Dto.StopwatchDto": { | |
"title": "Stopwatch", | |
"type": "object", | |
"properties": { | |
"userId": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
}, | |
"description": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"running": { | |
"title": "Boolean", | |
"type": "boolean" | |
}, | |
"start": { | |
"title": "Nullable<DateTimeOffset>", | |
"type": "string", | |
"format": "date-time", | |
"nullable": true | |
} | |
}, | |
"additionalProperties": false | |
}, | |
"Backend.BusinessLogic.Dto.TemplateCategoryDto": { | |
"title": "TemplateCategory", | |
"type": "object", | |
"properties": { | |
"id": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
}, | |
"name": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"templates": { | |
"title": "List<TimeRecordingTemplate>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.TimeRecordingTemplateDto" | |
}, | |
"nullable": true | |
}, | |
"resource": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ResourceDto" | |
} | |
}, | |
"additionalProperties": false | |
}, | |
"Backend.BusinessLogic.Dto.TimeRecordingDto": { | |
"title": "TimeRecording", | |
"required": [ | |
"resource" | |
], | |
"type": "object", | |
"properties": { | |
"id": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
}, | |
"resource": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ResourceDto" | |
}, | |
"description": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"date": { | |
"title": "Nullable<DateTimeOffset>", | |
"type": "string", | |
"format": "date-time", | |
"nullable": true | |
}, | |
"start": { | |
"title": "Nullable<DateTimeOffset>", | |
"type": "string", | |
"format": "date-time", | |
"nullable": true | |
}, | |
"end": { | |
"title": "Nullable<DateTimeOffset>", | |
"type": "string", | |
"format": "date-time", | |
"nullable": true | |
}, | |
"duration": { | |
"title": "Int32", | |
"type": "integer", | |
"format": "int32" | |
}, | |
"durationBillable": { | |
"title": "Int32", | |
"type": "integer", | |
"format": "int32" | |
}, | |
"break": { | |
"title": "Int32", | |
"type": "integer", | |
"format": "int32" | |
}, | |
"workType": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"complete": { | |
"title": "Boolean", | |
"type": "boolean" | |
}, | |
"customer": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.CustomerDto" | |
}, | |
"job": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.JobDto" | |
}, | |
"jobTask": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.JobTaskDto" | |
}, | |
"jobPlanningLine": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.JobPlanningLineDto" | |
}, | |
"tntModelLine": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.TntModelLineDto" | |
}, | |
"projectTask": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectTaskDto" | |
}, | |
"workItem": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.WorkItemDto" | |
}, | |
"calendarEventId": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"nonBillableReason": { | |
"$ref": "#/components/schemas/Backend.Data.Models.NonBillableReasonEnum" | |
}, | |
"status": { | |
"$ref": "#/components/schemas/Backend.Data.Models.TimeRecordingStatusEnum" | |
}, | |
"created": { | |
"title": "DateTimeOffset", | |
"type": "string", | |
"format": "date-time" | |
}, | |
"modified": { | |
"title": "DateTimeOffset", | |
"type": "string", | |
"format": "date-time" | |
} | |
}, | |
"additionalProperties": false | |
}, | |
"Backend.BusinessLogic.Dto.TimeRecordingTemplateDto": { | |
"title": "TimeRecordingTemplate", | |
"required": [ | |
"category" | |
], | |
"type": "object", | |
"properties": { | |
"id": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
}, | |
"description": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"start": { | |
"title": "Nullable<DateTimeOffset>", | |
"type": "string", | |
"format": "date-time", | |
"nullable": true | |
}, | |
"end": { | |
"title": "Nullable<DateTimeOffset>", | |
"type": "string", | |
"format": "date-time", | |
"nullable": true | |
}, | |
"duration": { | |
"title": "Int32", | |
"type": "integer", | |
"format": "int32" | |
}, | |
"durationBillable": { | |
"title": "Int32", | |
"type": "integer", | |
"format": "int32" | |
}, | |
"break": { | |
"title": "Int32", | |
"type": "integer", | |
"format": "int32" | |
}, | |
"resource": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ResourceDto" | |
}, | |
"customer": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.CustomerDto" | |
}, | |
"job": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.JobDto" | |
}, | |
"jobTask": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.JobTaskDto" | |
}, | |
"jobPlanningLine": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.JobPlanningLineDto" | |
}, | |
"tntModelLine": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.TntModelLineDto" | |
}, | |
"category": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.TemplateCategoryDto" | |
}, | |
"nonBillableReason": { | |
"$ref": "#/components/schemas/Backend.Data.Models.NonBillableReasonEnum" | |
}, | |
"created": { | |
"title": "DateTimeOffset", | |
"type": "string", | |
"format": "date-time" | |
}, | |
"modified": { | |
"title": "DateTimeOffset", | |
"type": "string", | |
"format": "date-time" | |
} | |
}, | |
"additionalProperties": false | |
}, | |
"Backend.BusinessLogic.Dto.TntModelDto": { | |
"title": "TntModel", | |
"type": "object", | |
"properties": { | |
"id": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
}, | |
"code": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"description": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"lines": { | |
"title": "List<TntModelLine>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.TntModelLineDto" | |
}, | |
"nullable": true | |
} | |
}, | |
"additionalProperties": false | |
}, | |
"Backend.BusinessLogic.Dto.TntModelLineDto": { | |
"title": "TntModelLine", | |
"type": "object", | |
"properties": { | |
"id": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
}, | |
"tntModel": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.TntModelDto" | |
}, | |
"code": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"description": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"quantity": { | |
"title": "Decimal", | |
"type": "number", | |
"format": "double" | |
}, | |
"billable": { | |
"title": "Boolean", | |
"type": "boolean" | |
}, | |
"itemNo": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"rounding": { | |
"title": "Int32", | |
"type": "integer", | |
"format": "int32" | |
}, | |
"nonBillableReason": { | |
"$ref": "#/components/schemas/Backend.Data.Models.NonBillableReasonEnum" | |
}, | |
"modelType": { | |
"$ref": "#/components/schemas/Backend.Data.Models.TntModelType" | |
} | |
}, | |
"additionalProperties": false | |
}, | |
"Backend.BusinessLogic.Dto.UserDto": { | |
"title": "User", | |
"type": "object", | |
"properties": { | |
"id": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
}, | |
"resource": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ResourceDto" | |
}, | |
"name": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"email": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"stopwatch": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.StopwatchDto" | |
}, | |
"roles": { | |
"title": "List<Role>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.RoleDto" | |
}, | |
"nullable": true | |
}, | |
"projectFavorites": { | |
"title": "List<Project>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.BusinessLogic.Dto.ProjectDto" | |
}, | |
"nullable": true | |
} | |
}, | |
"additionalProperties": false | |
}, | |
"Backend.BusinessLogic.Dto.WorkItemDto": { | |
"title": "WorkItem", | |
"type": "object", | |
"properties": { | |
"source": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"organization": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"project": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"id": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"parentId": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"title": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"type": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"status": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"area": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"iteration": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"originalEstimate": { | |
"title": "Decimal", | |
"type": "number", | |
"format": "double" | |
}, | |
"remaining": { | |
"title": "Decimal", | |
"type": "number", | |
"format": "double" | |
}, | |
"completed": { | |
"title": "Decimal", | |
"type": "number", | |
"format": "double" | |
}, | |
"contact": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
} | |
}, | |
"additionalProperties": false | |
}, | |
"Backend.Data.DTO.Instance.CompanyDto": { | |
"title": "Company", | |
"type": "object", | |
"properties": { | |
"id": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
}, | |
"name": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
} | |
}, | |
"additionalProperties": false | |
}, | |
"Backend.Data.DTO.Instance.InstanceDto": { | |
"title": "Instance", | |
"type": "object", | |
"properties": { | |
"id": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
}, | |
"tenantId": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
}, | |
"name": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"companies": { | |
"title": "List<Company>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.Data.DTO.Instance.CompanyDto" | |
}, | |
"nullable": true | |
} | |
}, | |
"additionalProperties": false | |
}, | |
"Backend.Data.Models.AadUser": { | |
"title": "AadUser", | |
"type": "object", | |
"properties": { | |
"id": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"displayName": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"mail": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"isDyceUser": { | |
"title": "Boolean", | |
"type": "boolean" | |
} | |
}, | |
"additionalProperties": false | |
}, | |
"Backend.Data.Models.Absences": { | |
"title": "Absences", | |
"type": "object", | |
"properties": { | |
"company": { | |
"$ref": "#/components/schemas/Backend.Data.Models.Company" | |
}, | |
"companyId": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
}, | |
"id": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
}, | |
"resourceId": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
}, | |
"resource": { | |
"$ref": "#/components/schemas/Backend.Data.Models.Resource" | |
}, | |
"name": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"from": { | |
"title": "DateTimeOffset", | |
"type": "string", | |
"format": "date-time" | |
}, | |
"to": { | |
"title": "DateTimeOffset", | |
"type": "string", | |
"format": "date-time" | |
} | |
}, | |
"additionalProperties": false | |
}, | |
"Backend.Data.Models.Address": { | |
"title": "Address", | |
"type": "object", | |
"properties": { | |
"company": { | |
"$ref": "#/components/schemas/Backend.Data.Models.Company" | |
}, | |
"companyId": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
}, | |
"id": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
}, | |
"address1": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"address2": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"city": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"state": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"postCode": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"country": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"customer": { | |
"$ref": "#/components/schemas/Backend.Data.Models.Customer" | |
} | |
}, | |
"additionalProperties": false | |
}, | |
"Backend.Data.Models.Calendar.Event": { | |
"title": "Event", | |
"type": "object", | |
"properties": { | |
"id": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"description": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"start": { | |
"title": "DateTimeOffset", | |
"type": "string", | |
"format": "date-time" | |
}, | |
"end": { | |
"title": "DateTimeOffset", | |
"type": "string", | |
"format": "date-time" | |
}, | |
"isAllDay": { | |
"title": "Boolean", | |
"type": "boolean" | |
}, | |
"status": { | |
"$ref": "#/components/schemas/Backend.Data.Models.Calendar.EventStatus" | |
}, | |
"sensitivity": { | |
"$ref": "#/components/schemas/Backend.Data.Models.Calendar.EventSensitivity" | |
}, | |
"type": { | |
"$ref": "#/components/schemas/Backend.Data.Models.Calendar.EventType" | |
} | |
}, | |
"additionalProperties": false | |
}, | |
"Backend.Data.Models.Calendar.EventSensitivity": { | |
"title": "EventSensitivity", | |
"enum": [ | |
0, | |
1, | |
2, | |
3 | |
], | |
"type": "integer", | |
"format": "int32" | |
}, | |
"Backend.Data.Models.Calendar.EventStatus": { | |
"title": "EventStatus", | |
"enum": [ | |
0, | |
1, | |
2, | |
3, | |
4, | |
-1 | |
], | |
"type": "integer", | |
"format": "int32" | |
}, | |
"Backend.Data.Models.Calendar.EventType": { | |
"title": "EventType", | |
"enum": [ | |
0, | |
1, | |
2, | |
3 | |
], | |
"type": "integer", | |
"format": "int32" | |
}, | |
"Backend.Data.Models.Client": { | |
"title": "Client", | |
"type": "object", | |
"properties": { | |
"company": { | |
"$ref": "#/components/schemas/Backend.Data.Models.Company" | |
}, | |
"companyId": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
}, | |
"id": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
}, | |
"name": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"roles": { | |
"title": "List<ClientRole>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.Data.Models.Security.ClientRole" | |
}, | |
"nullable": true | |
}, | |
"resourceId": { | |
"title": "Nullable<Guid>", | |
"type": "string", | |
"format": "uuid", | |
"nullable": true | |
}, | |
"resource": { | |
"$ref": "#/components/schemas/Backend.Data.Models.Resource" | |
}, | |
"validUntil": { | |
"title": "Nullable<DateTime>", | |
"type": "string", | |
"format": "date-time", | |
"nullable": true | |
}, | |
"lastSeen": { | |
"title": "DateTime", | |
"type": "string", | |
"format": "date-time" | |
} | |
}, | |
"additionalProperties": false | |
}, | |
"Backend.Data.Models.Company": { | |
"title": "Company", | |
"type": "object", | |
"properties": { | |
"id": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
}, | |
"tenantId": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
}, | |
"instanceName": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"name": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"multiCompany": { | |
"title": "Boolean", | |
"type": "boolean" | |
} | |
}, | |
"additionalProperties": false | |
}, | |
"Backend.Data.Models.CompanyInstance": { | |
"title": "CompanyInstance", | |
"type": "object", | |
"properties": { | |
"id": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
}, | |
"name": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"instanceId": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
}, | |
"instance": { | |
"$ref": "#/components/schemas/Backend.Data.Models.Instance" | |
}, | |
"serviceBusQueueWeb": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"serviceBusQueueBC": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
} | |
}, | |
"additionalProperties": false | |
}, | |
"Backend.Data.Models.Customer": { | |
"title": "Customer", | |
"type": "object", | |
"properties": { | |
"company": { | |
"$ref": "#/components/schemas/Backend.Data.Models.Company" | |
}, | |
"companyId": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
}, | |
"id": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
}, | |
"no": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"name": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"addressId": { | |
"title": "Nullable<Guid>", | |
"type": "string", | |
"format": "uuid", | |
"nullable": true | |
}, | |
"address": { | |
"$ref": "#/components/schemas/Backend.Data.Models.Address" | |
}, | |
"jobs": { | |
"title": "List<Job>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.Data.Models.Job" | |
}, | |
"nullable": true | |
} | |
}, | |
"additionalProperties": false | |
}, | |
"Backend.Data.Models.DatabaseConfig": { | |
"title": "DatabaseConfig", | |
"type": "object", | |
"properties": { | |
"id": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
}, | |
"server": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"connectionString": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"date": { | |
"title": "DateTimeOffset", | |
"type": "string", | |
"format": "date-time" | |
}, | |
"serviceBusNamespace": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"schemaMigrationId": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"dataMigrationId": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"databaseName": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"state": { | |
"title": "Int32", | |
"type": "integer", | |
"format": "int32" | |
}, | |
"public": { | |
"title": "Boolean", | |
"type": "boolean" | |
} | |
}, | |
"additionalProperties": false | |
}, | |
"Backend.Data.Models.Instance": { | |
"title": "Instance", | |
"type": "object", | |
"properties": { | |
"created": { | |
"title": "DateTimeOffset", | |
"type": "string", | |
"format": "date-time" | |
}, | |
"modified": { | |
"title": "DateTimeOffset", | |
"type": "string", | |
"format": "date-time" | |
}, | |
"id": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
}, | |
"tenantId": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
}, | |
"name": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"databaseName": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"databaseConfigId": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
}, | |
"databaseConfig": { | |
"$ref": "#/components/schemas/Backend.Data.Models.DatabaseConfig" | |
}, | |
"state": { | |
"title": "Int32", | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
"additionalProperties": false | |
}, | |
"Backend.Data.Models.InstanceWithCompanies": { | |
"title": "InstanceWithCompanies", | |
"type": "object", | |
"properties": { | |
"created": { | |
"title": "DateTimeOffset", | |
"type": "string", | |
"format": "date-time" | |
}, | |
"modified": { | |
"title": "DateTimeOffset", | |
"type": "string", | |
"format": "date-time" | |
}, | |
"id": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
}, | |
"tenantId": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
}, | |
"name": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"databaseName": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"companies": { | |
"title": "List<Company>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.Data.Models.Company" | |
}, | |
"nullable": true | |
} | |
}, | |
"additionalProperties": false | |
}, | |
"Backend.Data.Models.Job": { | |
"title": "Job", | |
"type": "object", | |
"properties": { | |
"company": { | |
"$ref": "#/components/schemas/Backend.Data.Models.Company" | |
}, | |
"companyId": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
}, | |
"id": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
}, | |
"no": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"description": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"tntModelId": { | |
"title": "Nullable<Guid>", | |
"type": "string", | |
"format": "uuid", | |
"nullable": true | |
}, | |
"tntModel": { | |
"$ref": "#/components/schemas/Backend.Data.Models.TntModel" | |
}, | |
"customerId": { | |
"title": "Nullable<Guid>", | |
"type": "string", | |
"format": "uuid", | |
"nullable": true | |
}, | |
"customer": { | |
"$ref": "#/components/schemas/Backend.Data.Models.Customer" | |
}, | |
"jobTasks": { | |
"title": "List<JobTask>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.Data.Models.JobTask" | |
}, | |
"nullable": true | |
} | |
}, | |
"additionalProperties": false | |
}, | |
"Backend.Data.Models.JobPlanningLine": { | |
"title": "JobPlanningLine", | |
"type": "object", | |
"properties": { | |
"company": { | |
"$ref": "#/components/schemas/Backend.Data.Models.Company" | |
}, | |
"companyId": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
}, | |
"id": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
}, | |
"jobTaskId": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
}, | |
"jobTask": { | |
"$ref": "#/components/schemas/Backend.Data.Models.JobTask" | |
}, | |
"jobNo": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"taskNo": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"lineNo": { | |
"title": "Int32", | |
"type": "integer", | |
"format": "int32" | |
}, | |
"description": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"itemNo": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"serviceBillingType": { | |
"$ref": "#/components/schemas/Backend.Data.Models.ServiceBillingLineTypeEnum" | |
}, | |
"quantity": { | |
"title": "Single", | |
"type": "number", | |
"format": "float" | |
}, | |
"lineType": { | |
"$ref": "#/components/schemas/Backend.Data.Models.JobPlanningLineTypeEnum" | |
}, | |
"budgetPlanningLineNo": { | |
"title": "Int32", | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
"additionalProperties": false | |
}, | |
"Backend.Data.Models.JobPlanningLineTypeEnum": { | |
"title": "JobPlanningLineTypeEnum", | |
"enum": [ | |
0, | |
1, | |
2 | |
], | |
"type": "integer", | |
"format": "int32" | |
}, | |
"Backend.Data.Models.JobTask": { | |
"title": "JobTask", | |
"type": "object", | |
"properties": { | |
"company": { | |
"$ref": "#/components/schemas/Backend.Data.Models.Company" | |
}, | |
"companyId": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
}, | |
"id": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
}, | |
"jobId": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
}, | |
"job": { | |
"$ref": "#/components/schemas/Backend.Data.Models.Job" | |
}, | |
"no": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"description": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"jobPlanningLines": { | |
"title": "List<JobPlanningLine>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.Data.Models.JobPlanningLine" | |
}, | |
"nullable": true | |
}, | |
"status": { | |
"$ref": "#/components/schemas/Backend.Data.Models.JobTaskStatusEnum" | |
} | |
}, | |
"additionalProperties": false | |
}, | |
"Backend.Data.Models.JobTaskStatusEnum": { | |
"title": "JobTaskStatusEnum", | |
"enum": [ | |
0, | |
1, | |
2 | |
], | |
"type": "integer", | |
"format": "int32" | |
}, | |
"Backend.Data.Models.NonBillableReasonEnum": { | |
"title": "NonBillableReasonEnum", | |
"enum": [ | |
0, | |
2, | |
3, | |
4 | |
], | |
"type": "integer", | |
"format": "int32" | |
}, | |
"Backend.Data.Models.Resource": { | |
"title": "Resource", | |
"type": "object", | |
"properties": { | |
"company": { | |
"$ref": "#/components/schemas/Backend.Data.Models.Company" | |
}, | |
"companyId": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
}, | |
"id": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
}, | |
"no": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"name": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"userId": { | |
"title": "Nullable<Guid>", | |
"type": "string", | |
"format": "uuid", | |
"nullable": true | |
}, | |
"groupId": { | |
"title": "Nullable<Guid>", | |
"type": "string", | |
"format": "uuid", | |
"nullable": true | |
}, | |
"group": { | |
"$ref": "#/components/schemas/Backend.Data.Models.ResourceGroup" | |
}, | |
"isPlaceholder": { | |
"title": "Boolean", | |
"type": "boolean" | |
}, | |
"defaults": { | |
"title": "List<ResourceDefault>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.Data.Models.ResourceDefaults.ResourceDefault" | |
}, | |
"nullable": true | |
}, | |
"absences": { | |
"title": "List<Absences>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.Data.Models.Absences" | |
}, | |
"nullable": true | |
}, | |
"timeRecordings": { | |
"title": "List<TimeRecording>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.Data.Models.TimeRecording" | |
}, | |
"nullable": true | |
}, | |
"projectAssignments": { | |
"title": "List<ProjectResource>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.Data.Models.ResourcePlanning.ProjectResource" | |
}, | |
"nullable": true | |
}, | |
"projectTaskAssignments": { | |
"title": "List<ResourceTaskAssignment>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.Data.Models.ResourcePlanning.ResourceTaskAssignment" | |
}, | |
"nullable": true | |
}, | |
"skills": { | |
"title": "List<ResourceSkill>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.Data.Models.ResourcePlanning.ResourceSkill" | |
}, | |
"nullable": true | |
} | |
}, | |
"additionalProperties": false | |
}, | |
"Backend.Data.Models.ResourceDefaults.Calendar": { | |
"title": "Calendar", | |
"type": "object", | |
"properties": { | |
"company": { | |
"$ref": "#/components/schemas/Backend.Data.Models.Company" | |
}, | |
"companyId": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
}, | |
"id": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
}, | |
"code": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"name": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"entries": { | |
"title": "List<CalendarEntry>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.Data.Models.ResourceDefaults.CalendarEntry" | |
}, | |
"nullable": true | |
} | |
}, | |
"additionalProperties": false | |
}, | |
"Backend.Data.Models.ResourceDefaults.CalendarEntry": { | |
"title": "CalendarEntry", | |
"type": "object", | |
"properties": { | |
"company": { | |
"$ref": "#/components/schemas/Backend.Data.Models.Company" | |
}, | |
"companyId": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
}, | |
"id": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
}, | |
"calendarId": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
}, | |
"calendar": { | |
"$ref": "#/components/schemas/Backend.Data.Models.ResourceDefaults.Calendar" | |
}, | |
"date": { | |
"title": "DateTimeOffset", | |
"type": "string", | |
"format": "date-time" | |
}, | |
"description": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"recurrent": { | |
"title": "Boolean", | |
"type": "boolean" | |
}, | |
"isWorking": { | |
"title": "Boolean", | |
"type": "boolean" | |
} | |
}, | |
"additionalProperties": false | |
}, | |
"Backend.Data.Models.ResourceDefaults.ResourceDefault": { | |
"title": "ResourceDefault", | |
"type": "object", | |
"properties": { | |
"company": { | |
"$ref": "#/components/schemas/Backend.Data.Models.Company" | |
}, | |
"companyId": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
}, | |
"id": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
}, | |
"validFrom": { | |
"title": "DateTimeOffset", | |
"type": "string", | |
"format": "date-time" | |
}, | |
"resourceId": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
}, | |
"resource": { | |
"$ref": "#/components/schemas/Backend.Data.Models.Resource" | |
}, | |
"workHourTemplateId": { | |
"title": "Nullable<Guid>", | |
"type": "string", | |
"format": "uuid", | |
"nullable": true | |
}, | |
"workHourTemplate": { | |
"$ref": "#/components/schemas/Backend.Data.Models.ResourceDefaults.WorkHourTemplate" | |
}, | |
"calendarId": { | |
"title": "Nullable<Guid>", | |
"type": "string", | |
"format": "uuid", | |
"nullable": true | |
}, | |
"calendar": { | |
"$ref": "#/components/schemas/Backend.Data.Models.ResourceDefaults.Calendar" | |
} | |
}, | |
"additionalProperties": false | |
}, | |
"Backend.Data.Models.ResourceDefaults.WorkHourTemplate": { | |
"title": "WorkHourTemplate", | |
"type": "object", | |
"properties": { | |
"company": { | |
"$ref": "#/components/schemas/Backend.Data.Models.Company" | |
}, | |
"companyId": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
}, | |
"id": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
}, | |
"code": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"description": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"monday": { | |
"title": "Single", | |
"type": "number", | |
"format": "float" | |
}, | |
"tuesday": { | |
"title": "Single", | |
"type": "number", | |
"format": "float" | |
}, | |
"wednesday": { | |
"title": "Single", | |
"type": "number", | |
"format": "float" | |
}, | |
"thursday": { | |
"title": "Single", | |
"type": "number", | |
"format": "float" | |
}, | |
"friday": { | |
"title": "Single", | |
"type": "number", | |
"format": "float" | |
}, | |
"saturday": { | |
"title": "Single", | |
"type": "number", | |
"format": "float" | |
}, | |
"sunday": { | |
"title": "Single", | |
"type": "number", | |
"format": "float" | |
} | |
}, | |
"additionalProperties": false | |
}, | |
"Backend.Data.Models.ResourceGroup": { | |
"title": "ResourceGroup", | |
"type": "object", | |
"properties": { | |
"company": { | |
"$ref": "#/components/schemas/Backend.Data.Models.Company" | |
}, | |
"companyId": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
}, | |
"id": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
}, | |
"name": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"no": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"resources": { | |
"title": "List<Resource>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.Data.Models.Resource" | |
}, | |
"nullable": true | |
} | |
}, | |
"additionalProperties": false | |
}, | |
"Backend.Data.Models.ResourcePlanning.Dependency": { | |
"title": "Dependency", | |
"type": "object", | |
"properties": { | |
"company": { | |
"$ref": "#/components/schemas/Backend.Data.Models.Company" | |
}, | |
"companyId": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
}, | |
"id": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
}, | |
"fromId": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
}, | |
"from": { | |
"$ref": "#/components/schemas/Backend.Data.Models.ResourcePlanning.ProjectTask" | |
}, | |
"toId": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
}, | |
"to": { | |
"$ref": "#/components/schemas/Backend.Data.Models.ResourcePlanning.ProjectTask" | |
}, | |
"active": { | |
"title": "Nullable<Boolean>", | |
"type": "boolean", | |
"nullable": true | |
}, | |
"type": { | |
"title": "Int32", | |
"type": "integer", | |
"format": "int32" | |
}, | |
"cls": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"lag": { | |
"title": "Nullable<Double>", | |
"type": "number", | |
"format": "double", | |
"nullable": true | |
}, | |
"lagUnit": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
} | |
}, | |
"additionalProperties": false | |
}, | |
"Backend.Data.Models.ResourcePlanning.Project": { | |
"title": "Project", | |
"type": "object", | |
"properties": { | |
"company": { | |
"$ref": "#/components/schemas/Backend.Data.Models.Company" | |
}, | |
"companyId": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
}, | |
"id": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
}, | |
"created": { | |
"title": "DateTimeOffset", | |
"type": "string", | |
"format": "date-time" | |
}, | |
"modified": { | |
"title": "DateTimeOffset", | |
"type": "string", | |
"format": "date-time" | |
}, | |
"color": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"icon": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"jobId": { | |
"title": "Nullable<Guid>", | |
"type": "string", | |
"format": "uuid", | |
"nullable": true | |
}, | |
"job": { | |
"$ref": "#/components/schemas/Backend.Data.Models.Job" | |
}, | |
"customerId": { | |
"title": "Nullable<Guid>", | |
"type": "string", | |
"format": "uuid", | |
"nullable": true | |
}, | |
"customer": { | |
"$ref": "#/components/schemas/Backend.Data.Models.Customer" | |
}, | |
"name": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"description": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"start": { | |
"title": "Nullable<DateTimeOffset>", | |
"type": "string", | |
"format": "date-time", | |
"nullable": true | |
}, | |
"end": { | |
"title": "Nullable<DateTimeOffset>", | |
"type": "string", | |
"format": "date-time", | |
"nullable": true | |
}, | |
"status": { | |
"$ref": "#/components/schemas/Backend.Data.Models.ResourcePlanning.ProjectStatusEnum" | |
}, | |
"tentative": { | |
"title": "Boolean", | |
"type": "boolean" | |
}, | |
"favoritedBy": { | |
"title": "List<User>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.Data.Models.User" | |
}, | |
"nullable": true | |
} | |
}, | |
"additionalProperties": false | |
}, | |
"Backend.Data.Models.ResourcePlanning.ProjectResource": { | |
"title": "ProjectResource", | |
"type": "object", | |
"properties": { | |
"company": { | |
"$ref": "#/components/schemas/Backend.Data.Models.Company" | |
}, | |
"companyId": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
}, | |
"id": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
}, | |
"resourceId": { | |
"title": "Nullable<Guid>", | |
"type": "string", | |
"format": "uuid", | |
"nullable": true | |
}, | |
"resource": { | |
"$ref": "#/components/schemas/Backend.Data.Models.Resource" | |
}, | |
"projectId": { | |
"title": "Nullable<Guid>", | |
"type": "string", | |
"format": "uuid", | |
"nullable": true | |
}, | |
"project": { | |
"$ref": "#/components/schemas/Backend.Data.Models.ResourcePlanning.Project" | |
} | |
}, | |
"additionalProperties": false | |
}, | |
"Backend.Data.Models.ResourcePlanning.ProjectStatusEnum": { | |
"title": "ProjectStatusEnum", | |
"enum": [ | |
0, | |
1, | |
2, | |
3, | |
4, | |
5 | |
], | |
"type": "integer", | |
"format": "int32" | |
}, | |
"Backend.Data.Models.ResourcePlanning.ProjectTask": { | |
"title": "ProjectTask", | |
"type": "object", | |
"properties": { | |
"company": { | |
"$ref": "#/components/schemas/Backend.Data.Models.Company" | |
}, | |
"companyId": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
}, | |
"id": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
}, | |
"created": { | |
"title": "DateTimeOffset", | |
"type": "string", | |
"format": "date-time" | |
}, | |
"modified": { | |
"title": "DateTimeOffset", | |
"type": "string", | |
"format": "date-time" | |
}, | |
"projectId": { | |
"title": "Nullable<Guid>", | |
"type": "string", | |
"format": "uuid", | |
"nullable": true | |
}, | |
"project": { | |
"$ref": "#/components/schemas/Backend.Data.Models.ResourcePlanning.Project" | |
}, | |
"jobPlanningLineId": { | |
"title": "Nullable<Guid>", | |
"type": "string", | |
"format": "uuid", | |
"nullable": true | |
}, | |
"jobPlanningLine": { | |
"$ref": "#/components/schemas/Backend.Data.Models.JobPlanningLine" | |
}, | |
"skills": { | |
"title": "List<Skill>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.Data.Models.ResourcePlanning.Skill" | |
}, | |
"nullable": true | |
}, | |
"skillLevels": { | |
"title": "List<SkillLevel>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.Data.Models.ResourcePlanning.SkillLevel" | |
}, | |
"nullable": true | |
}, | |
"name": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"description": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"start": { | |
"title": "Nullable<DateTimeOffset>", | |
"type": "string", | |
"format": "date-time", | |
"nullable": true | |
}, | |
"end": { | |
"title": "Nullable<DateTimeOffset>", | |
"type": "string", | |
"format": "date-time", | |
"nullable": true | |
}, | |
"duration": { | |
"title": "Double", | |
"type": "number", | |
"format": "double" | |
}, | |
"durationUnit": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"effort": { | |
"title": "Double", | |
"type": "number", | |
"format": "double" | |
}, | |
"effortUnit": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"projectBorder": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"calendar": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"ignoreResourceCalendar": { | |
"title": "Boolean", | |
"type": "boolean" | |
}, | |
"orderedParentIndex": { | |
"title": "Int32", | |
"type": "integer", | |
"format": "int32" | |
}, | |
"inactive": { | |
"title": "Boolean", | |
"type": "boolean" | |
}, | |
"schedulingMode": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"cls": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"expanded": { | |
"title": "Boolean", | |
"type": "boolean" | |
}, | |
"constraintType": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"constraintDate": { | |
"title": "Nullable<DateTimeOffset>", | |
"type": "string", | |
"format": "date-time", | |
"nullable": true | |
}, | |
"manuallyScheduled": { | |
"title": "Boolean", | |
"type": "boolean" | |
}, | |
"draggable": { | |
"title": "Boolean", | |
"type": "boolean" | |
}, | |
"resizable": { | |
"title": "Boolean", | |
"type": "boolean" | |
}, | |
"rollup": { | |
"title": "Boolean", | |
"type": "boolean" | |
}, | |
"showInTimeline": { | |
"title": "Boolean", | |
"type": "boolean" | |
}, | |
"color": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"effortDriven": { | |
"title": "Boolean", | |
"type": "boolean" | |
}, | |
"percentDone": { | |
"title": "Double", | |
"type": "number", | |
"format": "double" | |
}, | |
"baselinePercentDone": { | |
"title": "Nullable<Double>", | |
"type": "number", | |
"format": "double", | |
"nullable": true | |
}, | |
"baselineStartDate": { | |
"title": "Nullable<DateTimeOffset>", | |
"type": "string", | |
"format": "date-time", | |
"nullable": true | |
}, | |
"baselineEndDate": { | |
"title": "Nullable<DateTimeOffset>", | |
"type": "string", | |
"format": "date-time", | |
"nullable": true | |
}, | |
"note": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"deadlineDate": { | |
"title": "Nullable<DateTimeOffset>", | |
"type": "string", | |
"format": "date-time", | |
"nullable": true | |
}, | |
"parentId": { | |
"title": "Nullable<Guid>", | |
"type": "string", | |
"format": "uuid", | |
"nullable": true | |
}, | |
"parent": { | |
"$ref": "#/components/schemas/Backend.Data.Models.ResourcePlanning.ProjectTask" | |
}, | |
"timeRecordings": { | |
"title": "List<TimeRecording>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.Data.Models.TimeRecording" | |
}, | |
"nullable": true | |
}, | |
"assignments": { | |
"title": "List<ResourceTaskAssignment>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.Data.Models.ResourcePlanning.ResourceTaskAssignment" | |
}, | |
"nullable": true | |
}, | |
"predecessors": { | |
"title": "ICollection<Dependency>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.Data.Models.ResourcePlanning.Dependency" | |
}, | |
"nullable": true | |
}, | |
"successors": { | |
"title": "ICollection<Dependency>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.Data.Models.ResourcePlanning.Dependency" | |
}, | |
"nullable": true | |
} | |
}, | |
"additionalProperties": false | |
}, | |
"Backend.Data.Models.ResourcePlanning.ResourceSkill": { | |
"title": "ResourceSkill", | |
"type": "object", | |
"properties": { | |
"company": { | |
"$ref": "#/components/schemas/Backend.Data.Models.Company" | |
}, | |
"companyId": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
}, | |
"id": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
}, | |
"resourceId": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
}, | |
"resource": { | |
"$ref": "#/components/schemas/Backend.Data.Models.Resource" | |
}, | |
"skillId": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
}, | |
"skill": { | |
"$ref": "#/components/schemas/Backend.Data.Models.ResourcePlanning.Skill" | |
}, | |
"skillLevelId": { | |
"title": "Nullable<Guid>", | |
"type": "string", | |
"format": "uuid", | |
"nullable": true | |
}, | |
"skillLevel": { | |
"$ref": "#/components/schemas/Backend.Data.Models.ResourcePlanning.SkillLevel" | |
} | |
}, | |
"additionalProperties": false | |
}, | |
"Backend.Data.Models.ResourcePlanning.ResourceTaskAssignment": { | |
"title": "ResourceTaskAssignment", | |
"type": "object", | |
"properties": { | |
"company": { | |
"$ref": "#/components/schemas/Backend.Data.Models.Company" | |
}, | |
"companyId": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
}, | |
"id": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
}, | |
"resourceId": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
}, | |
"resource": { | |
"$ref": "#/components/schemas/Backend.Data.Models.Resource" | |
}, | |
"projectTaskId": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
}, | |
"projectTask": { | |
"$ref": "#/components/schemas/Backend.Data.Models.ResourcePlanning.ProjectTask" | |
}, | |
"units": { | |
"title": "Double", | |
"type": "number", | |
"format": "double" | |
} | |
}, | |
"additionalProperties": false | |
}, | |
"Backend.Data.Models.ResourcePlanning.Skill": { | |
"title": "Skill", | |
"type": "object", | |
"properties": { | |
"company": { | |
"$ref": "#/components/schemas/Backend.Data.Models.Company" | |
}, | |
"companyId": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
}, | |
"id": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
}, | |
"code": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"description": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"skillLevels": { | |
"title": "List<SkillLevel>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.Data.Models.ResourcePlanning.SkillLevel" | |
}, | |
"nullable": true | |
}, | |
"projectTasks": { | |
"title": "List<ProjectTask>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.Data.Models.ResourcePlanning.ProjectTask" | |
}, | |
"nullable": true | |
} | |
}, | |
"additionalProperties": false | |
}, | |
"Backend.Data.Models.ResourcePlanning.SkillLevel": { | |
"title": "SkillLevel", | |
"type": "object", | |
"properties": { | |
"company": { | |
"$ref": "#/components/schemas/Backend.Data.Models.Company" | |
}, | |
"companyId": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
}, | |
"id": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
}, | |
"description": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"level": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"skillId": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
}, | |
"skill": { | |
"$ref": "#/components/schemas/Backend.Data.Models.ResourcePlanning.Skill" | |
}, | |
"projectTasks": { | |
"title": "List<ProjectTask>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.Data.Models.ResourcePlanning.ProjectTask" | |
}, | |
"nullable": true | |
} | |
}, | |
"additionalProperties": false | |
}, | |
"Backend.Data.Models.Security.ClientRole": { | |
"title": "ClientRole", | |
"type": "object", | |
"properties": { | |
"company": { | |
"$ref": "#/components/schemas/Backend.Data.Models.Company" | |
}, | |
"companyId": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
}, | |
"clientId": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
}, | |
"client": { | |
"$ref": "#/components/schemas/Backend.Data.Models.Client" | |
}, | |
"roleId": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
}, | |
"role": { | |
"$ref": "#/components/schemas/Backend.Data.Models.Security.Role" | |
} | |
}, | |
"additionalProperties": false | |
}, | |
"Backend.Data.Models.Security.Role": { | |
"title": "Role", | |
"type": "object", | |
"properties": { | |
"id": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
}, | |
"description": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"type": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"userRoles": { | |
"title": "List<UserRole>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.Data.Models.Security.UserRole" | |
}, | |
"nullable": true | |
}, | |
"clientRoles": { | |
"title": "List<ClientRole>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.Data.Models.Security.ClientRole" | |
}, | |
"nullable": true | |
} | |
}, | |
"additionalProperties": false | |
}, | |
"Backend.Data.Models.Security.UserRole": { | |
"title": "UserRole", | |
"type": "object", | |
"properties": { | |
"company": { | |
"$ref": "#/components/schemas/Backend.Data.Models.Company" | |
}, | |
"companyId": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
}, | |
"userId": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
}, | |
"user": { | |
"$ref": "#/components/schemas/Backend.Data.Models.User" | |
}, | |
"roleId": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
}, | |
"role": { | |
"$ref": "#/components/schemas/Backend.Data.Models.Security.Role" | |
} | |
}, | |
"additionalProperties": false | |
}, | |
"Backend.Data.Models.ServiceBillingLineTypeEnum": { | |
"title": "ServiceBillingLineTypeEnum", | |
"enum": [ | |
0, | |
1, | |
2, | |
3, | |
100 | |
], | |
"type": "integer", | |
"format": "int32" | |
}, | |
"Backend.Data.Models.Stopwatch": { | |
"title": "Stopwatch", | |
"type": "object", | |
"properties": { | |
"created": { | |
"title": "DateTimeOffset", | |
"type": "string", | |
"format": "date-time" | |
}, | |
"modified": { | |
"title": "DateTimeOffset", | |
"type": "string", | |
"format": "date-time" | |
}, | |
"company": { | |
"$ref": "#/components/schemas/Backend.Data.Models.Company" | |
}, | |
"companyId": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
}, | |
"userId": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
}, | |
"user": { | |
"$ref": "#/components/schemas/Backend.Data.Models.User" | |
}, | |
"description": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"start": { | |
"title": "Nullable<DateTimeOffset>", | |
"type": "string", | |
"format": "date-time", | |
"nullable": true | |
}, | |
"running": { | |
"title": "Boolean", | |
"type": "boolean", | |
"readOnly": true | |
} | |
}, | |
"additionalProperties": false | |
}, | |
"Backend.Data.Models.Sync.DataPoint": { | |
"title": "DataPoint", | |
"type": "object", | |
"properties": { | |
"timeStamp": { | |
"title": "DateTimeOffset", | |
"type": "string", | |
"format": "date-time" | |
}, | |
"value": { | |
"title": "Int32", | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
"additionalProperties": false | |
}, | |
"Backend.Data.Models.Sync.Health": { | |
"title": "Health", | |
"enum": [ | |
0, | |
1, | |
2 | |
], | |
"type": "integer", | |
"format": "int32" | |
}, | |
"Backend.Data.Models.Sync.Stats": { | |
"title": "Stats", | |
"type": "object", | |
"properties": { | |
"total": { | |
"title": "Int32", | |
"type": "integer", | |
"format": "int32" | |
}, | |
"from": { | |
"title": "DateTimeOffset", | |
"type": "string", | |
"format": "date-time" | |
}, | |
"to": { | |
"title": "DateTimeOffset", | |
"type": "string", | |
"format": "date-time" | |
}, | |
"details": { | |
"title": "List<DataPoint>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.Data.Models.Sync.DataPoint" | |
}, | |
"nullable": true | |
} | |
}, | |
"additionalProperties": false | |
}, | |
"Backend.Data.Models.Sync.Status": { | |
"title": "Status", | |
"type": "object", | |
"properties": { | |
"health": { | |
"$ref": "#/components/schemas/Backend.Data.Models.Sync.Health" | |
}, | |
"latency": { | |
"title": "Int32", | |
"type": "integer", | |
"format": "int32" | |
}, | |
"lastHeartbeat": { | |
"title": "DateTimeOffset", | |
"type": "string", | |
"format": "date-time" | |
}, | |
"processingErrorCount": { | |
"title": "Int32", | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
"additionalProperties": false | |
}, | |
"Backend.Data.Models.Sync.SyncInfo": { | |
"title": "SyncInfo", | |
"type": "object", | |
"properties": { | |
"status": { | |
"$ref": "#/components/schemas/Backend.Data.Models.Sync.Status" | |
}, | |
"receiveStats": { | |
"$ref": "#/components/schemas/Backend.Data.Models.Sync.Stats" | |
}, | |
"sendStats": { | |
"$ref": "#/components/schemas/Backend.Data.Models.Sync.Stats" | |
} | |
}, | |
"additionalProperties": false | |
}, | |
"Backend.Data.Models.TimeRecording": { | |
"title": "TimeRecording", | |
"type": "object", | |
"properties": { | |
"company": { | |
"$ref": "#/components/schemas/Backend.Data.Models.Company" | |
}, | |
"companyId": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
}, | |
"id": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
}, | |
"created": { | |
"title": "DateTimeOffset", | |
"type": "string", | |
"format": "date-time" | |
}, | |
"modified": { | |
"title": "DateTimeOffset", | |
"type": "string", | |
"format": "date-time" | |
}, | |
"description": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"description2": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"nonBillableReason": { | |
"$ref": "#/components/schemas/Backend.Data.Models.NonBillableReasonEnum" | |
}, | |
"duration": { | |
"title": "Int32", | |
"type": "integer", | |
"format": "int32" | |
}, | |
"durationBillable": { | |
"title": "Int32", | |
"type": "integer", | |
"format": "int32" | |
}, | |
"break": { | |
"title": "Int32", | |
"type": "integer", | |
"format": "int32" | |
}, | |
"workType": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"status": { | |
"$ref": "#/components/schemas/Backend.Data.Models.TimeRecordingStatusEnum" | |
}, | |
"resource": { | |
"$ref": "#/components/schemas/Backend.Data.Models.Resource" | |
}, | |
"resourceId": { | |
"title": "Nullable<Guid>", | |
"type": "string", | |
"format": "uuid", | |
"nullable": true | |
}, | |
"customer": { | |
"$ref": "#/components/schemas/Backend.Data.Models.Customer" | |
}, | |
"customerId": { | |
"title": "Nullable<Guid>", | |
"type": "string", | |
"format": "uuid", | |
"nullable": true | |
}, | |
"jobId": { | |
"title": "Nullable<Guid>", | |
"type": "string", | |
"format": "uuid", | |
"nullable": true | |
}, | |
"job": { | |
"$ref": "#/components/schemas/Backend.Data.Models.Job" | |
}, | |
"jobTaskId": { | |
"title": "Nullable<Guid>", | |
"type": "string", | |
"format": "uuid", | |
"nullable": true | |
}, | |
"jobTask": { | |
"$ref": "#/components/schemas/Backend.Data.Models.JobTask" | |
}, | |
"jobPlanningLineId": { | |
"title": "Nullable<Guid>", | |
"type": "string", | |
"format": "uuid", | |
"nullable": true | |
}, | |
"jobPlanningLine": { | |
"$ref": "#/components/schemas/Backend.Data.Models.JobPlanningLine" | |
}, | |
"tntModelLineId": { | |
"title": "Nullable<Guid>", | |
"type": "string", | |
"format": "uuid", | |
"nullable": true | |
}, | |
"tntModelLine": { | |
"$ref": "#/components/schemas/Backend.Data.Models.TntModelLine" | |
}, | |
"workItemId": { | |
"title": "Nullable<Guid>", | |
"type": "string", | |
"format": "uuid", | |
"nullable": true | |
}, | |
"workItem": { | |
"$ref": "#/components/schemas/Backend.Data.Models.WorkItem" | |
}, | |
"projectTaskId": { | |
"title": "Nullable<Guid>", | |
"type": "string", | |
"format": "uuid", | |
"nullable": true | |
}, | |
"projectTask": { | |
"$ref": "#/components/schemas/Backend.Data.Models.ResourcePlanning.ProjectTask" | |
}, | |
"calendarEventId": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"date": { | |
"title": "Nullable<DateTimeOffset>", | |
"type": "string", | |
"format": "date-time", | |
"nullable": true | |
}, | |
"start": { | |
"title": "Nullable<DateTimeOffset>", | |
"type": "string", | |
"format": "date-time", | |
"nullable": true | |
}, | |
"end": { | |
"title": "Nullable<DateTimeOffset>", | |
"type": "string", | |
"format": "date-time", | |
"nullable": true | |
}, | |
"complete": { | |
"title": "Boolean", | |
"type": "boolean", | |
"readOnly": true | |
} | |
}, | |
"additionalProperties": false | |
}, | |
"Backend.Data.Models.TimeRecordingActivityStatistics": { | |
"title": "TimeRecordingActivityStatistics", | |
"type": "object", | |
"properties": { | |
"description": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"totalDuration": { | |
"title": "Int32", | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
"additionalProperties": false | |
}, | |
"Backend.Data.Models.TimeRecordingBillabeStatistics": { | |
"title": "TimeRecordingBillabeStatistics", | |
"type": "object", | |
"properties": { | |
"nonBillableReason": { | |
"$ref": "#/components/schemas/Backend.Data.Models.NonBillableReasonEnum" | |
}, | |
"totalDuration": { | |
"title": "Int32", | |
"type": "integer", | |
"format": "int32" | |
}, | |
"totalDurationBillable": { | |
"title": "Int32", | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
"additionalProperties": false | |
}, | |
"Backend.Data.Models.TimeRecordingBudget": { | |
"title": "TimeRecordingBudget", | |
"type": "object", | |
"properties": { | |
"total": { | |
"title": "Single", | |
"type": "number", | |
"format": "float" | |
}, | |
"used": { | |
"title": "Single", | |
"type": "number", | |
"format": "float" | |
} | |
}, | |
"additionalProperties": false | |
}, | |
"Backend.Data.Models.TimeRecordingBudgetWithSum": { | |
"title": "TimeRecordingBudgetWithSum", | |
"type": "object", | |
"properties": { | |
"total": { | |
"title": "Single", | |
"type": "number", | |
"format": "float" | |
}, | |
"used": { | |
"title": "Single", | |
"type": "number", | |
"format": "float" | |
}, | |
"sum": { | |
"title": "Int32", | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
"additionalProperties": false | |
}, | |
"Backend.Data.Models.TimeRecordingJobStatistics": { | |
"title": "TimeRecordingJobStatistics", | |
"type": "object", | |
"properties": { | |
"id": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
}, | |
"no": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"description": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"totalDuration": { | |
"title": "Int32", | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
"additionalProperties": false | |
}, | |
"Backend.Data.Models.TimeRecordingStatistics": { | |
"title": "TimeRecordingStatistics", | |
"type": "object", | |
"properties": { | |
"from": { | |
"title": "DateTimeOffset", | |
"type": "string", | |
"format": "date-time" | |
}, | |
"to": { | |
"title": "DateTimeOffset", | |
"type": "string", | |
"format": "date-time" | |
}, | |
"jobTotals": { | |
"title": "List<TimeRecordingJobStatistics>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.Data.Models.TimeRecordingJobStatistics" | |
}, | |
"nullable": true | |
}, | |
"billableTotals": { | |
"title": "List<TimeRecordingBillabeStatistics>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.Data.Models.TimeRecordingBillabeStatistics" | |
}, | |
"nullable": true | |
}, | |
"activityTotals": { | |
"title": "List<TimeRecordingActivityStatistics>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.Data.Models.TimeRecordingActivityStatistics" | |
}, | |
"nullable": true | |
} | |
}, | |
"additionalProperties": false | |
}, | |
"Backend.Data.Models.TimeRecordingStatusEnum": { | |
"title": "TimeRecordingStatusEnum", | |
"enum": [ | |
0, | |
1, | |
2 | |
], | |
"type": "integer", | |
"format": "int32" | |
}, | |
"Backend.Data.Models.TimeRecordingSummary": { | |
"title": "TimeRecordingSummary", | |
"type": "object", | |
"properties": { | |
"date": { | |
"title": "DateTimeOffset", | |
"type": "string", | |
"format": "date-time" | |
}, | |
"duration": { | |
"title": "Int32", | |
"type": "integer", | |
"format": "int32" | |
}, | |
"durationBillable": { | |
"title": "Int32", | |
"type": "integer", | |
"format": "int32" | |
}, | |
"break": { | |
"title": "Int32", | |
"type": "integer", | |
"format": "int32" | |
}, | |
"capacity": { | |
"title": "Single", | |
"type": "number", | |
"format": "float" | |
} | |
}, | |
"additionalProperties": false | |
}, | |
"Backend.Data.Models.TntModel": { | |
"title": "TntModel", | |
"type": "object", | |
"properties": { | |
"company": { | |
"$ref": "#/components/schemas/Backend.Data.Models.Company" | |
}, | |
"companyId": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
}, | |
"id": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
}, | |
"code": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"description": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"lines": { | |
"title": "List<TntModelLine>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.Data.Models.TntModelLine" | |
}, | |
"nullable": true | |
} | |
}, | |
"additionalProperties": false | |
}, | |
"Backend.Data.Models.TntModelLine": { | |
"title": "TntModelLine", | |
"type": "object", | |
"properties": { | |
"company": { | |
"$ref": "#/components/schemas/Backend.Data.Models.Company" | |
}, | |
"companyId": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
}, | |
"id": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
}, | |
"tntModelId": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
}, | |
"tntModel": { | |
"$ref": "#/components/schemas/Backend.Data.Models.TntModel" | |
}, | |
"modelType": { | |
"$ref": "#/components/schemas/Backend.Data.Models.TntModelType" | |
}, | |
"code": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"description": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"quantity": { | |
"title": "Decimal", | |
"type": "number", | |
"format": "double" | |
}, | |
"billable": { | |
"title": "Boolean", | |
"type": "boolean" | |
}, | |
"itemNo": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"rounding": { | |
"title": "Int32", | |
"type": "integer", | |
"format": "int32" | |
}, | |
"nonBillableReason": { | |
"$ref": "#/components/schemas/Backend.Data.Models.NonBillableReasonEnum" | |
} | |
}, | |
"additionalProperties": false | |
}, | |
"Backend.Data.Models.TntModelType": { | |
"title": "TntModelType", | |
"enum": [ | |
0, | |
1, | |
2, | |
3 | |
], | |
"type": "integer", | |
"format": "int32" | |
}, | |
"Backend.Data.Models.User": { | |
"title": "User", | |
"type": "object", | |
"properties": { | |
"company": { | |
"$ref": "#/components/schemas/Backend.Data.Models.Company" | |
}, | |
"companyId": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
}, | |
"id": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
}, | |
"resourceId": { | |
"title": "Nullable<Guid>", | |
"type": "string", | |
"format": "uuid", | |
"nullable": true | |
}, | |
"resource": { | |
"$ref": "#/components/schemas/Backend.Data.Models.Resource" | |
}, | |
"name": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"email": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"stopwatch": { | |
"$ref": "#/components/schemas/Backend.Data.Models.Stopwatch" | |
}, | |
"userRoles": { | |
"title": "List<UserRole>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.Data.Models.Security.UserRole" | |
}, | |
"nullable": true | |
}, | |
"projectFavorites": { | |
"title": "List<Project>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Backend.Data.Models.ResourcePlanning.Project" | |
}, | |
"nullable": true | |
} | |
}, | |
"additionalProperties": false | |
}, | |
"Backend.Data.Models.WorkItem": { | |
"title": "WorkItem", | |
"type": "object", | |
"properties": { | |
"company": { | |
"$ref": "#/components/schemas/Backend.Data.Models.Company" | |
}, | |
"companyId": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
}, | |
"id": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
}, | |
"created": { | |
"title": "DateTimeOffset", | |
"type": "string", | |
"format": "date-time" | |
}, | |
"modified": { | |
"title": "DateTimeOffset", | |
"type": "string", | |
"format": "date-time" | |
}, | |
"source": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"organization": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"project": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"extId": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"parentExtId": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"title": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"type": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"status": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"area": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"iteration": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"originalEstimate": { | |
"title": "Decimal", | |
"type": "number", | |
"format": "double" | |
}, | |
"remaining": { | |
"title": "Decimal", | |
"type": "number", | |
"format": "double" | |
}, | |
"completed": { | |
"title": "Decimal", | |
"type": "number", | |
"format": "double" | |
}, | |
"contact": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
} | |
}, | |
"additionalProperties": false | |
}, | |
"Backend.Persistence.Models.SyncReceiveLog": { | |
"title": "SyncReceiveLog", | |
"type": "object", | |
"properties": { | |
"company": { | |
"$ref": "#/components/schemas/Backend.Data.Models.Company" | |
}, | |
"companyId": { | |
"title": "Guid", | |
"type": "string", | |
"format": "uuid" | |
}, | |
"id": { | |
"title": "Int32", | |
"type": "integer", | |
"format": "int32" | |
}, | |
"entityType": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"action": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"timeStamp": { | |
"title": "DateTimeOffset", | |
"type": "string", | |
"format": "date-time" | |
}, | |
"data": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"processed": { | |
"title": "Boolean", | |
"type": "boolean" | |
}, | |
"success": { | |
"title": "Boolean", | |
"type": "boolean" | |
}, | |
"errorText": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
} | |
}, | |
"additionalProperties": false | |
}, | |
"FluentValidation.Results.ValidationFailure": { | |
"title": "ValidationFailure", | |
"type": "object", | |
"properties": { | |
"propertyName": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"errorMessage": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"attemptedValue": { | |
"title": "Object", | |
"nullable": true | |
}, | |
"customState": { | |
"title": "Object", | |
"nullable": true | |
}, | |
"severity": { | |
"$ref": "#/components/schemas/FluentValidation.Severity" | |
}, | |
"errorCode": { | |
"title": "String", | |
"type": "string", | |
"nullable": true | |
}, | |
"formattedMessagePlaceholderValues": { | |
"title": "Dictionary<String>", | |
"type": "object", | |
"additionalProperties": { | |
"title": "Object", | |
"nullable": true | |
}, | |
"nullable": true | |
} | |
}, | |
"additionalProperties": false | |
}, | |
"FluentValidation.Results.ValidationResult": { | |
"title": "ValidationResult", | |
"type": "object", | |
"properties": { | |
"isValid": { | |
"title": "Boolean", | |
"type": "boolean", | |
"readOnly": true | |
}, | |
"errors": { | |
"title": "List<ValidationFailure>", | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/FluentValidation.Results.ValidationFailure" | |
}, | |
"nullable": true | |
}, | |
"ruleSetsExecuted": { | |
"title": "String[]", | |
"type": "array", | |
"items": { | |
"title": "String", | |
"type": "string" | |
}, | |
"nullable": true | |
} | |
}, | |
"additionalProperties": false | |
}, | |
"FluentValidation.Severity": { | |
"title": "Severity", | |
"enum": [ | |
0, | |
1, | |
2 | |
], | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
"securitySchemes": { | |
"client": { | |
"type": "apiKey", | |
"description": "See https://docs.dyce.cloud for information on creating keys. Provide key after 'Bearer [space]' in Authorization header like 'Bearer ey1dfgk3...'", | |
"name": "Authorization", | |
"in": "header" | |
} | |
} | |
}, | |
"security": [ | |
{ | |
"client": [ ] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment