Custom Sql Datasource Controller

get
Authorizations
Path parameters
customDatasourceIdstringRequired
Responses
200
OK
*/*
get
GET /api/custom-datasource/sql/{customDatasourceId} HTTP/1.1
Host: inscada.cloud
Accept: */*
{
  "creationDate": "2025-07-05T20:38:08.249Z",
  "lastModifiedBy": "text",
  "createdBy": "text",
  "lastModifiedDate": "2025-07-05T20:38:08.249Z",
  "id": "text",
  "password": "text",
  "url": "text",
  "isDefault": true,
  "dsc": "text",
  "name": "text",
  "username": "text",
  "projectId": "text"
}
put
Authorizations
Path parameters
customDatasourceIdstringRequired
Body
creationDatestring · date-timeRead-onlyOptional
lastModifiedBystringRead-onlyOptional
createdBystringRead-onlyOptional
lastModifiedDatestring · date-timeRead-onlyOptional
idstringOptional
passwordstringOptional
urlstringRequired
isDefaultbooleanRequired
dscstring · max: 255Optional
namestring · max: 100Required
usernamestringOptional
projectIdstringOptional
Responses
204
No Content
put
PUT /api/custom-datasource/sql/{customDatasourceId} HTTP/1.1
Host: inscada.cloud
Content-Type: application/json
Accept: */*
Content-Length: 125

{
  "id": "text",
  "password": "text",
  "url": "text",
  "isDefault": true,
  "dsc": "text",
  "name": "text",
  "username": "text",
  "projectId": "text"
}

No content

delete
Authorizations
Path parameters
customDatasourceIdstringRequired
Responses
204
No Content
delete
DELETE /api/custom-datasource/sql/{customDatasourceId} HTTP/1.1
Host: inscada.cloud
Accept: */*

No content

get
Authorizations
Query parameters
projectIdstringOptional
Responses
200
OK
*/*
get
GET /api/custom-datasource/sql HTTP/1.1
Host: inscada.cloud
Accept: */*
[
  {
    "creationDate": "2025-07-05T20:38:08.249Z",
    "lastModifiedBy": "text",
    "createdBy": "text",
    "lastModifiedDate": "2025-07-05T20:38:08.249Z",
    "id": "text",
    "password": "text",
    "url": "text",
    "isDefault": true,
    "dsc": "text",
    "name": "text",
    "username": "text",
    "projectId": "text"
  }
]
post
Authorizations
Body
creationDatestring · date-timeRead-onlyOptional
lastModifiedBystringRead-onlyOptional
createdBystringRead-onlyOptional
lastModifiedDatestring · date-timeRead-onlyOptional
idstringOptional
passwordstringOptional
urlstringRequired
isDefaultbooleanRequired
dscstring · max: 255Optional
namestring · max: 100Required
usernamestringOptional
projectIdstringOptional
Responses
200
OK
*/*
post
POST /api/custom-datasource/sql HTTP/1.1
Host: inscada.cloud
Content-Type: application/json
Accept: */*
Content-Length: 125

{
  "id": "text",
  "password": "text",
  "url": "text",
  "isDefault": true,
  "dsc": "text",
  "name": "text",
  "username": "text",
  "projectId": "text"
}
{
  "creationDate": "2025-07-05T20:38:08.249Z",
  "lastModifiedBy": "text",
  "createdBy": "text",
  "lastModifiedDate": "2025-07-05T20:38:08.249Z",
  "id": "text",
  "password": "text",
  "url": "text",
  "isDefault": true,
  "dsc": "text",
  "name": "text",
  "username": "text",
  "projectId": "text"
}
post
Authorizations
Query parameters
Body
filestring · binaryRequired
Responses
200
OK
*/*
Responseobject
post
POST /api/custom-datasource/sql/import HTTP/1.1
Host: inscada.cloud
Content-Type: application/json
Accept: */*
Content-Length: 17

{
  "file": "binary"
}
{}
get
Authorizations
Query parameters
projectIdstringOptional
includeIdsbooleanOptionalDefault: false
Responses
200
OK
*/*
Responseobject
get
GET /api/custom-datasource/sql/export HTTP/1.1
Host: inscada.cloud
Accept: */*
{}
delete
Authorizations
Query parameters
customDatasourceIdsstring[]Required
Responses
204
No Content
delete
DELETE /api/custom-datasource/sql/multi/by-ids HTTP/1.1
Host: inscada.cloud
Accept: */*

No content