Role Controller

get
Authorizations
Path parameters
roleIdstringRequired
Responses
200
OK
*/*
get
GET /api/roles/{roleId} HTTP/1.1
Host: inscada.cloud
Accept: */*
{
  "creationDate": "2025-07-05T18:29:58.960Z",
  "lastModifiedBy": "text",
  "createdBy": "text",
  "lastModifiedDate": "2025-07-05T18:29:58.960Z",
  "id": "text",
  "name": "text"
}
put
Authorizations
Path parameters
roleIdstringRequired
Body
creationDatestring · date-timeRead-onlyOptional
lastModifiedBystringRead-onlyOptional
createdBystringRead-onlyOptional
lastModifiedDatestring · date-timeRead-onlyOptional
idstringOptional
namestringOptional
Responses
204
No Content
put
PUT /api/roles/{roleId} HTTP/1.1
Host: inscada.cloud
Content-Type: application/json
Accept: */*
Content-Length: 27

{
  "id": "text",
  "name": "text"
}

No content

delete
Authorizations
Path parameters
roleIdstringRequired
Responses
204
No Content
delete
DELETE /api/roles/{roleId} HTTP/1.1
Host: inscada.cloud
Accept: */*

No content

get
Authorizations
Responses
200
OK
*/*
get
GET /api/roles HTTP/1.1
Host: inscada.cloud
Accept: */*
[
  {
    "creationDate": "2025-07-05T18:29:58.960Z",
    "lastModifiedBy": "text",
    "createdBy": "text",
    "lastModifiedDate": "2025-07-05T18:29:58.960Z",
    "id": "text",
    "name": "text"
  }
]
post
Authorizations
Body
creationDatestring · date-timeRead-onlyOptional
lastModifiedBystringRead-onlyOptional
createdBystringRead-onlyOptional
lastModifiedDatestring · date-timeRead-onlyOptional
idstringOptional
namestringOptional
Responses
200
OK
*/*
post
POST /api/roles HTTP/1.1
Host: inscada.cloud
Content-Type: application/json
Accept: */*
Content-Length: 27

{
  "id": "text",
  "name": "text"
}
{
  "creationDate": "2025-07-05T18:29:58.960Z",
  "lastModifiedBy": "text",
  "createdBy": "text",
  "lastModifiedDate": "2025-07-05T18:29:58.960Z",
  "id": "text",
  "name": "text"
}
get
Authorizations
Path parameters
roleIdstringRequired
Responses
200
OK
*/*
get
GET /api/roles/{roleId}/permissions HTTP/1.1
Host: inscada.cloud
Accept: */*
[
  {
    "creationDate": "2025-07-05T18:29:58.960Z",
    "lastModifiedBy": "text",
    "createdBy": "text",
    "lastModifiedDate": "2025-07-05T18:29:58.960Z",
    "id": "text",
    "name": "text"
  }
]
post
Authorizations
Path parameters
roleIdstringRequired
Body
stringOptional
Responses
200
OK
*/*
post
POST /api/roles/{roleId}/permissions HTTP/1.1
Host: inscada.cloud
Content-Type: application/json
Accept: */*
Content-Length: 6

"text"
{
  "creationDate": "2025-07-05T18:29:58.960Z",
  "lastModifiedBy": "text",
  "createdBy": "text",
  "lastModifiedDate": "2025-07-05T18:29:58.960Z",
  "id": "text",
  "name": "text"
}
post
Authorizations
Path parameters
roleIdstringRequired
Query parameters
permissionIdsstring[]Required
Responses
200
OK
*/*
post
POST /api/roles/{roleId}/permissions/multi HTTP/1.1
Host: inscada.cloud
Accept: */*
[
  {
    "creationDate": "2025-07-05T18:29:58.960Z",
    "lastModifiedBy": "text",
    "createdBy": "text",
    "lastModifiedDate": "2025-07-05T18:29:58.960Z",
    "id": "text",
    "name": "text"
  }
]
get
Authorizations
Path parameters
roleIdstringRequired
Responses
200
OK
*/*
get
GET /api/roles/{roleId}/menus HTTP/1.1
Host: inscada.cloud
Accept: */*
[
  {
    "creationDate": "2025-07-05T18:29:58.960Z",
    "lastModifiedBy": "text",
    "createdBy": "text",
    "lastModifiedDate": "2025-07-05T18:29:58.960Z",
    "id": "text",
    "name": "text"
  }
]
post
Authorizations
Path parameters
roleIdstringRequired
Body
stringOptional
Responses
200
OK
*/*
post
POST /api/roles/{roleId}/menus HTTP/1.1
Host: inscada.cloud
Content-Type: application/json
Accept: */*
Content-Length: 6

"text"
{
  "creationDate": "2025-07-05T18:29:58.960Z",
  "lastModifiedBy": "text",
  "createdBy": "text",
  "lastModifiedDate": "2025-07-05T18:29:58.960Z",
  "id": "text",
  "name": "text"
}
post
Authorizations
Path parameters
roleIdstringRequired
Query parameters
menuIdsstring[]Required
Responses
200
OK
*/*
post
POST /api/roles/{roleId}/menus/multi HTTP/1.1
Host: inscada.cloud
Accept: */*
[
  {
    "creationDate": "2025-07-05T18:29:58.960Z",
    "lastModifiedBy": "text",
    "createdBy": "text",
    "lastModifiedDate": "2025-07-05T18:29:58.960Z",
    "id": "text",
    "name": "text"
  }
]
post
Authorizations
Query parameters
Body
filestring · binaryRequired
Responses
200
OK
*/*
Responseobject
post
POST /api/roles/import HTTP/1.1
Host: inscada.cloud
Content-Type: application/json
Accept: */*
Content-Length: 17

{
  "file": "binary"
}
{}
get
Authorizations
Path parameters
roleIdstringRequired
permissionIdstringRequired
Responses
200
OK
*/*
get
GET /api/roles/{roleId}/permissions/{permissionId} HTTP/1.1
Host: inscada.cloud
Accept: */*
{
  "creationDate": "2025-07-05T18:29:58.960Z",
  "lastModifiedBy": "text",
  "createdBy": "text",
  "lastModifiedDate": "2025-07-05T18:29:58.960Z",
  "id": "text",
  "name": "text"
}
delete
Authorizations
Path parameters
roleIdstringRequired
permissionIdstringRequired
Responses
204
No Content
delete
DELETE /api/roles/{roleId}/permissions/{permissionId} HTTP/1.1
Host: inscada.cloud
Accept: */*

No content

get
Authorizations
Path parameters
roleIdstringRequired
menuIdstringRequired
Responses
200
OK
*/*
get
GET /api/roles/{roleId}/menus/{menuId} HTTP/1.1
Host: inscada.cloud
Accept: */*
{
  "creationDate": "2025-07-05T18:29:58.960Z",
  "lastModifiedBy": "text",
  "createdBy": "text",
  "lastModifiedDate": "2025-07-05T18:29:58.960Z",
  "id": "text",
  "name": "text"
}
delete
Authorizations
Path parameters
roleIdstringRequired
menuIdstringRequired
Responses
204
No Content
delete
DELETE /api/roles/{roleId}/menus/{menuId} HTTP/1.1
Host: inscada.cloud
Accept: */*

No content

get
Authorizations
Query parameters
projectIdstringOptional
includeIdsbooleanOptionalDefault: false
Responses
200
OK
*/*
Responseobject
get
GET /api/roles/export HTTP/1.1
Host: inscada.cloud
Accept: */*
{}