Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 31 Next »

These endpoints allow for creation, modification, and retrieval of presentation objects. 

Base URL for these endpoints:  https://api.bsn.cloud/2022/06/REST/Presentations

_________________________________________________________________________

GET /

Retrieves a list of presentations on the network.

Required Scope Token

bsn.api.main.presentations.retrieve

______________________________________________________________

Query String Parameters

filter string optional

An expression for filtering search results. The default value is null.

sort string optional

An expression for sorting the search results. The sort expression specifies the entry used for sorting and the ascending/descending (ASC/DESC) sorting order (see this page for more information). The default value is null.

marker  string optional

A value specifying which page to retrieve. This value is useful if the isTruncated entry in the response body of the previous GET call indicates that the number of presentations exceeds the pageSize.

This parameter is only required if you need more elements in the paged list than the pageSize (100).

pageSize int optional

The maximum number of presentations that can be contained in the response body. This defaults to the maximum allowed page size (100).

______________________________________________________________

Request Example

The example request parameters and headers are set as follows:

  • marker value is set to the [PagedList].[NextMarker] property value from the previous BSN.cloud API response.

  • pageSize is set to 1

  • filter is set to [Status] IS 'Published'

  • sort is set to [Name] ASC

GET /2022/06/REST/Presentations/?marker=MDAxIC0gVXBwZXIgTGVmdCBNYXN0ZXIsOTQwODI%3D&pageSize=1&filter=%5BStatus%5D%20IS%20%27Published%27&sort=%5BName%5D%20ASC HTTP/1.1
Host: api.bsn.cloud
Connection: Keep-Alive
Authorization: Bearer {{UserAccessToken}}
Accept: application/json, application/vnd.bsn.error+json
Accept-Encoding: gzip,deflate

______________________________________________________________

Response

Success Response Body

200: Returns a paged list of Presentation Entity instances on a network. This will return not more than 100 entities along with the information necessary to return any other remaining pages.

Example

{
   "items": [   {
      "id": 098765,
      "type": "Complete",
      "name": "001-LeftScreen-Years",
      "creationDate": "2023-05-10T16:20:37.37Z",
      "lastModifiedDate": "2023-06-20T15:14:13.063Z",
      "projectFile":       {
         "id": 1234567,
         "path": "https://bsncloud.s3.amazonaws.com/JaneDoeTesting/6391b7b4fa3cfd6213b053506824b940",
         "type": "Stored",
         "name": "001-LeftScreen-Years.bpfx",
         "size": 194873,
         "hash": "SHA1:9C36970CD4337F9D83D932500A173B590436F94CC",
         "creationDate": "2023-06-20T15:14:12.74Z",
         "lastModifiedDate": "2023-06-20T15:14:12.207Z"
      },
      "autorun":       {
         "version": "10.0.97",
         "isCustom": false
      },
      "deviceWebPage":       {
         "id": 2345678,
         "name": "Default_PresentationWebPage"
      },
      "deviceModel": "XT1144",
      "screenSettings":       {
         "videoMode": "1920x1080x60p",
         "orientation": "Landscape",
         "connector": "HDMI",
         "backgroundColor": "RGB:000000",
         "overscan": "NoOverscan"
      },
      "language": "English",
      "status": "Published",
      "autoplayFile":       {
         "id": 12345,
         "path": "https://bsncloud.s3.amazonaws.com/JaneDoeTesting/98b3a8e5f8179331bd54c5bd95178687",
         "type": "Stored",
         "name": "autoplay-001-LeftScreen-Years.json",
         "size": 128875,
         "hash": "SHA1:BB9C840B156B799389B78F404438456A861BFD67",
         "creationDate": "2023-06-20T15:14:12.613Z",
         "lastModifiedDate": "2023-06-20T15:14:12.207Z"
      },
      "resourcesFile":       {
         "id": 12345,
         "path": "https://bsncloud.s3.amazonaws.com/JaneDoeTesting/cd420f1f6e497e845e2b8350dda09e23",
         "type": "Stored",
         "name": "resources.txt",
         "size": 0,
         "hash": "SHA1:AA39B34B5E6B4B0D3255BFEF95601890AFD80709",
         "creationDate": "2023-05-10T16:25:06.717Z",
         "lastModifiedDate": "2023-05-10T16:25:06.02Z"
      },
      "userDefinedEventsFile": null,
      "thumbnailFile":       {
         "id": 12345,
         "path": "https://bsncloud.s3.amazonaws.com/JaneDoeTesting/cc79c72f771fa58dac9b23788381b337",
         "type": "Stored",
         "name": "001-LeftScreen-Years.thmb.jpg",
         "size": 1977,
         "hash": "SHA1:52G80141B47757FA2C540EBE6338FFC91EA6A52D",
         "creationDate": "2023-05-11T04:15:51.913Z",
         "lastModifiedDate": "2023-05-11T04:15:51.12Z"
      },
      "files": null,
      "autorunPlugins": null,
      "applications": [],
      "dependencies": null,
      "groups": [],
      "permissions": []
   }],
   "totalItemCount": 163,
   "matchingItemCount": 110,
   "pageSize": 1,
   "nextMarker": "MDAxLUxlZnRTY3JlZW4tWWVhcnMsMTcyMDU4",
   "isTruncated": true,
   "sortExpression": "[Name] ASC",
   "filterExpression": "[Status] IS 'Published'"
}

Failure

300: The requested representation could not be returned because it is ambiguous (there are multiple requested representations)

400: The request is malformed and therefore invalid

401: The access token is invalid or not specified

403: The supplied access token, though valid, doesn't provide access to this method 

406: The server cannot return the data representation that you requested (as specified in the "Accept" header)

5XX: Any 500 code is an internal server error

Endpoints:


POST /

Creates a new presentation on the network.

Required Scope Token

bsn.api.main.presentations.create

______________________________________________________________

Request Body

The Presentation Entity

______________________________________________________________

Request Example

The example request parameters and headers are set as follows:

POST /2022/06/REST/Presentations/ HTTP/1.1
Host: api.bsn.cloud
Connection: Keep-Alive
Authorization: Bearer {{UserAccessToken}}
Accept: application/json, application/vnd.bsn.error+json
Accept-Encoding: gzip,deflate
Content-Type: application/json
Content-Length: 1184

This is the example request body:

{
  "id": 0,
  "name": "BestTest",
  "creationDate": "0001-01-01T00:00:00",
  "lastModifiedDate": "0001-01-01T00:00:00",
  "projectFile": null,
  "autorun": {
    "version": "10.0.98",
    "isCustom": false
  },
  "deviceWebPage": {
    "id": 2345678,
    "name": "Default_PresentationWebPage"
  },
  "deviceModel": "HD1024",
  "screenSettings": {
    "videoMode": "1920x1080x60p",
    "orientation": "Landscape",
    "connector": "HDMI",
    "backgroundColor": "RGB:000000",
    "overscan": "NoOverscan"
  },
  "language": "English",
  "status": "Draft",
  "autoplayFile": null,
  "resourcesFile": null,
  "userDefinedEventsFile": null,
  "thumbnailFile": {},
  "files": [],
  "autorunPlugins": null,
  "applications": [],
  "dependencies": [],
  "groups": null,
  "permissions": []
}

______________________________________________________________

Response

Success Response Body

201: Returns the Presentation Entity created and referenced by the Uri (given by the Location header field) in the response. 

Example

{
   "id": 098765,
   "name": "BestTest",
   "creationDate": "2023-11-08T22:37:53.9028274Z",
   "lastModifiedDate": "2023-11-08T22:37:53.9028274Z",
   "projectFile": null,
   "autorun":    {
      "version": "10.0.98",
      "isCustom": false
   },
   "deviceWebPage":    {
      "id": 2345678,
      "name": "Default_PresentationWebPage"
   },
   "deviceModel": "HD1024",
   "screenSettings":    {
      "videoMode": "1920x1080x60p",
      "orientation": "Landscape",
      "connector": "HDMI",
      "backgroundColor": "RGB:000000",
      "overscan": "NoOverscan"
   },
   "language": "English",
   "status": "Draft",
   "autoplayFile": null,
   "resourcesFile": null,
   "userDefinedEventsFile": null,
   "thumbnailFile": null,
   "files": [   {
      "id": 000001,
      "path": "https://bsncloud.s3.amazonaws.com/public/autoplugins.default.brs",
      "type": "Stored",
      "name": "autoplugins.brs",
      "size": 146,
      "hash": "SHA1:ABBCB3E76C85E48D326E802428B23F0325667410",
      "creationDate": "2020-07-09T19:09:06.713Z",
      "lastModifiedDate": "0001-01-01T00:00:00"
   }],
   "autorunPlugins": [],
   "applications": [],
   "dependencies": [],
   "groups": null,
   "permissions": []
}

Failure

300: The requested representation could not be returned because it is ambiguous (there are multiple requested representations)

400: Either the request or request body is malformed and therefore invalid

401: The access token is invalid or not specified

403: The supplied access token, though valid, doesn't provide access to this method 

406: The server cannot return the data representation that you requested (as specified in the "Accept" header)

415: The server cannot accept the data representation that you sent (as specified in the "Content-Type" header)

5XX: Any 500 code is an internal server error

DELETE /

Removes presentations, specified by a filter, from a network. This allows multiple presentations to be deleted at once.

Required Scope Token

bsn.api.main.presentations.delete

______________________________________________________________

Query String Parameter

filter string required 

An expression for filtering search results

______________________________________________________________

Request Example

The example request parameters and headers are set as follows:

  • filter is set to [Status] IS 'Draft'

DELETE /2022/06/REST/Presentations/?filter=%5BStatus%5D%20IS%20%27Draft%27 HTTP/1.1
Host: api.bsn.cloud
Connection: Keep-Alive
Authorization: Bearer {{UserAccessToken}}
Accept: application/json, application/vnd.bsn.error+json
Accept-Encoding: gzip,deflate

______________________________________________________________

Response

Success Response Body

200: Returns the number of affected presentations as an integer value

Failure

300: The requested representation could not be returned because it is ambiguous (there are multiple requested representations)

400: The request is malformed and therefore invalid

401: The access token is invalid or not specified

403: The supplied access token, though valid, doesn't provide access to this method 

406: The server cannot return the data representation that you requested (as specified in the "Accept" header)

5XX: Any 500 code is an internal server error

GET /Count/ 

Retrieves the number of presentations on the network matching the specified filter criteria. If no filter is included, this call returns the total number of presentations on the network. 

Required Scope Token

bsn.api.main.presentations.retrieve

______________________________________________________________

Query String Parameter

filter string optional 

An expression for filtering search results. The default value is null.

______________________________________________________________

Request Example

The example request parameters and headers are set as follows:

  • filter is set to [LastModifiedDate] IS IN THE RANGE '2020-07-01' AND '2020-08-01'

GET /2022/06/REST/Presentations/Count/?filter=%5BLastModifiedDate%5D%20IS%20IN%20THE%20RANGE%20%272020-07-01%27%20AND%20%272020-08-01%27 HTTP/1.1
Host: api.bsn.cloud
Connection: Keep-Alive
Authorization: Bearer {{UserAccessToken}}
Accept: application/json, application/vnd.bsn.error+json
Accept-Encoding: gzip,deflate

______________________________________________________________

Response

Success Response Body

200: The number of presentations is returned as an integer value.

Failure

300: The requested representation could not be returned because it is ambiguous (there are multiple requested representations)

400: The request is malformed and therefore invalid

401: The access token is invalid or not specified

403: The supplied access token, though valid, doesn't provide access to this method 

406: The server cannot return the data representation that you requested (as specified in the "Accept" header)

5XX: Any 500 code is an internal server error

GET /{id:int}/ 

Returns the specified presentation 

Required Scope Token

bsn.api.main.presentations.retrieve

______________________________________________________________

Segment

id int 

A unique identifier for the presentation 

______________________________________________________________

Request Example

The example request parameters and headers are set as follows:

  • id is set to 123456

GET /2022/06/REST/Presentations/123456/ HTTP/1.1
Host: api.bsn.cloud
Connection: Keep-Alive
Authorization: Bearer {{UserAccessToken}}
Accept: application/json, application/vnd.bsn.error+json
Accept-Encoding: gzip,deflate

______________________________________________________________

Response

Success Response with Body

200: Returns the Presentation Entity

Success Response

304: The resource was not modified since the time specified in the “If-Modified-Since” header

Example

This is an example of a 200 level response:

{
   "id": 123456,
   "type": "Complete",
   "name": "JaneDoeTest",
   "creationDate": "2023-05-10T16:20:37.37Z",
   "lastModifiedDate": "2023-11-08T22:37:53.903Z",
   "projectFile":    {
      "id": 1234567,
      "path": "https://bsncloud.s3.amazonaws.com/JaneDoeTesting/0a704ff75585f18147d83ac90d02bb8c",
      "type": "Stored",
      "name": "JaneDoeTest.bpfx",
      "size": 36903,
      "hash": "SHA1:36A3BBEC3E97F9B1C48248F7173FEE141245D122",
      "creationDate": "2023-09-08T16:08:13.09Z",
      "lastModifiedDate": "2023-09-08T16:08:12.523Z"
   },
   "autorun":    {
      "version": "10.0.98",
      "isCustom": false
   },
   "deviceWebPage":    {
      "id": 2345678,
      "name": "Default_PresentationWebPage"
   },
   "deviceModel": "HD1024",
   "screenSettings":    {
      "videoMode": "1920x1080x60p",
      "orientation": "Landscape",
      "connector": "HDMI",
      "backgroundColor": "RGB:000000",
      "overscan": "NoOverscan"
   },
   "language": "English",
   "status": "Draft",
   "autoplayFile":       {
         "id": 12345,
         "path": "https://bsncloud.s3.amazonaws.com/JaneDoeTesting/98b3a8e5f8179331bd54c5bd95178687",
         "type": "Stored",
         "name": "autoplay-JaneDoeTest.json",
         "size": 128875,
         "hash": "SHA1:BB9C850B156B799389B78F404448456A861BFD67",
         "creationDate": "2023-11-08T22:37:53.903Z",
         "lastModifiedDate": "2023-06-20T15:14:12.207Z"
      },
   "resourcesFile":       {
         "id": 12345,
         "path": "https://bsncloud.s3.amazonaws.com/JaneDoeTesting/cd420f1f6e497e845e2b8350dda09e23",
         "type": "Stored",
         "name": "resources.txt",
         "size": 0,
         "hash": "SHA1:DA39A3BB5E6B4B0D3255BFEF95601890AFD80709",
         "creationDate": "2023-05-10T16:25:06.717Z",
         "lastModifiedDate": "2023-05-10T16:25:06.02Z"
      },
   "userDefinedEventsFile": null,
   "thumbnailFile":       {
         "id": 12345,
         "path": "https://bsncloud.s3.amazonaws.com/JaneDoeTesting/cc79c72f771fa58dac9b23788381b337",
         "type": "Stored",
         "name": "JaneDoeTest.thmb.jpg",
         "size": 1977,
         "hash": "SHA1:52G80141B47757FA2C541EBE6338FFC91EA6A52D",
         "creationDate": "2023-05-11T04:15:51.913Z",
         "lastModifiedDate": "2023-05-11T04:15:51.12Z"
      },
   "files": [   {
      "id": 000001,
      "path": "https://bsncloud.s3.amazonaws.com/public/autoplugins.default.brs",
      "type": "Stored",
      "name": "autoplugins.brs",
      "size": 146,
      "hash": "SHA1:A34CB3E76C85E48D326E802428B23F0325667410",
      "creationDate": "2020-07-09T19:09:06.713Z",
      "lastModifiedDate": "0001-01-01T00:00:00"
   }],
   "autorunPlugins": [],
   "applications": [],
   "dependencies": [],
   "groups": [],
   "permissions": []
}

Failure

300: The requested representation could not be returned because it is ambiguous (there are multiple requested representations)

400: The request is malformed and therefore invalid

401: The access token is invalid or not specified

403: The supplied access token, though valid, doesn't provide access to this method 

404: The server cannot find the requested resource (the path does not exist)

406: The server cannot return the data representation that you requested (as specified in the "Accept" header)

5XX: Any 500 code is an internal server error

PUT /{id:int}/ 

Modifies the specified presentation 

Required Scope Token

bsn.api.main.presentations.update

______________________________________________________________

Segment

id int 

A unique identifier for the presentation

______________________________________________________________

Request Body

The Presentation Entity

______________________________________________________________

Request Example

The example request parameters and headers are set as follows:

  • id is set to 123456

PUT /2022/06/REST/Presentations/123456/ HTTP/1.1
Host: api.bsn.cloud
Connection: Keep-Alive
Authorization: Bearer {{UserAccessToken}}
Accept: application/json, application/vnd.bsn.error+json
Accept-Encoding: gzip,deflate
Content-Type: application/json
Content-Length: 1341

This is the example request body:

{
  "id": 123456,
  "type": "Complete",
  "name": "JaneDoeTest",
  "creationDate": "0001-01-01T00:00:00",
  "lastModifiedDate": "0001-01-01T00:00:00",
  "projectFile": {
    "id": 12345,
    "path": null,
    "type": "Stored",
    "name": "JaneDoeTest.bpfx",
    "size": 0,
    "hash": null,
    "creationDate": "0001-01-01T00:00:00",
    "lastModifiedDate": "0001-01-01T00:00:00"
  },
  "autorun": {
    "version": "10.0.98",
    "isCustom": false
  },
  "deviceWebPage": {
    "id": 2345678,
    "name": "Default_PresentationWebPage"
  },
  "deviceModel": "HD1024",
  "screenSettings": {
    "videoMode": "1920x1080x60p",
    "orientation": "Landscape",
    "connector": "HDMI",
    "backgroundColor": "RGB:000000",
    "overscan": "NoOverscan"
  },
  "language": "English",
  "status": "Draft",
  "autoplayFile": {
    "id": 12345,
    "path": "https://bsncloud.s3.amazonaws.com/JaneDoeTesting/98b3a8e5f8179331bd54c5bd95178687",
    "type": "Stored",
    "name": "autoplay-JaneDoeTest.json",
    "size": 128875,
    "hash": "SHA1:BB9C850B156B799389B78F404448456A861BFD67",
    "creationDate": "2023-11-08T22:37:53.903Z",
    "lastModifiedDate": "2023-06-20T15:14:12.207Z"
  },
  "resourcesFile": {
    "id": 12345,
    "path": "https://bsncloud.s3.amazonaws.com/JaneDoeTesting/cd420f1f6e497e845e2b8350dda09e23",
    "type": "Stored",
    "name": "resources.txt",
    "size": 0,
    "hash": "SHA1:DA39A3BB5E6B4B0D3255BFEF95601890AFD80709",
    "creationDate": "2023-05-10T16:25:06.717Z",
    "lastModifiedDate": "2023-05-10T16:25:06.02Z"
  },
  "userDefinedEventsFile": null,
  "thumbnailFile": {
    "id": 12345,
    "path": "https://bsncloud.s3.amazonaws.com/JaneDoeTesting/cc79c72f771fa58dac9b23788381b337",
    "type": "Stored",
    "name": "JaneDoeTest.thmb.jpg",
    "size": 1977,
    "hash": "SHA1:52G80141B47757FA2C541EBE6338FFC91EA6A52D",
    "creationDate": "2023-05-11T04:15:51.913Z",
    "lastModifiedDate": "2023-05-11T04:15:51.12Z"
  },
  "files": [
    {
      "mediaType": "Video",
      "id": 12345,
      "path": "https://bsncloud.s3.amazonaws.com/JaneDoeTesting/146bf3dd806cf10c940996c99c392a42",
      "type": "Media",
      "name": "New BrightWall Mockup.mp4",
      "size": 14788538,
      "hash": "SHA1:4271F163089C674826AECDDCD4FC6FA1B2332D66",
      "creationDate": "2022-07-29T16:26:17.7Z",
      "lastModifiedDate": "2022-07-26T14:58:26.57Z"
    }
  ],
  "autorunPlugins": [
    {
      "id": 12345,
      "name": "SetMultiScreenVideoMode",
      "fileInfo": {
        "id": 12345,
        "path": "https://bsncloud.s3.amazonaws.com/JaneDoeTesting/1d76cbeffb487d687fb8362593211e1b",
        "type": "Stored",
        "name": "SetMultiScreenVideoMode.brs",
        "size": 2628,
        "hash": "55F5B577643FBAFCF719016E04F1E458FCD2C104",
        "creationDate": "2024-01-12T17:06:40.64Z",
        "lastModifiedDate": "2024-01-12T17:06:40.64Z"
      },
      "presentations": null
    }
  ],
  "applications": [],
  "dependencies": [],
  "groups": null,
  "permissions": []
}

______________________________________________________________

Response

Success

204: The specified presentation instance was successfully updated

Failure

300: The requested representation could not be returned because it is ambiguous (there are multiple requested representations)

400: Either the request or request body is malformed and therefore invalid

401: The access token is invalid or not specified

403: The supplied access token, though valid, doesn't provide access to this method 

404: The server cannot find the requested resource (the path does not exist)

406: The server cannot return the data representation that you requested (as specified in the "Accept" header)

412: Precondition failed (the resource changed since the time specified in the “If-Unmodified-Since” header value)

415: The server cannot accept the data representation that you sent (as specified in the "Content-Type" header)

5XX: Any 500 code is an internal server error

DELETE /{id:int}/ 

Removes the specified presentation

Required Scope Token

bsn.api.main.presentations.delete

______________________________________________________________

Segment

id int  

A unique identifier for the presentation

______________________________________________________________

Request Example

The example request parameters and headers are set as follows:

  • id is set to 123456

DELETE /2022/06/REST/Presentations/123456/ HTTP/1.1
Host: api.bsn.cloud
Connection: Keep-Alive
Authorization: Bearer {{UserAccessToken}}
Accept: application/json, application/vnd.bsn.error+json
Accept-Encoding: gzip,deflate

______________________________________________________________

Response

Success

204: The specified presentation was successfully deleted from the network

Failure

300: The requested representation could not be returned because it is ambiguous (there are multiple requested representations)

400: The request is malformed and therefore invalid

401: The access token is invalid or not specified

403: The supplied access token, though valid, doesn't provide access to this method 

404: The server cannot find the requested resource (the path does not exist)

406: The server cannot return the data representation that you requested (as specified in the "Accept" header)

412: Precondition failed (the resource changed since the time specified in the “If-Unmodified-Since” header value)

5XX: Any 500 code is an internal server error

GET /{name}/ 

Returns the specified presentation

Required Scope Token

bsn.api.main.presentations.retrieve

______________________________________________________________

Segment

name string 

The name of the presentation 

______________________________________________________________

Request Example

The example request parameters and headers are set as follows:

  • name is set to JaneDoeTest

GET /2022/06/REST/Presentations/JaneDoeTest/ HTTP/1.1
Host: api.bsn.cloud
Connection: Keep-Alive
Authorization: Bearer {{UserAccessToken}}
Accept: application/json, application/vnd.bsn.error+json
Accept-Encoding: gzip,deflate

______________________________________________________________

Response

Success Response with Body

200: Returns the Presentation Entity

Success Response

304: The resource was not modified since the time specified in the “If-Modified-Since” header

Example

This is an example of a 200 level response:

{
   "id": 123456,
   "type": "Complete",
   "name": "JaneDoeTest",
   "creationDate": "2023-05-10T16:20:37.37Z",
   "lastModifiedDate": "2023-11-08T22:37:53.903Z",
   "projectFile":    {
      "id": 1234567,
      "path": "https://bsncloud.s3.amazonaws.com/JaneDoeTesting/0a704ff75585f18147d83ac90d02bb8c",
      "type": "Stored",
      "name": "JaneDoeTest.bpfx",
      "size": 36903,
      "hash": "SHA1:36A3BBEC3E97F9B1C48248F7173FEE141245D122",
      "creationDate": "2023-09-08T16:08:13.09Z",
      "lastModifiedDate": "2023-09-08T16:08:12.523Z"
   },
   "autorun":    {
      "version": "10.0.98",
      "isCustom": false
   },
   "deviceWebPage":    {
      "id": 2345678,
      "name": "Default_PresentationWebPage"
   },
   "deviceModel": "HD1024",
   "screenSettings":    {
      "videoMode": "1920x1080x60p",
      "orientation": "Landscape",
      "connector": "HDMI",
      "backgroundColor": "RGB:000000",
      "overscan": "NoOverscan"
   },
   "language": "English",
   "status": "Draft",
   "autoplayFile":       {
         "id": 12345,
         "path": "https://bsncloud.s3.amazonaws.com/JaneDoeTesting/98b3a8e5f8179331bd54c5bd95178687",
         "type": "Stored",
         "name": "autoplay-JaneDoeTest.json",
         "size": 128875,
         "hash": "SHA1:BB9C850B156B799389B78F404448456A861BFD67",
         "creationDate": "2023-11-08T22:37:53.903Z",
         "lastModifiedDate": "2023-06-20T15:14:12.207Z"
      },
   "resourcesFile":       {
         "id": 12345,
         "path": "https://bsncloud.s3.amazonaws.com/JaneDoeTesting/cd420f1f6e497e845e2b8350dda09e23",
         "type": "Stored",
         "name": "resources.txt",
         "size": 0,
         "hash": "SHA1:DA39A3BB5E6B4B0D3255BFEF95601890AFD80709",
         "creationDate": "2023-05-10T16:25:06.717Z",
         "lastModifiedDate": "2023-05-10T16:25:06.02Z"
      },
   "userDefinedEventsFile": null,
   "thumbnailFile":       {
         "id": 12345,
         "path": "https://bsncloud.s3.amazonaws.com/JaneDoeTesting/cc79c72f771fa58dac9b23788381b337",
         "type": "Stored",
         "name": "JaneDoeTest.thmb.jpg",
         "size": 1977,
         "hash": "SHA1:52G80141B47757FA2C541EBE6338FFC91EA6A52D",
         "creationDate": "2023-05-11T04:15:51.913Z",
         "lastModifiedDate": "2023-05-11T04:15:51.12Z"
      },
   "files": [   {
      "id": 000001,
      "path": "https://bsncloud.s3.amazonaws.com/public/autoplugins.default.brs",
      "type": "Stored",
      "name": "autoplugins.brs",
      "size": 146,
      "hash": "SHA1:A34CB3E76C85E48D326E802428B23F0325667410",
      "creationDate": "2020-07-09T19:09:06.713Z",
      "lastModifiedDate": "0001-01-01T00:00:00"
   }],
   "autorunPlugins": [],
   "applications": [],
   "dependencies": [],
   "groups": [],
   "permissions": []
}

Failure

300: The requested representation could not be returned because it is ambiguous (there are multiple requested representations)

400: The request is malformed and therefore invalid

401: The access token is invalid or not specified

403: The supplied access token, though valid, doesn't provide access to this method 

404: The server cannot find the requested resource (the path does not exist)

406: The server cannot return the data representation that you requested (as specified in the "Accept" header)

5XX: Any 500 code is an internal server error

PUT /{name}/ 

Modifies the specified presentation

Required Scope Token

bsn.api.main.presentations.update

______________________________________________________________

Segment

name string 

The name of the presentation

______________________________________________________________

Request Body

The Presentation Entity

______________________________________________________________

Request Example

The example request parameters and headers are set as follows:

  • name is set to JaneDoeTest

PUT /2022/06/REST/Presentations/JaneDoeTest/ HTTP/1.1
Host: api.bsn.cloud
Connection: Keep-Alive
Authorization: Bearer {{UserAccessToken}}
Accept: application/json, application/vnd.bsn.error+json
Accept-Encoding: gzip,deflate
Content-Type: application/json
Content-Length: 1341

This is the example request body:

{
  "id": 123456,
  "type": "Complete",
  "name": "JaneDoeTest",
  "creationDate": "0001-01-01T00:00:00",
  "lastModifiedDate": "0001-01-01T00:00:00",
  "projectFile": {
    "id": 12345,
    "path": null,
    "type": "Stored",
    "name": "JaneDoeTest.bpfx",
    "size": 0,
    "hash": null,
    "creationDate": "0001-01-01T00:00:00",
    "lastModifiedDate": "0001-01-01T00:00:00"
  },
  "autorun": {
    "version": "10.0.98",
    "isCustom": false
  },
  "deviceWebPage": {
    "id": 2345678,
    "name": "Default_PresentationWebPage"
  },
  "deviceModel": "HD1024",
  "screenSettings": {
    "videoMode": "1920x1080x60p",
    "orientation": "Landscape",
    "connector": "HDMI",
    "backgroundColor": "RGB:000000",
    "overscan": "NoOverscan"
  },
  "language": "English",
  "status": "Draft",
  "autoplayFile": {
    "id": 12345,
    "path": "https://bsncloud.s3.amazonaws.com/JaneDoeTesting/98b3a8e5f8179331bd54c5bd95178687",
    "type": "Stored",
    "name": "autoplay-JaneDoeTest.json",
    "size": 128875,
    "hash": "SHA1:BB9C850B156B799389B78F404448456A861BFD67",
    "creationDate": "2023-11-08T22:37:53.903Z",
    "lastModifiedDate": "2023-06-20T15:14:12.207Z"
  },
  "resourcesFile": {
    "id": 12345,
    "path": "https://bsncloud.s3.amazonaws.com/JaneDoeTesting/cd420f1f6e497e845e2b8350dda09e23",
    "type": "Stored",
    "name": "resources.txt",
    "size": 0,
    "hash": "SHA1:DA39A3BB5E6B4B0D3255BFEF95601890AFD80709",
    "creationDate": "2023-05-10T16:25:06.717Z",
    "lastModifiedDate": "2023-05-10T16:25:06.02Z"
  },
  "userDefinedEventsFile": null,
  "thumbnailFile": {
    "id": 12345,
    "path": "https://bsncloud.s3.amazonaws.com/JaneDoeTesting/cc79c72f771fa58dac9b23788381b337",
    "type": "Stored",
    "name": "JaneDoeTest.thmb.jpg",
    "size": 1977,
    "hash": "SHA1:52G80141B47757FA2C541EBE6338FFC91EA6A52D",
    "creationDate": "2023-05-11T04:15:51.913Z",
    "lastModifiedDate": "2023-05-11T04:15:51.12Z"
  },
  "files": [
    {
      "mediaType": "Video",
      "id": 12345,
      "path": "https://bsncloud.s3.amazonaws.com/JaneDoeTesting/146bf3dd806cf10c940996c99c392a42",
      "type": "Media",
      "name": "New BrightWall Mockup.mp4",
      "size": 14788538,
      "hash": "SHA1:4271F163089C674826AECDDCD4FC6FA1B2332D66",
      "creationDate": "2022-07-29T16:26:17.7Z",
      "lastModifiedDate": "2022-07-26T14:58:26.57Z"
    }
  ],
  "autorunPlugins": [
    {
      "id": 12345,
      "name": "SetMultiScreenVideoMode",
      "fileInfo": {
        "id": 12345,
        "path": "https://bsncloud.s3.amazonaws.com/JaneDoeTesting/1d76cbeffb487d687fb8362593211e1b",
        "type": "Stored",
        "name": "SetMultiScreenVideoMode.brs",
        "size": 2628,
        "hash": "55F5B577643FBAFCF719016E04F1E458FCD2C104",
        "creationDate": "2024-01-12T17:06:40.64Z",
        "lastModifiedDate": "2024-01-12T17:06:40.64Z"
      },
      "presentations": null
    }
  ],
  "applications": [],
  "dependencies": [],
  "groups": null,
  "permissions": []
}

______________________________________________________________

Response

Success

204: The specified presentation instance was successfully updated

Failure

300: The requested representation could not be returned because it is ambiguous (there are multiple requested representations)

400: Either the request or request body is malformed and therefore invalid

401: The access token is invalid or not specified

403: The supplied access token, though valid, doesn't provide access to this method 

404: The server cannot find the requested resource (the path does not exist)

406: The server cannot return the data representation that you requested (as specified in the "Accept" header)

412: Precondition failed (the resource changed since the time specified in the “If-Unmodified-Since” header value)

415: The server cannot accept the data representation that you sent (as specified in the "Content-Type" header)

5XX: Any 500 code is an internal server error

DELETE /{name}/ 

Removes the specified presentation 

Required Scope Token

bsn.api.main.presentations.delete

______________________________________________________________

Segment

name string  

The name of the presentation

______________________________________________________________

Request Example

The example request parameters and headers are set as follows:

  • name is set to JaneDoeTest

DELETE /2022/06/REST/Presentations/JaneDoeTest/ HTTP/1.1
Host: api.bsn.cloud
Connection: Keep-Alive
Authorization: Bearer {{UserAccessToken}}
Accept: application/json, application/vnd.bsn.error+json
Accept-Encoding: gzip,deflate

______________________________________________________________

Response 

Success

204: The specified presentation was successfully deleted from the network

Failure

300: The requested representation could not be returned because it is ambiguous (there are multiple requested representations)

400: The request is malformed and therefore invalid

401: The access token is invalid or not specified

403: The supplied access token, though valid, doesn't provide access to this method 

404: The server cannot find the requested resource (the path does not exist)

406: The server cannot return the data representation that you requested (as specified in the "Accept" header)

412: Precondition failed (the resource changed since the time specified in the “If-Unmodified-Since” header value)

5XX: Any 500 code is an internal server error

GET /Operations/ 

Returns the operational permissions granted to roles for specific business operations

Required Scope Token

bsn.api.main.operations.retrieve

______________________________________________________________

Request Example

The example request parameters and headers are set as follows:

GET /2022/06/REST/Presentations/Operations/ HTTP/1.1
Host: api.bsn.cloud
Connection: Keep-Alive
Authorization: Bearer {{UserAccessToken}}
Accept: application/json, application/vnd.bsn.error+json
Accept-Encoding: gzip,deflate

______________________________________________________________

Response

Success Response Body

200: Returns the Business Operations Entity

Example

 Expand to see response information
{
   "uid": "5e368789-94d8-423e-bebb-2f5451398067",
   "singularName": "Full Control",
   "pluralName": "Presentation (Full Control)",
   "fullName": "Presentation (Full Control)",
   "targetEntity": "Presentation",
   "appliance": "Instance, Collection",
   "parent": null,
   "descendants":    [
            {
         "uid": "c978aa8d-c7ac-410f-aec3-22e136d0ba58",
         "singularName": "View Presentation",
         "pluralName": "View Presentations",
         "fullName": "Presentation (Full Control) - View Presentations",
         "targetEntity": "Presentation",
         "appliance": "Instance, Collection",
         "parent":          {
            "uid": "5e368789-94d8-423e-bebb-2f5451398067",
            "singularName": "Full Control",
            "pluralName": "Presentation (Full Control)",
            "fullName": "Presentation (Full Control)",
            "targetEntity": "Presentation",
            "appliance": "Instance, Collection",
            "parent": null,
            "descendants": null,
            "permissions": null
         },
         "descendants": [],
         "permissions":          [
                        {
               "entityId": null,
               "operationUID": "c978aa8d-c7ac-410f-aec3-22e136d0ba58",
               "principal":                {
                  "name": "Publishers",
                  "isCustom": false,
                  "type": "Role",
                  "id": 4
               },
               "isFixed": true,
               "isInherited": false,
               "isAllowed": true,
               "creationDate": "2020-08-17T20:49:46.8Z"
            },
                        {
               "entityId": null,
               "operationUID": "c978aa8d-c7ac-410f-aec3-22e136d0ba58",
               "principal":                {
                  "name": "Network Managers",
                  "isCustom": false,
                  "type": "Role",
                  "id": 5
               },
               "isFixed": true,
               "isInherited": false,
               "isAllowed": true,
               "creationDate": "2020-08-17T20:49:47.43Z"
            },
                        {
               "entityId": null,
               "operationUID": "c978aa8d-c7ac-410f-aec3-22e136d0ba58",
               "principal":                {
                  "name": "Viewers",
                  "isCustom": false,
                  "type": "Role",
                  "id": 6
               },
               "isFixed": true,
               "isInherited": false,
               "isAllowed": true,
               "creationDate": "2020-08-17T20:49:47.907Z"
            },
                        {
               "entityId": null,
               "operationUID": "c978aa8d-c7ac-410f-aec3-22e136d0ba58",
               "principal":                {
                  "name": "Administrators",
                  "isCustom": false,
                  "type": "Role",
                  "id": 1
               },
               "isFixed": true,
               "isInherited": true,
               "isAllowed": true,
               "creationDate": "2020-08-17T20:49:45.93Z"
            },
                        {
               "entityId": null,
               "operationUID": "c978aa8d-c7ac-410f-aec3-22e136d0ba58",
               "principal":                {
                  "name": "General Managers",
                  "isCustom": false,
                  "type": "Role",
                  "id": 2
               },
               "isFixed": true,
               "isInherited": true,
               "isAllowed": true,
               "creationDate": "2020-08-17T20:49:46.217Z"
            },
                        {
               "entityId": null,
               "operationUID": "c978aa8d-c7ac-410f-aec3-22e136d0ba58",
               "principal":                {
                  "name": "Creators",
                  "isCustom": false,
                  "type": "Role",
                  "id": 3
               },
               "isFixed": true,
               "isInherited": true,
               "isAllowed": true,
               "creationDate": "2020-08-17T20:49:46.48Z"
            },
                        {
               "entityId": null,
               "operationUID": "c978aa8d-c7ac-410f-aec3-22e136d0ba58",
               "principal":                {
                  "name": "Custom",
                  "isCustom": true,
                  "type": "Role",
                  "id": 10498
               },
               "isFixed": false,
               "isInherited": true,
               "isAllowed": false,
               "creationDate": "2023-11-07T22:04:00.857Z"
            }
         ]
      },
            {
         "uid": "d08cf494-5a8d-45e5-99d8-0b8ec61547a0",
         "singularName": "View Autorun Plugin",
         "pluralName": "View Autorun Plugins",
         "fullName": "Presentation (Full Control) - View Autorun Plugins",
         "targetEntity": "Presentation",
         "appliance": "Instance, Collection",
         "parent":          {
            "uid": "5e368789-94d8-423e-bebb-2f5451398067",
            "singularName": "Full Control",
            "pluralName": "Presentation (Full Control)",
            "fullName": "Presentation (Full Control)",
            "targetEntity": "Presentation",
            "appliance": "Instance, Collection",
            "parent": null,
            "descendants": null,
            "permissions": null
         },
         "descendants": [],
         "permissions":          [
                        {
               "entityId": null,
               "operationUID": "d08cf494-5a8d-45e5-99d8-0b8ec61547a0",
               "principal":                {
                  "name": "Viewers",
                  "isCustom": false,
                  "type": "Role",
                  "id": 6
               },
               "isFixed": true,
               "isInherited": false,
               "isAllowed": true,
               "creationDate": "2023-03-20T08:35:42.823Z"
            },
                        {
               "entityId": null,
               "operationUID": "d08cf494-5a8d-45e5-99d8-0b8ec61547a0",
               "principal":                {
                  "name": "Administrators",
                  "isCustom": false,
                  "type": "Role",
                  "id": 1
               },
               "isFixed": true,
               "isInherited": true,
               "isAllowed": true,
               "creationDate": "2020-08-17T20:49:45.93Z"
            },
                        {
               "entityId": null,
               "operationUID": "d08cf494-5a8d-45e5-99d8-0b8ec61547a0",
               "principal":                {
                  "name": "General Managers",
                  "isCustom": false,
                  "type": "Role",
                  "id": 2
               },
               "isFixed": true,
               "isInherited": true,
               "isAllowed": true,
               "creationDate": "2020-08-17T20:49:46.217Z"
            },
                        {
               "entityId": null,
               "operationUID": "d08cf494-5a8d-45e5-99d8-0b8ec61547a0",
               "principal":                {
                  "name": "Creators",
                  "isCustom": false,
                  "type": "Role",
                  "id": 3
               },
               "isFixed": true,
               "isInherited": true,
               "isAllowed": true,
               "creationDate": "2020-08-17T20:49:46.48Z"
            },
                        {
               "entityId": null,
               "operationUID": "d08cf494-5a8d-45e5-99d8-0b8ec61547a0",
               "principal":                {
                  "name": "Publishers",
                  "isCustom": false,
                  "type": "Role",
                  "id": 4
               },
               "isFixed": true,
               "isInherited": true,
               "isAllowed": false,
               "creationDate": "2020-08-17T20:49:46.787Z"
            },
                        {
               "entityId": null,
               "operationUID": "d08cf494-5a8d-45e5-99d8-0b8ec61547a0",
               "principal":                {
                  "name": "Network Managers",
                  "isCustom": false,
                  "type": "Role",
                  "id": 5
               },
               "isFixed": true,
               "isInherited": true,
               "isAllowed": false,
               "creationDate": "2020-08-17T20:49:47.417Z"
            },
                        {
               "entityId": null,
               "operationUID": "d08cf494-5a8d-45e5-99d8-0b8ec61547a0",
               "principal":                {
                  "name": "Custom",
                  "isCustom": true,
                  "type": "Role",
                  "id": 10498
               },
               "isFixed": false,
               "isInherited": true,
               "isAllowed": false,
               "creationDate": "2023-11-07T22:04:00.857Z"
            }
         ]
      },
            {
         "uid": "ffea0d95-b04f-4fb9-90d2-c8d314c89cd7",
         "singularName": "View Contents",
         "pluralName": "View Contents",
         "fullName": "Presentation (Full Control) - View Contents",
         "targetEntity": "Presentation",
         "appliance": "Instance, Collection",
         "parent":          {
            "uid": "5e368789-94d8-423e-bebb-2f5451398067",
            "singularName": "Full Control",
            "pluralName": "Presentation (Full Control)",
            "fullName": "Presentation (Full Control)",
            "targetEntity": "Presentation",
            "appliance": "Instance, Collection",
            "parent": null,
            "descendants": null,
            "permissions": null
         },
         "descendants": [],
         "permissions":          [
                        {
               "entityId": null,
               "operationUID": "ffea0d95-b04f-4fb9-90d2-c8d314c89cd7",
               "principal":                {
                  "name": "Viewers",
                  "isCustom": false,
                  "type": "Role",
                  "id": 6
               },
               "isFixed": true,
               "isInherited": false,
               "isAllowed": true,
               "creationDate": "2020-08-17T20:49:47.917Z"
            },
                        {
               "entityId": null,
               "operationUID": "ffea0d95-b04f-4fb9-90d2-c8d314c89cd7",
               "principal":                {
                  "name": "Administrators",
                  "isCustom": false,
                  "type": "Role",
                  "id": 1
               },
               "isFixed": true,
               "isInherited": true,
               "isAllowed": true,
               "creationDate": "2020-08-17T20:49:45.93Z"
            },
                        {
               "entityId": null,
               "operationUID": "ffea0d95-b04f-4fb9-90d2-c8d314c89cd7",
               "principal":                {
                  "name": "General Managers",
                  "isCustom": false,
                  "type": "Role",
                  "id": 2
               },
               "isFixed": true,
               "isInherited": true,
               "isAllowed": true,
               "creationDate": "2020-08-17T20:49:46.217Z"
            },
                        {
               "entityId": null,
               "operationUID": "ffea0d95-b04f-4fb9-90d2-c8d314c89cd7",
               "principal":                {
                  "name": "Creators",
                  "isCustom": false,
                  "type": "Role",
                  "id": 3
               },
               "isFixed": true,
               "isInherited": true,
               "isAllowed": true,
               "creationDate": "2020-08-17T20:49:46.48Z"
            },
                        {
               "entityId": null,
               "operationUID": "ffea0d95-b04f-4fb9-90d2-c8d314c89cd7",
               "principal":                {
                  "name": "Publishers",
                  "isCustom": false,
                  "type": "Role",
                  "id": 4
               },
               "isFixed": true,
               "isInherited": true,
               "isAllowed": false,
               "creationDate": "2020-08-17T20:49:46.787Z"
            },
                        {
               "entityId": null,
               "operationUID": "ffea0d95-b04f-4fb9-90d2-c8d314c89cd7",
               "principal":                {
                  "name": "Network Managers",
                  "isCustom": false,
                  "type": "Role",
                  "id": 5
               },
               "isFixed": true,
               "isInherited": true,
               "isAllowed": false,
               "creationDate": "2020-08-17T20:49:47.417Z"
            },
                        {
               "entityId": null,
               "operationUID": "ffea0d95-b04f-4fb9-90d2-c8d314c89cd7",
               "principal":                {
                  "name": "Custom",
                  "isCustom": true,
                  "type": "Role",
                  "id": 10498
               },
               "isFixed": false,
               "isInherited": true,
               "isAllowed": false,
               "creationDate": "2023-11-07T22:04:00.857Z"
            }
         ]
      },
            {
         "uid": "8054f9c1-4afe-487c-921c-15e118d5e89e",
         "singularName": "Create Presentation",
         "pluralName": "Create Presentation",
         "fullName": "Presentation (Full Control) - Create Presentation",
         "targetEntity": "Presentation",
         "appliance": "Collection",
         "parent":          {
            "uid": "5e368789-94d8-423e-bebb-2f5451398067",
            "singularName": "Full Control",
            "pluralName": "Presentation (Full Control)",
            "fullName": "Presentation (Full Control)",
            "targetEntity": "Presentation",
            "appliance": "Instance, Collection",
            "parent": null,
            "descendants": null,
            "permissions": null
         },
         "descendants": [],
         "permissions":          [
                        {
               "entityId": null,
               "operationUID": "8054f9c1-4afe-487c-921c-15e118d5e89e",
               "principal":                {
                  "name": "Administrators",
                  "isCustom": false,
                  "type": "Role",
                  "id": 1
               },
               "isFixed": true,
               "isInherited": true,
               "isAllowed": true,
               "creationDate": "2020-08-17T20:49:45.93Z"
            },
                        {
               "entityId": null,
               "operationUID": "8054f9c1-4afe-487c-921c-15e118d5e89e",
               "principal":                {
                  "name": "General Managers",
                  "isCustom": false,
                  "type": "Role",
                  "id": 2
               },
               "isFixed": true,
               "isInherited": true,
               "isAllowed": true,
               "creationDate": "2020-08-17T20:49:46.217Z"
            },
                        {
               "entityId": null,
               "operationUID": "8054f9c1-4afe-487c-921c-15e118d5e89e",
               "principal":                {
                  "name": "Creators",
                  "isCustom": false,
                  "type": "Role",
                  "id": 3
               },
               "isFixed": true,
               "isInherited": true,
               "isAllowed": true,
               "creationDate": "2020-08-17T20:49:46.48Z"
            },
                        {
               "entityId": null,
               "operationUID": "8054f9c1-4afe-487c-921c-15e118d5e89e",
               "principal":                {
                  "name": "Publishers",
                  "isCustom": false,
                  "type": "Role",
                  "id": 4
               },
               "isFixed": true,
               "isInherited": true,
               "isAllowed": false,
               "creationDate": "2020-08-17T20:49:46.787Z"
            },
                        {
               "entityId": null,
               "operationUID": "8054f9c1-4afe-487c-921c-15e118d5e89e",
               "principal":                {
                  "name": "Network Managers",
                  "isCustom": false,
                  "type": "Role",
                  "id": 5
               },
               "isFixed": true,
               "isInherited": true,
               "isAllowed": false,
               "creationDate": "2020-08-17T20:49:47.417Z"
            },
                        {
               "entityId": null,
               "operationUID": "8054f9c1-4afe-487c-921c-15e118d5e89e",
               "principal":                {
                  "name": "Viewers",
                  "isCustom": false,
                  "type": "Role",
                  "id": 6
               },
               "isFixed": true,
               "isInherited": true,
               "isAllowed": false,
               "creationDate": "2020-08-17T20:49:47.893Z"
            },
                        {
               "entityId": null,
               "operationUID": "8054f9c1-4afe-487c-921c-15e118d5e89e",
               "principal":                {
                  "name": "Custom",
                  "isCustom": true,
                  "type": "Role",
                  "id": 10498
               },
               "isFixed": false,
               "isInherited": true,
               "isAllowed": false,
               "creationDate": "2023-11-07T22:04:00.857Z"
            }
         ]
      },
            {
         "uid": "bb823893-a8ff-49f1-8dca-63026c5e9787",
         "singularName": "Overwrite Presentation",
         "pluralName": "Overwrite Presentation",
         "fullName": "Presentation (Full Control) - Overwrite Presentation",
         "targetEntity": "Presentation",
         "appliance": "Instance, Collection",
         "parent":          {
            "uid": "5e368789-94d8-423e-bebb-2f5451398067",
            "singularName": "Full Control",
            "pluralName": "Presentation (Full Control)",
            "fullName": "Presentation (Full Control)",
            "targetEntity": "Presentation",
            "appliance": "Instance, Collection",
            "parent": null,
            "descendants": null,
            "permissions": null
         },
         "descendants": [],
         "permissions":          [
                        {
               "entityId": null,
               "operationUID": "bb823893-a8ff-49f1-8dca-63026c5e9787",
               "principal":                {
                  "name": "Administrators",
                  "isCustom": false,
                  "type": "Role",
                  "id": 1
               },
               "isFixed": true,
               "isInherited": true,
               "isAllowed": true,
               "creationDate": "2020-08-17T20:49:45.93Z"
            },
                        {
               "entityId": null,
               "operationUID": "bb823893-a8ff-49f1-8dca-63026c5e9787",
               "principal":                {
                  "name": "General Managers",
                  "isCustom": false,
                  "type": "Role",
                  "id": 2
               },
               "isFixed": true,
               "isInherited": true,
               "isAllowed": true,
               "creationDate": "2020-08-17T20:49:46.217Z"
            },
                        {
               "entityId": null,
               "operationUID": "bb823893-a8ff-49f1-8dca-63026c5e9787",
               "principal":                {
                  "name": "Creators",
                  "isCustom": false,
                  "type": "Role",
                  "id": 3
               },
               "isFixed": true,
               "isInherited": true,
               "isAllowed": true,
               "creationDate": "2020-08-17T20:49:46.48Z"
            },
                        {
               "entityId": null,
               "operationUID": "bb823893-a8ff-49f1-8dca-63026c5e9787",
               "principal":                {
                  "name": "Publishers",
                  "isCustom": false,
                  "type": "Role",
                  "id": 4
               },
               "isFixed": true,
               "isInherited": true,
               "isAllowed": false,
               "creationDate": "2020-08-17T20:49:46.787Z"
            },
                        {
               "entityId": null,
               "operationUID": "bb823893-a8ff-49f1-8dca-63026c5e9787",
               "principal":                {
                  "name": "Network Managers",
                  "isCustom": false,
                  "type": "Role",
                  "id": 5
               },
               "isFixed": true,
               "isInherited": true,
               "isAllowed": false,
               "creationDate": "2020-08-17T20:49:47.417Z"
            },
                        {
               "entityId": null,
               "operationUID": "bb823893-a8ff-49f1-8dca-63026c5e9787",
               "principal":                {
                  "name": "Viewers",
                  "isCustom": false,
                  "type": "Role",
                  "id": 6
               },
               "isFixed": true,
               "isInherited": true,
               "isAllowed": false,
               "creationDate": "2020-08-17T20:49:47.893Z"
            },
                        {
               "entityId": null,
               "operationUID": "bb823893-a8ff-49f1-8dca-63026c5e9787",
               "principal":                {
                  "name": "Custom",
                  "isCustom": true,
                  "type": "Role",
                  "id": 10498
               },
               "isFixed": false,
               "isInherited": true,
               "isAllowed": false,
               "creationDate": "2023-11-07T22:04:00.857Z"
            }
         ]
      },
            {
         "uid": "a9db6cdb-513b-4cca-a0ce-35d571c56cd6",
         "singularName": "Update Presentation",
         "pluralName": "Update Presentation",
         "fullName": "Presentation (Full Control) - Update Presentation",
         "targetEntity": "Presentation",
         "appliance": "Instance, Collection",
         "parent":          {
            "uid": "5e368789-94d8-423e-bebb-2f5451398067",
            "singularName": "Full Control",
            "pluralName": "Presentation (Full Control)",
            "fullName": "Presentation (Full Control)",
            "targetEntity": "Presentation",
            "appliance": "Instance, Collection",
            "parent": null,
            "descendants": null,
            "permissions": null
         },
         "descendants":          [
                        {
               "uid": "f318d012-58f6-45e0-b347-a8e4418853f8",
               "singularName": "Add Autorun Plugin",
               "pluralName": "Add Autorun Plugin",
               "fullName": "Presentation (Full Control) - Update Presentation - Add Autorun Plugin",
               "targetEntity": "Presentation",
               "appliance": "Instance, Collection",
               "parent":                {
                  "uid": "a9db6cdb-513b-4cca-a0ce-35d571c56cd6",
                  "singularName": "Update Presentation",
                  "pluralName": "Update Presentation",
                  "fullName": "Presentation (Full Control) - Update Presentation",
                  "targetEntity": "Presentation",
                  "appliance": "Instance, Collection",
                  "parent": null,
                  "descendants": null,
                  "permissions": null
               },
               "descendants": [],
               "permissions":                [
                                    {
                     "entityId": null,
                     "operationUID": "f318d012-58f6-45e0-b347-a8e4418853f8",
                     "principal":                      {
                        "name": "Administrators",
                        "isCustom": false,
                        "type": "Role",
                        "id": 1
                     },
                     "isFixed": true,
                     "isInherited": true,
                     "isAllowed": true,
                     "creationDate": "2020-08-17T20:49:45.93Z"
                  },
                                    {
                     "entityId": null,
                     "operationUID": "f318d012-58f6-45e0-b347-a8e4418853f8",
                     "principal":                      {
                        "name": "General Managers",
                        "isCustom": false,
                        "type": "Role",
                        "id": 2
                     },
                     "isFixed": true,
                     "isInherited": true,
                     "isAllowed": true,
                     "creationDate": "2020-08-17T20:49:46.217Z"
                  },
                                    {
                     "entityId": null,
                     "operationUID": "f318d012-58f6-45e0-b347-a8e4418853f8",
                     "principal":                      {
                        "name": "Creators",
                        "isCustom": false,
                        "type": "Role",
                        "id": 3
                     },
                     "isFixed": true,
                     "isInherited": true,
                     "isAllowed": true,
                     "creationDate": "2020-08-17T20:49:46.48Z"
                  },
                                    {
                     "entityId": null,
                     "operationUID": "f318d012-58f6-45e0-b347-a8e4418853f8",
                     "principal":                      {
                        "name": "Publishers",
                        "isCustom": false,
                        "type": "Role",
                        "id": 4
                     },
                     "isFixed": true,
                     "isInherited": true,
                     "isAllowed": false,
                     "creationDate": "2020-08-17T20:49:46.787Z"
                  },
                                    {
                     "entityId": null,
                     "operationUID": "f318d012-58f6-45e0-b347-a8e4418853f8",
                     "principal":                      {
                        "name": "Network Managers",
                        "isCustom": false,
                        "type": "Role",
                        "id": 5
                     },
                     "isFixed": true,
                     "isInherited": true,
                     "isAllowed": false,
                     "creationDate": "2020-08-17T20:49:47.417Z"
                  },
                                    {
                     "entityId": null,
                     "operationUID": "f318d012-58f6-45e0-b347-a8e4418853f8",
                     "principal":                      {
                        "name": "Viewers",
                        "isCustom": false,
                        "type": "Role",
                        "id": 6
                     },
                     "isFixed": true,
                     "isInherited": true,
                     "isAllowed": false,
                     "creationDate": "2020-08-17T20:49:47.893Z"
                  },
                                    {
                     "entityId": null,
                     "operationUID": "f318d012-58f6-45e0-b347-a8e4418853f8",
                     "principal":                      {
                        "name": "Custom",
                        "isCustom": true,
                        "type": "Role",
                        "id": 10498
                     },
                     "isFixed": false,
                     "isInherited": true,
                     "isAllowed": false,
                     "creationDate": "2023-11-07T22:04:00.857Z"
                  }
               ]
            },
                        {
               "uid": "b2defd99-0cf9-46f7-949e-de9e6f5bce27",
               "singularName": "Remove Autorun Plugin",
               "pluralName": "Remove Autorun Plugin",
               "fullName": "Presentation (Full Control) - Update Presentation - Remove Autorun Plugin",
               "targetEntity": "Presentation",
               "appliance": "Instance, Collection",
               "parent":                {
                  "uid": "a9db6cdb-513b-4cca-a0ce-35d571c56cd6",
                  "singularName": "Update Presentation",
                  "pluralName": "Update Presentation",
                  "fullName": "Presentation (Full Control) - Update Presentation",
                  "targetEntity": "Presentation",
                  "appliance": "Instance, Collection",
                  "parent": null,
                  "descendants": null,
                  "permissions": null
               },
               "descendants": [],
               "permissions":                [
                                    {
                     "entityId": null,
                     "operationUID": "b2defd99-0cf9-46f7-949e-de9e6f5bce27",
                     "principal":                      {
                        "name": "Administrators",
                        "isCustom": false,
                        "type": "Role",
                        "id": 1
                     },
                     "isFixed": true,
                     "isInherited": true,
                     "isAllowed": true,
                     "creationDate": "2020-08-17T20:49:45.93Z"
                  },
                                    {
                     "entityId": null,
                     "operationUID": "b2defd99-0cf9-46f7-949e-de9e6f5bce27",
                     "principal":                      {
                        "name": "General Managers",
                        "isCustom": false,
                        "type": "Role",
                        "id": 2
                     },
                     "isFixed": true,
                     "isInherited": true,
                     "isAllowed": true,
                     "creationDate": "2020-08-17T20:49:46.217Z"
                  },
                                    {
                     "entityId": null,
                     "operationUID": "b2defd99-0cf9-46f7-949e-de9e6f5bce27",
                     "principal":                      {
                        "name": "Creators",
                        "isCustom": false,
                        "type": "Role",
                        "id": 3
                     },
                     "isFixed": true,
                     "isInherited": true,
                     "isAllowed": true,
                     "creationDate": "2020-08-17T20:49:46.48Z"
                  },
                                    {
                     "entityId": null,
                     "operationUID": "b2defd99-0cf9-46f7-949e-de9e6f5bce27",
                     "principal":                      {
                        "name": "Publishers",
                        "isCustom": false,
                        "type": "Role",
                        "id": 4
                     },
                     "isFixed": true,
                     "isInherited": true,
                     "isAllowed": false,
                     "creationDate": "2020-08-17T20:49:46.787Z"
                  },
                                    {
                     "entityId": null,
                     "operationUID": "b2defd99-0cf9-46f7-949e-de9e6f5bce27",
                     "principal":                      {
                        "name": "Network Managers",
                        "isCustom": false,
                        "type": "Role",
                        "id": 5
                     },
                     "isFixed": true,
                     "isInherited": true,
                     "isAllowed": false,
                     "creationDate": "2020-08-17T20:49:47.417Z"
                  },
                                    {
                     "entityId": null,
                     "operationUID": "b2defd99-0cf9-46f7-949e-de9e6f5bce27",
                     "principal":                      {
                        "name": "Viewers",
                        "isCustom": false,
                        "type": "Role",
                        "id": 6
                     },
                     "isFixed": true,
                     "isInherited": true,
                     "isAllowed": false,
                     "creationDate": "2020-08-17T20:49:47.893Z"
                  },
                                    {
                     "entityId": null,
                     "operationUID": "b2defd99-0cf9-46f7-949e-de9e6f5bce27",
                     "principal":                      {
                        "name": "Custom",
                        "isCustom": true,
                        "type": "Role",
                        "id": 10498
                     },
                     "isFixed": false,
                     "isInherited": true,
                     "isAllowed": false,
                     "creationDate": "2023-11-07T22:04:00.857Z"
                  }
               ]
            }
         ],
         "permissions":          [
                        {
               "entityId": null,
               "operationUID": "a9db6cdb-513b-4cca-a0ce-35d571c56cd6",
               "principal":                {
                  "name": "Administrators",
                  "isCustom": false,
                  "type": "Role",
                  "id": 1
               },
               "isFixed": true,
               "isInherited": true,
               "isAllowed": true,
               "creationDate": "2020-08-17T20:49:45.93Z"
            },
                        {
               "entityId": null,
               "operationUID": "a9db6cdb-513b-4cca-a0ce-35d571c56cd6",
               "principal":                {
                  "name": "General Managers",
                  "isCustom": false,
                  "type": "Role",
                  "id": 2
               },
               "isFixed": true,
               "isInherited": true,
               "isAllowed": true,
               "creationDate": "2020-08-17T20:49:46.217Z"
            },
                        {
               "entityId": null,
               "operationUID": "a9db6cdb-513b-4cca-a0ce-35d571c56cd6",
               "principal":                {
                  "name": "Creators",
                  "isCustom": false,
                  "type": "Role",
                  "id": 3
               },
               "isFixed": true,
               "isInherited": true,
               "isAllowed": true,
               "creationDate": "2020-08-17T20:49:46.48Z"
            },
                        {
               "entityId": null,
               "operationUID": "a9db6cdb-513b-4cca-a0ce-35d571c56cd6",
               "principal":                {
                  "name": "Publishers",
                  "isCustom": false,
                  "type": "Role",
                  "id": 4
               },
               "isFixed": true,
               "isInherited": true,
               "isAllowed": false,
               "creationDate": "2020-08-17T20:49:46.787Z"
            },
                        {
               "entityId": null,
               "operationUID": "a9db6cdb-513b-4cca-a0ce-35d571c56cd6",
               "principal":                {
                  "name": "Network Managers",
                  "isCustom": false,
                  "type": "Role",
                  "id": 5
               },
               "isFixed": true,
               "isInherited": true,
               "isAllowed": false,
               "creationDate": "2020-08-17T20:49:47.417Z"
            },
                        {
               "entityId": null,
               "operationUID": "a9db6cdb-513b-4cca-a0ce-35d571c56cd6",
               "principal":                {
                  "name": "Viewers",
                  "isCustom": false,
                  "type": "Role",
                  "id": 6
               },
               "isFixed": true,
               "isInherited": true,
               "isAllowed": false,
               "creationDate": "2020-08-17T20:49:47.893Z"
            },
                        {
               "entityId": null,
               "operationUID": "a9db6cdb-513b-4cca-a0ce-35d571c56cd6",
               "principal":                {
                  "name": "Custom",
                  "isCustom": true,
                  "type": "Role",
                  "id": 10498
               },
               "isFixed": false,
               "isInherited": true,
               "isAllowed": false,
               "creationDate": "2023-11-07T22:04:00.857Z"
            }
         ]
      },
            {
         "uid": "840fc61a-5b1c-4362-a8e8-70d99b6fb5a4",
         "singularName": "Add Content",
         "pluralName": "Add Content",
         "fullName": "Presentation (Full Control) - Add Content",
         "targetEntity": "Presentation",
         "appliance": "Instance, Collection",
         "parent":          {
            "uid": "5e368789-94d8-423e-bebb-2f5451398067",
            "singularName": "Full Control",
            "pluralName": "Presentation (Full Control)",
            "fullName": "Presentation (Full Control)",
            "targetEntity": "Presentation",
            "appliance": "Instance, Collection",
            "parent": null,
            "descendants": null,
            "permissions": null
         },
         "descendants": [],
         "permissions":          [
                        {
               "entityId": null,
               "operationUID": "840fc61a-5b1c-4362-a8e8-70d99b6fb5a4",
               "principal":                {
                  "name": "Administrators",
                  "isCustom": false,
                  "type": "Role",
                  "id": 1
               },
               "isFixed": true,
               "isInherited": true,
               "isAllowed": true,
               "creationDate": "2020-08-17T20:49:45.93Z"
            },
                        {
               "entityId": null,
               "operationUID": "840fc61a-5b1c-4362-a8e8-70d99b6fb5a4",
               "principal":                {
                  "name": "General Managers",
                  "isCustom": false,
                  "type": "Role",
                  "id": 2
               },
               "isFixed": true,
               "isInherited": true,
               "isAllowed": true,
               "creationDate": "2020-08-17T20:49:46.217Z"
            },
                        {
               "entityId": null,
               "operationUID": "840fc61a-5b1c-4362-a8e8-70d99b6fb5a4",
               "principal":                {
                  "name": "Creators",
                  "isCustom": false,
                  "type": "Role",
                  "id": 3
               },
               "isFixed": true,
               "isInherited": true,
               "isAllowed": true,
               "creationDate": "2020-08-17T20:49:46.48Z"
            },
                        {
               "entityId": null,
               "operationUID": "840fc61a-5b1c-4362-a8e8-70d99b6fb5a4",
               "principal":                {
                  "name": "Publishers",
                  "isCustom": false,
                  "type": "Role",
                  "id": 4
               },
               "isFixed": true,
               "isInherited": true,
               "isAllowed": false,
               "creationDate": "2020-08-17T20:49:46.787Z"
            },
                        {
               "entityId": null,
               "operationUID": "840fc61a-5b1c-4362-a8e8-70d99b6fb5a4",
               "principal":                {
                  "name": "Network Managers",
                  "isCustom": false,
                  "type": "Role",
                  "id": 5
               },
               "isFixed": true,
               "isInherited": true,
               "isAllowed": false,
               "creationDate": "2020-08-17T20:49:47.417Z"
            },
                        {
               "entityId": null,
               "operationUID": "840fc61a-5b1c-4362-a8e8-70d99b6fb5a4",
               "principal":                {
                  "name": "Viewers",
                  "isCustom": false,
                  "type": "Role",
                  "id": 6
               },
               "isFixed": true,
               "isInherited": true,
               "isAllowed": false,
               "creationDate": "2020-08-17T20:49:47.893Z"
            },
                        {
               "entityId": null,
               "operationUID": "840fc61a-5b1c-4362-a8e8-70d99b6fb5a4",
               "principal":                {
                  "name": "Custom",
                  "isCustom": true,
                  "type": "Role",
                  "id": 10498
               },
               "isFixed": false,
               "isInherited": true,
               "isAllowed": false,
               "creationDate": "2023-11-07T22:04:00.857Z"
            }
         ]
      },
            {
         "uid": "07d6f70f-daea-4baa-9fe9-522368120a1b",
         "singularName": "Remove Content",
         "pluralName": "Remove Content",
         "fullName": "Presentation (Full Control) - Remove Content",
         "targetEntity": "Presentation",
         "appliance": "Instance, Collection",
         "parent":          {
            "uid": "5e368789-94d8-423e-bebb-2f5451398067",
            "singularName": "Full Control",
            "pluralName": "Presentation (Full Control)",
            "fullName": "Presentation (Full Control)",
            "targetEntity": "Presentation",
            "appliance": "Instance, Collection",
            "parent": null,
            "descendants": null,
            "permissions": null
         },
         "descendants": [],
         "permissions":          [
                        {
               "entityId": null,
               "operationUID": "07d6f70f-daea-4baa-9fe9-522368120a1b",
               "principal":                {
                  "name": "Administrators",
                  "isCustom": false,
                  "type": "Role",
                  "id": 1
               },
               "isFixed": true,
               "isInherited": true,
               "isAllowed": true,
               "creationDate": "2020-08-17T20:49:45.93Z"
            },
                        {
               "entityId": null,
               "operationUID": "07d6f70f-daea-4baa-9fe9-522368120a1b",
               "principal":                {
                  "name": "General Managers",
                  "isCustom": false,
                  "type": "Role",
                  "id": 2
               },
               "isFixed": true,
               "isInherited": true,
               "isAllowed": true,
               "creationDate": "2020-08-17T20:49:46.217Z"
            },
                        {
               "entityId": null,
               "operationUID": "07d6f70f-daea-4baa-9fe9-522368120a1b",
               "principal":                {
                  "name": "Creators",
                  "isCustom": false,
                  "type": "Role",
                  "id": 3
               },
               "isFixed": true,
               "isInherited": true,
               "isAllowed": true,
               "creationDate": "2020-08-17T20:49:46.48Z"
            },
                        {
               "entityId": null,
               "operationUID": "07d6f70f-daea-4baa-9fe9-522368120a1b",
               "principal":                {
                  "name": "Publishers",
                  "isCustom": false,
                  "type": "Role",
                  "id": 4
               },
               "isFixed": true,
               "isInherited": true,
               "isAllowed": false,
               "creationDate": "2020-08-17T20:49:46.787Z"
            },
                        {
               "entityId": null,
               "operationUID": "07d6f70f-daea-4baa-9fe9-522368120a1b",
               "principal":                {
                  "name": "Network Managers",
                  "isCustom": false,
                  "type": "Role",
                  "id": 5
               },
               "isFixed": true,
               "isInherited": true,
               "isAllowed": false,
               "creationDate": "2020-08-17T20:49:47.417Z"
            },
                        {
               "entityId": null,
               "operationUID": "07d6f70f-daea-4baa-9fe9-522368120a1b",
               "principal":                {
                  "name": "Viewers",
                  "isCustom": false,
                  "type": "Role",
                  "id": 6
               },
               "isFixed": true,
               "isInherited": true,
               "isAllowed": false,
               "creationDate": "2020-08-17T20:49:47.893Z"
            },
                        {
               "entityId": null,
               "operationUID": "07d6f70f-daea-4baa-9fe9-522368120a1b",
               "principal":                {
                  "name": "Custom",
                  "isCustom": true,
                  "type": "Role",
                  "id": 10498
               },
               "isFixed": false,
               "isInherited": true,
               "isAllowed": false,
               "creationDate": "2023-11-07T22:04:00.857Z"
            }
         ]
      },
            {
         "uid": "610d19d9-b047-bce4-7957-da89011aa3d9",
         "singularName": "Assign Presentation",
         "pluralName": "Assign Presentation",
         "fullName": "Presentation (Full Control) - Assign Presentation",
         "targetEntity": "Presentation",
         "appliance": "Instance, Collection",
         "parent":          {
            "uid": "5e368789-94d8-423e-bebb-2f5451398067",
            "singularName": "Full Control",
            "pluralName": "Presentation (Full Control)",
            "fullName": "Presentation (Full Control)",
            "targetEntity": "Presentation",
            "appliance": "Instance, Collection",
            "parent": null,
            "descendants": null,
            "permissions": null
         },
         "descendants": [],
         "permissions":          [
                        {
               "entityId": null,
               "operationUID": "610d19d9-b047-bce4-7957-da89011aa3d9",
               "principal":                {
                  "name": "Creators",
                  "isCustom": false,
                  "type": "Role",
                  "id": 3
               },
               "isFixed": true,
               "isInherited": false,
               "isAllowed": false,
               "creationDate": "2020-08-17T20:49:46.49Z"
            },
                        {
               "entityId": null,
               "operationUID": "610d19d9-b047-bce4-7957-da89011aa3d9",
               "principal":                {
                  "name": "Publishers",
                  "isCustom": false,
                  "type": "Role",
                  "id": 4
               },
               "isFixed": true,
               "isInherited": false,
               "isAllowed": true,
               "creationDate": "2020-08-17T20:49:46.81Z"
            },
                        {
               "entityId": null,
               "operationUID": "610d19d9-b047-bce4-7957-da89011aa3d9",
               "principal":                {
                  "name": "Administrators",
                  "isCustom": false,
                  "type": "Role",
                  "id": 1
               },
               "isFixed": true,
               "isInherited": true,
               "isAllowed": true,
               "creationDate": "2020-08-17T20:49:45.93Z"
            },
                        {
               "entityId": null,
               "operationUID": "610d19d9-b047-bce4-7957-da89011aa3d9",
               "principal":                {
                  "name": "General Managers",
                  "isCustom": false,
                  "type": "Role",
                  "id": 2
               },
               "isFixed": true,
               "isInherited": true,
               "isAllowed": true,
               "creationDate": "2020-08-17T20:49:46.217Z"
            },
                        {
               "entityId": null,
               "operationUID": "610d19d9-b047-bce4-7957-da89011aa3d9",
               "principal":                {
                  "name": "Network Managers",
                  "isCustom": false,
                  "type": "Role",
                  "id": 5
               },
               "isFixed": true,
               "isInherited": true,
               "isAllowed": false,
               "creationDate": "2020-08-17T20:49:47.417Z"
            },
                        {
               "entityId": null,
               "operationUID": "610d19d9-b047-bce4-7957-da89011aa3d9",
               "principal":                {
                  "name": "Viewers",
                  "isCustom": false,
                  "type": "Role",
                  "id": 6
               },
               "isFixed": true,
               "isInherited": true,
               "isAllowed": false,
               "creationDate": "2020-08-17T20:49:47.893Z"
            },
                        {
               "entityId": null,
               "operationUID": "610d19d9-b047-bce4-7957-da89011aa3d9",
               "principal":                {
                  "name": "Custom",
                  "isCustom": true,
                  "type": "Role",
                  "id": 10498
               },
               "isFixed": false,
               "isInherited": true,
               "isAllowed": false,
               "creationDate": "2023-11-07T22:04:00.857Z"
            }
         ]
      },
            {
         "uid": "9c0c314a-b5e1-49c7-82b8-f27b748c1a37",
         "singularName": "Unassign Presentation",
         "pluralName": "Unassign Presentation",
         "fullName": "Presentation (Full Control) - Unassign Presentation",
         "targetEntity": "Presentation",
         "appliance": "Instance, Collection",
         "parent":          {
            "uid": "5e368789-94d8-423e-bebb-2f5451398067",
            "singularName": "Full Control",
            "pluralName": "Presentation (Full Control)",
            "fullName": "Presentation (Full Control)",
            "targetEntity": "Presentation",
            "appliance": "Instance, Collection",
            "parent": null,
            "descendants": null,
            "permissions": null
         },
         "descendants": [],
         "permissions":          [
                        {
               "entityId": null,
               "operationUID": "9c0c314a-b5e1-49c7-82b8-f27b748c1a37",
               "principal":                {
                  "name": "Creators",
                  "isCustom": false,
                  "type": "Role",
                  "id": 3
               },
               "isFixed": true,
               "isInherited": false,
               "isAllowed": false,
               "creationDate": "2020-08-17T20:49:46.503Z"
            },
                        {
               "entityId": null,
               "operationUID": "9c0c314a-b5e1-49c7-82b8-f27b748c1a37",
               "principal":                {
                  "name": "Publishers",
                  "isCustom": false,
                  "type": "Role",
                  "id": 4
               },
               "isFixed": true,
               "isInherited": false,
               "isAllowed": true,
               "creationDate": "2020-08-17T20:49:46.823Z"
            },
                        {
               "entityId": null,
               "operationUID": "9c0c314a-b5e1-49c7-82b8-f27b748c1a37",
               "principal":                {
                  "name": "Administrators",
                  "isCustom": false,
                  "type": "Role",
                  "id": 1
               },
               "isFixed": true,
               "isInherited": true,
               "isAllowed": true,
               "creationDate": "2020-08-17T20:49:45.93Z"
            },
                        {
               "entityId": null,
               "operationUID": "9c0c314a-b5e1-49c7-82b8-f27b748c1a37",
               "principal":                {
                  "name": "General Managers",
                  "isCustom": false,
                  "type": "Role",
                  "id": 2
               },
               "isFixed": true,
               "isInherited": true,
               "isAllowed": true,
               "creationDate": "2020-08-17T20:49:46.217Z"
            },
                        {
               "entityId": null,
               "operationUID": "9c0c314a-b5e1-49c7-82b8-f27b748c1a37",
               "principal":                {
                  "name": "Network Managers",
                  "isCustom": false,
                  "type": "Role",
                  "id": 5
               },
               "isFixed": true,
               "isInherited": true,
               "isAllowed": false,
               "creationDate": "2020-08-17T20:49:47.417Z"
            },
                        {
               "entityId": null,
               "operationUID": "9c0c314a-b5e1-49c7-82b8-f27b748c1a37",
               "principal":                {
                  "name": "Viewers",
                  "isCustom": false,
                  "type": "Role",
                  "id": 6
               },
               "isFixed": true,
               "isInherited": true,
               "isAllowed": false,
               "creationDate": "2020-08-17T20:49:47.893Z"
            },
                        {
               "entityId": null,
               "operationUID": "9c0c314a-b5e1-49c7-82b8-f27b748c1a37",
               "principal":                {
                  "name": "Custom",
                  "isCustom": true,
                  "type": "Role",
                  "id": 10498
               },
               "isFixed": false,
               "isInherited": true,
               "isAllowed": false,
               "creationDate": "2023-11-07T22:04:00.857Z"
            }
         ]
      },
            {
         "uid": "6304d004-450e-c694-05e6-adc7adc3efc6",
         "singularName": "Edit Permissions",
         "pluralName": "Edit Permissions",
         "fullName": "Presentation (Full Control) - Edit Permissions",
         "targetEntity": "Presentation",
         "appliance": "Collection",
         "parent":          {
            "uid": "5e368789-94d8-423e-bebb-2f5451398067",
            "singularName": "Full Control",
            "pluralName": "Presentation (Full Control)",
            "fullName": "Presentation (Full Control)",
            "targetEntity": "Presentation",
            "appliance": "Instance, Collection",
            "parent": null,
            "descendants": null,
            "permissions": null
         },
         "descendants": [],
         "permissions":          [
                        {
               "entityId": null,
               "operationUID": "6304d004-450e-c694-05e6-adc7adc3efc6",
               "principal":                {
                  "name": "Administrators",
                  "isCustom": false,
                  "type": "Role",
                  "id": 1
               },
               "isFixed": true,
               "isInherited": true,
               "isAllowed": true,
               "creationDate": "2020-08-17T20:49:45.93Z"
            },
                        {
               "entityId": null,
               "operationUID": "6304d004-450e-c694-05e6-adc7adc3efc6",
               "principal":                {
                  "name": "General Managers",
                  "isCustom": false,
                  "type": "Role",
                  "id": 2
               },
               "isFixed": true,
               "isInherited": true,
               "isAllowed": true,
               "creationDate": "2020-08-17T20:49:46.217Z"
            },
                        {
               "entityId": null,
               "operationUID": "6304d004-450e-c694-05e6-adc7adc3efc6",
               "principal":                {
                  "name": "Creators",
                  "isCustom": false,
                  "type": "Role",
                  "id": 3
               },
               "isFixed": true,
               "isInherited": true,
               "isAllowed": true,
               "creationDate": "2020-08-17T20:49:46.48Z"
            },
                        {
               "entityId": null,
               "operationUID": "6304d004-450e-c694-05e6-adc7adc3efc6",
               "principal":                {
                  "name": "Publishers",
                  "isCustom": false,
                  "type": "Role",
                  "id": 4
               },
               "isFixed": true,
               "isInherited": true,
               "isAllowed": false,
               "creationDate": "2020-08-17T20:49:46.787Z"
            },
                        {
               "entityId": null,
               "operationUID": "6304d004-450e-c694-05e6-adc7adc3efc6",
               "principal":                {
                  "name": "Network Managers",
                  "isCustom": false,
                  "type": "Role",
                  "id": 5
               },
               "isFixed": true,
               "isInherited": true,
               "isAllowed": false,
               "creationDate": "2020-08-17T20:49:47.417Z"
            },
                        {
               "entityId": null,
               "operationUID": "6304d004-450e-c694-05e6-adc7adc3efc6",
               "principal":                {
                  "name": "Viewers",
                  "isCustom": false,
                  "type": "Role",
                  "id": 6
               },
               "isFixed": true,
               "isInherited": true,
               "isAllowed": false,
               "creationDate": "2020-08-17T20:49:47.893Z"
            },
                        {
               "entityId": null,
               "operationUID": "6304d004-450e-c694-05e6-adc7adc3efc6",
               "principal":                {
                  "name": "Custom",
                  "isCustom": true,
                  "type": "Role",
                  "id": 10498
               },
               "isFixed": false,
               "isInherited": true,
               "isAllowed": false,
               "creationDate": "2023-11-07T22:04:00.857Z"
            }
         ]
      },
            {
         "uid": "87fd8615-7051-49c9-8ada-67b5f7fb31ae",
         "singularName": "Delete Presentation",
         "pluralName": "Delete Presentation",
         "fullName": "Presentation (Full Control) - Delete Presentation",
         "targetEntity": "Presentation",
         "appliance": "Instance, Collection",
         "parent":          {
            "uid": "5e368789-94d8-423e-bebb-2f5451398067",
            "singularName": "Full Control",
            "pluralName": "Presentation (Full Control)",
            "fullName": "Presentation (Full Control)",
            "targetEntity": "Presentation",
            "appliance": "Instance, Collection",
            "parent": null,
            "descendants": null,
            "permissions": null
         },
         "descendants": [],
         "permissions":          [
                        {
               "entityId": null,
               "operationUID": "87fd8615-7051-49c9-8ada-67b5f7fb31ae",
               "principal":                {
                  "name": "Network Managers",
                  "isCustom": false,
                  "type": "Role",
                  "id": 5
               },
               "isFixed": true,
               "isInherited": false,
               "isAllowed": true,
               "creationDate": "2020-08-17T20:49:47.44Z"
            },
                        {
               "entityId": null,
               "operationUID": "87fd8615-7051-49c9-8ada-67b5f7fb31ae",
               "principal":                {
                  "name": "Administrators",
                  "isCustom": false,
                  "type": "Role",
                  "id": 1
               },
               "isFixed": true,
               "isInherited": true,
               "isAllowed": true,
               "creationDate": "2020-08-17T20:49:45.93Z"
            },
                        {
               "entityId": null,
               "operationUID": "87fd8615-7051-49c9-8ada-67b5f7fb31ae",
               "principal":                {
                  "name": "General Managers",
                  "isCustom": false,
                  "type": "Role",
                  "id": 2
               },
               "isFixed": true,
               "isInherited": true,
               "isAllowed": true,
               "creationDate": "2020-08-17T20:49:46.217Z"
            },
                        {
               "entityId": null,
               "operationUID": "87fd8615-7051-49c9-8ada-67b5f7fb31ae",
               "principal":                {
                  "name": "Creators",
                  "isCustom": false,
                  "type": "Role",
                  "id": 3
               },
               "isFixed": true,
               "isInherited": true,
               "isAllowed": true,
               "creationDate": "2020-08-17T20:49:46.48Z"
            },
                        {
               "entityId": null,
               "operationUID": "87fd8615-7051-49c9-8ada-67b5f7fb31ae",
               "principal":                {
                  "name": "Publishers",
                  "isCustom": false,
                  "type": "Role",
                  "id": 4
               },
               "isFixed": true,
               "isInherited": true,
               "isAllowed": false,
               "creationDate": "2020-08-17T20:49:46.787Z"
            },
                        {
               "entityId": null,
               "operationUID": "87fd8615-7051-49c9-8ada-67b5f7fb31ae",
               "principal":                {
                  "name": "Viewers",
                  "isCustom": false,
                  "type": "Role",
                  "id": 6
               },
               "isFixed": true,
               "isInherited": true,
               "isAllowed": false,
               "creationDate": "2020-08-17T20:49:47.893Z"
            },
                        {
               "entityId": null,
               "operationUID": "87fd8615-7051-49c9-8ada-67b5f7fb31ae",
               "principal":                {
                  "name": "Custom",
                  "isCustom": true,
                  "type": "Role",
                  "id": 10498
               },
               "isFixed": false,
               "isInherited": true,
               "isAllowed": false,
               "creationDate": "2023-11-07T22:04:00.857Z"
            }
         ]
      }
   ],
   "permissions":    [
            {
         "entityId": null,
         "operationUID": "5e368789-94d8-423e-bebb-2f5451398067",
         "principal":          {
            "name": "Administrators",
            "isCustom": false,
            "type": "Role",
            "id": 1
         },
         "isFixed": true,
         "isInherited": false,
         "isAllowed": true,
         "creationDate": "2020-08-17T20:49:45.93Z"
      },
            {
         "entityId": null,
         "operationUID": "5e368789-94d8-423e-bebb-2f5451398067",
         "principal":          {
            "name": "General Managers",
            "isCustom": false,
            "type": "Role",
            "id": 2
         },
         "isFixed": true,
         "isInherited": false,
         "isAllowed": true,
         "creationDate": "2020-08-17T20:49:46.217Z"
      },
            {
         "entityId": null,
         "operationUID": "5e368789-94d8-423e-bebb-2f5451398067",
         "principal":          {
            "name": "Creators",
            "isCustom": false,
            "type": "Role",
            "id": 3
         },
         "isFixed": true,
         "isInherited": false,
         "isAllowed": true,
         "creationDate": "2020-08-17T20:49:46.48Z"
      },
            {
         "entityId": null,
         "operationUID": "5e368789-94d8-423e-bebb-2f5451398067",
         "principal":          {
            "name": "Publishers",
            "isCustom": false,
            "type": "Role",
            "id": 4
         },
         "isFixed": true,
         "isInherited": false,
         "isAllowed": false,
         "creationDate": "2020-08-17T20:49:46.787Z"
      },
            {
         "entityId": null,
         "operationUID": "5e368789-94d8-423e-bebb-2f5451398067",
         "principal":          {
            "name": "Network Managers",
            "isCustom": false,
            "type": "Role",
            "id": 5
         },
         "isFixed": true,
         "isInherited": false,
         "isAllowed": false,
         "creationDate": "2020-08-17T20:49:47.417Z"
      },
            {
         "entityId": null,
         "operationUID": "5e368789-94d8-423e-bebb-2f5451398067",
         "principal":          {
            "name": "Viewers",
            "isCustom": false,
            "type": "Role",
            "id": 6
         },
         "isFixed": true,
         "isInherited": false,
         "isAllowed": false,
         "creationDate": "2020-08-17T20:49:47.893Z"
      },
            {
         "entityId": null,
         "operationUID": "5e368789-94d8-423e-bebb-2f5451398067",
         "principal":          {
            "name": "Custom",
            "isCustom": true,
            "type": "Role",
            "id": 10498
         },
         "isFixed": false,
         "isInherited": false,
         "isAllowed": false,
         "creationDate": "2023-11-07T22:04:00.857Z"
      }
   ]
}

Failure

300: The requested representation could not be returned because it is ambiguous (there are multiple requested representations)

400: The request is malformed and therefore invalid

401: The access token is invalid or not specified

403: The supplied access token, though valid, doesn't provide access to this method 

406: The server cannot return the data representation that you requested (as specified in the "Accept" header)

5XX: Any 500 code is an internal server error

GET /{id:int}/Permissions/ 

Includes object permissions for a given presentation.

Required Scope Token

bsn.api.main.presentations.retrieve

______________________________________________________________

Segment

id int  

A unique identifier for the presentation

______________________________________________________________

Request Example

The example request parameters and headers are set as follows:

  • id is set to 12345

GET /2022/06/REST/Presentations/12345/Permissions/ HTTP/1.1
Host: api.bsn.cloud
Connection: Keep-Alive
Authorization: Bearer {{UserAccessToken}}
Accept: application/json, application/vnd.bsn.error+json
Accept-Encoding: gzip,deflate

______________________________________________________________

Response

Success Response Body

200: Returns an array of Permission entities 

Example

[
      {
      "entityId": 12345,
      "operationUID": "840fc61a-5b1c-4362-a8e8-70d99b6fb5a4",
      "principal":       {
         "login": "JaneDoe@brightsign.biZ",
         "type": "User",
         "id": 123
      },
      "isFixed": false,
      "isInherited": false,
      "isAllowed": true,
      "creationDate": "2023-11-13T23:56:31.11Z"
   },
      {
      "entityId": 12345,
      "operationUID": "5e368789-94d8-423e-bebb-2f5451398067",
      "principal":       {
         "name": "Custom",
         "isCustom": true,
         "type": "Role",
         "id": 456
      },
      "isFixed": false,
      "isInherited": false,
      "isAllowed": true,
      "creationDate": "2023-11-13T23:56:31.09Z"
   }
]

Failure

300: The requested representation could not be returned because it is ambiguous (there are multiple requested representations)

400: The request is malformed and therefore invalid

401: The access token is invalid or not specified

403: The supplied access token, though valid, doesn't provide access to this method 

404: The server cannot find the requested resource (the path does not exist)

406: The server cannot return the data representation that you requested (as specified in the "Accept" header)

5XX: Any 500 code is an internal server error

POST /{id:int}/Permissions/ 

Adds permissions for the specified presentation.

Required Scope Token

bsn.api.main.presentations.update

______________________________________________________________

Segment

id int  

A unique identifier for the presentation

______________________________________________________________

Request Body

An array of Permission entities

______________________________________________________________

Request Example

The example request parameters and headers are set as follows:

  • id is 12345

POST /2022/06/REST/Presentations/12345/Permissions/ HTTP/1.1
Host: api.bsn.cloud
Connection: Keep-Alive
Authorization: Bearer {{UserAccessToken}}
Accept: application/json, application/vnd.bsn.error+json
Accept-Encoding: gzip,deflate
Content-Type: application/json
Content-Length: 326

This is the example request body:

[
  {
    "entityId": 12345,
    "operationUID": "5e368789-94d8-423e-bebb-2f5451398067",
    "principal": {
      "name": "Custom",
      "isCustom": true,
      "type": "Role",
      "id": 123
    },
    "isFixed": false,
    "isInherited": false,
    "isAllowed": true,
    "creationDate": "0001-01-01T00:00:00"
  }
]

______________________________________________________________

Response

Success

204: The permissions were successfully added to the specified presentation

Failure

400: The request or request body is malformed and therefore invalid

401: The access token is invalid or not specified

403: The supplied access token, though valid, doesn't provide access to this method 

404: The server cannot find the requested resource (the path does not exist)

415: The server cannot accept the data representation that you sent (as specified in the "Content-Type" header)

5XX: Any 500 code is an internal server error

DELETE /{id:int}/Permissions/ 

Removes permissions for the specified presentation instance.

Required Scope Token

bsn.api.main.presentations.update

______________________________________________________________

Segment

id int  

A unique identifier for the presentation

______________________________________________________________

Request Body

An array of Permission entities

______________________________________________________________

Request Example

The example request parameters and headers are set as follows:

  • id is 12345

DELETE /2022/06/REST/Presentations/12345/Permissions/ HTTP/1.1
Host: api.bsn.cloud
Connection: Keep-Alive
Authorization: Bearer {{UserAccessToken}}
Accept: application/json, application/vnd.bsn.error+json
Accept-Encoding: gzip,deflate
Content-Type: application/json
Content-Length: 326

This is the example request body:

[
  {
    "entityId": 12345,
    "operationUID": "5e368789-94d8-423e-bebb-2f5451398067",
    "principal": {
      "name": "Custom",
      "isCustom": true,
      "type": "Role",
      "id": 123
    },
    "isFixed": false,
    "isInherited": false,
    "isAllowed": true,
    "creationDate": "0001-01-01T00:00:00"
  }
]

______________________________________________________________

Response

Success

204: The specified permissions were successfully deleted

Failure

300: The requested representation could not be returned because it is ambiguous (there are multiple requested representations)

400: The request or request body is malformed and therefore invalid

401: The access token is invalid or not specified

403: The supplied access token, though valid, doesn't provide access to this method 

404: The server cannot find the requested resource (the path does not exist)

406: The server cannot return the data representation that you requested (as specified in the "Accept" header)

5XX: Any 500 code is an internal server error

GET /{name}/Permissions/ 

Includes object permissions for a given presentation.

Required Scope Token

bsn.api.main.presentations.retrieve

______________________________________________________________

Segment

name string 

The name of the presentation

______________________________________________________________

Request Example

The example request parameters and headers are set as follows:

  • name is set to October2023Prez

GET /2022/06/REST/Presentations/October2023Prez/Permissions/ HTTP/1.1
Host: api.bsn.cloud
Connection: Keep-Alive
Authorization: Bearer {{UserAccessToken}}
Accept: application/json, application/vnd.bsn.error+json
Accept-Encoding: gzip,deflate

______________________________________________________________

Response

Success Response Body

200: Returns an array of Permission entities 

Example

[
      {
      "entityId": 123456,
      "operationUID": "840fc61a-5b1c-4362-a8e8-70d99b6fb5a4",
      "principal":       {
         "login": "JaneDoe@brightsign.biZ",
         "type": "User",
         "id": 012345
      },
      "isFixed": false,
      "isInherited": false,
      "isAllowed": true,
      "creationDate": "2023-11-13T23:56:31.11Z"
   },
      {
      "entityId": 123456,
      "operationUID": "5e368789-94d8-423e-bebb-2f5451398067",
      "principal":       {
         "name": "Custom",
         "isCustom": true,
         "type": "Role",
         "id": 12345
      },
      "isFixed": false,
      "isInherited": false,
      "isAllowed": true,
      "creationDate": "2023-11-13T23:56:31.09Z"
   }
]

Failure

300: The requested representation could not be returned because it is ambiguous (there are multiple requested representations)

400: The request is malformed and therefore invalid

401: The access token is invalid or not specified

403: The supplied access token, though valid, doesn't provide access to this method 

404: The server cannot find the requested resource (the path does not exist)

406: The server cannot return the data representation that you requested (as specified in the "Accept" header)

5XX: Any 500 code is an internal server error

POST /{name}/Permissions/ 

Adds permissions for the specified presentation.

Required Scope Token

bsn.api.main.presentations.update

______________________________________________________________

Segment

name string 

The name of the presentation

______________________________________________________________

Request Body

An array of Permission entities

______________________________________________________________

Request Example

The example request parameters and headers are set as follows:

  • name is set to October2023Prez

POST /2022/06/REST/Presentations/October2023Prez/Permissions/ HTTP/1.1
Host: api.bsn.cloud
Connection: Keep-Alive
Authorization: Bearer {{UserAccessToken}}
Accept: application/json, application/vnd.bsn.error+json
Accept-Encoding: gzip,deflate
Content-Type: application/json
Content-Length: 326

This is the example request body:

[
  {
    "entityId": 123456,
    "operationUID": "5e368789-94d8-423e-bebb-2f5451398067",
    "principal": {
      "name": "Custom",
      "isCustom": true,
      "type": "Role",
      "id": 12345
    },
    "isFixed": false,
    "isInherited": false,
    "isAllowed": true,
    "creationDate": "2023-11-13T23:56:31.09Z"
  }
]

______________________________________________________________

Response

Success

204: The permissions were successfully added to the specified presentation

Failure

400: The request or request body is malformed and therefore invalid

401: The access token is invalid or not specified

403: The supplied access token, though valid, doesn't provide access to this method 

404: The server cannot find the requested resource (the path does not exist)

415: The server cannot accept the data representation that you sent (as specified in the "Content-Type" header)

5XX: Any 500 code is an internal server error

DELETE /{name}/Permissions/ 

Removes permissions for the specified presentation.

Required Scope Token

bsn.api.main.presentations.update

______________________________________________________________

Segment

name string  

The name of the presentation

______________________________________________________________

Request Body

An array of Permission entities

______________________________________________________________

Request Example

The example request parameters and headers are set as follows:

  • name is October2023Prez

DELETE /2022/06/REST/Presentations/October2023Prez/Permissions/ HTTP/1.1
Host: api.bsn.cloud
Connection: Keep-Alive
Authorization: Bearer {{UserAccessToken}}
Accept: application/json, application/vnd.bsn.error+json
Accept-Encoding: gzip,deflate
Content-Type: application/json
Content-Length: 326

This is the example request body:

[
  {
    "entityId": 123456,
    "operationUID": "5e368789-94d8-423e-bebb-2f5451398067",
    "principal": {
      "name": "Custom",
      "isCustom": true,
      "type": "Role",
      "id": 12345
    },
    "isFixed": false,
    "isInherited": false,
    "isAllowed": true,
    "creationDate": "2023-11-13T23:56:31.09Z"
  }
]

______________________________________________________________

Response

Success

204: The specified permissions were successfully deleted

Failure

300: The requested representation could not be returned because it is ambiguous (there are multiple requested representations)

400: The request or request body is malformed and therefore invalid

401: The access token is invalid or not specified

403: The supplied access token, though valid, doesn't provide access to this method 

404: The server cannot find the requested resource (the path does not exist)

406: The server cannot return the data representation that you requested (as specified in the "Accept" header)

5XX: Any 500 code is an internal server error

  • No labels