|
| 1 | +{ |
| 2 | + "swagger": "2.0", |
| 3 | + "info": { |
| 4 | + "version": "1.0.0", |
| 5 | + "title": "ConnectWise PSA", |
| 6 | + "description": "ConnectWise PSA - This connector is designed to aid in the Creation, Updating, and Selection of records from ConnectWise", |
| 7 | + "contact": { |
| 8 | + "name": "Support", |
| 9 | + "url": "https://support.connectwise.com", |
| 10 | + |
| 11 | + } |
| 12 | + }, |
| 13 | + "host": "api-na.myconnectwise.net", |
| 14 | + "basePath": "/", |
| 15 | + "schemes": [ |
| 16 | + "https" |
| 17 | + ], |
| 18 | + "consumes": [], |
| 19 | + "produces": [ |
| 20 | + "application/json" |
| 21 | + ], |
| 22 | + "paths": { |
| 23 | + "/v4_6_release/apis/3.0/service/tickets": { |
| 24 | + "get": { |
| 25 | + "responses": { |
| 26 | + "default": { |
| 27 | + "description": "default", |
| 28 | + "schema": {} |
| 29 | + } |
| 30 | + }, |
| 31 | + "summary": "GetTickets", |
| 32 | + "operationId": "GetTickets", |
| 33 | + "parameters": [ |
| 34 | + { |
| 35 | + "name": "conditions", |
| 36 | + "in": "query", |
| 37 | + "required": false, |
| 38 | + "type": "string", |
| 39 | + "description": "Filters for retrieving tickets based on specific conditions.", |
| 40 | + "x-ms-summary": "Ticket Conditions" |
| 41 | + }, |
| 42 | + { |
| 43 | + "name": "fields", |
| 44 | + "in": "query", |
| 45 | + "required": false, |
| 46 | + "type": "string", |
| 47 | + "description": "Comma-separated list of fields to include in the response.", |
| 48 | + "x-ms-summary": "Fields to Retrieve" |
| 49 | + }, |
| 50 | + { |
| 51 | + "name": "ClientID", |
| 52 | + "in": "header", |
| 53 | + "required": true, |
| 54 | + "type": "string", |
| 55 | + "description": "The Client ID used for API authentication.", |
| 56 | + "x-ms-summary": "Client Identifier" |
| 57 | + }, |
| 58 | + { |
| 59 | + "name": "Content-Type", |
| 60 | + "in": "header", |
| 61 | + "required": false, |
| 62 | + "type": "string", |
| 63 | + "default": "application/json", |
| 64 | + "description": "The content type of the request payload.", |
| 65 | + "x-ms-summary": "Content Type" |
| 66 | + } |
| 67 | + ], |
| 68 | + "description": "Get Ticket Details based on Conditions and selecting certain fields" |
| 69 | + }, |
| 70 | + "post": { |
| 71 | + "summary": "Create Service Ticket", |
| 72 | + "description": "Create Service Ticket in ConnectWise", |
| 73 | + "operationId": "CreateServiceTicket", |
| 74 | + "parameters": [ |
| 75 | + { |
| 76 | + "name": "ClientID", |
| 77 | + "in": "header", |
| 78 | + "required": true, |
| 79 | + "type": "string", |
| 80 | + "description": "ClientID", |
| 81 | + "x-ms-summary": "Client Identifier" |
| 82 | + }, |
| 83 | + { |
| 84 | + "name": "Content-Type", |
| 85 | + "in": "header", |
| 86 | + "required": true, |
| 87 | + "type": "string", |
| 88 | + "default": "application/json", |
| 89 | + "description": "Content-Type", |
| 90 | + "x-ms-summary": "Content Type" |
| 91 | + }, |
| 92 | + { |
| 93 | + "name": "body", |
| 94 | + "in": "body", |
| 95 | + "schema": { |
| 96 | + "type": "object", |
| 97 | + "properties": { |
| 98 | + "id": { |
| 99 | + "type": "integer", |
| 100 | + "format": "int32", |
| 101 | + "description": "The unique identifier of the ticket." |
| 102 | + }, |
| 103 | + "summary": { |
| 104 | + "type": "string", |
| 105 | + "description": "A brief description of the ticket." |
| 106 | + }, |
| 107 | + "board": { |
| 108 | + "type": "object", |
| 109 | + "properties": { |
| 110 | + "id": { |
| 111 | + "type": "integer", |
| 112 | + "format": "int32", |
| 113 | + "description": "The unique identifier of the board." |
| 114 | + }, |
| 115 | + "name": { |
| 116 | + "type": "string", |
| 117 | + "description": "The name of the board." |
| 118 | + } |
| 119 | + }, |
| 120 | + "description": "Details of the board associated with the ticket." |
| 121 | + }, |
| 122 | + "status": { |
| 123 | + "type": "object", |
| 124 | + "properties": { |
| 125 | + "id": { |
| 126 | + "type": "integer", |
| 127 | + "format": "int32", |
| 128 | + "description": "The unique identifier of the status." |
| 129 | + }, |
| 130 | + "name": { |
| 131 | + "type": "string", |
| 132 | + "description": "The name of the status." |
| 133 | + } |
| 134 | + }, |
| 135 | + "description": "Status information for the ticket." |
| 136 | + }, |
| 137 | + "company": { |
| 138 | + "type": "object", |
| 139 | + "properties": { |
| 140 | + "id": { |
| 141 | + "type": "integer", |
| 142 | + "format": "int32", |
| 143 | + "description": "The unique identifier of the company." |
| 144 | + }, |
| 145 | + "name": { |
| 146 | + "type": "string", |
| 147 | + "description": "The name of the company." |
| 148 | + } |
| 149 | + }, |
| 150 | + "description": "Company details related to the ticket." |
| 151 | + } |
| 152 | + }, |
| 153 | + "default": { |
| 154 | + "id": 0, |
| 155 | + "summary": "string", |
| 156 | + "board": { |
| 157 | + "id": 0, |
| 158 | + "name": "Incoming Service Requests" |
| 159 | + }, |
| 160 | + "status": { |
| 161 | + "id": 0, |
| 162 | + "name": "New" |
| 163 | + }, |
| 164 | + "company": { |
| 165 | + "id": 2, |
| 166 | + "name": "Opal Business Solutions" |
| 167 | + } |
| 168 | + } |
| 169 | + }, |
| 170 | + "required": true |
| 171 | + } |
| 172 | + ], |
| 173 | + "responses": { |
| 174 | + "default": { |
| 175 | + "description": "default", |
| 176 | + "schema": {} |
| 177 | + } |
| 178 | + } |
| 179 | + } |
| 180 | + } |
| 181 | + }, |
| 182 | + "securityDefinitions": { |
| 183 | + "api_key": { |
| 184 | + "type": "apiKey", |
| 185 | + "in": "header", |
| 186 | + "name": "Authorization" |
| 187 | + } |
| 188 | + }, |
| 189 | + "security": [ |
| 190 | + { |
| 191 | + "api_key": [] |
| 192 | + } |
| 193 | + ], |
| 194 | + "tags": [], |
| 195 | + "x-ms-connector-metadata": [ |
| 196 | + { |
| 197 | + "propertyName": "Website", |
| 198 | + "propertyValue": "https://www.opalbiz.com" |
| 199 | + }, |
| 200 | + { |
| 201 | + "propertyName": "Privacy policy", |
| 202 | + "propertyValue": "https://www.opalbiz.com" |
| 203 | + }, |
| 204 | + { |
| 205 | + "propertyName": "Categories", |
| 206 | + "propertyValue": "Data" |
| 207 | + } |
| 208 | + ] |
| 209 | +} |
0 commit comments