Last active
April 21, 2020 03:59
-
-
Save taylormaguire/d71f25409b8822b171f9808a7a038302 to your computer and use it in GitHub Desktop.
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": "Connectwise Manage All Endpoints", | |
"version": "2020.2" | |
}, | |
"servers": [ | |
{ | |
"url": "https://na.myconnectwise.net/v4_6_release/apis/3.0" | |
} | |
], | |
"paths": { | |
"/company/addressFormats": { | |
"get": { | |
"tags": [ | |
"AddressFormats" | |
], | |
"summary": "Get List of AddressFormat", | |
"operationId": "getCompanyAddressFormats", | |
"parameters": [ | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "List of AddressFormat", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/AddressFormat" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"post": { | |
"tags": [ | |
"AddressFormats" | |
], | |
"summary": "Post AddressFormat", | |
"operationId": "postCompanyAddressFormats", | |
"parameters": [ | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "addressFormat", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/AddressFormat" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"201": { | |
"description": "AddressFormat", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/AddressFormat" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/addressFormats/{id}": { | |
"get": { | |
"tags": [ | |
"AddressFormats" | |
], | |
"summary": "Get AddressFormat", | |
"operationId": "getCompanyAddressFormatsById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "addressFormatId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "AddressFormat", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/AddressFormat" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"delete": { | |
"tags": [ | |
"AddressFormats" | |
], | |
"summary": "Delete AddressFormat", | |
"operationId": "deleteCompanyAddressFormatsById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "addressFormatId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"204": { | |
"description": "No Content" | |
} | |
} | |
}, | |
"put": { | |
"tags": [ | |
"AddressFormats" | |
], | |
"summary": "Put AddressFormat", | |
"operationId": "putCompanyAddressFormatsById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "addressFormatId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "addressFormat", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/AddressFormat" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "AddressFormat", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/AddressFormat" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"patch": { | |
"tags": [ | |
"AddressFormats" | |
], | |
"summary": "Patch AddressFormat", | |
"operationId": "patchCompanyAddressFormatsById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "addressFormatId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "List of PatchOperation", | |
"content": { | |
"application/json": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/PatchOperation" | |
} | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "AddressFormat", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/AddressFormat" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/addressFormats/count": { | |
"get": { | |
"tags": [ | |
"AddressFormats" | |
], | |
"summary": "Get Count of AddressFormat", | |
"operationId": "getCompanyAddressFormatsCount", | |
"parameters": [ | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Count", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/Count" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/communicationTypes": { | |
"get": { | |
"tags": [ | |
"CommunicationTypes" | |
], | |
"summary": "Get List of CommunicationType", | |
"operationId": "getCompanyCommunicationTypes", | |
"parameters": [ | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "List of CommunicationType", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/CommunicationType" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"post": { | |
"tags": [ | |
"CommunicationTypes" | |
], | |
"summary": "Post CommunicationType", | |
"operationId": "postCompanyCommunicationTypes", | |
"parameters": [ | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "communicationType", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/CommunicationType" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"201": { | |
"description": "CommunicationType", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/CommunicationType" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/communicationTypes/{id}": { | |
"get": { | |
"tags": [ | |
"CommunicationTypes" | |
], | |
"summary": "Get CommunicationType", | |
"operationId": "getCompanyCommunicationTypesById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "communicationTypeId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "CommunicationType", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/CommunicationType" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"delete": { | |
"tags": [ | |
"CommunicationTypes" | |
], | |
"summary": "Delete CommunicationType", | |
"operationId": "deleteCompanyCommunicationTypesById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "communicationTypeId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"204": { | |
"description": "No Content" | |
} | |
} | |
}, | |
"put": { | |
"tags": [ | |
"CommunicationTypes" | |
], | |
"summary": "Put CommunicationType", | |
"operationId": "putCompanyCommunicationTypesById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "communicationTypeId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "communicationType", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/CommunicationType" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "CommunicationType", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/CommunicationType" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"patch": { | |
"tags": [ | |
"CommunicationTypes" | |
], | |
"summary": "Patch CommunicationType", | |
"operationId": "patchCompanyCommunicationTypesById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "communicationTypeId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "List of PatchOperation", | |
"content": { | |
"application/json": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/PatchOperation" | |
} | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "CommunicationType", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/CommunicationType" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/communicationTypes/{id}/usages": { | |
"get": { | |
"tags": [ | |
"CommunicationTypes" | |
], | |
"summary": "Get List of Usage Count", | |
"operationId": "getCompanyCommunicationTypesByIdUsages", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "communicationTypeId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "List of Usage", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Usage" | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/communicationTypes/{id}/usages/list": { | |
"get": { | |
"tags": [ | |
"CommunicationTypes" | |
], | |
"summary": "Get List of Usage", | |
"operationId": "getCompanyCommunicationTypesByIdUsagesList", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "communicationTypeId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "List of Usage", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Usage" | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/communicationTypes/count": { | |
"get": { | |
"tags": [ | |
"CommunicationTypes" | |
], | |
"summary": "Get Count of Usage", | |
"operationId": "getCompanyCommunicationTypesCount", | |
"parameters": [ | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Count", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/Count" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/companies": { | |
"get": { | |
"tags": [ | |
"Companies" | |
], | |
"summary": "Get List of ConnectWise.Apis.v3_0.v2015_3.Company.Company.Company", | |
"operationId": "getCompanyCompanies", | |
"parameters": [ | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "List of ConnectWise.Apis.v3_0.v2015_3.Company.Company.Company", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Company" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"post": { | |
"tags": [ | |
"Companies" | |
], | |
"summary": "Post ConnectWise.Apis.v3_0.v2015_3.Company.Company.Company", | |
"operationId": "postCompanyCompanies", | |
"parameters": [ | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "company", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/Company" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"201": { | |
"description": "ConnectWise.Apis.v3_0.v2015_3.Company.Company.Company", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/Company" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/companies/{id}": { | |
"get": { | |
"tags": [ | |
"Companies" | |
], | |
"summary": "Get ConnectWise.Apis.v3_0.v2015_3.Company.Company.Company", | |
"operationId": "getCompanyCompaniesById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "companyId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "ConnectWise.Apis.v3_0.v2015_3.Company.Company.Company", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/Company" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"delete": { | |
"tags": [ | |
"Companies" | |
], | |
"summary": "Delete ConnectWise.Apis.v3_0.v2015_3.Company.Company.Company", | |
"operationId": "deleteCompanyCompaniesById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "companyId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"204": { | |
"description": "No Content" | |
} | |
} | |
}, | |
"put": { | |
"tags": [ | |
"Companies" | |
], | |
"summary": "Put ConnectWise.Apis.v3_0.v2015_3.Company.Company.Company", | |
"operationId": "putCompanyCompaniesById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "companyId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "company", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/Company" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "ConnectWise.Apis.v3_0.v2015_3.Company.Company.Company", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/Company" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"patch": { | |
"tags": [ | |
"Companies" | |
], | |
"summary": "Patch ConnectWise.Apis.v3_0.v2015_3.Company.Company.Company", | |
"operationId": "patchCompanyCompaniesById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "companyId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "List of PatchOperation", | |
"content": { | |
"application/json": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/PatchOperation" | |
} | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "ConnectWise.Apis.v3_0.v2015_3.Company.Company.Company", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/Company" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/companies/{id}/merge": { | |
"post": { | |
"tags": [ | |
"Companies" | |
], | |
"summary": "Post SuccessResponse", | |
"operationId": "postCompanyCompaniesByIdMerge", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "companyId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "merge", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/CompanyMerge" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "SuccessResponse", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/SuccessResponse" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/companies/{id}/usages": { | |
"get": { | |
"tags": [ | |
"Companies" | |
], | |
"summary": "Get List of Usage Count", | |
"operationId": "getCompanyCompaniesByIdUsages", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "companyId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "List of Usage", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Usage" | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/companies/{id}/usages/list": { | |
"get": { | |
"tags": [ | |
"Companies" | |
], | |
"summary": "Get List of Usage", | |
"operationId": "getCompanyCompaniesByIdUsagesList", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "companyId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "List of Usage", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Usage" | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/companies/{parentId}/customStatusNotes": { | |
"get": { | |
"tags": [ | |
"CompanyCustomNotes" | |
], | |
"summary": "Get List of CompanyCustomNote", | |
"operationId": "getCompanyCompaniesByParentIdCustomStatusNotes", | |
"parameters": [ | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "companyId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "List of CompanyCustomNote", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/CompanyCustomNote" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"post": { | |
"tags": [ | |
"CompanyCustomNotes" | |
], | |
"summary": "Post CompanyCustomNote", | |
"operationId": "postCompanyCompaniesByParentIdCustomStatusNotes", | |
"parameters": [ | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "companyId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "customNote", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/CompanyCustomNote" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"201": { | |
"description": "CompanyCustomNote", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/CompanyCustomNote" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/companies/{parentId}/customStatusNotes/{id}": { | |
"get": { | |
"tags": [ | |
"CompanyCustomNotes" | |
], | |
"summary": "Get CompanyCustomNote", | |
"operationId": "getCompanyCompaniesByParentIdCustomStatusNotesById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "customStatusNoteId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "companyId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "CompanyCustomNote", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/CompanyCustomNote" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"delete": { | |
"tags": [ | |
"CompanyCustomNotes" | |
], | |
"summary": "Delete CompanyCustomNote", | |
"operationId": "deleteCompanyCompaniesByParentIdCustomStatusNotesById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "customStatusNoteId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "companyId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"204": { | |
"description": "No Content" | |
} | |
} | |
}, | |
"put": { | |
"tags": [ | |
"CompanyCustomNotes" | |
], | |
"summary": "Put CompanyCustomNote", | |
"operationId": "putCompanyCompaniesByParentIdCustomStatusNotesById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "customStatusNoteId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "companyId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "customNote", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/CompanyCustomNote" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "CompanyCustomNote", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/CompanyCustomNote" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"patch": { | |
"tags": [ | |
"CompanyCustomNotes" | |
], | |
"summary": "Patch CompanyCustomNote", | |
"operationId": "patchCompanyCompaniesByParentIdCustomStatusNotesById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "customStatusNoteId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "companyId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "List of PatchOperation", | |
"content": { | |
"application/json": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/PatchOperation" | |
} | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "CompanyCustomNote", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/CompanyCustomNote" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/companies/{parentId}/customStatusNotes/count": { | |
"get": { | |
"tags": [ | |
"CompanyCustomNotes" | |
], | |
"summary": "Get Count of CompanyCustomNote", | |
"operationId": "getCompanyCompaniesByParentIdCustomStatusNotesCount", | |
"parameters": [ | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "companyId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Count", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/Count" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/companies/{parentId}/groups": { | |
"get": { | |
"tags": [ | |
"CompanyGroups" | |
], | |
"summary": "Get List of CompanyGroup", | |
"operationId": "getCompanyCompaniesByParentIdGroups", | |
"parameters": [ | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "companyId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "List of CompanyGroup", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/CompanyGroup" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"post": { | |
"tags": [ | |
"CompanyGroups" | |
], | |
"summary": "Post CompanyGroup", | |
"operationId": "postCompanyCompaniesByParentIdGroups", | |
"parameters": [ | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "companyId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "companyGroup", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/CompanyGroup" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"201": { | |
"description": "CompanyGroup", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/CompanyGroup" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/companies/{parentId}/groups/{id}": { | |
"get": { | |
"tags": [ | |
"CompanyGroups" | |
], | |
"summary": "Get CompanyGroup", | |
"operationId": "getCompanyCompaniesByParentIdGroupsById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "groupId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "companyId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "CompanyGroup", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/CompanyGroup" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"delete": { | |
"tags": [ | |
"CompanyGroups" | |
], | |
"summary": "Delete CompanyGroup", | |
"operationId": "deleteCompanyCompaniesByParentIdGroupsById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "groupId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "companyId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"204": { | |
"description": "No Content" | |
} | |
} | |
}, | |
"put": { | |
"tags": [ | |
"CompanyGroups" | |
], | |
"summary": "Put CompanyGroup", | |
"operationId": "putCompanyCompaniesByParentIdGroupsById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "groupId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "companyId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "companyGroup", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/CompanyGroup" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "CompanyGroup", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/CompanyGroup" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"patch": { | |
"tags": [ | |
"CompanyGroups" | |
], | |
"summary": "Patch CompanyGroup", | |
"operationId": "patchCompanyCompaniesByParentIdGroupsById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "groupId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "companyId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "List of PatchOperation", | |
"content": { | |
"application/json": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/PatchOperation" | |
} | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "CompanyGroup", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/CompanyGroup" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/companies/{parentId}/groups/count": { | |
"get": { | |
"tags": [ | |
"CompanyGroups" | |
], | |
"summary": "Get Count of CompanyGroup", | |
"operationId": "getCompanyCompaniesByParentIdGroupsCount", | |
"parameters": [ | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "companyId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Count", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/Count" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/companies/{parentId}/managementReportSetup": { | |
"get": { | |
"tags": [ | |
"ManagementReportSetups" | |
], | |
"summary": "Get List of ManagementReportSetup", | |
"operationId": "getCompanyCompaniesByParentIdManagementReportSetup", | |
"parameters": [ | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "companyId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "List of ManagementReportSetup", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/ManagementReportSetup" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"post": { | |
"tags": [ | |
"ManagementReportSetups" | |
], | |
"summary": "Post ManagementReportSetup", | |
"operationId": "postCompanyCompaniesByParentIdManagementReportSetup", | |
"parameters": [ | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "companyId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "managementReportSetup", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/ManagementReportSetup" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"201": { | |
"description": "ManagementReportSetup", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/ManagementReportSetup" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/companies/{parentId}/managementReportSetup/{id}": { | |
"put": { | |
"tags": [ | |
"ManagementReportSetups" | |
], | |
"summary": "Put ManagementReportSetup", | |
"operationId": "putCompanyCompaniesByParentIdManagementReportSetupById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "managementReportSetupId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "companyId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "managementReportSetup", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/ManagementReportSetup" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "ManagementReportSetup", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/ManagementReportSetup" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"patch": { | |
"tags": [ | |
"ManagementReportSetups" | |
], | |
"summary": "Patch ManagementReportSetup", | |
"operationId": "patchCompanyCompaniesByParentIdManagementReportSetupById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "managementReportSetupId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "companyId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "List of PatchOperation", | |
"content": { | |
"application/json": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/PatchOperation" | |
} | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "ManagementReportSetup", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/ManagementReportSetup" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/companies/{parentId}/managementSummaryReports": { | |
"get": { | |
"tags": [ | |
"CompanyManagementSummarys" | |
], | |
"summary": "Get List of CompanyManagementSummary", | |
"operationId": "getCompanyCompaniesByParentIdManagementSummaryReports", | |
"parameters": [ | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "companyId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "List of CompanyManagementSummary", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/CompanyManagementSummary" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"post": { | |
"tags": [ | |
"CompanyManagementSummarys" | |
], | |
"summary": "Post CompanyManagementSummary", | |
"operationId": "postCompanyCompaniesByParentIdManagementSummaryReports", | |
"parameters": [ | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "companyId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "managementSummary", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/CompanyManagementSummary" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"201": { | |
"description": "CompanyManagementSummary", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/CompanyManagementSummary" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/companies/{parentId}/managementSummaryReports/{id}": { | |
"get": { | |
"tags": [ | |
"CompanyManagementSummarys" | |
], | |
"summary": "Get CompanyManagementSummary", | |
"operationId": "getCompanyCompaniesByParentIdManagementSummaryReportsById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "managementSummaryReportId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "companyId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "CompanyManagementSummary", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/CompanyManagementSummary" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"delete": { | |
"tags": [ | |
"CompanyManagementSummarys" | |
], | |
"summary": "Delete CompanyManagementSummary", | |
"operationId": "deleteCompanyCompaniesByParentIdManagementSummaryReportsById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "managementSummaryReportId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "companyId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"204": { | |
"description": "No Content" | |
} | |
} | |
}, | |
"put": { | |
"tags": [ | |
"CompanyManagementSummarys" | |
], | |
"summary": "Put CompanyManagementSummary", | |
"operationId": "putCompanyCompaniesByParentIdManagementSummaryReportsById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "managementSummaryReportId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "companyId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "managementSummary", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/CompanyManagementSummary" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "CompanyManagementSummary", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/CompanyManagementSummary" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"patch": { | |
"tags": [ | |
"CompanyManagementSummarys" | |
], | |
"summary": "Patch CompanyManagementSummary", | |
"operationId": "patchCompanyCompaniesByParentIdManagementSummaryReportsById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "managementSummaryReportId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "companyId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "List of PatchOperation", | |
"content": { | |
"application/json": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/PatchOperation" | |
} | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "CompanyManagementSummary", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/CompanyManagementSummary" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/companies/{parentId}/managementSummaryReports/count": { | |
"get": { | |
"tags": [ | |
"CompanyManagementSummarys" | |
], | |
"summary": "Get Count of CompanyManagementSummary", | |
"operationId": "getCompanyCompaniesByParentIdManagementSummaryReportsCount", | |
"parameters": [ | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "companyId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Count", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/Count" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/companies/{parentId}/notes": { | |
"get": { | |
"tags": [ | |
"CompanyNotes" | |
], | |
"summary": "Get List of CompanyNote", | |
"operationId": "getCompanyCompaniesByParentIdNotes", | |
"parameters": [ | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "companyId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "List of CompanyNote", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/CompanyNote" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"post": { | |
"tags": [ | |
"CompanyNotes" | |
], | |
"summary": "Post CompanyNote", | |
"operationId": "postCompanyCompaniesByParentIdNotes", | |
"parameters": [ | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "companyId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "companyNote", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/CompanyNote" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"201": { | |
"description": "CompanyNote", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/CompanyNote" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/companies/{parentId}/notes/{id}": { | |
"get": { | |
"tags": [ | |
"CompanyNotes" | |
], | |
"summary": "Get CompanyNote", | |
"operationId": "getCompanyCompaniesByParentIdNotesById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "noteId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "companyId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "CompanyNote", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/CompanyNote" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"delete": { | |
"tags": [ | |
"CompanyNotes" | |
], | |
"summary": "Delete CompanyNote", | |
"operationId": "deleteCompanyCompaniesByParentIdNotesById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "noteId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "companyId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"204": { | |
"description": "No Content" | |
} | |
} | |
}, | |
"put": { | |
"tags": [ | |
"CompanyNotes" | |
], | |
"summary": "Put CompanyNote", | |
"operationId": "putCompanyCompaniesByParentIdNotesById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "noteId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "companyId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "companyNote", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/CompanyNote" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "CompanyNote", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/CompanyNote" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"patch": { | |
"tags": [ | |
"CompanyNotes" | |
], | |
"summary": "Patch CompanyNote", | |
"operationId": "patchCompanyCompaniesByParentIdNotesById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "noteId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "companyId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "List of PatchOperation", | |
"content": { | |
"application/json": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/PatchOperation" | |
} | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "CompanyNote", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/CompanyNote" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/companies/{parentId}/notes/count": { | |
"get": { | |
"tags": [ | |
"CompanyNotes" | |
], | |
"summary": "Get Count of CompanyNote", | |
"operationId": "getCompanyCompaniesByParentIdNotesCount", | |
"parameters": [ | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "companyId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Count", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/Count" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/companies/{parentId}/sites": { | |
"get": { | |
"tags": [ | |
"CompanySites" | |
], | |
"summary": "Get List of CompanySite", | |
"operationId": "getCompanyCompaniesByParentIdSites", | |
"parameters": [ | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "companyId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "List of CompanySite", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/CompanySite" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"post": { | |
"tags": [ | |
"CompanySites" | |
], | |
"summary": "Post CompanySite", | |
"operationId": "postCompanyCompaniesByParentIdSites", | |
"parameters": [ | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "companyId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "site", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/CompanySite" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"201": { | |
"description": "CompanySite", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/CompanySite" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/companies/{parentId}/sites/{id}": { | |
"get": { | |
"tags": [ | |
"CompanySites" | |
], | |
"summary": "Get CompanySite", | |
"operationId": "getCompanyCompaniesByParentIdSitesById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "siteId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "companyId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "CompanySite", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/CompanySite" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"delete": { | |
"tags": [ | |
"CompanySites" | |
], | |
"summary": "Delete CompanySite", | |
"operationId": "deleteCompanyCompaniesByParentIdSitesById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "siteId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "companyId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"204": { | |
"description": "No Content" | |
} | |
} | |
}, | |
"put": { | |
"tags": [ | |
"CompanySites" | |
], | |
"summary": "Put CompanySite", | |
"operationId": "putCompanyCompaniesByParentIdSitesById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "siteId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "companyId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "site", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/CompanySite" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "CompanySite", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/CompanySite" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"patch": { | |
"tags": [ | |
"CompanySites" | |
], | |
"summary": "Patch CompanySite", | |
"operationId": "patchCompanyCompaniesByParentIdSitesById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "siteId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "companyId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "List of PatchOperation", | |
"content": { | |
"application/json": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/PatchOperation" | |
} | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "CompanySite", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/CompanySite" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/companies/{parentId}/sites/{id}/usages": { | |
"get": { | |
"tags": [ | |
"CompanySites" | |
], | |
"summary": "Get List of Usage Count", | |
"operationId": "getCompanyCompaniesByParentIdSitesByIdUsages", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "siteId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "companyId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "List of Usage", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Usage" | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/companies/{parentId}/sites/{id}/usages/list": { | |
"get": { | |
"tags": [ | |
"CompanySites" | |
], | |
"summary": "Get List of Usage", | |
"operationId": "getCompanyCompaniesByParentIdSitesByIdUsagesList", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "siteId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "companyId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "List of Usage", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Usage" | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/companies/{parentId}/sites/count": { | |
"get": { | |
"tags": [ | |
"CompanySites" | |
], | |
"summary": "Get Count of CompanySite", | |
"operationId": "getCompanyCompaniesByParentIdSitesCount", | |
"parameters": [ | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "companyId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Count", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/Count" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/companies/{parentId}/surveys/count": { | |
"get": { | |
"tags": [ | |
"CompanySurveys" | |
], | |
"summary": "Get Count of", | |
"operationId": "getCompanyCompaniesByParentIdSurveysCount", | |
"parameters": [ | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "companyId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Count", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/Count" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/companies/{parentId}/teams": { | |
"get": { | |
"tags": [ | |
"CompanyTeams" | |
], | |
"summary": "Get List of CompanyTeam", | |
"operationId": "getCompanyCompaniesByParentIdTeams", | |
"parameters": [ | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "companyId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "List of CompanyTeam", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/CompanyTeam" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"post": { | |
"tags": [ | |
"CompanyTeams" | |
], | |
"summary": "Post CompanyTeam", | |
"operationId": "postCompanyCompaniesByParentIdTeams", | |
"parameters": [ | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "companyId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "companyTeam", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/CompanyTeam" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"201": { | |
"description": "CompanyTeam", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/CompanyTeam" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/companies/{parentId}/teams/{id}": { | |
"get": { | |
"tags": [ | |
"CompanyTeams" | |
], | |
"summary": "Get CompanyTeam", | |
"operationId": "getCompanyCompaniesByParentIdTeamsById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "teamId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "companyId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "CompanyTeam", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/CompanyTeam" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"delete": { | |
"tags": [ | |
"CompanyTeams" | |
], | |
"summary": "Delete CompanyTeam", | |
"operationId": "deleteCompanyCompaniesByParentIdTeamsById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "teamId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "companyId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"204": { | |
"description": "No Content" | |
} | |
} | |
}, | |
"put": { | |
"tags": [ | |
"CompanyTeams" | |
], | |
"summary": "Put CompanyTeam", | |
"operationId": "putCompanyCompaniesByParentIdTeamsById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "teamId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "companyId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "companyTeam", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/CompanyTeam" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "CompanyTeam", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/CompanyTeam" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"patch": { | |
"tags": [ | |
"CompanyTeams" | |
], | |
"summary": "Patch CompanyTeam", | |
"operationId": "patchCompanyCompaniesByParentIdTeamsById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "teamId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "companyId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "List of PatchOperation", | |
"content": { | |
"application/json": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/PatchOperation" | |
} | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "CompanyTeam", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/CompanyTeam" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/companies/{parentId}/teams/count": { | |
"get": { | |
"tags": [ | |
"CompanyTeams" | |
], | |
"summary": "Get Count of CompanyTeam", | |
"operationId": "getCompanyCompaniesByParentIdTeamsCount", | |
"parameters": [ | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "companyId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Count", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/Count" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/companies/{parentId}/tracks": { | |
"get": { | |
"tags": [ | |
"CompanyTracks" | |
], | |
"summary": "Get List of ContactTrack", | |
"operationId": "getCompanyCompaniesByParentIdTracks", | |
"parameters": [ | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "companyId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "List of ContactTrack", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/ContactTrack" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"post": { | |
"tags": [ | |
"CompanyTracks" | |
], | |
"summary": "Post ContactTrack", | |
"operationId": "postCompanyCompaniesByParentIdTracks", | |
"parameters": [ | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "companyId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "track", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/ContactTrack" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"201": { | |
"description": "ContactTrack", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/ContactTrack" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/companies/{parentId}/tracks/{id}": { | |
"get": { | |
"tags": [ | |
"CompanyTracks" | |
], | |
"summary": "Get ContactTrack", | |
"operationId": "getCompanyCompaniesByParentIdTracksById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "trackId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "companyId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "ContactTrack", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/ContactTrack" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"delete": { | |
"tags": [ | |
"CompanyTracks" | |
], | |
"summary": "Delete ContactTrack", | |
"operationId": "deleteCompanyCompaniesByParentIdTracksById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "trackId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "companyId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"204": { | |
"description": "No Content" | |
} | |
} | |
} | |
}, | |
"/company/companies/{parentId}/tracks/count": { | |
"get": { | |
"tags": [ | |
"CompanyTracks" | |
], | |
"summary": "Get Count of ContactTrack", | |
"operationId": "getCompanyCompaniesByParentIdTracksCount", | |
"parameters": [ | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "companyId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Count", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/Count" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/companies/{parentId}/typeAssociations": { | |
"get": { | |
"tags": [ | |
"CompanyCompanyTypeAssociations" | |
], | |
"summary": "Get List of CompanyTypeAssociation", | |
"operationId": "getCompanyCompaniesByParentIdTypeAssociations", | |
"parameters": [ | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "companyId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "List of CompanyTypeAssociation", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/CompanyCompanyTypeAssociation.CompanyTypeAssociation" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"post": { | |
"tags": [ | |
"CompanyCompanyTypeAssociations" | |
], | |
"summary": "Post CompanyTypeAssociation", | |
"operationId": "postCompanyCompaniesByParentIdTypeAssociations", | |
"parameters": [ | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "companyId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "companyTypeAssociation", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/CompanyCompanyTypeAssociation.CompanyTypeAssociation" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"201": { | |
"description": "CompanyTypeAssociation", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/CompanyCompanyTypeAssociation.CompanyTypeAssociation" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/companies/{parentId}/typeAssociations/{id}": { | |
"get": { | |
"tags": [ | |
"CompanyCompanyTypeAssociations" | |
], | |
"summary": "Get CompanyTypeAssociation", | |
"operationId": "getCompanyCompaniesByParentIdTypeAssociationsById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "typeAssociationId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "companyId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "CompanyTypeAssociation", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/CompanyCompanyTypeAssociation.CompanyTypeAssociation" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"delete": { | |
"tags": [ | |
"CompanyCompanyTypeAssociations" | |
], | |
"summary": "Delete CompanyTypeAssociation", | |
"operationId": "deleteCompanyCompaniesByParentIdTypeAssociationsById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "typeAssociationId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "companyId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"204": { | |
"description": "No Content" | |
} | |
} | |
}, | |
"put": { | |
"tags": [ | |
"CompanyCompanyTypeAssociations" | |
], | |
"summary": "Put CompanyTypeAssociation", | |
"operationId": "putCompanyCompaniesByParentIdTypeAssociationsById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "typeAssociationId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "companyId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "companyTypeAssociation", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/CompanyCompanyTypeAssociation.CompanyTypeAssociation" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "CompanyTypeAssociation", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/CompanyCompanyTypeAssociation.CompanyTypeAssociation" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"patch": { | |
"tags": [ | |
"CompanyCompanyTypeAssociations" | |
], | |
"summary": "Patch CompanyTypeAssociation", | |
"operationId": "patchCompanyCompaniesByParentIdTypeAssociationsById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "typeAssociationId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "companyId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "List of PatchOperation", | |
"content": { | |
"application/json": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/PatchOperation" | |
} | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "CompanyTypeAssociation", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/CompanyCompanyTypeAssociation.CompanyTypeAssociation" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/companies/{parentId}/typeAssociations/count": { | |
"get": { | |
"tags": [ | |
"CompanyCompanyTypeAssociations" | |
], | |
"summary": "Get Count of CompanyTypeAssociation", | |
"operationId": "getCompanyCompaniesByParentIdTypeAssociationsCount", | |
"parameters": [ | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "companyId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Count", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/Count" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/companies/count": { | |
"get": { | |
"tags": [ | |
"Companies" | |
], | |
"summary": "Get Count of ConnectWise.Apis.v3_0.v2015_3.Company.Company.Company", | |
"operationId": "getCompanyCompaniesCount", | |
"parameters": [ | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Count", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/Count" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/companies/default": { | |
"get": { | |
"tags": [ | |
"Companies" | |
], | |
"summary": "Get ConnectWise.Apis.v3_0.v2015_3.Company.Company.Company", | |
"operationId": "getCompanyCompaniesDefault", | |
"parameters": [ | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "ConnectWise.Apis.v3_0.v2015_3.Company.Company.Company", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/Company" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/companies/info/types": { | |
"get": { | |
"tags": [ | |
"CompanyTypeInfos" | |
], | |
"summary": "Get List of CompanyTypeInfo", | |
"operationId": "getCompanyCompaniesInfoTypes", | |
"parameters": [ | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "List of CompanyTypeInfo", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/CompanyTypeInfo" | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/companies/info/types/{id}": { | |
"get": { | |
"tags": [ | |
"CompanyTypeInfos" | |
], | |
"summary": "Get CompanyTypeInfo", | |
"operationId": "getCompanyCompaniesInfoTypesById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "typeId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "CompanyTypeInfo", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/CompanyTypeInfo" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/companies/info/types/count": { | |
"get": { | |
"tags": [ | |
"CompanyTypeInfos" | |
], | |
"summary": "Get Count of CompanyTypeInfo", | |
"operationId": "getCompanyCompaniesInfoTypesCount", | |
"parameters": [ | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Count", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/Count" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/companies/statuses": { | |
"get": { | |
"tags": [ | |
"CompanyStatuses" | |
], | |
"summary": "Get List of CompanyStatus", | |
"operationId": "getCompanyCompaniesStatuses", | |
"parameters": [ | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "List of CompanyStatus", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/CompanyStatus" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"post": { | |
"tags": [ | |
"CompanyStatuses" | |
], | |
"summary": "Post CompanyStatus", | |
"operationId": "postCompanyCompaniesStatuses", | |
"parameters": [ | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "companyStatus", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/CompanyStatus" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"201": { | |
"description": "CompanyStatus", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/CompanyStatus" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/companies/statuses/{id}": { | |
"get": { | |
"tags": [ | |
"CompanyStatuses" | |
], | |
"summary": "Get CompanyStatus", | |
"operationId": "getCompanyCompaniesStatusesById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "statusId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "CompanyStatus", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/CompanyStatus" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"delete": { | |
"tags": [ | |
"CompanyStatuses" | |
], | |
"summary": "Delete CompanyStatus", | |
"operationId": "deleteCompanyCompaniesStatusesById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "statusId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"204": { | |
"description": "No Content" | |
} | |
} | |
}, | |
"put": { | |
"tags": [ | |
"CompanyStatuses" | |
], | |
"summary": "Put CompanyStatus", | |
"operationId": "putCompanyCompaniesStatusesById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "statusId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "companyStatus", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/CompanyStatus" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "CompanyStatus", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/CompanyStatus" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"patch": { | |
"tags": [ | |
"CompanyStatuses" | |
], | |
"summary": "Patch CompanyStatus", | |
"operationId": "patchCompanyCompaniesStatusesById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "statusId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "List of PatchOperation", | |
"content": { | |
"application/json": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/PatchOperation" | |
} | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "CompanyStatus", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/CompanyStatus" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/companies/statuses/{id}/usages": { | |
"get": { | |
"tags": [ | |
"CompanyStatuses" | |
], | |
"summary": "Get List of Usage Count", | |
"operationId": "getCompanyCompaniesStatusesByIdUsages", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "statusId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "List of Usage", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Usage" | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/companies/statuses/{id}/usages/list": { | |
"get": { | |
"tags": [ | |
"CompanyStatuses" | |
], | |
"summary": "Get List of Usage", | |
"operationId": "getCompanyCompaniesStatusesByIdUsagesList", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "statusId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "List of Usage", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Usage" | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/companies/statuses/count": { | |
"get": { | |
"tags": [ | |
"CompanyStatuses" | |
], | |
"summary": "Get Count of CompanyStatus", | |
"operationId": "getCompanyCompaniesStatusesCount", | |
"parameters": [ | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Count", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/Count" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/companies/types": { | |
"get": { | |
"tags": [ | |
"CompanyTypes" | |
], | |
"summary": "Get List of CompanyType", | |
"operationId": "getCompanyCompaniesTypes", | |
"parameters": [ | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "List of CompanyType", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/CompanyType" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"post": { | |
"tags": [ | |
"CompanyTypes" | |
], | |
"summary": "Post CompanyType", | |
"operationId": "postCompanyCompaniesTypes", | |
"parameters": [ | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "companyType", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/CompanyType" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"201": { | |
"description": "CompanyType", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/CompanyType" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/companies/types/{id}": { | |
"get": { | |
"tags": [ | |
"CompanyTypes" | |
], | |
"summary": "Get CompanyType", | |
"operationId": "getCompanyCompaniesTypesById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "typeId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "CompanyType", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/CompanyType" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"delete": { | |
"tags": [ | |
"CompanyTypes" | |
], | |
"summary": "Delete Usage", | |
"operationId": "deleteCompanyCompaniesTypesById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "typeId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"204": { | |
"description": "No Content" | |
} | |
} | |
}, | |
"put": { | |
"tags": [ | |
"CompanyTypes" | |
], | |
"summary": "Put CompanyType", | |
"operationId": "putCompanyCompaniesTypesById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "typeId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "companyType", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/CompanyType" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "CompanyType", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/CompanyType" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"patch": { | |
"tags": [ | |
"CompanyTypes" | |
], | |
"summary": "Patch CompanyType", | |
"operationId": "patchCompanyCompaniesTypesById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "typeId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "List of PatchOperation", | |
"content": { | |
"application/json": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/PatchOperation" | |
} | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "CompanyType", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/CompanyType" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/companies/types/{id}/usages": { | |
"get": { | |
"tags": [ | |
"CompanyTypes" | |
], | |
"summary": "Get List of Usage Count", | |
"operationId": "getCompanyCompaniesTypesByIdUsages", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "typeId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "List of Usage", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Usage" | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/companies/types/{id}/usages/list": { | |
"get": { | |
"tags": [ | |
"CompanyTypes" | |
], | |
"summary": "Get List of Usage", | |
"operationId": "getCompanyCompaniesTypesByIdUsagesList", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "typeId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "List of Usage", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Usage" | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/companies/types/count": { | |
"get": { | |
"tags": [ | |
"CompanyTypes" | |
], | |
"summary": "Get Count of CompanyType", | |
"operationId": "getCompanyCompaniesTypesCount", | |
"parameters": [ | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Count", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/Count" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/companyPickerItems": { | |
"get": { | |
"tags": [ | |
"CompanyPickerItems" | |
], | |
"summary": "Get List of CompanyPickerItem", | |
"operationId": "getCompanyCompanyPickerItems", | |
"parameters": [ | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "List of CompanyPickerItem", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/CompanyPickerItem" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"post": { | |
"tags": [ | |
"CompanyPickerItems" | |
], | |
"summary": "Post CompanyPickerItem", | |
"operationId": "postCompanyCompanyPickerItems", | |
"parameters": [ | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "companyPickerItem", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/CompanyPickerItem" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"201": { | |
"description": "CompanyPickerItem", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/CompanyPickerItem" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/companyPickerItems/{id}": { | |
"get": { | |
"tags": [ | |
"CompanyPickerItems" | |
], | |
"summary": "Get CompanyPickerItem", | |
"operationId": "getCompanyCompanyPickerItemsById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "companyPickerItemId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "CompanyPickerItem", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/CompanyPickerItem" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"delete": { | |
"tags": [ | |
"CompanyPickerItems" | |
], | |
"summary": "Delete CompanyPickerItem", | |
"operationId": "deleteCompanyCompanyPickerItemsById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "companyPickerItemId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"204": { | |
"description": "No Content" | |
} | |
} | |
} | |
}, | |
"/company/companyPickerItems/clear": { | |
"post": { | |
"tags": [ | |
"CompanyPickerItems" | |
], | |
"summary": "Post ClearPickerRequest", | |
"operationId": "postCompanyCompanyPickerItemsClear", | |
"parameters": [ | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "clearPickerRequest", | |
"in": "path", | |
"description": "clearPickerRequest", | |
"required": true, | |
"schema": { | |
"$ref": "#/components/schemas/ClearPickerRequest" | |
} | |
} | |
], | |
"responses": { | |
"204": { | |
"description": "ClearPickerRequest", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/ClearPickerRequest" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/companyPickerItems/count": { | |
"get": { | |
"tags": [ | |
"CompanyPickerItems" | |
], | |
"summary": "Get Count of CompanyPickerItem", | |
"operationId": "getCompanyCompanyPickerItemsCount", | |
"parameters": [ | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Count", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/Count" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/companyTypeAssociations": { | |
"get": { | |
"tags": [ | |
"CompanyTypeAssociations" | |
], | |
"summary": "Get List of CompanyTypeAssociation", | |
"operationId": "getCompanyCompanyTypeAssociations", | |
"parameters": [ | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "List of CompanyTypeAssociation", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Company.CompanyTypeAssociation" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"post": { | |
"tags": [ | |
"CompanyTypeAssociations" | |
], | |
"summary": "Post CompanyTypeAssociation", | |
"operationId": "postCompanyCompanyTypeAssociations", | |
"parameters": [ | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "companyTypeAssociation", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/Company.CompanyTypeAssociation" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"201": { | |
"description": "CompanyTypeAssociation", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/Company.CompanyTypeAssociation" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/companyTypeAssociations/{id}": { | |
"get": { | |
"tags": [ | |
"CompanyTypeAssociations" | |
], | |
"summary": "Get CompanyTypeAssociation", | |
"operationId": "getCompanyCompanyTypeAssociationsById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "companyTypeAssociationId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "CompanyTypeAssociation", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/Company.CompanyTypeAssociation" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"delete": { | |
"tags": [ | |
"CompanyTypeAssociations" | |
], | |
"summary": "Delete CompanyTypeAssociation", | |
"operationId": "deleteCompanyCompanyTypeAssociationsById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "companyTypeAssociationId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"204": { | |
"description": "No Content" | |
} | |
} | |
}, | |
"put": { | |
"tags": [ | |
"CompanyTypeAssociations" | |
], | |
"summary": "Put CompanyTypeAssociation", | |
"operationId": "putCompanyCompanyTypeAssociationsById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "companyTypeAssociationId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "companyTypeAssociation", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/Company.CompanyTypeAssociation" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "CompanyTypeAssociation", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/Company.CompanyTypeAssociation" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"patch": { | |
"tags": [ | |
"CompanyTypeAssociations" | |
], | |
"summary": "Patch CompanyTypeAssociation", | |
"operationId": "patchCompanyCompanyTypeAssociationsById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "companyTypeAssociationId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "List of PatchOperation", | |
"content": { | |
"application/json": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/PatchOperation" | |
} | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "CompanyTypeAssociation", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/Company.CompanyTypeAssociation" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/companyTypeAssociations/count": { | |
"get": { | |
"tags": [ | |
"CompanyTypeAssociations" | |
], | |
"summary": "Get Count of CompanyTypeAssociation", | |
"operationId": "getCompanyCompanyTypeAssociationsCount", | |
"parameters": [ | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Count", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/Count" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/configurations": { | |
"get": { | |
"tags": [ | |
"Configurations" | |
], | |
"summary": "Get List of Configuration", | |
"operationId": "getCompanyConfigurations", | |
"parameters": [ | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "managedIdentifier", | |
"in": "path", | |
"description": "managedIdentifier", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "List of Configuration", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Company.Configuration" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"post": { | |
"tags": [ | |
"Configurations" | |
], | |
"summary": "Post Configuration", | |
"operationId": "postCompanyConfigurations", | |
"parameters": [ | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "managedInformation", | |
"in": "path", | |
"description": "managedInformation", | |
"required": true, | |
"schema": { | |
"$ref": "#/components/schemas/ManagedInformation" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "configuration", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/Company.Configuration" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"201": { | |
"description": "Configuration", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/Company.Configuration" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/configurations/{id}": { | |
"get": { | |
"tags": [ | |
"Configurations" | |
], | |
"summary": "Get Configuration", | |
"operationId": "getCompanyConfigurationsById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "configurationId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Configuration", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/Company.Configuration" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"delete": { | |
"tags": [ | |
"Configurations" | |
], | |
"summary": "Delete Configuration", | |
"operationId": "deleteCompanyConfigurationsById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "configurationId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"204": { | |
"description": "No Content" | |
} | |
} | |
}, | |
"put": { | |
"tags": [ | |
"Configurations" | |
], | |
"summary": "Put Configuration", | |
"operationId": "putCompanyConfigurationsById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "configurationId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "managedInformation", | |
"in": "path", | |
"description": "managedInformation", | |
"required": true, | |
"schema": { | |
"$ref": "#/components/schemas/ManagedInformation" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "configuration", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/Company.Configuration" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "Configuration", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/Company.Configuration" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"patch": { | |
"tags": [ | |
"Configurations" | |
], | |
"summary": "Patch Configuration", | |
"operationId": "patchCompanyConfigurationsById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "configurationId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "managedInformation", | |
"in": "path", | |
"description": "managedInformation", | |
"required": true, | |
"schema": { | |
"$ref": "#/components/schemas/ManagedInformation" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "List of PatchOperation", | |
"content": { | |
"application/json": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/PatchOperation" | |
} | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "Configuration", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/Company.Configuration" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/configurations/{id}/changeType": { | |
"patch": { | |
"tags": [ | |
"Configurations" | |
], | |
"summary": "Patch Configuration", | |
"operationId": "patchCompanyConfigurationsByIdChangeType", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "configurationId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "List of PatchOperation", | |
"content": { | |
"application/json": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/PatchOperation" | |
} | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "Configuration", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/Company.Configuration" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/configurations/bulk": { | |
"post": { | |
"tags": [ | |
"Configurations" | |
], | |
"summary": "Post Configuration", | |
"operationId": "postCompanyConfigurationsBulk", | |
"parameters": [ | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "List of Configuration", | |
"content": { | |
"application/json": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Company.Configuration" | |
} | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"207": { | |
"description": "Configuration", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/Company.Configuration" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"delete": { | |
"tags": [ | |
"Configurations" | |
], | |
"summary": "Delete BulkResult", | |
"operationId": "deleteCompanyConfigurationsBulk", | |
"parameters": [ | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"207": { | |
"description": "BulkResult", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/BulkResult" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"put": { | |
"tags": [ | |
"Configurations" | |
], | |
"summary": "Put Configuration", | |
"operationId": "putCompanyConfigurationsBulk", | |
"parameters": [ | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "List of Configuration", | |
"content": { | |
"application/json": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Company.Configuration" | |
} | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"207": { | |
"description": "Configuration", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/Company.Configuration" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/configurations/count": { | |
"get": { | |
"tags": [ | |
"Configurations" | |
], | |
"summary": "Get Count of Configuration", | |
"operationId": "getCompanyConfigurationsCount", | |
"parameters": [ | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "managedIdentifier", | |
"in": "path", | |
"description": "managedIdentifier", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Count", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/Count" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/configurations/statuses": { | |
"get": { | |
"tags": [ | |
"ConfigurationStatuses" | |
], | |
"summary": "Get List of ConfigurationStatus", | |
"operationId": "getCompanyConfigurationsStatuses", | |
"parameters": [ | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "List of ConfigurationStatus", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/ConfigurationStatus" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"post": { | |
"tags": [ | |
"ConfigurationStatuses" | |
], | |
"summary": "Post ConfigurationStatus", | |
"operationId": "postCompanyConfigurationsStatuses", | |
"parameters": [ | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "configurationStatus", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/ConfigurationStatus" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"201": { | |
"description": "ConfigurationStatus", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/ConfigurationStatus" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/configurations/statuses/{id}": { | |
"get": { | |
"tags": [ | |
"ConfigurationStatuses" | |
], | |
"summary": "Get ConfigurationStatus", | |
"operationId": "getCompanyConfigurationsStatusesById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "statusId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "ConfigurationStatus", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/ConfigurationStatus" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"delete": { | |
"tags": [ | |
"ConfigurationStatuses" | |
], | |
"summary": "Delete ConfigurationStatus", | |
"operationId": "deleteCompanyConfigurationsStatusesById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "statusId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"204": { | |
"description": "No Content" | |
} | |
} | |
}, | |
"put": { | |
"tags": [ | |
"ConfigurationStatuses" | |
], | |
"summary": "Put ConfigurationStatus", | |
"operationId": "putCompanyConfigurationsStatusesById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "statusId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "configurationStatus", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/ConfigurationStatus" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "ConfigurationStatus", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/ConfigurationStatus" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"patch": { | |
"tags": [ | |
"ConfigurationStatuses" | |
], | |
"summary": "Patch ConfigurationStatus", | |
"operationId": "patchCompanyConfigurationsStatusesById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "statusId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "List of PatchOperation", | |
"content": { | |
"application/json": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/PatchOperation" | |
} | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "ConfigurationStatus", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/ConfigurationStatus" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/configurations/statuses/{id}/usages": { | |
"get": { | |
"tags": [ | |
"ConfigurationStatuses" | |
], | |
"summary": "Get List of Usage Count", | |
"operationId": "getCompanyConfigurationsStatusesByIdUsages", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "statusId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "List of Usage", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Usage" | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/configurations/statuses/{id}/usages/list": { | |
"get": { | |
"tags": [ | |
"ConfigurationStatuses" | |
], | |
"summary": "Get List of Usage", | |
"operationId": "getCompanyConfigurationsStatusesByIdUsagesList", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "statusId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "List of Usage", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Usage" | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/configurations/statuses/count": { | |
"get": { | |
"tags": [ | |
"ConfigurationStatuses" | |
], | |
"summary": "Get Count of ConfigurationStatus", | |
"operationId": "getCompanyConfigurationsStatusesCount", | |
"parameters": [ | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Count", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/Count" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/configurations/types": { | |
"get": { | |
"tags": [ | |
"ConfigurationTypes" | |
], | |
"summary": "Get List of ConfigurationType", | |
"operationId": "getCompanyConfigurationsTypes", | |
"parameters": [ | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "List of ConfigurationType", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/ConfigurationType" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"post": { | |
"tags": [ | |
"ConfigurationTypes" | |
], | |
"summary": "Post ConfigurationType", | |
"operationId": "postCompanyConfigurationsTypes", | |
"parameters": [ | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "configurationType", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/ConfigurationType" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"201": { | |
"description": "ConfigurationType", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/ConfigurationType" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/configurations/types/{grandparentId}/questions/{parentId}/values": { | |
"get": { | |
"tags": [ | |
"ConfigurationTypeQuestionValues" | |
], | |
"summary": "Get List of ConfigurationTypeQuestionValue", | |
"operationId": "getCompanyConfigurationsTypesByGrandparentIdQuestionsByParentIdValues", | |
"parameters": [ | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "questionId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "grandparentId", | |
"in": "path", | |
"description": "typeId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "List of ConfigurationTypeQuestionValue", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/ConfigurationTypeQuestionValue" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"post": { | |
"tags": [ | |
"ConfigurationTypeQuestionValues" | |
], | |
"summary": "Post ConfigurationTypeQuestionValue", | |
"operationId": "postCompanyConfigurationsTypesByGrandparentIdQuestionsByParentIdValues", | |
"parameters": [ | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "questionId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "grandparentId", | |
"in": "path", | |
"description": "typeId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "configurationTypeQuestionValue", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/ConfigurationTypeQuestionValue" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"201": { | |
"description": "ConfigurationTypeQuestionValue", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/ConfigurationTypeQuestionValue" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/configurations/types/{grandparentId}/questions/{parentId}/values/{id}": { | |
"get": { | |
"tags": [ | |
"ConfigurationTypeQuestionValues" | |
], | |
"summary": "Get ConfigurationTypeQuestionValue", | |
"operationId": "getCompanyConfigurationsTypesByGrandparentIdQuestionsByParentIdValuesById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "valueId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "questionId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "grandparentId", | |
"in": "path", | |
"description": "typeId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "ConfigurationTypeQuestionValue", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/ConfigurationTypeQuestionValue" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"delete": { | |
"tags": [ | |
"ConfigurationTypeQuestionValues" | |
], | |
"summary": "Delete ConfigurationTypeQuestionValue", | |
"operationId": "deleteCompanyConfigurationsTypesByGrandparentIdQuestionsByParentIdValuesById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "valueId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "questionId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "grandparentId", | |
"in": "path", | |
"description": "typeId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"204": { | |
"description": "No Content" | |
} | |
} | |
}, | |
"put": { | |
"tags": [ | |
"ConfigurationTypeQuestionValues" | |
], | |
"summary": "Put ConfigurationTypeQuestionValue", | |
"operationId": "putCompanyConfigurationsTypesByGrandparentIdQuestionsByParentIdValuesById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "valueId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "questionId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "grandparentId", | |
"in": "path", | |
"description": "typeId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "configurationTypeQuestionValue", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/ConfigurationTypeQuestionValue" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "ConfigurationTypeQuestionValue", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/ConfigurationTypeQuestionValue" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"patch": { | |
"tags": [ | |
"ConfigurationTypeQuestionValues" | |
], | |
"summary": "Patch ConfigurationTypeQuestionValue", | |
"operationId": "patchCompanyConfigurationsTypesByGrandparentIdQuestionsByParentIdValuesById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "valueId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "questionId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "grandparentId", | |
"in": "path", | |
"description": "typeId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "List of PatchOperation", | |
"content": { | |
"application/json": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/PatchOperation" | |
} | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "ConfigurationTypeQuestionValue", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/ConfigurationTypeQuestionValue" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/configurations/types/{grandparentId}/questions/{parentId}/values/{id}/usages": { | |
"get": { | |
"tags": [ | |
"ConfigurationTypeQuestionValues" | |
], | |
"summary": "Get List of Usage", | |
"operationId": "getCompanyConfigurationsTypesByGrandparentIdQuestionsByParentIdValuesByIdUsages", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "valueId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "questionId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "grandparentId", | |
"in": "path", | |
"description": "typeId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "List of Usage", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Usage" | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/configurations/types/{grandparentId}/questions/{parentId}/values/{id}/usages/list": { | |
"get": { | |
"tags": [ | |
"ConfigurationTypeQuestionValues" | |
], | |
"summary": "Get List of Usage", | |
"operationId": "getCompanyConfigurationsTypesByGrandparentIdQuestionsByParentIdValuesByIdUsagesList", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "valueId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "questionId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "grandparentId", | |
"in": "path", | |
"description": "typeId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "List of Usage", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Usage" | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/configurations/types/{grandparentId}/questions/{parentId}/values/count": { | |
"get": { | |
"tags": [ | |
"ConfigurationTypeQuestionValues" | |
], | |
"summary": "Get Count of ConfigurationTypeQuestionValue", | |
"operationId": "getCompanyConfigurationsTypesByGrandparentIdQuestionsByParentIdValuesCount", | |
"parameters": [ | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "questionId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "grandparentId", | |
"in": "path", | |
"description": "typeId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Count", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/Count" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/configurations/types/{id}": { | |
"get": { | |
"tags": [ | |
"ConfigurationTypes" | |
], | |
"summary": "Get ConfigurationType", | |
"operationId": "getCompanyConfigurationsTypesById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "typeId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "ConfigurationType", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/ConfigurationType" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"delete": { | |
"tags": [ | |
"ConfigurationTypes" | |
], | |
"summary": "Delete ConfigurationType", | |
"operationId": "deleteCompanyConfigurationsTypesById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "typeId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"204": { | |
"description": "No Content" | |
} | |
} | |
}, | |
"put": { | |
"tags": [ | |
"ConfigurationTypes" | |
], | |
"summary": "Put ConfigurationType", | |
"operationId": "putCompanyConfigurationsTypesById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "typeId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "configurationType", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/ConfigurationType" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "ConfigurationType", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/ConfigurationType" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"patch": { | |
"tags": [ | |
"ConfigurationTypes" | |
], | |
"summary": "Patch ConfigurationType", | |
"operationId": "patchCompanyConfigurationsTypesById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "typeId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "List of PatchOperation", | |
"content": { | |
"application/json": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/PatchOperation" | |
} | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "ConfigurationType", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/ConfigurationType" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/configurations/types/{id}/usages": { | |
"get": { | |
"tags": [ | |
"ConfigurationTypes" | |
], | |
"summary": "Get List of Usage Count", | |
"operationId": "getCompanyConfigurationsTypesByIdUsages", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "typeId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "List of Usage", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Usage" | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/configurations/types/{id}/usages/list": { | |
"get": { | |
"tags": [ | |
"ConfigurationTypes" | |
], | |
"summary": "Get List of Usage", | |
"operationId": "getCompanyConfigurationsTypesByIdUsagesList", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "typeId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "List of Usage", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Usage" | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/configurations/types/{parentId}/questions": { | |
"get": { | |
"tags": [ | |
"ConfigurationTypeQuestions" | |
], | |
"summary": "Get List of ConfigurationTypeQuestion", | |
"operationId": "getCompanyConfigurationsTypesByParentIdQuestions", | |
"parameters": [ | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "typeId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "List of ConfigurationTypeQuestion", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/ConfigurationTypeQuestion" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"post": { | |
"tags": [ | |
"ConfigurationTypeQuestions" | |
], | |
"summary": "Post ConfigurationTypeQuestion", | |
"operationId": "postCompanyConfigurationsTypesByParentIdQuestions", | |
"parameters": [ | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "typeId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "configurationTypeQuestion", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/ConfigurationTypeQuestion" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"201": { | |
"description": "ConfigurationTypeQuestion", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/ConfigurationTypeQuestion" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/configurations/types/{parentId}/questions/{id}": { | |
"get": { | |
"tags": [ | |
"ConfigurationTypeQuestions" | |
], | |
"summary": "Get ConfigurationTypeQuestion", | |
"operationId": "getCompanyConfigurationsTypesByParentIdQuestionsById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "questionId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "typeId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "ConfigurationTypeQuestion", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/ConfigurationTypeQuestion" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"delete": { | |
"tags": [ | |
"ConfigurationTypeQuestions" | |
], | |
"summary": "Delete ConfigurationTypeQuestion", | |
"operationId": "deleteCompanyConfigurationsTypesByParentIdQuestionsById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "questionId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "typeId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"204": { | |
"description": "No Content" | |
} | |
} | |
}, | |
"put": { | |
"tags": [ | |
"ConfigurationTypeQuestions" | |
], | |
"summary": "Put ConfigurationTypeQuestion", | |
"operationId": "putCompanyConfigurationsTypesByParentIdQuestionsById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "questionId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "typeId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "configurationTypeQuestion", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/ConfigurationTypeQuestion" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "ConfigurationTypeQuestion", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/ConfigurationTypeQuestion" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"patch": { | |
"tags": [ | |
"ConfigurationTypeQuestions" | |
], | |
"summary": "Patch ConfigurationTypeQuestion", | |
"operationId": "patchCompanyConfigurationsTypesByParentIdQuestionsById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "questionId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "typeId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "List of PatchOperation", | |
"content": { | |
"application/json": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/PatchOperation" | |
} | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "ConfigurationTypeQuestion", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/ConfigurationTypeQuestion" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/configurations/types/{parentId}/questions/count": { | |
"get": { | |
"tags": [ | |
"ConfigurationTypeQuestions" | |
], | |
"summary": "Get Count of ConfigurationTypeQuestion", | |
"operationId": "getCompanyConfigurationsTypesByParentIdQuestionsCount", | |
"parameters": [ | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "typeId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Count", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/Count" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/configurations/types/count": { | |
"get": { | |
"tags": [ | |
"ConfigurationTypes" | |
], | |
"summary": "Get Count of ConfigurationType", | |
"operationId": "getCompanyConfigurationsTypesCount", | |
"parameters": [ | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Count", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/Count" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/contacts": { | |
"get": { | |
"tags": [ | |
"Contacts" | |
], | |
"summary": "Get List of ApiContact", | |
"operationId": "getCompanyContacts", | |
"parameters": [ | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "List of ApiContact", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Contact" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"post": { | |
"tags": [ | |
"Contacts" | |
], | |
"summary": "Post ApiContact", | |
"operationId": "postCompanyContacts", | |
"parameters": [ | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "contact", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/Contact" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"201": { | |
"description": "ApiContact", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/Contact" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/contacts/{id}": { | |
"get": { | |
"tags": [ | |
"Contacts" | |
], | |
"summary": "Get ApiContact", | |
"operationId": "getCompanyContactsById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "contactId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "ApiContact", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/Contact" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"delete": { | |
"tags": [ | |
"Contacts" | |
], | |
"summary": "Delete ApiContact", | |
"operationId": "deleteCompanyContactsById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "contactId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "transferContactId", | |
"in": "path", | |
"description": "transferContactId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"204": { | |
"description": "No Content" | |
} | |
} | |
}, | |
"put": { | |
"tags": [ | |
"Contacts" | |
], | |
"summary": "Put ApiContact", | |
"operationId": "putCompanyContactsById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "contactId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "contact", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/Contact" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "ApiContact", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/Contact" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"patch": { | |
"tags": [ | |
"Contacts" | |
], | |
"summary": "Patch ApiContact", | |
"operationId": "patchCompanyContactsById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "contactId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "List of PatchOperation", | |
"content": { | |
"application/json": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/PatchOperation" | |
} | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "ApiContact", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/Contact" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/contacts/{id}/image": { | |
"get": { | |
"tags": [ | |
"Contacts" | |
], | |
"summary": "Get ValidatePortalResponse", | |
"operationId": "getCompanyContactsByIdImage", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "contactId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "useDefaultFlag", | |
"in": "path", | |
"description": "useDefaultFlag", | |
"required": true, | |
"schema": { | |
"type": "boolean" | |
} | |
}, | |
{ | |
"name": "lastModified", | |
"in": "path", | |
"description": "lastModified", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "ContentType = application/octet-stream" | |
} | |
} | |
} | |
}, | |
"/company/contacts/{id}/portalSecurity": { | |
"get": { | |
"tags": [ | |
"Contacts" | |
], | |
"summary": "Get List of PortalSecurity", | |
"operationId": "getCompanyContactsByIdPortalSecurity", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "contactId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "List of PortalSecurity", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/PortalSecurity" | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/contacts/{id}/usages": { | |
"get": { | |
"tags": [ | |
"Contacts" | |
], | |
"summary": "Get List of Usage Count", | |
"operationId": "getCompanyContactsByIdUsages", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "contactId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "List of Usage", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Usage" | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/contacts/{id}/usages/list": { | |
"get": { | |
"tags": [ | |
"Contacts" | |
], | |
"summary": "Get List of Usage", | |
"operationId": "getCompanyContactsByIdUsagesList", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "contactId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "List of Usage", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Usage" | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/contacts/{parentId}/communications": { | |
"get": { | |
"tags": [ | |
"ContactCommunications" | |
], | |
"summary": "Get List of ContactCommunication", | |
"operationId": "getCompanyContactsByParentIdCommunications", | |
"parameters": [ | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "contactId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "List of ContactCommunication", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/ContactCommunication" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"post": { | |
"tags": [ | |
"ContactCommunications" | |
], | |
"summary": "Post ContactCommunication", | |
"operationId": "postCompanyContactsByParentIdCommunications", | |
"parameters": [ | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "contactId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "contactCommunication", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/ContactCommunication" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"201": { | |
"description": "ContactCommunication", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/ContactCommunication" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/contacts/{parentId}/communications/{id}": { | |
"get": { | |
"tags": [ | |
"ContactCommunications" | |
], | |
"summary": "Get ContactCommunication", | |
"operationId": "getCompanyContactsByParentIdCommunicationsById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "communicationId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "contactId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "ContactCommunication", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/ContactCommunication" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"delete": { | |
"tags": [ | |
"ContactCommunications" | |
], | |
"summary": "Delete ContactCommunication", | |
"operationId": "deleteCompanyContactsByParentIdCommunicationsById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "communicationId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "contactId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"204": { | |
"description": "No Content" | |
} | |
} | |
}, | |
"put": { | |
"tags": [ | |
"ContactCommunications" | |
], | |
"summary": "Put ContactCommunication", | |
"operationId": "putCompanyContactsByParentIdCommunicationsById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "communicationId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "contactId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "contactCommunication", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/ContactCommunication" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "ContactCommunication", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/ContactCommunication" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"patch": { | |
"tags": [ | |
"ContactCommunications" | |
], | |
"summary": "Patch ContactCommunication", | |
"operationId": "patchCompanyContactsByParentIdCommunicationsById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "communicationId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "contactId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "List of PatchOperation", | |
"content": { | |
"application/json": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/PatchOperation" | |
} | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "ContactCommunication", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/ContactCommunication" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/contacts/{parentId}/communications/count": { | |
"get": { | |
"tags": [ | |
"ContactCommunications" | |
], | |
"summary": "Get Count of ContactCommunication", | |
"operationId": "getCompanyContactsByParentIdCommunicationsCount", | |
"parameters": [ | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "contactId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Count", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/Count" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/contacts/{parentId}/groups": { | |
"get": { | |
"tags": [ | |
"ContactGroups" | |
], | |
"summary": "Get List of ContactGroup", | |
"operationId": "getCompanyContactsByParentIdGroups", | |
"parameters": [ | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "contactId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "List of ContactGroup", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/ContactGroup" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"post": { | |
"tags": [ | |
"ContactGroups" | |
], | |
"summary": "Post ContactGroup", | |
"operationId": "postCompanyContactsByParentIdGroups", | |
"parameters": [ | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "contactId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "contactGroup", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/ContactGroup" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"201": { | |
"description": "ContactGroup", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/ContactGroup" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/contacts/{parentId}/groups/{id}": { | |
"get": { | |
"tags": [ | |
"ContactGroups" | |
], | |
"summary": "Get ContactGroup", | |
"operationId": "getCompanyContactsByParentIdGroupsById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "groupId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "contactId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "ContactGroup", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/ContactGroup" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"delete": { | |
"tags": [ | |
"ContactGroups" | |
], | |
"summary": "Delete ContactGroup", | |
"operationId": "deleteCompanyContactsByParentIdGroupsById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "groupId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "contactId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"204": { | |
"description": "No Content" | |
} | |
} | |
}, | |
"put": { | |
"tags": [ | |
"ContactGroups" | |
], | |
"summary": "Put ContactGroup", | |
"operationId": "putCompanyContactsByParentIdGroupsById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "groupId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "contactId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "contactGroup", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/ContactGroup" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "ContactGroup", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/ContactGroup" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"patch": { | |
"tags": [ | |
"ContactGroups" | |
], | |
"summary": "Patch ContactGroup", | |
"operationId": "patchCompanyContactsByParentIdGroupsById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "groupId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "contactId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "List of PatchOperation", | |
"content": { | |
"application/json": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/PatchOperation" | |
} | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "ContactGroup", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/ContactGroup" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/contacts/{parentId}/groups/count": { | |
"get": { | |
"tags": [ | |
"ContactGroups" | |
], | |
"summary": "Get Count of ContactGroup", | |
"operationId": "getCompanyContactsByParentIdGroupsCount", | |
"parameters": [ | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "contactId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Count", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/Count" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/contacts/{parentId}/notes": { | |
"get": { | |
"tags": [ | |
"ContactNotes" | |
], | |
"summary": "Get List of ContactNote", | |
"operationId": "getCompanyContactsByParentIdNotes", | |
"parameters": [ | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "contactId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "List of ContactNote", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/ContactNote" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"post": { | |
"tags": [ | |
"ContactNotes" | |
], | |
"summary": "Post ContactNote", | |
"operationId": "postCompanyContactsByParentIdNotes", | |
"parameters": [ | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "contactId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "contactNote", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/ContactNote" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"201": { | |
"description": "ContactNote", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/ContactNote" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/contacts/{parentId}/notes/{id}": { | |
"get": { | |
"tags": [ | |
"ContactNotes" | |
], | |
"summary": "Get ContactNote", | |
"operationId": "getCompanyContactsByParentIdNotesById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "noteId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "contactId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "ContactNote", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/ContactNote" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"delete": { | |
"tags": [ | |
"ContactNotes" | |
], | |
"summary": "Delete ContactNote", | |
"operationId": "deleteCompanyContactsByParentIdNotesById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "noteId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "contactId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"204": { | |
"description": "No Content" | |
} | |
} | |
}, | |
"put": { | |
"tags": [ | |
"ContactNotes" | |
], | |
"summary": "Put ContactNote", | |
"operationId": "putCompanyContactsByParentIdNotesById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "noteId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "contactId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "contactNote", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/ContactNote" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "ContactNote", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/ContactNote" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"patch": { | |
"tags": [ | |
"ContactNotes" | |
], | |
"summary": "Patch ContactNote", | |
"operationId": "patchCompanyContactsByParentIdNotesById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "noteId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "contactId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "List of PatchOperation", | |
"content": { | |
"application/json": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/PatchOperation" | |
} | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "ContactNote", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/ContactNote" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/contacts/{parentId}/notes/count": { | |
"get": { | |
"tags": [ | |
"ContactNotes" | |
], | |
"summary": "Get Count of ContactNote", | |
"operationId": "getCompanyContactsByParentIdNotesCount", | |
"parameters": [ | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "contactId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Count", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/Count" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/contacts/{parentId}/tracks": { | |
"get": { | |
"tags": [ | |
"ContactTracks" | |
], | |
"summary": "Get List of ContactTrack", | |
"operationId": "getCompanyContactsByParentIdTracks", | |
"parameters": [ | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "contactId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "List of ContactTrack", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/ContactTrack" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"post": { | |
"tags": [ | |
"ContactTracks" | |
], | |
"summary": "Post ContactTrack", | |
"operationId": "postCompanyContactsByParentIdTracks", | |
"parameters": [ | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "contactId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "track", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/ContactTrack" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"201": { | |
"description": "ContactTrack", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/ContactTrack" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/contacts/{parentId}/tracks/{id}": { | |
"get": { | |
"tags": [ | |
"ContactTracks" | |
], | |
"summary": "Get ContactTrack", | |
"operationId": "getCompanyContactsByParentIdTracksById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "trackId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "contactId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "ContactTrack", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/ContactTrack" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"delete": { | |
"tags": [ | |
"ContactTracks" | |
], | |
"summary": "Delete ContactTrack", | |
"operationId": "deleteCompanyContactsByParentIdTracksById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "trackId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "contactId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"204": { | |
"description": "No Content" | |
} | |
} | |
} | |
}, | |
"/company/contacts/{parentId}/tracks/count": { | |
"get": { | |
"tags": [ | |
"ContactTracks" | |
], | |
"summary": "Get Count of ContactTrack", | |
"operationId": "getCompanyContactsByParentIdTracksCount", | |
"parameters": [ | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "contactId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Count", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/Count" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/contacts/{parentId}/typeAssociations": { | |
"get": { | |
"tags": [ | |
"ContactContactTypeAssociations" | |
], | |
"summary": "Get List of ContactTypeAssociation", | |
"operationId": "getCompanyContactsByParentIdTypeAssociations", | |
"parameters": [ | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "contactId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "List of ContactTypeAssociation", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/ContactContactTypeAssociation.ContactTypeAssociation" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"post": { | |
"tags": [ | |
"ContactContactTypeAssociations" | |
], | |
"summary": "Post ContactTypeAssociation", | |
"operationId": "postCompanyContactsByParentIdTypeAssociations", | |
"parameters": [ | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "contactId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "contactTypeAssociation", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/ContactContactTypeAssociation.ContactTypeAssociation" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"201": { | |
"description": "ContactTypeAssociation", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/ContactContactTypeAssociation.ContactTypeAssociation" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/contacts/{parentId}/typeAssociations/{id}": { | |
"get": { | |
"tags": [ | |
"ContactContactTypeAssociations" | |
], | |
"summary": "Get ContactTypeAssociation", | |
"operationId": "getCompanyContactsByParentIdTypeAssociationsById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "typeAssociationId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "contactId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "ContactTypeAssociation", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/ContactContactTypeAssociation.ContactTypeAssociation" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"delete": { | |
"tags": [ | |
"ContactContactTypeAssociations" | |
], | |
"summary": "Delete ContactTypeAssociation", | |
"operationId": "deleteCompanyContactsByParentIdTypeAssociationsById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "typeAssociationId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "contactId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"204": { | |
"description": "No Content" | |
} | |
} | |
}, | |
"put": { | |
"tags": [ | |
"ContactContactTypeAssociations" | |
], | |
"summary": "Put ContactTypeAssociation", | |
"operationId": "putCompanyContactsByParentIdTypeAssociationsById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "typeAssociationId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "contactId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "contactTypeAssociation", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/ContactContactTypeAssociation.ContactTypeAssociation" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "ContactTypeAssociation", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/ContactContactTypeAssociation.ContactTypeAssociation" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"patch": { | |
"tags": [ | |
"ContactContactTypeAssociations" | |
], | |
"summary": "Patch ContactTypeAssociation", | |
"operationId": "patchCompanyContactsByParentIdTypeAssociationsById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "typeAssociationId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "contactId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "List of PatchOperation", | |
"content": { | |
"application/json": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/PatchOperation" | |
} | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "ContactTypeAssociation", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/ContactContactTypeAssociation.ContactTypeAssociation" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/contacts/{parentId}/typeAssociations/count": { | |
"get": { | |
"tags": [ | |
"ContactContactTypeAssociations" | |
], | |
"summary": "Get Count of ContactTypeAssociation", | |
"operationId": "getCompanyContactsByParentIdTypeAssociationsCount", | |
"parameters": [ | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "contactId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Count", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/Count" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/contacts/count": { | |
"get": { | |
"tags": [ | |
"Contacts" | |
], | |
"summary": "Get Count of Usage", | |
"operationId": "getCompanyContactsCount", | |
"parameters": [ | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Count", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/Count" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/contacts/default": { | |
"get": { | |
"tags": [ | |
"Contacts" | |
], | |
"summary": "Get ApiContact", | |
"operationId": "getCompanyContactsDefault", | |
"parameters": [ | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "companyId", | |
"in": "path", | |
"description": "companyId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "ApiContact", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/Contact" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/contacts/departments": { | |
"get": { | |
"tags": [ | |
"ContactDepartments" | |
], | |
"summary": "Get List of ContactDepartment", | |
"operationId": "getCompanyContactsDepartments", | |
"parameters": [ | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "List of ContactDepartment", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/ContactDepartment" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"post": { | |
"tags": [ | |
"ContactDepartments" | |
], | |
"summary": "Post ContactDepartment", | |
"operationId": "postCompanyContactsDepartments", | |
"parameters": [ | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "contactDepartment", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/ContactDepartment" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"201": { | |
"description": "ContactDepartment", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/ContactDepartment" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/contacts/departments/{id}": { | |
"get": { | |
"tags": [ | |
"ContactDepartments" | |
], | |
"summary": "Get ContactDepartment", | |
"operationId": "getCompanyContactsDepartmentsById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "departmentId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "ContactDepartment", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/ContactDepartment" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"delete": { | |
"tags": [ | |
"ContactDepartments" | |
], | |
"summary": "Delete Usage", | |
"operationId": "deleteCompanyContactsDepartmentsById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "departmentId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"204": { | |
"description": "No Content" | |
} | |
} | |
}, | |
"put": { | |
"tags": [ | |
"ContactDepartments" | |
], | |
"summary": "Put ContactDepartment", | |
"operationId": "putCompanyContactsDepartmentsById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "departmentId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "contactDepartment", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/ContactDepartment" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "ContactDepartment", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/ContactDepartment" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"patch": { | |
"tags": [ | |
"ContactDepartments" | |
], | |
"summary": "Patch ContactDepartment", | |
"operationId": "patchCompanyContactsDepartmentsById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "departmentId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "List of PatchOperation", | |
"content": { | |
"application/json": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/PatchOperation" | |
} | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "ContactDepartment", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/ContactDepartment" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/contacts/departments/{id}/usages": { | |
"get": { | |
"tags": [ | |
"ContactDepartments" | |
], | |
"summary": "Get List of Usage Count", | |
"operationId": "getCompanyContactsDepartmentsByIdUsages", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "departmentId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "List of Usage", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Usage" | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/contacts/departments/{id}/usages/list": { | |
"get": { | |
"tags": [ | |
"ContactDepartments" | |
], | |
"summary": "Get List of Usage", | |
"operationId": "getCompanyContactsDepartmentsByIdUsagesList", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "departmentId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "List of Usage", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Usage" | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/contacts/departments/count": { | |
"get": { | |
"tags": [ | |
"ContactDepartments" | |
], | |
"summary": "Get Count of ContactDepartment", | |
"operationId": "getCompanyContactsDepartmentsCount", | |
"parameters": [ | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Count", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/Count" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/contacts/relationships": { | |
"get": { | |
"tags": [ | |
"ContactRelationships" | |
], | |
"summary": "Get List of ContactRelationship", | |
"operationId": "getCompanyContactsRelationships", | |
"parameters": [ | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "List of ContactRelationship", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/ContactRelationship" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"post": { | |
"tags": [ | |
"ContactRelationships" | |
], | |
"summary": "Post ContactRelationship", | |
"operationId": "postCompanyContactsRelationships", | |
"parameters": [ | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "contactRelationship", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/ContactRelationship" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"201": { | |
"description": "ContactRelationship", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/ContactRelationship" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/contacts/relationships/{id}": { | |
"get": { | |
"tags": [ | |
"ContactRelationships" | |
], | |
"summary": "Get ContactRelationship", | |
"operationId": "getCompanyContactsRelationshipsById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "relationshipId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "ContactRelationship", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/ContactRelationship" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"delete": { | |
"tags": [ | |
"ContactRelationships" | |
], | |
"summary": "Delete ContactRelationship", | |
"operationId": "deleteCompanyContactsRelationshipsById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "relationshipId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"204": { | |
"description": "No Content" | |
} | |
} | |
}, | |
"put": { | |
"tags": [ | |
"ContactRelationships" | |
], | |
"summary": "Put ContactRelationship", | |
"operationId": "putCompanyContactsRelationshipsById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "relationshipId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "contactRelationship", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/ContactRelationship" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "ContactRelationship", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/ContactRelationship" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"patch": { | |
"tags": [ | |
"ContactRelationships" | |
], | |
"summary": "Patch ContactRelationship", | |
"operationId": "patchCompanyContactsRelationshipsById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "relationshipId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "List of PatchOperation", | |
"content": { | |
"application/json": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/PatchOperation" | |
} | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "ContactRelationship", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/ContactRelationship" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/contacts/relationships/count": { | |
"get": { | |
"tags": [ | |
"ContactRelationships" | |
], | |
"summary": "Get Count of ContactRelationship", | |
"operationId": "getCompanyContactsRelationshipsCount", | |
"parameters": [ | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Count", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/Count" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/contacts/requestPassword": { | |
"post": { | |
"tags": [ | |
"Contacts" | |
], | |
"summary": "Post PortalSecurity", | |
"operationId": "postCompanyContactsRequestPassword", | |
"parameters": [ | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "request", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/RequestPasswordRequest" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"204": { | |
"description": "Email sent to email address in request" | |
} | |
} | |
} | |
}, | |
"/company/contacts/types": { | |
"get": { | |
"tags": [ | |
"ContactTypes" | |
], | |
"summary": "Get List of ContactType", | |
"operationId": "getCompanyContactsTypes", | |
"parameters": [ | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "List of ContactType", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/ContactType" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"post": { | |
"tags": [ | |
"ContactTypes" | |
], | |
"summary": "Post ContactType", | |
"operationId": "postCompanyContactsTypes", | |
"parameters": [ | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "contactType", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/ContactType" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"201": { | |
"description": "ContactType", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/ContactType" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/contacts/types/{id}": { | |
"get": { | |
"tags": [ | |
"ContactTypes" | |
], | |
"summary": "Get ContactType", | |
"operationId": "getCompanyContactsTypesById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "typeId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "ContactType", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/ContactType" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"delete": { | |
"tags": [ | |
"ContactTypes" | |
], | |
"summary": "Delete ContactType", | |
"operationId": "deleteCompanyContactsTypesById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "typeId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"204": { | |
"description": "No Content" | |
} | |
} | |
}, | |
"put": { | |
"tags": [ | |
"ContactTypes" | |
], | |
"summary": "Put ContactType", | |
"operationId": "putCompanyContactsTypesById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "typeId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "contactType", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/ContactType" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "ContactType", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/ContactType" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"patch": { | |
"tags": [ | |
"ContactTypes" | |
], | |
"summary": "Patch ContactType", | |
"operationId": "patchCompanyContactsTypesById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "typeId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "List of PatchOperation", | |
"content": { | |
"application/json": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/PatchOperation" | |
} | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "ContactType", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/ContactType" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/contacts/types/count": { | |
"get": { | |
"tags": [ | |
"ContactTypes" | |
], | |
"summary": "Get Count of ContactType", | |
"operationId": "getCompanyContactsTypesCount", | |
"parameters": [ | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Count", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/Count" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/contacts/validatePortalCredentials": { | |
"post": { | |
"tags": [ | |
"Contacts" | |
], | |
"summary": "Post ValidatePortalResponse", | |
"operationId": "postCompanyContactsValidatePortalCredentials", | |
"parameters": [ | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "request", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/ValidatePortalRequest" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "ValidatePortalResponse", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/ValidatePortalResponse" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/contactTypeAssociations": { | |
"get": { | |
"tags": [ | |
"ContactTypeAssociations" | |
], | |
"summary": "Get List of ContactTypeAssociation", | |
"operationId": "getCompanyContactTypeAssociations", | |
"parameters": [ | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "List of ContactTypeAssociation", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Company.ContactTypeAssociation" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"post": { | |
"tags": [ | |
"ContactTypeAssociations" | |
], | |
"summary": "Post ContactTypeAssociation", | |
"operationId": "postCompanyContactTypeAssociations", | |
"parameters": [ | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "contactTypeAssociation", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/Company.ContactTypeAssociation" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"201": { | |
"description": "ContactTypeAssociation", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/Company.ContactTypeAssociation" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/contactTypeAssociations/{id}": { | |
"get": { | |
"tags": [ | |
"ContactTypeAssociations" | |
], | |
"summary": "Get ContactTypeAssociation", | |
"operationId": "getCompanyContactTypeAssociationsById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "contactTypeAssociationId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "ContactTypeAssociation", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/Company.ContactTypeAssociation" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"delete": { | |
"tags": [ | |
"ContactTypeAssociations" | |
], | |
"summary": "Delete ContactTypeAssociation", | |
"operationId": "deleteCompanyContactTypeAssociationsById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "contactTypeAssociationId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"204": { | |
"description": "No Content" | |
} | |
} | |
}, | |
"put": { | |
"tags": [ | |
"ContactTypeAssociations" | |
], | |
"summary": "Put ContactTypeAssociation", | |
"operationId": "putCompanyContactTypeAssociationsById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "contactTypeAssociationId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "contactTypeAssociation", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/Company.ContactTypeAssociation" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "ContactTypeAssociation", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/Company.ContactTypeAssociation" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"patch": { | |
"tags": [ | |
"ContactTypeAssociations" | |
], | |
"summary": "Patch ContactTypeAssociation", | |
"operationId": "patchCompanyContactTypeAssociationsById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "contactTypeAssociationId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "List of PatchOperation", | |
"content": { | |
"application/json": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/PatchOperation" | |
} | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "ContactTypeAssociation", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/Company.ContactTypeAssociation" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/contactTypeAssociations/count": { | |
"get": { | |
"tags": [ | |
"ContactTypeAssociations" | |
], | |
"summary": "Get Count of ContactTypeAssociation", | |
"operationId": "getCompanyContactTypeAssociationsCount", | |
"parameters": [ | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Count", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/Count" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/countries": { | |
"get": { | |
"tags": [ | |
"Countries" | |
], | |
"summary": "Get List of", | |
"operationId": "getCompanyCountries", | |
"parameters": [ | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "List of Country", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Country" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"post": { | |
"tags": [ | |
"Countries" | |
], | |
"summary": "Post Count of", | |
"operationId": "postCompanyCountries", | |
"parameters": [ | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "country", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/Country" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"201": { | |
"description": "Country", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/Country" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/countries/{id}": { | |
"get": { | |
"tags": [ | |
"Countries" | |
], | |
"summary": "Get Count of", | |
"operationId": "getCompanyCountriesById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "countryId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Country", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/Country" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"delete": { | |
"tags": [ | |
"Countries" | |
], | |
"summary": "Delete", | |
"operationId": "deleteCompanyCountriesById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "countryId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"204": { | |
"description": "No Content" | |
} | |
} | |
}, | |
"put": { | |
"tags": [ | |
"Countries" | |
], | |
"summary": "Put Count of", | |
"operationId": "putCompanyCountriesById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "countryId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "country", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/Country" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "Country", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/Country" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"patch": { | |
"tags": [ | |
"Countries" | |
], | |
"summary": "Patch Count of", | |
"operationId": "patchCompanyCountriesById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "countryId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "List of PatchOperation", | |
"content": { | |
"application/json": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/PatchOperation" | |
} | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "Country", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/Country" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/countries/count": { | |
"get": { | |
"tags": [ | |
"Countries" | |
], | |
"summary": "Get Count of", | |
"operationId": "getCompanyCountriesCount", | |
"parameters": [ | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Count", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/Count" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/entityTypes": { | |
"get": { | |
"tags": [ | |
"EntityTypes" | |
], | |
"summary": "Get List of EntityType", | |
"operationId": "getCompanyEntityTypes", | |
"parameters": [ | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "List of EntityType", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/EntityType" | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/entityTypes/{id}": { | |
"get": { | |
"tags": [ | |
"EntityTypes" | |
], | |
"summary": "Get EntityType", | |
"operationId": "getCompanyEntityTypesById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "entityTypeId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "EntityType", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/EntityType" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/entityTypes/count": { | |
"get": { | |
"tags": [ | |
"EntityTypes" | |
], | |
"summary": "Get Count of EntityType", | |
"operationId": "getCompanyEntityTypesCount", | |
"parameters": [ | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Count", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/Count" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/managedDevicesIntegrations": { | |
"get": { | |
"tags": [ | |
"ManagedDevicesIntegrations" | |
], | |
"summary": "Get List of ManagedDevicesIntegration", | |
"operationId": "getCompanyManagedDevicesIntegrations", | |
"parameters": [ | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "List of ManagedDevicesIntegration", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/ManagedDevicesIntegration" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"post": { | |
"tags": [ | |
"ManagedDevicesIntegrations" | |
], | |
"summary": "Post ManagedDevicesIntegration", | |
"operationId": "postCompanyManagedDevicesIntegrations", | |
"parameters": [ | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "managedDevicesIntegration", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/ManagedDevicesIntegration" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"201": { | |
"description": "ManagedDevicesIntegration", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/ManagedDevicesIntegration" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/managedDevicesIntegrations/{id}": { | |
"get": { | |
"tags": [ | |
"ManagedDevicesIntegrations" | |
], | |
"summary": "Get ManagedDevicesIntegration", | |
"operationId": "getCompanyManagedDevicesIntegrationsById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "managedDevicesIntegrationId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "ManagedDevicesIntegration", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/ManagedDevicesIntegration" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"delete": { | |
"tags": [ | |
"ManagedDevicesIntegrations" | |
], | |
"summary": "Delete ManagedDevicesIntegration", | |
"operationId": "deleteCompanyManagedDevicesIntegrationsById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "managedDevicesIntegrationId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"204": { | |
"description": "No Content" | |
} | |
} | |
}, | |
"put": { | |
"tags": [ | |
"ManagedDevicesIntegrations" | |
], | |
"summary": "Put ManagedDevicesIntegration", | |
"operationId": "putCompanyManagedDevicesIntegrationsById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "managedDevicesIntegrationId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "managedDevicesIntegration", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/ManagedDevicesIntegration" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "ManagedDevicesIntegration", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/ManagedDevicesIntegration" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"patch": { | |
"tags": [ | |
"ManagedDevicesIntegrations" | |
], | |
"summary": "Patch ManagedDevicesIntegration", | |
"operationId": "patchCompanyManagedDevicesIntegrationsById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "managedDevicesIntegrationId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "List of PatchOperation", | |
"content": { | |
"application/json": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/PatchOperation" | |
} | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "ManagedDevicesIntegration", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/ManagedDevicesIntegration" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/managedDevicesIntegrations/{id}/usages": { | |
"get": { | |
"tags": [ | |
"ManagedDevicesIntegrations" | |
], | |
"summary": "Get List of Usage Count", | |
"operationId": "getCompanyManagedDevicesIntegrationsByIdUsages", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "managedDevicesIntegrationId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "List of Usage", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Usage" | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/managedDevicesIntegrations/{id}/usages/list": { | |
"get": { | |
"tags": [ | |
"ManagedDevicesIntegrations" | |
], | |
"summary": "Get List of Usage", | |
"operationId": "getCompanyManagedDevicesIntegrationsByIdUsagesList", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "managedDevicesIntegrationId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "List of Usage", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Usage" | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/managedDevicesIntegrations/{parentId}/crossReferences": { | |
"get": { | |
"tags": [ | |
"ManagedDevicesIntegrationCrossReferences" | |
], | |
"summary": "Get List of ManagedDevicesIntegrationCrossReference", | |
"operationId": "getCompanyManagedDevicesIntegrationsByParentIdCrossReferences", | |
"parameters": [ | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "managedDevicesIntegrationId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "List of ManagedDevicesIntegrationCrossReference", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/ManagedDevicesIntegrationCrossReference" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"post": { | |
"tags": [ | |
"ManagedDevicesIntegrationCrossReferences" | |
], | |
"summary": "Post ManagedDevicesIntegrationCrossReference", | |
"operationId": "postCompanyManagedDevicesIntegrationsByParentIdCrossReferences", | |
"parameters": [ | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "managedDevicesIntegrationId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "crossReference", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/ManagedDevicesIntegrationCrossReference" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "ManagedDevicesIntegrationCrossReference", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/ManagedDevicesIntegrationCrossReference" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/managedDevicesIntegrations/{parentId}/crossReferences/{id}": { | |
"get": { | |
"tags": [ | |
"ManagedDevicesIntegrationCrossReferences" | |
], | |
"summary": "Get ManagedDevicesIntegrationCrossReference", | |
"operationId": "getCompanyManagedDevicesIntegrationsByParentIdCrossReferencesById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "crossReferenceId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "managedDevicesIntegrationId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "ManagedDevicesIntegrationCrossReference", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/ManagedDevicesIntegrationCrossReference" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"put": { | |
"tags": [ | |
"ManagedDevicesIntegrationCrossReferences" | |
], | |
"summary": "Put ManagedDevicesIntegrationCrossReference", | |
"operationId": "putCompanyManagedDevicesIntegrationsByParentIdCrossReferencesById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "crossReferenceId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "managedDevicesIntegrationId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "crossReference", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/ManagedDevicesIntegrationCrossReference" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "ManagedDevicesIntegrationCrossReference", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/ManagedDevicesIntegrationCrossReference" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"patch": { | |
"tags": [ | |
"ManagedDevicesIntegrationCrossReferences" | |
], | |
"summary": "Patch ManagedDevicesIntegrationCrossReference", | |
"operationId": "patchCompanyManagedDevicesIntegrationsByParentIdCrossReferencesById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "crossReferenceId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "managedDevicesIntegrationId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "List of PatchOperation", | |
"content": { | |
"application/json": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/PatchOperation" | |
} | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "ManagedDevicesIntegrationCrossReference", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/ManagedDevicesIntegrationCrossReference" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"delete": { | |
"tags": [ | |
"ManagedDevicesIntegrationCrossReferences" | |
], | |
"summary": "Delete ManagedDevicesIntegrationCrossReference", | |
"operationId": "deleteCompanyManagedDevicesIntegrationsByParentIdCrossReferencesById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "crossReferenceId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "managedDevicesIntegrationId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "ManagedDevicesIntegrationCrossReference", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/ManagedDevicesIntegrationCrossReference" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/managedDevicesIntegrations/{parentId}/crossReferences/count": { | |
"get": { | |
"tags": [ | |
"ManagedDevicesIntegrationCrossReferences" | |
], | |
"summary": "Get Count of ManagedDevicesIntegrationCrossReference", | |
"operationId": "getCompanyManagedDevicesIntegrationsByParentIdCrossReferencesCount", | |
"parameters": [ | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "managedDevicesIntegrationId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Count", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/Count" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/managedDevicesIntegrations/{parentId}/logins": { | |
"get": { | |
"tags": [ | |
"ManagedDevicesIntegrationLogins" | |
], | |
"summary": "Get List of ManagedDevicesIntegrationLogin", | |
"operationId": "getCompanyManagedDevicesIntegrationsByParentIdLogins", | |
"parameters": [ | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "managedDevicesIntegrationId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "List of ManagedDevicesIntegrationLogin", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/ManagedDevicesIntegrationLogin" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"post": { | |
"tags": [ | |
"ManagedDevicesIntegrationLogins" | |
], | |
"summary": "Post ManagedDevicesIntegrationLogin", | |
"operationId": "postCompanyManagedDevicesIntegrationsByParentIdLogins", | |
"parameters": [ | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "managedDevicesIntegrationId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "login", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/ManagedDevicesIntegrationLogin" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "ManagedDevicesIntegrationLogin", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/ManagedDevicesIntegrationLogin" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/managedDevicesIntegrations/{parentId}/logins/{id}": { | |
"get": { | |
"tags": [ | |
"ManagedDevicesIntegrationLogins" | |
], | |
"summary": "Get ManagedDevicesIntegrationLogin", | |
"operationId": "getCompanyManagedDevicesIntegrationsByParentIdLoginsById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "loginId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "managedDevicesIntegrationId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "ManagedDevicesIntegrationLogin", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/ManagedDevicesIntegrationLogin" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"put": { | |
"tags": [ | |
"ManagedDevicesIntegrationLogins" | |
], | |
"summary": "Put ManagedDevicesIntegrationLogin", | |
"operationId": "putCompanyManagedDevicesIntegrationsByParentIdLoginsById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "loginId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "managedDevicesIntegrationId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "login", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/ManagedDevicesIntegrationLogin" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "ManagedDevicesIntegrationLogin", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/ManagedDevicesIntegrationLogin" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"patch": { | |
"tags": [ | |
"ManagedDevicesIntegrationLogins" | |
], | |
"summary": "Patch ManagedDevicesIntegrationLogin", | |
"operationId": "patchCompanyManagedDevicesIntegrationsByParentIdLoginsById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "loginId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "managedDevicesIntegrationId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "List of PatchOperation", | |
"content": { | |
"application/json": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/PatchOperation" | |
} | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "ManagedDevicesIntegrationLogin", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/ManagedDevicesIntegrationLogin" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"delete": { | |
"tags": [ | |
"ManagedDevicesIntegrationLogins" | |
], | |
"summary": "Delete ManagedDevicesIntegrationLogin", | |
"operationId": "deleteCompanyManagedDevicesIntegrationsByParentIdLoginsById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "loginId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "managedDevicesIntegrationId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "ManagedDevicesIntegrationLogin", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/ManagedDevicesIntegrationLogin" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/managedDevicesIntegrations/{parentId}/logins/count": { | |
"get": { | |
"tags": [ | |
"ManagedDevicesIntegrationLogins" | |
], | |
"summary": "Get Count of ManagedDevicesIntegrationLogin", | |
"operationId": "getCompanyManagedDevicesIntegrationsByParentIdLoginsCount", | |
"parameters": [ | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "managedDevicesIntegrationId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Count", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/Count" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/managedDevicesIntegrations/{parentId}/notifications": { | |
"get": { | |
"tags": [ | |
"ManagedDevicesIntegrationNotifications" | |
], | |
"summary": "Get List of ManagedDevicesIntegrationNotification", | |
"operationId": "getCompanyManagedDevicesIntegrationsByParentIdNotifications", | |
"parameters": [ | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "managedDevicesIntegrationId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "List of ManagedDevicesIntegrationNotification", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/ManagedDevicesIntegrationNotification" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"post": { | |
"tags": [ | |
"ManagedDevicesIntegrationNotifications" | |
], | |
"summary": "Post ManagedDevicesIntegrationNotification", | |
"operationId": "postCompanyManagedDevicesIntegrationsByParentIdNotifications", | |
"parameters": [ | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "managedDevicesIntegrationId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "notification", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/ManagedDevicesIntegrationNotification" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "ManagedDevicesIntegrationNotification", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/ManagedDevicesIntegrationNotification" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/managedDevicesIntegrations/{parentId}/notifications/{id}": { | |
"get": { | |
"tags": [ | |
"ManagedDevicesIntegrationNotifications" | |
], | |
"summary": "Get ManagedDevicesIntegrationNotification", | |
"operationId": "getCompanyManagedDevicesIntegrationsByParentIdNotificationsById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "notificationId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "managedDevicesIntegrationId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "ManagedDevicesIntegrationNotification", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/ManagedDevicesIntegrationNotification" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"put": { | |
"tags": [ | |
"ManagedDevicesIntegrationNotifications" | |
], | |
"summary": "Put ManagedDevicesIntegrationNotification", | |
"operationId": "putCompanyManagedDevicesIntegrationsByParentIdNotificationsById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "notificationId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "managedDevicesIntegrationId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "notification", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/ManagedDevicesIntegrationNotification" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "ManagedDevicesIntegrationNotification", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/ManagedDevicesIntegrationNotification" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"patch": { | |
"tags": [ | |
"ManagedDevicesIntegrationNotifications" | |
], | |
"summary": "Patch ManagedDevicesIntegrationNotification", | |
"operationId": "patchCompanyManagedDevicesIntegrationsByParentIdNotificationsById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "notificationId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "managedDevicesIntegrationId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "List of PatchOperation", | |
"content": { | |
"application/json": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/PatchOperation" | |
} | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "ManagedDevicesIntegrationNotification", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/ManagedDevicesIntegrationNotification" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"delete": { | |
"tags": [ | |
"ManagedDevicesIntegrationNotifications" | |
], | |
"summary": "Delete ManagedDevicesIntegrationNotification", | |
"operationId": "deleteCompanyManagedDevicesIntegrationsByParentIdNotificationsById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "notificationId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "managedDevicesIntegrationId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "ManagedDevicesIntegrationNotification", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/ManagedDevicesIntegrationNotification" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/managedDevicesIntegrations/{parentId}/notifications/count": { | |
"get": { | |
"tags": [ | |
"ManagedDevicesIntegrationNotifications" | |
], | |
"summary": "Get Count of ManagedDevicesIntegrationNotification", | |
"operationId": "getCompanyManagedDevicesIntegrationsByParentIdNotificationsCount", | |
"parameters": [ | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "managedDevicesIntegrationId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Count", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/Count" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/managedDevicesIntegrations/count": { | |
"get": { | |
"tags": [ | |
"ManagedDevicesIntegrations" | |
], | |
"summary": "Get Count of Usage", | |
"operationId": "getCompanyManagedDevicesIntegrationsCount", | |
"parameters": [ | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Count", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/Count" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/management": { | |
"get": { | |
"tags": [ | |
"Managements" | |
], | |
"summary": "Get List of Management", | |
"operationId": "getCompanyManagement", | |
"parameters": [ | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "List of Management", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Management" | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/management/{id}": { | |
"get": { | |
"tags": [ | |
"Managements" | |
], | |
"summary": "Get Management", | |
"operationId": "getCompanyManagementById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "managementId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Management", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/Management" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"put": { | |
"tags": [ | |
"Managements" | |
], | |
"summary": "Put Management", | |
"operationId": "putCompanyManagementById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "managementId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "management", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/Management" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "Management", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/Management" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"patch": { | |
"tags": [ | |
"Managements" | |
], | |
"summary": "Patch Management", | |
"operationId": "patchCompanyManagementById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "managementId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "List of PatchOperation", | |
"content": { | |
"application/json": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/PatchOperation" | |
} | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "Management", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/Management" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/management/{id}/executeManagedItSync": { | |
"post": { | |
"tags": [ | |
"ManagementExecuteManagedItSyncs" | |
], | |
"summary": "Post SuccessResponse", | |
"operationId": "postCompanyManagementByIdExecuteManagedItSync", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "managementId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "SuccessResponse", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/SuccessResponse" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/management/{id}/log/download": { | |
"get": { | |
"tags": [ | |
"ManagementLogs" | |
], | |
"summary": "Get ManagementLogDocumentInfo", | |
"operationId": "getCompanyManagementByIdLogDownload", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "managementId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "filePath", | |
"in": "path", | |
"description": "filePath", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "ContentType = application/octet-stream" | |
} | |
} | |
} | |
}, | |
"/company/management/{id}/logs": { | |
"get": { | |
"tags": [ | |
"ManagementLogs" | |
], | |
"summary": "Get List of ManagementLogDocumentInfo", | |
"operationId": "getCompanyManagementByIdLogs", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "managementId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "List of ManagementLogDocumentInfo", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/ManagementLogDocumentInfo" | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/management/{parentId}/managementReportNotifications": { | |
"get": { | |
"tags": [ | |
"ManagementReportNotifications" | |
], | |
"summary": "Get List of ManagementReportNotification", | |
"operationId": "getCompanyManagementByParentIdManagementReportNotifications", | |
"parameters": [ | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "managementId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "List of ManagementReportNotification", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/ManagementReportNotification" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"post": { | |
"tags": [ | |
"ManagementReportNotifications" | |
], | |
"summary": "Post ManagementReportNotification", | |
"operationId": "postCompanyManagementByParentIdManagementReportNotifications", | |
"parameters": [ | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "managementId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "managementReportNotification", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/ManagementReportNotification" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"201": { | |
"description": "ManagementReportNotification", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/ManagementReportNotification" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/management/{parentId}/managementReportNotifications/{id}": { | |
"get": { | |
"tags": [ | |
"ManagementReportNotifications" | |
], | |
"summary": "Get ManagementReportNotification", | |
"operationId": "getCompanyManagementByParentIdManagementReportNotificationsById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "managementReportNotificationId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "managementId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "ManagementReportNotification", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/ManagementReportNotification" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"delete": { | |
"tags": [ | |
"ManagementReportNotifications" | |
], | |
"summary": "Delete ManagementReportNotification", | |
"operationId": "deleteCompanyManagementByParentIdManagementReportNotificationsById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "managementReportNotificationId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "managementId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"204": { | |
"description": "No Content" | |
} | |
} | |
}, | |
"put": { | |
"tags": [ | |
"ManagementReportNotifications" | |
], | |
"summary": "Put ManagementReportNotification", | |
"operationId": "putCompanyManagementByParentIdManagementReportNotificationsById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "managementReportNotificationId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "managementId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "managementReportNotification", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/ManagementReportNotification" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "ManagementReportNotification", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/ManagementReportNotification" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"patch": { | |
"tags": [ | |
"ManagementReportNotifications" | |
], | |
"summary": "Patch ManagementReportNotification", | |
"operationId": "patchCompanyManagementByParentIdManagementReportNotificationsById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "managementReportNotificationId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "managementId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "List of PatchOperation", | |
"content": { | |
"application/json": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/PatchOperation" | |
} | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "ManagementReportNotification", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/ManagementReportNotification" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/management/{parentId}/managementReportNotifications/count": { | |
"get": { | |
"tags": [ | |
"ManagementReportNotifications" | |
], | |
"summary": "Get Count of ManagementReportNotification", | |
"operationId": "getCompanyManagementByParentIdManagementReportNotificationsCount", | |
"parameters": [ | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "managementId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Count", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/Count" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/management/count": { | |
"get": { | |
"tags": [ | |
"Managements" | |
], | |
"summary": "Get Count of Management", | |
"operationId": "getCompanyManagementCount", | |
"parameters": [ | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Count", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/Count" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/managementBackups": { | |
"get": { | |
"tags": [ | |
"ManagementBackup" | |
], | |
"summary": "Get List of ManagementBackup", | |
"operationId": "getCompanyManagementBackups", | |
"parameters": [ | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "List of ManagementBackup", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/ManagementBackup" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"post": { | |
"tags": [ | |
"ManagementBackup" | |
], | |
"summary": "Post ManagementBackup", | |
"operationId": "postCompanyManagementBackups", | |
"parameters": [ | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "managementBackup", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/ManagementBackup" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"201": { | |
"description": "ManagementBackup", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/ManagementBackup" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/managementBackups/{id}": { | |
"get": { | |
"tags": [ | |
"ManagementBackup" | |
], | |
"summary": "Get ManagementBackup", | |
"operationId": "getCompanyManagementBackupsById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "managementBackupId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "ManagementBackup", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/ManagementBackup" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"delete": { | |
"tags": [ | |
"ManagementBackup" | |
], | |
"summary": "Delete ManagementBackup", | |
"operationId": "deleteCompanyManagementBackupsById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "managementBackupId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"204": { | |
"description": "No Content" | |
} | |
} | |
}, | |
"put": { | |
"tags": [ | |
"ManagementBackup" | |
], | |
"summary": "Put ManagementBackup", | |
"operationId": "putCompanyManagementBackupsById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "managementBackupId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "managementBackup", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/ManagementBackup" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "ManagementBackup", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/ManagementBackup" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"patch": { | |
"tags": [ | |
"ManagementBackup" | |
], | |
"summary": "Patch ManagementBackup", | |
"operationId": "patchCompanyManagementBackupsById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "managementBackupId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "List of PatchOperation", | |
"content": { | |
"application/json": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/PatchOperation" | |
} | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "ManagementBackup", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/ManagementBackup" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/managementBackups/count": { | |
"get": { | |
"tags": [ | |
"ManagementBackup" | |
], | |
"summary": "Get Count of ManagementBackup", | |
"operationId": "getCompanyManagementBackupsCount", | |
"parameters": [ | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Count", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/Count" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/managementItSolutions": { | |
"get": { | |
"tags": [ | |
"ManagementItSolutions" | |
], | |
"summary": "Get List of ManagementItSolution", | |
"operationId": "getCompanyManagementItSolutions", | |
"parameters": [ | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "List of ManagementItSolution", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/ManagementItSolution" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"post": { | |
"tags": [ | |
"ManagementItSolutions" | |
], | |
"summary": "Post ManagementItSolution", | |
"operationId": "postCompanyManagementItSolutions", | |
"parameters": [ | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "managementItSolution", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/ManagementItSolution" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"201": { | |
"description": "ManagementItSolution", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/ManagementItSolution" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/managementItSolutions/{id}": { | |
"get": { | |
"tags": [ | |
"ManagementItSolutions" | |
], | |
"summary": "Get ManagementItSolution", | |
"operationId": "getCompanyManagementItSolutionsById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "managementItSolutionId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "ManagementItSolution", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/ManagementItSolution" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"delete": { | |
"tags": [ | |
"ManagementItSolutions" | |
], | |
"summary": "Delete ManagementItSolution", | |
"operationId": "deleteCompanyManagementItSolutionsById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "managementItSolutionId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"204": { | |
"description": "No Content" | |
} | |
} | |
}, | |
"put": { | |
"tags": [ | |
"ManagementItSolutions" | |
], | |
"summary": "Put ManagementItSolution", | |
"operationId": "putCompanyManagementItSolutionsById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "managementItSolutionId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "managementItSolution", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/ManagementItSolution" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "ManagementItSolution", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/ManagementItSolution" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"patch": { | |
"tags": [ | |
"ManagementItSolutions" | |
], | |
"summary": "Patch ManagementItSolution", | |
"operationId": "patchCompanyManagementItSolutionsById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "managementItSolutionId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "List of PatchOperation", | |
"content": { | |
"application/json": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/PatchOperation" | |
} | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "ManagementItSolution", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/ManagementItSolution" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/managementItSolutions/{id}/usages": { | |
"get": { | |
"tags": [ | |
"ManagementItSolutions" | |
], | |
"summary": "Get List of Usage Count", | |
"operationId": "getCompanyManagementItSolutionsByIdUsages", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "managementItSolutionId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "List of Usage", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Usage" | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/managementItSolutions/{id}/usages/list": { | |
"get": { | |
"tags": [ | |
"ManagementItSolutions" | |
], | |
"summary": "Get List of Usage", | |
"operationId": "getCompanyManagementItSolutionsByIdUsagesList", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "managementItSolutionId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "List of Usage", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Usage" | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/managementItSolutions/{parentId}/managementProducts": { | |
"get": { | |
"tags": [ | |
"ManagementItSolutionAgreementInterfaceParameters" | |
], | |
"summary": "Get List of ManagementItSolutionAgreementInterfaceParameter", | |
"operationId": "getCompanyManagementItSolutionsByParentIdManagementProducts", | |
"parameters": [ | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "managementItSolutionId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "List of ManagementItSolutionAgreementInterfaceParameter", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/ManagementItSolutionAgreementInterfaceParameter" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"post": { | |
"tags": [ | |
"ManagementItSolutionAgreementInterfaceParameters" | |
], | |
"summary": "Post ManagementItSolutionAgreementInterfaceParameter", | |
"operationId": "postCompanyManagementItSolutionsByParentIdManagementProducts", | |
"parameters": [ | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "managementItSolutionId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "managementProduct", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/ManagementItSolutionAgreementInterfaceParameter" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "ManagementItSolutionAgreementInterfaceParameter", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/ManagementItSolutionAgreementInterfaceParameter" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/managementItSolutions/{parentId}/managementProducts/{id}": { | |
"get": { | |
"tags": [ | |
"ManagementItSolutionAgreementInterfaceParameters" | |
], | |
"summary": "Get ManagementItSolutionAgreementInterfaceParameter", | |
"operationId": "getCompanyManagementItSolutionsByParentIdManagementProductsById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "managementProductId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "managementItSolutionId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "ManagementItSolutionAgreementInterfaceParameter", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/ManagementItSolutionAgreementInterfaceParameter" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"put": { | |
"tags": [ | |
"ManagementItSolutionAgreementInterfaceParameters" | |
], | |
"summary": "Put ManagementItSolutionAgreementInterfaceParameter", | |
"operationId": "putCompanyManagementItSolutionsByParentIdManagementProductsById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "managementProductId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "managementItSolutionId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "managementProduct", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/ManagementItSolutionAgreementInterfaceParameter" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "ManagementItSolutionAgreementInterfaceParameter", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/ManagementItSolutionAgreementInterfaceParameter" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"patch": { | |
"tags": [ | |
"ManagementItSolutionAgreementInterfaceParameters" | |
], | |
"summary": "Patch ManagementItSolutionAgreementInterfaceParameter", | |
"operationId": "patchCompanyManagementItSolutionsByParentIdManagementProductsById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "managementProductId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "managementItSolutionId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "List of PatchOperation", | |
"content": { | |
"application/json": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/PatchOperation" | |
} | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "ManagementItSolutionAgreementInterfaceParameter", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/ManagementItSolutionAgreementInterfaceParameter" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"delete": { | |
"tags": [ | |
"ManagementItSolutionAgreementInterfaceParameters" | |
], | |
"summary": "Delete ManagementItSolutionAgreementInterfaceParameter", | |
"operationId": "deleteCompanyManagementItSolutionsByParentIdManagementProductsById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "managementProductId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "managementItSolutionId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "ManagementItSolutionAgreementInterfaceParameter", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/ManagementItSolutionAgreementInterfaceParameter" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/managementItSolutions/{parentId}/managementProducts/count": { | |
"get": { | |
"tags": [ | |
"ManagementItSolutionAgreementInterfaceParameters" | |
], | |
"summary": "Get Count of ManagementItSolutionAgreementInterfaceParameter", | |
"operationId": "getCompanyManagementItSolutionsByParentIdManagementProductsCount", | |
"parameters": [ | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "managementItSolutionId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Count", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/Count" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/managementItSolutions/count": { | |
"get": { | |
"tags": [ | |
"ManagementItSolutions" | |
], | |
"summary": "Get Count of ManagementItSolution", | |
"operationId": "getCompanyManagementItSolutionsCount", | |
"parameters": [ | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Count", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/Count" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/marketDescriptions": { | |
"get": { | |
"tags": [ | |
"CompanyMarketDescription" | |
], | |
"summary": "Get List of MarketDescription", | |
"operationId": "getCompanyMarketDescriptions", | |
"parameters": [ | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "List of MarketDescription", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/MarketDescription" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"post": { | |
"tags": [ | |
"CompanyMarketDescription" | |
], | |
"summary": "Post MarketDescription", | |
"operationId": "postCompanyMarketDescriptions", | |
"parameters": [ | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "marketDescription", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/MarketDescription" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"201": { | |
"description": "MarketDescription", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/MarketDescription" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/marketDescriptions/{id}": { | |
"get": { | |
"tags": [ | |
"CompanyMarketDescription" | |
], | |
"summary": "Get MarketDescription", | |
"operationId": "getCompanyMarketDescriptionsById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "marketDescriptionId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "MarketDescription", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/MarketDescription" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"delete": { | |
"tags": [ | |
"CompanyMarketDescription" | |
], | |
"summary": "Delete MarketDescription", | |
"operationId": "deleteCompanyMarketDescriptionsById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "marketDescriptionId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"204": { | |
"description": "No Content" | |
} | |
} | |
}, | |
"put": { | |
"tags": [ | |
"CompanyMarketDescription" | |
], | |
"summary": "Put MarketDescription", | |
"operationId": "putCompanyMarketDescriptionsById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "marketDescriptionId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "marketDescription", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/MarketDescription" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "MarketDescription", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/MarketDescription" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"patch": { | |
"tags": [ | |
"CompanyMarketDescription" | |
], | |
"summary": "Patch MarketDescription", | |
"operationId": "patchCompanyMarketDescriptionsById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "marketDescriptionId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "List of PatchOperation", | |
"content": { | |
"application/json": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/PatchOperation" | |
} | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "MarketDescription", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/MarketDescription" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/marketDescriptions/{id}/usages": { | |
"get": { | |
"tags": [ | |
"CompanyMarketDescription" | |
], | |
"summary": "Get List of Usage Count", | |
"operationId": "getCompanyMarketDescriptionsByIdUsages", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "marketDescriptionId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "List of Usage", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Usage" | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/marketDescriptions/{id}/usages/list": { | |
"get": { | |
"tags": [ | |
"CompanyMarketDescription" | |
], | |
"summary": "Get List of Usage", | |
"operationId": "getCompanyMarketDescriptionsByIdUsagesList", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "marketDescriptionId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "List of Usage", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Usage" | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/marketDescriptions/count": { | |
"get": { | |
"tags": [ | |
"CompanyMarketDescription" | |
], | |
"summary": "Get Count of MarketDescription", | |
"operationId": "getCompanyMarketDescriptionsCount", | |
"parameters": [ | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Count", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/Count" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/noteTypes": { | |
"get": { | |
"tags": [ | |
"CompanyNoteTypes" | |
], | |
"summary": "Get List of CompanyNoteType", | |
"operationId": "getCompanyNoteTypes", | |
"parameters": [ | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "List of CompanyNoteType", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/CompanyNoteType" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"post": { | |
"tags": [ | |
"CompanyNoteTypes" | |
], | |
"summary": "Post CompanyNoteType", | |
"operationId": "postCompanyNoteTypes", | |
"parameters": [ | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "noteType", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/CompanyNoteType" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"201": { | |
"description": "CompanyNoteType", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/CompanyNoteType" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/noteTypes/{id}": { | |
"get": { | |
"tags": [ | |
"CompanyNoteTypes" | |
], | |
"summary": "Get CompanyNoteType", | |
"operationId": "getCompanyNoteTypesById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "noteTypeId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "CompanyNoteType", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/CompanyNoteType" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"delete": { | |
"tags": [ | |
"CompanyNoteTypes" | |
], | |
"summary": "Delete CompanyNoteType", | |
"operationId": "deleteCompanyNoteTypesById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "noteTypeId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"204": { | |
"description": "No Content" | |
} | |
} | |
}, | |
"put": { | |
"tags": [ | |
"CompanyNoteTypes" | |
], | |
"summary": "Put CompanyNoteType", | |
"operationId": "putCompanyNoteTypesById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "noteTypeId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "noteType", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/CompanyNoteType" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "CompanyNoteType", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/CompanyNoteType" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"patch": { | |
"tags": [ | |
"CompanyNoteTypes" | |
], | |
"summary": "Patch CompanyNoteType", | |
"operationId": "patchCompanyNoteTypesById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "noteTypeId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "List of PatchOperation", | |
"content": { | |
"application/json": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/PatchOperation" | |
} | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "CompanyNoteType", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/CompanyNoteType" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/noteTypes/count": { | |
"get": { | |
"tags": [ | |
"CompanyNoteTypes" | |
], | |
"summary": "Get Count of CompanyNoteType", | |
"operationId": "getCompanyNoteTypesCount", | |
"parameters": [ | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Count", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/Count" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/ownershipTypes": { | |
"get": { | |
"tags": [ | |
"CompanyOwnershipType" | |
], | |
"summary": "Get List of OwnershipType", | |
"operationId": "getCompanyOwnershipTypes", | |
"parameters": [ | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "List of OwnershipType", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/OwnershipType" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"post": { | |
"tags": [ | |
"CompanyOwnershipType" | |
], | |
"summary": "Post OwnershipType", | |
"operationId": "postCompanyOwnershipTypes", | |
"parameters": [ | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "ownershipType", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/OwnershipType" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"201": { | |
"description": "OwnershipType", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/OwnershipType" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/ownershipTypes/{id}": { | |
"get": { | |
"tags": [ | |
"CompanyOwnershipType" | |
], | |
"summary": "Get OwnershipType", | |
"operationId": "getCompanyOwnershipTypesById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "ownershipTypeId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "OwnershipType", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/OwnershipType" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"delete": { | |
"tags": [ | |
"CompanyOwnershipType" | |
], | |
"summary": "Delete OwnershipType", | |
"operationId": "deleteCompanyOwnershipTypesById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "ownershipTypeId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"204": { | |
"description": "No Content" | |
} | |
} | |
}, | |
"put": { | |
"tags": [ | |
"CompanyOwnershipType" | |
], | |
"summary": "Put OwnershipType", | |
"operationId": "putCompanyOwnershipTypesById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "ownershipTypeId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "ownershipType", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/OwnershipType" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "OwnershipType", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/OwnershipType" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"patch": { | |
"tags": [ | |
"CompanyOwnershipType" | |
], | |
"summary": "Patch OwnershipType", | |
"operationId": "patchCompanyOwnershipTypesById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "ownershipTypeId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "List of PatchOperation", | |
"content": { | |
"application/json": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/PatchOperation" | |
} | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "OwnershipType", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/OwnershipType" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/ownershipTypes/count": { | |
"get": { | |
"tags": [ | |
"CompanyOwnershipType" | |
], | |
"summary": "Get Count of OwnershipType", | |
"operationId": "getCompanyOwnershipTypesCount", | |
"parameters": [ | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Count", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/Count" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/portalConfigurations": { | |
"get": { | |
"tags": [ | |
"PortalConfigurations" | |
], | |
"summary": "Get List of PortalConfiguration", | |
"operationId": "getCompanyPortalConfigurations", | |
"parameters": [ | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "List of PortalConfiguration", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/PortalConfiguration" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"post": { | |
"tags": [ | |
"PortalConfigurations" | |
], | |
"summary": "Post PortalConfiguration", | |
"operationId": "postCompanyPortalConfigurations", | |
"parameters": [ | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "portalConfiguration", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/PortalConfiguration" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"201": { | |
"description": "PortalConfiguration", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/PortalConfiguration" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/portalConfigurations/{id}": { | |
"get": { | |
"tags": [ | |
"PortalConfigurations" | |
], | |
"summary": "Get PortalConfiguration", | |
"operationId": "getCompanyPortalConfigurationsById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "portalConfigurationId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "PortalConfiguration", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/PortalConfiguration" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"delete": { | |
"tags": [ | |
"PortalConfigurations" | |
], | |
"summary": "Delete PortalConfiguration", | |
"operationId": "deleteCompanyPortalConfigurationsById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "portalConfigurationId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"204": { | |
"description": "No Content" | |
} | |
} | |
}, | |
"put": { | |
"tags": [ | |
"PortalConfigurations" | |
], | |
"summary": "Put PortalConfiguration", | |
"operationId": "putCompanyPortalConfigurationsById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "portalConfigurationId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "portalConfiguration", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/PortalConfiguration" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "PortalConfiguration", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/PortalConfiguration" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"patch": { | |
"tags": [ | |
"PortalConfigurations" | |
], | |
"summary": "Patch PortalConfiguration", | |
"operationId": "patchCompanyPortalConfigurationsById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "portalConfigurationId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "List of PatchOperation", | |
"content": { | |
"application/json": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/PatchOperation" | |
} | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "PortalConfiguration", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/PortalConfiguration" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/portalConfigurations/{parentId}/invoiceSetups": { | |
"get": { | |
"tags": [ | |
"PortalConfigurationsInvoiceSetups" | |
], | |
"summary": "Get List of PortalConfigurationInvoiceSetup", | |
"operationId": "getCompanyPortalConfigurationsByParentIdInvoiceSetups", | |
"parameters": [ | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "portalConfigurationId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "List of PortalConfigurationInvoiceSetup", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/PortalConfigurationInvoiceSetup" | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/portalConfigurations/{parentId}/invoiceSetups/{id}": { | |
"get": { | |
"tags": [ | |
"PortalConfigurationsInvoiceSetups" | |
], | |
"summary": "Get PortalConfigurationInvoiceSetup", | |
"operationId": "getCompanyPortalConfigurationsByParentIdInvoiceSetupsById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "invoiceSetupId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "portalConfigurationId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "PortalConfigurationInvoiceSetup", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/PortalConfigurationInvoiceSetup" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"put": { | |
"tags": [ | |
"PortalConfigurationsInvoiceSetups" | |
], | |
"summary": "Put PortalConfigurationInvoiceSetup", | |
"operationId": "putCompanyPortalConfigurationsByParentIdInvoiceSetupsById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "invoiceSetupId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "portalConfigurationId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "portalConfigurationInvoiceSetup", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/PortalConfigurationInvoiceSetup" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "PortalConfigurationInvoiceSetup", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/PortalConfigurationInvoiceSetup" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"patch": { | |
"tags": [ | |
"PortalConfigurationsInvoiceSetups" | |
], | |
"summary": "Patch PortalConfigurationInvoiceSetup", | |
"operationId": "patchCompanyPortalConfigurationsByParentIdInvoiceSetupsById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "invoiceSetupId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "portalConfigurationId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "List of PatchOperation", | |
"content": { | |
"application/json": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/PatchOperation" | |
} | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "PortalConfigurationInvoiceSetup", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/PortalConfigurationInvoiceSetup" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/portalConfigurations/{parentId}/invoiceSetups/{id}/testTransaction": { | |
"post": { | |
"tags": [ | |
"PortalConfigurationsInvoiceSetups" | |
], | |
"summary": "Post SuccessResponse", | |
"operationId": "postCompanyPortalConfigurationsByParentIdInvoiceSetupsByIdTestTransaction", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "invoiceSetupId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "portalConfigurationId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "portalConfigurationInvoiceSetup", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/PortalConfigurationInvoiceSetup" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "SuccessResponse", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/SuccessResponse" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/portalConfigurations/{parentId}/invoiceSetups/count": { | |
"get": { | |
"tags": [ | |
"PortalConfigurationsInvoiceSetups" | |
], | |
"summary": "Get Count of PortalConfigurationInvoiceSetup", | |
"operationId": "getCompanyPortalConfigurationsByParentIdInvoiceSetupsCount", | |
"parameters": [ | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "portalConfigurationId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Count", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/Count" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/portalConfigurations/{parentId}/opportunitySetups": { | |
"get": { | |
"tags": [ | |
"PortalConfigurationOpportunitySetups" | |
], | |
"summary": "Get List of PortalConfigurationOpportunitySetup", | |
"operationId": "getCompanyPortalConfigurationsByParentIdOpportunitySetups", | |
"parameters": [ | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "portalConfigurationId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "List of PortalConfigurationOpportunitySetup", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/PortalConfigurationOpportunitySetup" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"put": { | |
"tags": [ | |
"PortalConfigurationOpportunitySetups" | |
], | |
"summary": "Put PortalConfigurationOpportunitySetup", | |
"operationId": "putCompanyPortalConfigurationsByParentIdOpportunitySetups", | |
"parameters": [ | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "portalConfigurationId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "opportunitySetup", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/PortalConfigurationOpportunitySetup" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "PortalConfigurationOpportunitySetup", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/PortalConfigurationOpportunitySetup" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"patch": { | |
"tags": [ | |
"PortalConfigurationOpportunitySetups" | |
], | |
"summary": "Patch PortalConfigurationOpportunitySetup", | |
"operationId": "patchCompanyPortalConfigurationsByParentIdOpportunitySetups", | |
"parameters": [ | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "portalConfigurationId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "List of PatchOperation", | |
"content": { | |
"application/json": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/PatchOperation" | |
} | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "PortalConfigurationOpportunitySetup", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/PortalConfigurationOpportunitySetup" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/portalConfigurations/{parentId}/opportunitySetups/{id}": { | |
"get": { | |
"tags": [ | |
"PortalConfigurationOpportunitySetups" | |
], | |
"summary": "Get PortalConfigurationOpportunitySetup", | |
"operationId": "getCompanyPortalConfigurationsByParentIdOpportunitySetupsById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "opportunitySetupId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "portalConfigurationId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "PortalConfigurationOpportunitySetup", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/PortalConfigurationOpportunitySetup" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"put": { | |
"tags": [ | |
"PortalConfigurationOpportunitySetups" | |
], | |
"summary": "Put PortalConfigurationOpportunitySetup", | |
"operationId": "putCompanyPortalConfigurationsByParentIdOpportunitySetupsById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "opportunitySetupId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "portalConfigurationId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "opportunitySetup", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/PortalConfigurationOpportunitySetup" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "PortalConfigurationOpportunitySetup", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/PortalConfigurationOpportunitySetup" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"patch": { | |
"tags": [ | |
"PortalConfigurationOpportunitySetups" | |
], | |
"summary": "Patch PortalConfigurationOpportunitySetup", | |
"operationId": "patchCompanyPortalConfigurationsByParentIdOpportunitySetupsById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "opportunitySetupId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "portalConfigurationId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "List of PatchOperation", | |
"content": { | |
"application/json": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/PatchOperation" | |
} | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "PortalConfigurationOpportunitySetup", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/PortalConfigurationOpportunitySetup" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/portalConfigurations/{parentId}/passwordEmailSetups": { | |
"get": { | |
"tags": [ | |
"PortalConfigurationPasswordEmailSetups" | |
], | |
"summary": "Get List of PortalConfigurationPasswordEmailSetup", | |
"operationId": "getCompanyPortalConfigurationsByParentIdPasswordEmailSetups", | |
"parameters": [ | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "portalConfigurationId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "List of PortalConfigurationPasswordEmailSetup", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/PortalConfigurationPasswordEmailSetup" | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/portalConfigurations/{parentId}/passwordEmailSetups/{id}": { | |
"get": { | |
"tags": [ | |
"PortalConfigurationPasswordEmailSetups" | |
], | |
"summary": "Get PortalConfigurationPasswordEmailSetup", | |
"operationId": "getCompanyPortalConfigurationsByParentIdPasswordEmailSetupsById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "passwordEmailSetupId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "portalConfigurationId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "PortalConfigurationPasswordEmailSetup", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/PortalConfigurationPasswordEmailSetup" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"put": { | |
"tags": [ | |
"PortalConfigurationPasswordEmailSetups" | |
], | |
"summary": "Put PortalConfigurationPasswordEmailSetup", | |
"operationId": "putCompanyPortalConfigurationsByParentIdPasswordEmailSetupsById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "passwordEmailSetupId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "portalConfigurationId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "passwordEmailSetup", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/PortalConfigurationPasswordEmailSetup" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "PortalConfigurationPasswordEmailSetup", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/PortalConfigurationPasswordEmailSetup" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"patch": { | |
"tags": [ | |
"PortalConfigurationPasswordEmailSetups" | |
], | |
"summary": "Patch PortalConfigurationPasswordEmailSetup", | |
"operationId": "patchCompanyPortalConfigurationsByParentIdPasswordEmailSetupsById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "passwordEmailSetupId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "portalConfigurationId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "List of PatchOperation", | |
"content": { | |
"application/json": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/PatchOperation" | |
} | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "PortalConfigurationPasswordEmailSetup", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/PortalConfigurationPasswordEmailSetup" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/portalConfigurations/{parentId}/projectSetups": { | |
"get": { | |
"tags": [ | |
"PortalConfigurationProjectSetups" | |
], | |
"summary": "Get List of PortalConfigurationProjectSetup", | |
"operationId": "getCompanyPortalConfigurationsByParentIdProjectSetups", | |
"parameters": [ | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "portalConfigurationId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "List of PortalConfigurationProjectSetup", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/PortalConfigurationProjectSetup" | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/portalConfigurations/{parentId}/projectSetups/{id}": { | |
"get": { | |
"tags": [ | |
"PortalConfigurationProjectSetups" | |
], | |
"summary": "Get PortalConfigurationProjectSetup", | |
"operationId": "getCompanyPortalConfigurationsByParentIdProjectSetupsById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "projectSetupId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "portalConfigurationId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "PortalConfigurationProjectSetup", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/PortalConfigurationProjectSetup" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"put": { | |
"tags": [ | |
"PortalConfigurationProjectSetups" | |
], | |
"summary": "Put PortalConfigurationProjectSetup", | |
"operationId": "putCompanyPortalConfigurationsByParentIdProjectSetupsById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "projectSetupId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "portalConfigurationId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "portalConfigurationProjectSetup", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/PortalConfigurationProjectSetup" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "PortalConfigurationProjectSetup", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/PortalConfigurationProjectSetup" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"patch": { | |
"tags": [ | |
"PortalConfigurationProjectSetups" | |
], | |
"summary": "Patch PortalConfigurationProjectSetup", | |
"operationId": "patchCompanyPortalConfigurationsByParentIdProjectSetupsById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "projectSetupId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "portalConfigurationId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "List of PatchOperation", | |
"content": { | |
"application/json": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/PatchOperation" | |
} | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "PortalConfigurationProjectSetup", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/PortalConfigurationProjectSetup" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/portalConfigurations/{parentId}/projectSetups/count": { | |
"get": { | |
"tags": [ | |
"PortalConfigurationProjectSetups" | |
], | |
"summary": "Get Count of PortalConfigurationProjectSetup", | |
"operationId": "getCompanyPortalConfigurationsByParentIdProjectSetupsCount", | |
"parameters": [ | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "portalConfigurationId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Count", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/Count" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/portalConfigurations/{parentId}/serviceSetups": { | |
"get": { | |
"tags": [ | |
"PortalConfigurationServiceSetups" | |
], | |
"summary": "Get List of PortalConfigurationServiceSetup", | |
"operationId": "getCompanyPortalConfigurationsByParentIdServiceSetups", | |
"parameters": [ | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "portalConfigurationId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "List of PortalConfigurationServiceSetup", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/PortalConfigurationServiceSetup" | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/portalConfigurations/{parentId}/serviceSetups/{id}": { | |
"get": { | |
"tags": [ | |
"PortalConfigurationServiceSetups" | |
], | |
"summary": "Get PortalConfigurationServiceSetup", | |
"operationId": "getCompanyPortalConfigurationsByParentIdServiceSetupsById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "serviceSetupId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "portalConfigurationId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "PortalConfigurationServiceSetup", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/PortalConfigurationServiceSetup" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"put": { | |
"tags": [ | |
"PortalConfigurationServiceSetups" | |
], | |
"summary": "Put PortalConfigurationServiceSetup", | |
"operationId": "putCompanyPortalConfigurationsByParentIdServiceSetupsById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "serviceSetupId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "portalConfigurationId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "portalConfigurationServiceSetup", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/PortalConfigurationServiceSetup" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "PortalConfigurationServiceSetup", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/PortalConfigurationServiceSetup" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"patch": { | |
"tags": [ | |
"PortalConfigurationServiceSetups" | |
], | |
"summary": "Patch PortalConfigurationServiceSetup", | |
"operationId": "patchCompanyPortalConfigurationsByParentIdServiceSetupsById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "serviceSetupId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "portalConfigurationId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "List of PatchOperation", | |
"content": { | |
"application/json": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/PatchOperation" | |
} | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "PortalConfigurationServiceSetup", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/PortalConfigurationServiceSetup" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/portalConfigurations/{parentId}/serviceSetups/count": { | |
"get": { | |
"tags": [ | |
"PortalConfigurationServiceSetups" | |
], | |
"summary": "Get Count of PortalConfigurationServiceSetup", | |
"operationId": "getCompanyPortalConfigurationsByParentIdServiceSetupsCount", | |
"parameters": [ | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "portalConfigurationId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Count", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/Count" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/portalConfigurations/copy": { | |
"post": { | |
"tags": [ | |
"PortalConfigurations" | |
], | |
"summary": "Post PortalConfiguration", | |
"operationId": "postCompanyPortalConfigurationsCopy", | |
"parameters": [ | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "copy", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/PortalConfiguration" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "PortalConfiguration", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/PortalConfiguration" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/portalConfigurations/count": { | |
"get": { | |
"tags": [ | |
"PortalConfigurations" | |
], | |
"summary": "Get Count of PortalConfiguration", | |
"operationId": "getCompanyPortalConfigurationsCount", | |
"parameters": [ | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Count", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/Count" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/portalConfigurations/invoiceSetup/paymentProcessors": { | |
"get": { | |
"tags": [ | |
"PortalConfigurationPaymentProcessors" | |
], | |
"summary": "Get List of PortalConfigurationPaymentProcessor", | |
"operationId": "getCompanyPortalConfigurationsInvoiceSetupPaymentProcessors", | |
"parameters": [ | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "List of PortalConfigurationPaymentProcessor", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/PortalConfigurationPaymentProcessor" | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/portalConfigurations/invoiceSetup/paymentProcessors/{id}": { | |
"get": { | |
"tags": [ | |
"PortalConfigurationPaymentProcessors" | |
], | |
"summary": "Get PortalConfigurationPaymentProcessor", | |
"operationId": "getCompanyPortalConfigurationsInvoiceSetupPaymentProcessorsById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "paymentProcessorId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "PortalConfigurationPaymentProcessor", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/PortalConfigurationPaymentProcessor" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/portalConfigurations/invoiceSetup/paymentProcessors/count": { | |
"get": { | |
"tags": [ | |
"PortalConfigurationPaymentProcessors" | |
], | |
"summary": "Get Count of PortalConfigurationPaymentProcessor", | |
"operationId": "getCompanyPortalConfigurationsInvoiceSetupPaymentProcessorsCount", | |
"parameters": [ | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Count", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/Count" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/portalSecurityLevels": { | |
"get": { | |
"tags": [ | |
"PortalSecurityLevels" | |
], | |
"summary": "Get List of PortalSecurityLevel", | |
"operationId": "getCompanyPortalSecurityLevels", | |
"parameters": [ | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "List of PortalSecurityLevel", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/PortalSecurityLevel" | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/portalSecurityLevels/{id}": { | |
"get": { | |
"tags": [ | |
"PortalSecurityLevels" | |
], | |
"summary": "Get PortalSecurityLevel", | |
"operationId": "getCompanyPortalSecurityLevelsById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "portalSecurityLevelId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "PortalSecurityLevel", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/PortalSecurityLevel" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"put": { | |
"tags": [ | |
"PortalSecurityLevels" | |
], | |
"summary": "Put PortalSecurityLevel", | |
"operationId": "putCompanyPortalSecurityLevelsById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "portalSecurityLevelId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "_portalSecurityLevel", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/PortalSecurityLevel" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "PortalSecurityLevel", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/PortalSecurityLevel" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"patch": { | |
"tags": [ | |
"PortalSecurityLevels" | |
], | |
"summary": "Patch PortalSecurityLevel", | |
"operationId": "patchCompanyPortalSecurityLevelsById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "portalSecurityLevelId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "List of PatchOperation", | |
"content": { | |
"application/json": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/PatchOperation" | |
} | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "PortalSecurityLevel", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/PortalSecurityLevel" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/portalSecurityLevels/count": { | |
"get": { | |
"tags": [ | |
"PortalSecurityLevels" | |
], | |
"summary": "Get Count of PortalSecurityLevel", | |
"operationId": "getCompanyPortalSecurityLevelsCount", | |
"parameters": [ | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Count", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/Count" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/portalSecuritySettings": { | |
"get": { | |
"tags": [ | |
"PortalSecuritySettings" | |
], | |
"summary": "Get List of PortalSecuritySetting", | |
"operationId": "getCompanyPortalSecuritySettings", | |
"parameters": [ | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "List of PortalSecuritySetting", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/PortalSecuritySetting" | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/portalSecuritySettings/{id}": { | |
"get": { | |
"tags": [ | |
"PortalSecuritySettings" | |
], | |
"summary": "Get PortalSecuritySetting", | |
"operationId": "getCompanyPortalSecuritySettingsById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "portalSecuritySettingId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "PortalSecuritySetting", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/PortalSecuritySetting" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"put": { | |
"tags": [ | |
"PortalSecuritySettings" | |
], | |
"summary": "Put PortalSecuritySetting", | |
"operationId": "putCompanyPortalSecuritySettingsById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "portalSecuritySettingId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "portalSecurity", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/PortalSecuritySetting" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "PortalSecuritySetting", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/PortalSecuritySetting" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"patch": { | |
"tags": [ | |
"PortalSecuritySettings" | |
], | |
"summary": "Patch PortalSecuritySetting", | |
"operationId": "patchCompanyPortalSecuritySettingsById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "portalSecuritySettingId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "List of PatchOperation", | |
"content": { | |
"application/json": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/PatchOperation" | |
} | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "PortalSecuritySetting", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/PortalSecuritySetting" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/portalSecuritySettings/count": { | |
"get": { | |
"tags": [ | |
"PortalSecuritySettings" | |
], | |
"summary": "Get Count of PortalSecuritySetting", | |
"operationId": "getCompanyPortalSecuritySettingsCount", | |
"parameters": [ | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Count", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/Count" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/states": { | |
"get": { | |
"tags": [ | |
"States" | |
], | |
"summary": "Get List of State", | |
"operationId": "getCompanyStates", | |
"parameters": [ | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "List of State", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/State" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"post": { | |
"tags": [ | |
"States" | |
], | |
"summary": "Post State", | |
"operationId": "postCompanyStates", | |
"parameters": [ | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "state", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/State" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"201": { | |
"description": "State", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/State" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/states/{id}": { | |
"get": { | |
"tags": [ | |
"States" | |
], | |
"summary": "Get State", | |
"operationId": "getCompanyStatesById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "stateId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "State", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/State" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"put": { | |
"tags": [ | |
"States" | |
], | |
"summary": "Put State", | |
"operationId": "putCompanyStatesById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "stateId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "state", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/State" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "State", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/State" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"patch": { | |
"tags": [ | |
"States" | |
], | |
"summary": "Patch State", | |
"operationId": "patchCompanyStatesById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "stateId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "List of PatchOperation", | |
"content": { | |
"application/json": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/PatchOperation" | |
} | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "State", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/State" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"delete": { | |
"tags": [ | |
"States" | |
], | |
"summary": "Delete State", | |
"operationId": "deleteCompanyStatesById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "stateId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"204": { | |
"description": "No Content" | |
} | |
} | |
} | |
}, | |
"/company/states/{id}/usages": { | |
"get": { | |
"tags": [ | |
"States" | |
], | |
"summary": "Get List of Usage Count", | |
"operationId": "getCompanyStatesByIdUsages", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "stateId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "List of Usage", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Usage" | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/states/{id}/usages/list": { | |
"get": { | |
"tags": [ | |
"States" | |
], | |
"summary": "Get List of Usage", | |
"operationId": "getCompanyStatesByIdUsagesList", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "stateId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "List of Usage", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Usage" | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/states/count": { | |
"get": { | |
"tags": [ | |
"States" | |
], | |
"summary": "Get Count of Usage", | |
"operationId": "getCompanyStatesCount", | |
"parameters": [ | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Count", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/Count" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/teamRoles": { | |
"get": { | |
"tags": [ | |
"CompanyTeamRole" | |
], | |
"summary": "Get List of TeamRole", | |
"operationId": "getCompanyTeamRoles", | |
"parameters": [ | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "List of TeamRole", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/TeamRole" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"post": { | |
"tags": [ | |
"CompanyTeamRole" | |
], | |
"summary": "Post TeamRole", | |
"operationId": "postCompanyTeamRoles", | |
"parameters": [ | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "teamRole", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/TeamRole" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"201": { | |
"description": "TeamRole", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/TeamRole" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/teamRoles/{id}": { | |
"get": { | |
"tags": [ | |
"CompanyTeamRole" | |
], | |
"summary": "Get TeamRole", | |
"operationId": "getCompanyTeamRolesById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "teamRoleId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "TeamRole", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/TeamRole" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"delete": { | |
"tags": [ | |
"CompanyTeamRole" | |
], | |
"summary": "Delete TeamRole", | |
"operationId": "deleteCompanyTeamRolesById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "teamRoleId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"204": { | |
"description": "No Content" | |
} | |
} | |
}, | |
"put": { | |
"tags": [ | |
"CompanyTeamRole" | |
], | |
"summary": "Put TeamRole", | |
"operationId": "putCompanyTeamRolesById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "teamRoleId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "teamRole", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/TeamRole" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "TeamRole", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/TeamRole" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"patch": { | |
"tags": [ | |
"CompanyTeamRole" | |
], | |
"summary": "Patch TeamRole", | |
"operationId": "patchCompanyTeamRolesById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "teamRoleId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "List of PatchOperation", | |
"content": { | |
"application/json": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/PatchOperation" | |
} | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "TeamRole", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/TeamRole" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/teamRoles/{id}/usages": { | |
"get": { | |
"tags": [ | |
"CompanyTeamRole" | |
], | |
"summary": "Get List of Usage Count", | |
"operationId": "getCompanyTeamRolesByIdUsages", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "teamRoleId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "List of Usage", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Usage" | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/teamRoles/{id}/usages/list": { | |
"get": { | |
"tags": [ | |
"CompanyTeamRole" | |
], | |
"summary": "Get List of Usage", | |
"operationId": "getCompanyTeamRolesByIdUsagesList", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "teamRoleId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "List of Usage", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Usage" | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/teamRoles/count": { | |
"get": { | |
"tags": [ | |
"CompanyTeamRole" | |
], | |
"summary": "Get Count of Usage", | |
"operationId": "getCompanyTeamRolesCount", | |
"parameters": [ | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Count", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/Count" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/tracks": { | |
"get": { | |
"tags": [ | |
"Tracks" | |
], | |
"summary": "Get List of Track", | |
"operationId": "getCompanyTracks", | |
"parameters": [ | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "List of Track", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Track" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"post": { | |
"tags": [ | |
"Tracks" | |
], | |
"summary": "Post Track", | |
"operationId": "postCompanyTracks", | |
"parameters": [ | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "track", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/Track" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"201": { | |
"description": "Track", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/Track" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/tracks/{id}": { | |
"get": { | |
"tags": [ | |
"Tracks" | |
], | |
"summary": "Get Track", | |
"operationId": "getCompanyTracksById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "trackId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Track", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/Track" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"delete": { | |
"tags": [ | |
"Tracks" | |
], | |
"summary": "Delete Track", | |
"operationId": "deleteCompanyTracksById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "trackId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"204": { | |
"description": "No Content" | |
} | |
} | |
}, | |
"put": { | |
"tags": [ | |
"Tracks" | |
], | |
"summary": "Put Track", | |
"operationId": "putCompanyTracksById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "trackId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "track", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/Track" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "Track", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/Track" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"patch": { | |
"tags": [ | |
"Tracks" | |
], | |
"summary": "Patch Track", | |
"operationId": "patchCompanyTracksById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "trackId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "List of PatchOperation", | |
"content": { | |
"application/json": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/PatchOperation" | |
} | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "Track", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/Track" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/tracks/{parentId}/actions": { | |
"get": { | |
"tags": [ | |
"TrackActions" | |
], | |
"summary": "Get List of TrackAction", | |
"operationId": "getCompanyTracksByParentIdActions", | |
"parameters": [ | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "trackId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "List of TrackAction", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/TrackAction" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"post": { | |
"tags": [ | |
"TrackActions" | |
], | |
"summary": "Post TrackAction", | |
"operationId": "postCompanyTracksByParentIdActions", | |
"parameters": [ | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "trackId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "trackAction", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/TrackAction" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"201": { | |
"description": "TrackAction", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/TrackAction" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/tracks/{parentId}/actions/{id}": { | |
"get": { | |
"tags": [ | |
"TrackActions" | |
], | |
"summary": "Get TrackAction", | |
"operationId": "getCompanyTracksByParentIdActionsById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "actionId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "trackId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "TrackAction", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/TrackAction" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"put": { | |
"tags": [ | |
"TrackActions" | |
], | |
"summary": "Put TrackAction", | |
"operationId": "putCompanyTracksByParentIdActionsById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "actionId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "trackId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "trackAction", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/TrackAction" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "TrackAction", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/TrackAction" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"patch": { | |
"tags": [ | |
"TrackActions" | |
], | |
"summary": "Patch TrackAction", | |
"operationId": "patchCompanyTracksByParentIdActionsById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "actionId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "trackId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "TrackAction", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/TrackAction" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"delete": { | |
"tags": [ | |
"TrackActions" | |
], | |
"summary": "Delete TrackAction", | |
"operationId": "deleteCompanyTracksByParentIdActionsById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "actionId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "trackId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"204": { | |
"description": "No Content" | |
} | |
} | |
} | |
}, | |
"/company/tracks/{parentId}/actions/count": { | |
"get": { | |
"tags": [ | |
"TrackActions" | |
], | |
"summary": "Get Count of TrackAction", | |
"operationId": "getCompanyTracksByParentIdActionsCount", | |
"parameters": [ | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "trackId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Count", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/Count" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/company/tracks/count": { | |
"get": { | |
"tags": [ | |
"Tracks" | |
], | |
"summary": "Get Count of Track", | |
"operationId": "getCompanyTracksCount", | |
"parameters": [ | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Count", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/Count" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/expense/classifications": { | |
"get": { | |
"tags": [ | |
"Classifications" | |
], | |
"summary": "Get List of Classification", | |
"operationId": "getExpenseClassifications", | |
"parameters": [ | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "List of Classification", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/Classification" | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/expense/classifications/{id}": { | |
"get": { | |
"tags": [ | |
"Classifications" | |
], | |
"summary": "Get Classification", | |
"operationId": "getExpenseClassificationsById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "classificationId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Classification", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/Classification" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/expense/classifications/count": { | |
"get": { | |
"tags": [ | |
"Classifications" | |
], | |
"summary": "Get Count of Classification", | |
"operationId": "getExpenseClassificationsCount", | |
"parameters": [ | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Count", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/Count" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/expense/entries": { | |
"get": { | |
"tags": [ | |
"ExpenseEntries" | |
], | |
"summary": "Get List of ExpenseEntry", | |
"operationId": "getExpenseEntries", | |
"parameters": [ | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "List of ExpenseEntry", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/ExpenseEntry" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"post": { | |
"tags": [ | |
"ExpenseEntries" | |
], | |
"summary": "Post ExpenseEntry", | |
"operationId": "postExpenseEntries", | |
"parameters": [ | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "expenseEntry", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/ExpenseEntry" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"201": { | |
"description": "ExpenseEntry", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/ExpenseEntry" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/expense/entries/{id}": { | |
"get": { | |
"tags": [ | |
"ExpenseEntries" | |
], | |
"summary": "Get ExpenseEntry", | |
"operationId": "getExpenseEntriesById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "entryId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "ExpenseEntry", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/ExpenseEntry" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"delete": { | |
"tags": [ | |
"ExpenseEntries" | |
], | |
"summary": "Delete ExpenseEntry", | |
"operationId": "deleteExpenseEntriesById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "entryId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"204": { | |
"description": "No Content" | |
} | |
} | |
}, | |
"put": { | |
"tags": [ | |
"ExpenseEntries" | |
], | |
"summary": "Put ExpenseEntry", | |
"operationId": "putExpenseEntriesById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "entryId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "expenseEntry", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/ExpenseEntry" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "ExpenseEntry", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/ExpenseEntry" | |
} | |
} | |
} | |
} | |
} | |
}, | |
"patch": { | |
"tags": [ | |
"ExpenseEntries" | |
], | |
"summary": "Patch ExpenseEntry", | |
"operationId": "patchExpenseEntriesById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "entryId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "List of PatchOperation", | |
"content": { | |
"application/json": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/PatchOperation" | |
} | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"200": { | |
"description": "ExpenseEntry", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/ExpenseEntry" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/expense/entries/{parentId}/audits": { | |
"get": { | |
"tags": [ | |
"ExpenseEntryAudits" | |
], | |
"summary": "Get List of ExpenseEntryAudit", | |
"operationId": "getExpenseEntriesByParentIdAudits", | |
"parameters": [ | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "entryId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "List of ExpenseEntryAudit", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/ExpenseEntryAudit" | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/expense/entries/{parentId}/audits/{id}": { | |
"get": { | |
"tags": [ | |
"ExpenseEntryAudits" | |
], | |
"summary": "Get ExpenseEntryAudit", | |
"operationId": "getExpenseEntriesByParentIdAuditsById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "auditId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "entryId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "ExpenseEntryAudit", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/ExpenseEntryAudit" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/expense/entries/{parentId}/audits/count": { | |
"get": { | |
"tags": [ | |
"ExpenseEntryAudits" | |
], | |
"summary": "Get Count of ExpenseEntryAudit", | |
"operationId": "getExpenseEntriesByParentIdAuditsCount", | |
"parameters": [ | |
{ | |
"name": "parentId", | |
"in": "path", | |
"description": "entryId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Count", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/Count" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/expense/entries/count": { | |
"get": { | |
"tags": [ | |
"ExpenseEntries" | |
], | |
"summary": "Get Count of ExpenseEntry", | |
"operationId": "getExpenseEntriesCount", | |
"parameters": [ | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Count", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/Count" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/expense/expenseTypeExternalIntegrationReferences": { | |
"get": { | |
"tags": [ | |
"ExpenseTypeExternalIntegrationReferences" | |
], | |
"summary": "Get List of ExpenseTypeExternalIntegrationReference", | |
"operationId": "getExpenseExpenseTypeExternalIntegrationReferences", | |
"parameters": [ | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "List of ExpenseTypeExternalIntegrationReference", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/ExpenseTypeExternalIntegrationReference" | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/expense/expenseTypeExternalIntegrationReferences/{id}": { | |
"get": { | |
"tags": [ | |
"ExpenseTypeExternalIntegrationReferences" | |
], | |
"summary": "Get ExpenseTypeExternalIntegrationReference", | |
"operationId": "getExpenseExpenseTypeExternalIntegrationReferencesById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "expenseTypeExternalIntegrationReferenceId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "ExpenseTypeExternalIntegrationReference", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/ExpenseTypeExternalIntegrationReference" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/expense/expenseTypeExternalIntegrationReferences/count": { | |
"get": { | |
"tags": [ | |
"ExpenseTypeExternalIntegrationReferences" | |
], | |
"summary": "Get Count of ExpenseTypeExternalIntegrationReference", | |
"operationId": "getExpenseExpenseTypeExternalIntegrationReferencesCount", | |
"parameters": [ | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Count", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/Count" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/expense/info/taxTypes": { | |
"get": { | |
"tags": [ | |
"ExpenseTaxTypeInfos" | |
], | |
"summary": "Get List of ExpenseTaxTypeInfo", | |
"operationId": "getExpenseInfoTaxTypes", | |
"parameters": [ | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "List of ExpenseTaxTypeInfo", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/ExpenseTaxTypeInfo" | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/expense/info/taxTypes/{id}": { | |
"get": { | |
"tags": [ | |
"ExpenseTaxTypeInfos" | |
], | |
"summary": "Get ExpenseTaxTypeInfo", | |
"operationId": "getExpenseInfoTaxTypesById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "taxTypeId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "ExpenseTaxTypeInfo", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/ExpenseTaxTypeInfo" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/expense/info/taxTypes/count": { | |
"get": { | |
"tags": [ | |
"ExpenseTaxTypeInfos" | |
], | |
"summary": "Get Count of ExpenseTaxTypeInfo", | |
"operationId": "getExpenseInfoTaxTypesCount", | |
"parameters": [ | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "Count", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/Count" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/expense/internal/entries": { | |
"get": { | |
"tags": [ | |
"ExpenseEntriesInternal" | |
], | |
"summary": "Get List of ExpenseEntryInternal", | |
"operationId": "getExpenseInternalEntries", | |
"parameters": [ | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "fields", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "page", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageSize", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "pageId", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "integer", | |
"format": "int32", | |
"nullable": true | |
} | |
}, | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "List of ExpenseEntryInternal", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"type": "array", | |
"items": { | |
"$ref": "#/components/schemas/ExpenseEntryInternal" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"post": { | |
"tags": [ | |
"ExpenseEntriesInternal" | |
], | |
"summary": "Post ExpenseEntryInternal", | |
"operationId": "postExpenseInternalEntries", | |
"parameters": [ | |
{ | |
"name": "clientId", | |
"in": "header", | |
"description": "", | |
"required": true, | |
"schema": { | |
"type": "string" | |
} | |
} | |
], | |
"requestBody": { | |
"description": "expenseEntry", | |
"content": { | |
"application/json": { | |
"schema": { | |
"$ref": "#/components/schemas/ExpenseEntryInternal" | |
} | |
} | |
}, | |
"required": true | |
}, | |
"responses": { | |
"201": { | |
"description": "ExpenseEntryInternal", | |
"content": { | |
"application/vnd.connectwise.com+json; version=2020.2": { | |
"schema": { | |
"$ref": "#/components/schemas/ExpenseEntryInternal" | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"/expense/internal/entries/{id}": { | |
"get": { | |
"tags": [ | |
"ExpenseEntriesInternal" | |
], | |
"summary": "Get ExpenseEntryInternal", | |
"operationId": "getExpenseInternalEntriesById", | |
"parameters": [ | |
{ | |
"name": "id", | |
"in": "path", | |
"description": "entryId", | |
"required": true, | |
"schema": { | |
"type": "integer", | |
"format": "int32" | |
} | |
}, | |
{ | |
"name": "conditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "childConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "customFieldConditions", | |
"in": "query", | |
"description": "", | |
"schema": { | |
"type": "string" | |
} | |
}, | |
{ | |
"name": "orderBy", | |
"in": "query", | |
"description |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment