Custom Sql Query Controller
get
Authorizations
Path parameters
customQueryIdstringRequired
Responses
200
OK
*/*
400
Bad Request
*/*
403
Forbidden
*/*
404
Not Found
*/*
409
Conflict
*/*
500
Internal Server Error
*/*
get
/api/custom-query/sql/{customQueryId}GET /api/custom-query/sql/{customQueryId} HTTP/1.1
Host: inscada.cloud
X-Space: YOUR_API_KEY
Accept: */*
{
  "creationDate": "2025-10-31T22:30:19.108Z",
  "lastModifiedBy": "text",
  "createdBy": "text",
  "lastModifiedDate": "2025-10-31T22:30:19.108Z",
  "id": "text",
  "projectId": "text",
  "queryStr": "text",
  "dsc": "text",
  "name": "text"
}put
Authorizations
Path parameters
customQueryIdstringRequired
Body
creationDatestring · date-timeRead-onlyOptional
lastModifiedBystringRead-onlyOptional
createdBystringRead-onlyOptional
lastModifiedDatestring · date-timeRead-onlyOptional
idstringOptional
projectIdstringOptional
queryStrstringRequired
dscstring · max: 255Optional
namestring · max: 100Required
Responses
204
No Content
No content
400
Bad Request
*/*
403
Forbidden
*/*
404
Not Found
*/*
409
Conflict
*/*
500
Internal Server Error
*/*
put
/api/custom-query/sql/{customQueryId}PUT /api/custom-query/sql/{customQueryId} HTTP/1.1
Host: inscada.cloud
X-Space: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 77
{
  "id": "text",
  "projectId": "text",
  "queryStr": "text",
  "dsc": "text",
  "name": "text"
}No content
delete
Authorizations
Path parameters
customQueryIdstringRequired
Responses
204
No Content
No content
400
Bad Request
*/*
403
Forbidden
*/*
404
Not Found
*/*
409
Conflict
*/*
500
Internal Server Error
*/*
delete
/api/custom-query/sql/{customQueryId}DELETE /api/custom-query/sql/{customQueryId} HTTP/1.1
Host: inscada.cloud
X-Space: YOUR_API_KEY
Accept: */*
No content
get
Authorizations
Query parameters
projectIdstringOptional
Responses
200
OK
*/*
400
Bad Request
*/*
403
Forbidden
*/*
404
Not Found
*/*
409
Conflict
*/*
500
Internal Server Error
*/*
get
/api/custom-query/sqlGET /api/custom-query/sql HTTP/1.1
Host: inscada.cloud
X-Space: YOUR_API_KEY
Accept: */*
[
  {
    "creationDate": "2025-10-31T22:30:19.108Z",
    "lastModifiedBy": "text",
    "createdBy": "text",
    "lastModifiedDate": "2025-10-31T22:30:19.108Z",
    "id": "text",
    "projectId": "text",
    "queryStr": "text",
    "dsc": "text",
    "name": "text"
  }
]post
Authorizations
Body
creationDatestring · date-timeRead-onlyOptional
lastModifiedBystringRead-onlyOptional
createdBystringRead-onlyOptional
lastModifiedDatestring · date-timeRead-onlyOptional
idstringOptional
projectIdstringOptional
queryStrstringRequired
dscstring · max: 255Optional
namestring · max: 100Required
Responses
200
OK
*/*
400
Bad Request
*/*
403
Forbidden
*/*
404
Not Found
*/*
409
Conflict
*/*
500
Internal Server Error
*/*
post
/api/custom-query/sqlPOST /api/custom-query/sql HTTP/1.1
Host: inscada.cloud
X-Space: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 77
{
  "id": "text",
  "projectId": "text",
  "queryStr": "text",
  "dsc": "text",
  "name": "text"
}{
  "creationDate": "2025-10-31T22:30:19.108Z",
  "lastModifiedBy": "text",
  "createdBy": "text",
  "lastModifiedDate": "2025-10-31T22:30:19.108Z",
  "id": "text",
  "projectId": "text",
  "queryStr": "text",
  "dsc": "text",
  "name": "text"
}post
Authorizations
Query parameters
Body
filestring · binaryRequired
Responses
200
OK
*/*
Responseobject
400
Bad Request
*/*
403
Forbidden
*/*
404
Not Found
*/*
409
Conflict
*/*
500
Internal Server Error
*/*
post
/api/custom-query/sql/importPOST /api/custom-query/sql/import HTTP/1.1
Host: inscada.cloud
X-Space: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 17
{
  "file": "binary"
}{}get
Authorizations
Query parameters
projectIdstringOptional
includeIdsbooleanOptionalDefault: 
falseResponses
200
OK
*/*
Responseobject
400
Bad Request
*/*
403
Forbidden
*/*
404
Not Found
*/*
409
Conflict
*/*
500
Internal Server Error
*/*
get
/api/custom-query/sql/exportGET /api/custom-query/sql/export HTTP/1.1
Host: inscada.cloud
X-Space: YOUR_API_KEY
Accept: */*
{}delete
Authorizations
Query parameters
customQueryIdsstring[]Required
Responses
204
No Content
No content
400
Bad Request
*/*
403
Forbidden
*/*
404
Not Found
*/*
409
Conflict
*/*
500
Internal Server Error
*/*
delete
/api/custom-query/sql/multi/by-idsDELETE /api/custom-query/sql/multi/by-ids?customQueryIds=text HTTP/1.1
Host: inscada.cloud
X-Space: YOUR_API_KEY
Accept: */*
No content
Last updated
