Script Controller
get
Authorizations
Path parameters
scriptIdstringRequired
Responses
200
OK
*/*
400
Bad Request
*/*
403
Forbidden
*/*
404
Not Found
*/*
409
Conflict
*/*
500
Internal Server Error
*/*
get
GET /api/scripts/{scriptId} HTTP/1.1
Host: inscada.cloud
Accept: */*
{
"creationDate": "2025-07-05T19:35:19.814Z",
"lastModifiedBy": "text",
"createdBy": "text",
"lastModifiedDate": "2025-07-05T19:35:19.814Z",
"id": "text",
"time": "2025-07-05T19:35:19.814Z",
"dsc": "text",
"name": "text",
"projectId": "text",
"period": 1,
"log": true,
"delay": 1,
"offset": 1,
"type": "Periodic",
"code": "text",
"owner": "text"
}
put
Authorizations
Path parameters
scriptIdstringRequired
Body
creationDatestring · date-timeRead-onlyOptional
lastModifiedBystringRead-onlyOptional
createdBystringRead-onlyOptional
lastModifiedDatestring · date-timeRead-onlyOptional
idstringOptional
timestring · date-timeOptional
dscstring · max: 255Optional
namestring · max: 100Required
projectIdstringOptional
periodinteger · int32 · min: 100Optional
logbooleanRequired
delayinteger · int32Optional
offsetinteger · int32 · max: 59Optional
typestring · enumRequiredPossible values:
codestringRequired
ownerstringOptional
Responses
204
No Content
400
Bad Request
*/*
403
Forbidden
*/*
404
Not Found
*/*
409
Conflict
*/*
500
Internal Server Error
*/*
put
PUT /api/scripts/{scriptId} HTTP/1.1
Host: inscada.cloud
Content-Type: application/json
Accept: */*
Content-Length: 183
{
"id": "text",
"time": "2025-07-05T19:35:19.814Z",
"dsc": "text",
"name": "text",
"projectId": "text",
"period": 1,
"log": true,
"delay": 1,
"offset": 1,
"type": "Periodic",
"code": "text",
"owner": "text"
}
No content
delete
Authorizations
Path parameters
scriptIdstringRequired
Responses
204
No Content
400
Bad Request
*/*
403
Forbidden
*/*
404
Not Found
*/*
409
Conflict
*/*
500
Internal Server Error
*/*
delete
DELETE /api/scripts/{scriptId} HTTP/1.1
Host: inscada.cloud
Accept: */*
No content
get
Authorizations
Responses
200
OK
*/*
400
Bad Request
*/*
403
Forbidden
*/*
404
Not Found
*/*
409
Conflict
*/*
500
Internal Server Error
*/*
get
GET /api/scripts HTTP/1.1
Host: inscada.cloud
Accept: */*
[
{
"creationDate": "2025-07-05T19:35:19.814Z",
"lastModifiedBy": "text",
"createdBy": "text",
"lastModifiedDate": "2025-07-05T19:35:19.814Z",
"id": "text",
"time": "2025-07-05T19:35:19.814Z",
"dsc": "text",
"name": "text",
"projectId": "text",
"period": 1,
"log": true,
"delay": 1,
"offset": 1,
"type": "Periodic",
"code": "text",
"owner": "text"
}
]
post
Authorizations
Body
creationDatestring · date-timeRead-onlyOptional
lastModifiedBystringRead-onlyOptional
createdBystringRead-onlyOptional
lastModifiedDatestring · date-timeRead-onlyOptional
idstringOptional
timestring · date-timeOptional
dscstring · max: 255Optional
namestring · max: 100Required
projectIdstringOptional
periodinteger · int32 · min: 100Optional
logbooleanRequired
delayinteger · int32Optional
offsetinteger · int32 · max: 59Optional
typestring · enumRequiredPossible values:
codestringRequired
ownerstringOptional
Responses
200
OK
*/*
400
Bad Request
*/*
403
Forbidden
*/*
404
Not Found
*/*
409
Conflict
*/*
500
Internal Server Error
*/*
post
POST /api/scripts HTTP/1.1
Host: inscada.cloud
Content-Type: application/json
Accept: */*
Content-Length: 183
{
"id": "text",
"time": "2025-07-05T19:35:19.814Z",
"dsc": "text",
"name": "text",
"projectId": "text",
"period": 1,
"log": true,
"delay": 1,
"offset": 1,
"type": "Periodic",
"code": "text",
"owner": "text"
}
{
"creationDate": "2025-07-05T19:35:19.814Z",
"lastModifiedBy": "text",
"createdBy": "text",
"lastModifiedDate": "2025-07-05T19:35:19.814Z",
"id": "text",
"time": "2025-07-05T19:35:19.814Z",
"dsc": "text",
"name": "text",
"projectId": "text",
"period": 1,
"log": true,
"delay": 1,
"offset": 1,
"type": "Periodic",
"code": "text",
"owner": "text"
}
post
Authorizations
Path parameters
scriptIdstringRequired
Responses
204
No Content
400
Bad Request
*/*
403
Forbidden
*/*
404
Not Found
*/*
409
Conflict
*/*
500
Internal Server Error
*/*
post
POST /api/scripts/{scriptId}/schedule HTTP/1.1
Host: inscada.cloud
Accept: */*
No content
post
Authorizations
Path parameters
scriptIdstringRequired
Responses
200
OK
*/*
Responseobject
400
Bad Request
*/*
403
Forbidden
*/*
404
Not Found
*/*
409
Conflict
*/*
500
Internal Server Error
*/*
post
POST /api/scripts/{scriptId}/run HTTP/1.1
Host: inscada.cloud
Accept: */*
{}
post
Authorizations
Path parameters
scriptIdstringRequired
Responses
204
No Content
400
Bad Request
*/*
403
Forbidden
*/*
404
Not Found
*/*
409
Conflict
*/*
500
Internal Server Error
*/*
post
POST /api/scripts/{scriptId}/cancel HTTP/1.1
Host: inscada.cloud
Accept: */*
No content
post
Authorizations
Query parameters
projectIdstringRequired
Responses
204
No Content
400
Bad Request
*/*
403
Forbidden
*/*
404
Not Found
*/*
409
Conflict
*/*
500
Internal Server Error
*/*
post
POST /api/scripts/schedule/by-project HTTP/1.1
Host: inscada.cloud
Accept: */*
No content
post
Authorizations
Body
sessionIdstringOptional
projectIdstringOptional
compilebooleanOptional
namestringOptional
logbooleanOptional
codestringOptional
Responses
200
OK
*/*
Responseobject
400
Bad Request
*/*
403
Forbidden
*/*
404
Not Found
*/*
409
Conflict
*/*
500
Internal Server Error
*/*
post
POST /api/scripts/run HTTP/1.1
Host: inscada.cloud
Content-Type: application/json
Accept: */*
Content-Length: 135
{
"sessionId": "text",
"projectId": "text",
"compile": true,
"bindings": {
"ANY_ADDITIONAL_PROPERTY": {}
},
"name": "text",
"log": true,
"code": "text"
}
{}
post
Authorizations
Query parameters
projectIdstringRequired
namestringRequired
Responses
200
OK
*/*
Responseobject
400
Bad Request
*/*
403
Forbidden
*/*
404
Not Found
*/*
409
Conflict
*/*
500
Internal Server Error
*/*
post
POST /api/scripts/run/by-project-and-name HTTP/1.1
Host: inscada.cloud
Accept: */*
{}
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
POST /api/scripts/import HTTP/1.1
Host: inscada.cloud
Content-Type: application/json
Accept: */*
Content-Length: 17
{
"file": "binary"
}
{}
post
Authorizations
Query parameters
projectIdstringRequired
Responses
204
No Content
400
Bad Request
*/*
403
Forbidden
*/*
404
Not Found
*/*
409
Conflict
*/*
500
Internal Server Error
*/*
post
POST /api/scripts/cancel/by-project HTTP/1.1
Host: inscada.cloud
Accept: */*
No content
post
Authorizations
Body
projectIdstringOptional
sessionIdstringOptional
argsobject[]Optional
methodstringOptional
Responses
200
OK
*/*
Responseobject
400
Bad Request
*/*
403
Forbidden
*/*
404
Not Found
*/*
409
Conflict
*/*
500
Internal Server Error
*/*
post
POST /api/scripts/call-api HTTP/1.1
Host: inscada.cloud
Content-Type: application/json
Accept: */*
Content-Length: 67
{
"projectId": "text",
"sessionId": "text",
"args": [
{}
],
"method": "text"
}
{}
patch
Authorizations
Path parameters
scriptIdstringRequired
Body
stringOptional
Responses
204
No Content
400
Bad Request
*/*
403
Forbidden
*/*
404
Not Found
*/*
409
Conflict
*/*
500
Internal Server Error
*/*
patch
PATCH /api/scripts/{scriptId}/code HTTP/1.1
Host: inscada.cloud
Content-Type: text/plain
Accept: */*
Content-Length: 6
"text"
No content
get
Authorizations
Path parameters
scriptIdstringRequired
Responses
200
OK
*/*
Responsestring · enumPossible values:
400
Bad Request
*/*
403
Forbidden
*/*
404
Not Found
*/*
409
Conflict
*/*
500
Internal Server Error
*/*
get
GET /api/scripts/{scriptId}/status HTTP/1.1
Host: inscada.cloud
Accept: */*
Scheduled
get
Authorizations
Responses
200
OK
*/*
400
Bad Request
*/*
403
Forbidden
*/*
404
Not Found
*/*
409
Conflict
*/*
500
Internal Server Error
*/*
get
GET /api/scripts/summary HTTP/1.1
Host: inscada.cloud
Accept: */*
[
{
"lastModifiedDate": "2025-07-05T19:35:19.814Z",
"lastModifiedBy": "text",
"id": "text",
"dsc": "text",
"creationDate": "2025-07-05T19:35:19.814Z",
"log": true,
"createdBy": "text",
"name": "text",
"type": "Periodic",
"projectId": "text"
}
]
get
Authorizations
Query parameters
projectIdstringRequired
Responses
200
OK
*/*
400
Bad Request
*/*
403
Forbidden
*/*
404
Not Found
*/*
409
Conflict
*/*
500
Internal Server Error
*/*
get
GET /api/scripts/summary/by-project HTTP/1.1
Host: inscada.cloud
Accept: */*
[
{
"lastModifiedDate": "2025-07-05T19:35:19.814Z",
"lastModifiedBy": "text",
"id": "text",
"dsc": "text",
"creationDate": "2025-07-05T19:35:19.814Z",
"log": true,
"createdBy": "text",
"name": "text",
"type": "Periodic",
"projectId": "text"
}
]
get
Authorizations
Query parameters
scriptIdsstring[]Required
Responses
200
OK
*/*
400
Bad Request
*/*
403
Forbidden
*/*
404
Not Found
*/*
409
Conflict
*/*
500
Internal Server Error
*/*
get
GET /api/scripts/status/by-ids HTTP/1.1
Host: inscada.cloud
Accept: */*
{
"ANY_ADDITIONAL_PROPERTY": "Scheduled"
}
get
Authorizations
Query parameters
projectIdstringOptional
includeIdsbooleanOptionalDefault:
false
Responses
200
OK
*/*
Responseobject
400
Bad Request
*/*
403
Forbidden
*/*
404
Not Found
*/*
409
Conflict
*/*
500
Internal Server Error
*/*
get
GET /api/scripts/export HTTP/1.1
Host: inscada.cloud
Accept: */*
{}
get
Authorizations
Query parameters
projectIdstringRequired
Responses
200
OK
*/*
400
Bad Request
*/*
403
Forbidden
*/*
404
Not Found
*/*
409
Conflict
*/*
500
Internal Server Error
*/*
get
GET /api/scripts/by-project HTTP/1.1
Host: inscada.cloud
Accept: */*
[
{
"creationDate": "2025-07-05T19:35:19.814Z",
"lastModifiedBy": "text",
"createdBy": "text",
"lastModifiedDate": "2025-07-05T19:35:19.814Z",
"id": "text",
"time": "2025-07-05T19:35:19.814Z",
"dsc": "text",
"name": "text",
"projectId": "text",
"period": 1,
"log": true,
"delay": 1,
"offset": 1,
"type": "Periodic",
"code": "text",
"owner": "text"
}
]
delete
Authorizations
Query parameters
scriptIdsstring[]Required
Responses
204
No Content
400
Bad Request
*/*
403
Forbidden
*/*
404
Not Found
*/*
409
Conflict
*/*
500
Internal Server Error
*/*
delete
DELETE /api/scripts/multi/by-ids HTTP/1.1
Host: inscada.cloud
Accept: */*
No content