Cloud APIs
...
BSN.Cloud Main APIs
Main API version 2022/06

Playlists/Dynamic Endpoints (2022/06)

46min
use these endpoints to manage dynamic playlists on the network base url for these endpoints https //api bsn cloud/2022/06/rest/playlists/dynamic get / retrieves a list of dynamic playlists on the network required scope token bsn api main playlists dynamic retrieve query string parameters filter string string optional optional an filtering and sorting expressions in the main api docid 3l0afyd3xooe ytvfk2vs for filtering search results the default value is null sort string string optional 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 (e g " \[device] \[serial] asc ") the default value is null marker string string optional 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 dynamic playlist instances exceeds the pagesize this parameter is only required if you need more elements in the paged list than the pagesize (100) pagesize int int optional optional the maximum number of dynamic playlist instances 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 \[name] contains 'building' sort is set to \[lastmodifieddate] desc get /2022/06/rest/playlists/dynamic/?marker=mjaymy0xms0wmvqymjoznzoync40mdnaldexnjqwnde3\&pagesize=1\&filter=%5bname%5d%20contains%20%27building%27\&sort=%5blastmodifieddate%5d%20desc 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 success response body 200 200 returns a paged list entity (2022/06) docid\ pwwr0ln3 binngl mr3st of dynamic playlists entity (2022/06) docid\ xmotql48ev94zyytfug9n 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" 12345678, "name" "westbuilding", "physicalpath" "https //bsncloud s3 amazonaws com/janedoe/87a992afd6071576647ecd1fd65776ba", "filesize" 1060, "filehash" "sha1\ b995e0604edd01f5e143b0329aabe9a14d06b821", "creationdate" "2023 11 01t22 36 42 153z", "lastmodifieddate" "2023 11 01t22 36 42 253z", "supportsaudio" true, "supportsvideo" true, "supportsimages" true, "content" null, "presentations" \[ { "id" 3210, "name" "test4buildings", "type" "presentation", "link" null }], "permissions" \[] }], "totalitemcount" 3, "matchingitemcount" 2, "pagesize" 1, "nextmarker" "mjaymy0xms0wmvqymjoznjo0mi4yntnaldexnjqwnde1", "prevmarker" "mjaymy0xms0wmvqymjoznjo0mi4yntnaldexnjqwafg9", "istruncated" false, "sortexpression" "\[lastmodifieddate] desc", "filterexpression" "\[name] contains 'building'" } failure response 300 300 the requested representation could not be returned because it is ambiguous (there are multiple requested representations) 400 400 the request is malformed and therefore invalid 401 401 the access token is invalid or not specified 403 403 the supplied access token, though valid, doesn't provide access to this method 406 406 the server cannot return the data representation that you requested (as specified in the "accept" header) 5xx 5xx any 500 code is an internal server error post / create a new dynamic playlist on the network required scope token bsn api main playlists dynamic create request body the dynamic playlists entity (2022/06) docid\ xmotql48ev94zyytfug9n request example the example request parameters and headers are set as follows post /2022/06/rest/playlists/dynamic/ 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 328 this is the example request body { "id" 0, "name" "northwestbuilding", "physicalpath" null, "filesize" 0, "filehash" null, "creationdate" "0001 01 01t00 00 00", "lastmodifieddate" "0001 01 01t00 00 00", "supportsaudio" true, "supportsvideo" true, "supportsimages" true, "content" \[ { "contentid" 12345, "filename" "saturday breakfast menu jpg", "displayduration" "00 00 15", "validitystartdate" "2023 11 11t08 00 00", "validityenddate" "2023 11 11t12 00 00" } ], "presentations" null, "permissions" \[] } success response body 201 201 returns the dynamic playlists entity (2022/06) docid\ xmotql48ev94zyytfug9n created and referenced by the uri (given by the location header field) in the response example { "id" 23456789, "name" "northwestbuilding", "physicalpath" "https //bsncloud s3 amazonaws com/janedoe/3004b40831e00749a44e646fbe1ad068", "filesize" 334, "filehash" "sha1 4adebd82ab32f6e9fd4733f552d56c0282736bbd", "creationdate" "2023 11 03t16 44 44 9301064z", "lastmodifieddate" "2023 11 03t16 44 44 9301064z", "supportsaudio" true, "supportsvideo" true, "supportsimages" true, "content" \[ { "contentid" 12345, "filename" "saturday breakfast menu jpg", "displayduration" "00 00 15", "validitystartdate" "2023 11 11t08 00 00", "validityenddate" "2023 11 11t12 00 00" } ], "presentations" \[], "permissions" \[] } failure response 300 300 the requested representation could not be returned because it is ambiguous (there are multiple requested representations) 400 400 the request or request body is malformed and therefore invalid, or it is rejected in accordance with the business rules 401 401 the access token is invalid or not specified 403 403 the supplied access token, though valid, doesn't provide access to this method 406 406 the server cannot return the data representation that you requested (as specified in the "accept" header) 415 415 the server cannot accept the data representation that you sent (as specified in the "content type" header) 5xx 5xx any 500 code is an internal server error delete / removes dynamic playlists, specified by a filter, from a network this allows multiple dynamic playlists to be deleted at once required scope token bsn api main playlists dynamic delete query string parameter filter string string required required an filtering and sorting expressions in the main api docid 3l0afyd3xooe ytvfk2vs for filtering search results request example the example request parameters and headers are set as follows filter is set to \[name] contains 'southeast' delete /2022/06/rest/playlists/dynamic/?filter=%5bname%5d%20contains%20%27southeast%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 success response body 200 200 returns the number of affected dynamic playlists as an integer value failure response 300 300 the requested representation could not be returned because it is ambiguous (there are multiple requested representations) 400 400 the request or request body is malformed and therefore invalid, or it is rejected in accordance with the business rules (for example, the specified dynamic playlist is being used in a presentation and cannot be deleted) 401 401 the access token is invalid or not specified 403 403 the supplied access token, though valid, doesn't provide access to this method 406 406 the server cannot return the data representation that you requested (as specified in the "accept" header) 5xx 5xx any 500 code is an internal server error get /count/ returns the number of dynamic playlists on the network that match the specified filter criteria if no filter is included, this call returns the total number of dynamic playlists on the network required scope token bsn api main playlists dynamic retrieve query string parameter filter string string optional optional an filtering and sorting expressions in the main api docid 3l0afyd3xooe ytvfk2vs 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 \[supportsvideo] is true get /2022/06/rest/playlists/dynamic/count/?filter=%5bsupportsvideo%5d%20is%20true 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 success response body 200 200 the number of dynamic playlists is returned as an integer value failure response 300 300 the requested representation could not be returned because it is ambiguous (there are multiple requested representations) 400 400 the request is malformed and therefore invalid 401 401 the access token is invalid or not specified 403 403 the supplied access token, though valid, doesn't provide access to this method 406 406 the server cannot return the data representation that you requested (as specified in the "accept" header) 5xx 5xx any 500 code is an internal server error get /{id\ int}/ returns the specified dynamic playlist instance required scope token bsn api main playlists dynamic retrieve segment id int int a unique identifier for the dynamic playlist instance request example the example request parameters and headers are set as follows id is set to 12345678 the optional if modified since header value equals the last modified header value retrieved from the previous get /id or get /name response get /2022/06/rest/playlists/dynamic/12345678/ http/1 1 host api bsn cloud connection keep alive authorization bearer {{useraccesstoken}} if modified since wed, 13 mar 2024 21 32 34 gmt accept application/json, application/vnd bsn error+json accept encoding gzip,deflate success response with body 200 200 returns the dynamic playlists entity (2022/06) docid\ xmotql48ev94zyytfug9n example this is an example of a 200 level response { "id" 12345678, "name" "westbuilding", "physicalpath" "https //bsncloud s3 amazonaws com/janedoe/87a992afd6071576647ecd1fd65776ba", "filesize" 1060, "filehash" "sha1\ b895e0604edd11f5e143b1329aabe9l13d06b821", "creationdate" "2023 11 01t22 36 42 153z", "lastmodifieddate" "2024 03 13t21 32 35 093z", "supportsaudio" true, "supportsvideo" true, "supportsimages" true, "content" \[ { "contentid" 123456, "filename" "steampunk resin clock with metallic cogs and gears mp4", "displayduration" "00 00 00", "validitystartdate" null, "validityenddate" null } ], "presentations" \[ { "id" 987654, "name" "test4buildings", "type" "presentation", "link" null } ], "permissions" \[] } success response 304 304 the resource was not modified since the time specified in the “if modified since” header failure response 300 300 the requested representation could not be returned because it is ambiguous (there are multiple requested representations) 400 400 the request is malformed and therefore invalid 401 401 the access token is invalid or not specified 403 403 the supplied access token, though valid, doesn't provide access to this method 404 404 the server cannot find the requested resource (the path does not exist) 406 406 the server cannot return the data representation that you requested (as specified in the "accept" header) 5xx 5xx any 500 code is an internal server error put /{id\ int}/ modifies the specified dynamic playlist instance required scope token bsn api main playlists dynamic update segment id int int a unique identifier for the dynamic playlist instance request body the dynamic playlists entity (2022/06) docid\ xmotql48ev94zyytfug9n request example the example request parameters and headers are set as follows id is set to 1234567 the optional if unmodified since header value equals the last modified header value retrieved from the get /id or get /name response put /2022/06/rest/playlists/dynamic/1234567/ 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 if unmodified since wed, 13 mar 2024 21 32 34 gmt content type application/json content length 320 this is the example request body { "id" 0, "name" "southwest", "physicalpath" null, "filesize" 0, "filehash" null, "creationdate" "0001 01 01t00 00 00", "lastmodifieddate" "0001 01 01t00 00 00", "supportsaudio" true, "supportsvideo" true, "supportsimages" true, "content" \[ { "contentid" 123456, "filename" "steampunk resin clock with metallic cogs and gears mp4", "displayduration" "00 00 00", "validitystartdate" null, "validityenddate" null } ], "presentations" null, "permissions" \[] } success response 204 204 the specified dynamic playlist has been modified failure response 300 300 the requested representation could not be returned because it is ambiguous (there are multiple requested representations) 400 400 the request or request body is malformed and therefore invalid, or it is rejected in accordance with the business rules 401 401 the access token is invalid or not specified 403 403 the supplied access token, though valid, doesn't provide access to this method 404 404 the server cannot find the requested resource (the path does not exist) 406 406 the server cannot return the data representation that you requested (as specified in the "accept" header) 412 412 precondition failed (the resource changed since the time specified in the “if unmodified since” header value) 415 415 the server cannot accept the data representation that you sent (as specified in the "content type" header) 5xx 5xx any 500 code is an internal server error delete /{id\ int}/ removes the specified dynamic playlist required scope token bsn api main playlists dynamic delete segment id int int a unique identifier for the dynamic playlist instance request example the example request parameters and headers are set as follows id is set to 1234567 the optional if unmodified since header value equals the last modified header value retrieved from the get /id or get /name response delete /2022/06/rest/playlists/dynamic/1234567/ http/1 1 host api bsn cloud connection keep alive authorization bearer {{useraccesstoken}} if unmodified since wed, 13 mar 2024 21 32 34 gmt accept application/json, application/vnd bsn error+json accept encoding gzip,deflate success response 204 204 the specified dynamic playlist file has been removed from the network failure response 300 300 the requested representation could not be returned because it is ambiguous (there are multiple requested representations) 400 400 the request or request body is malformed and therefore invalid, or it is rejected in accordance with the business rules 401 401 the access token is invalid or not specified 403 403 the supplied access token, though valid, doesn't provide access to this method 404 404 the server cannot find the requested resource (the path does not exist) 406 406 the server cannot return the data representation that you requested (as specified in the "accept" header) 412 412 precondition failed (the resource changed since the time specified in the “if unmodified since” header value) 5xx 5xx any 500 code is an internal server error get /{name}/ returns the specified dynamic playlist instance required scope token bsn api main playlists dynamic retrieve segment name string string the name of the dynamic playlist instance request example the example request parameters and headers are set as follows name is set to westbuilding the optional if modified since header value equals the last modified header value retrieved from the previous get /id or get /name response get /2022/06/rest/playlists/dynamic/westbuilding/ http/1 1 host api bsn cloud connection keep alive authorization bearer {{useraccesstoken}} if modified since wed, 13 mar 2024 21 32 34 gmt accept application/json, application/vnd bsn error+json accept encoding gzip,deflate success response with body 200 200 returns the dynamic playlists entity (2022/06) docid\ xmotql48ev94zyytfug9n example this is an example of a 200 level response { "id" 12345678, "name" "westbuilding", "physicalpath" "https //bsncloud s3 amazonaws com/janedoe/87a992afd6071576647ecd1fd65776ba", "filesize" 1060, "filehash" "sha1\ b895e0604edd11f5e143b0329aabe9a13d06b821", "creationdate" "2023 11 01t22 36 42 153z", "lastmodifieddate" "2024 03 13t21 32 35 093z", "supportsaudio" true, "supportsvideo" true, "supportsimages" true, "content" \[ { "contentid" 123456, "filename" "steampunk resin clock with metallic cogs and gears mp4", "displayduration" "00 00 00", "validitystartdate" null, "validityenddate" null } ], "presentations" \[ { "id" 987654, "name" "test4buildings", "type" "presentation", "link" null } ], "permissions" \[] } success response 304 304 the resource was not modified since the time specified in the “if modified since” header failure response 300 300 the requested representation could not be returned because it is ambiguous (there are multiple requested representations) 400 400 the request is malformed and therefore invalid 401 401 the access token is invalid or not specified 403 403 the supplied access token, though valid, doesn't provide access to this method 404 404 the server cannot find the requested resource (the path does not exist) 406 406 the server cannot return the data representation that you requested (as specified in the "accept" header) 5xx 5xx any 500 code is an internal server error put /{name}/ modifies the specified dynamic playlist instance required scope token bsn api main playlists dynamic update segment name string string the name of the dynamic playlist instance request body the dynamic playlists entity (2022/06) docid\ xmotql48ev94zyytfug9n request example the example request parameters and headers are set as follows name is set to southwest the optional if unmodified since header value equals the last modified header value retrieved from the get /id or get /name response put /2022/06/rest/playlists/dynamic/southwest/ 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 if unmodified since wed, 13 mar 2024 21 32 34 gmt content type application/json content length 320 this is the example request body { "id" 0, "name" "southwest", "physicalpath" null, "filesize" 0, "filehash" null, "creationdate" "0001 01 01t00 00 00", "lastmodifieddate" "0001 01 01t00 00 00", "supportsaudio" true, "supportsvideo" true, "supportsimages" true, "content" \[ { "contentid" 123456, "filename" "steampunk resin clock with metallic cogs and gears mp4", "displayduration" "00 00 00", "validitystartdate" null, "validityenddate" null } ], "presentations" null, "permissions" \[] } success response 204 204 the specified dynamic playlist has been modified failure response 300 300 the requested representation could not be returned because it is ambiguous (there are multiple requested representations) 400 400 the request or request body is malformed and therefore invalid, or it is rejected in accordance with the business rules 401 401 the access token is invalid or not specified 403 403 the supplied access token, though valid, doesn't provide access to this method 404 404 the server cannot find the requested resource (the path does not exist) 406 406 the server cannot return the data representation that you requested (as specified in the "accept" header) 412 412 precondition failed (the resource changed since the time specified in the “if unmodified since” header value) 415 415 the server cannot accept the data representation that you sent (as specified in the "content type" header) 5xx 5xx any 500 code is an internal server error delete /{name}/ removes the specified dynamic playlist required scope token bsn api main playlists dynamic delete segment name string string the name of the dynamic playlist instance request example the example request parameters and headers are set as follows name is set to northeast the optional if unmodified since header value equals the last modified header value retrieved from the get /id or get /name response delete /2022/06/rest/playlists/dynamic/northeast/ http/1 1 host api bsn cloud connection keep alive authorization bearer {{useraccesstoken}} if unmodified since wed, 13 mar 2024 21 32 34 gmt accept application/json, application/vnd bsn error+json accept encoding gzip,deflate success response 204 204 the specified dynamic playlist file has been removed from the network failure response 300 300 the requested representation could not be returned because it is ambiguous (there are multiple requested representations) 400 400 the request or request body is malformed and therefore invalid, or it is rejected in accordance with the business rules 401 401 the access token is invalid or not specified 403 403 the supplied access token, though valid, doesn't provide access to this method 404 404 the server cannot find the requested resource (the path does not exist) 406 406 the server cannot return the data representation that you requested (as specified in the "accept" header) 412 412 precondition failed (the resource changed since the time specified in the “if unmodified since” header value) 5xx 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/playlists/dynamic/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 success response body 200 200 returns the business operations entity (2022/06) docid\ ei98k7oul6z5i 5b d6js example { "uid" "cc86a53e e63d 4268 b2bf fe4579d461f4", "singularname" "full control", "pluralname" "dynamic playlist (full control)", "fullname" "dynamic playlist (full control)", "targetentity" "dynamicplaylist", "appliance" "instance, collection", "parent" null, "descendants" \[ { "uid" "3c2c75a2 b799 8174 3992 f1974b7122a9", "singularname" "view dynamic playlist", "pluralname" "view dynamic playlists", "fullname" "dynamic playlist (full control) view dynamic playlists", "targetentity" "dynamicplaylist", "appliance" "instance, collection", "parent" { "uid" "cc86a53e e63d 4268 b2bf fe4579d461f4", "singularname" "full control", "pluralname" "dynamic playlist (full control)", "fullname" "dynamic playlist (full control)", "targetentity" "dynamicplaylist", "appliance" "instance, collection", "parent" null, "descendants" null, "permissions" null }, "descendants" \[], "permissions" \[ { "entityid" null, "operationuid" "3c2c75a2 b799 8174 3992 f1974b7122a9", "principal" { "name" "network managers", "iscustom" false, "type" "role", "id" 5 }, "isfixed" true, "isinherited" false, "isallowed" true, "creationdate" "2020 03 05t16 59 06 363z" }, { "entityid" null, "operationuid" "3c2c75a2 b799 8174 3992 f1974b7122a9", "principal" { "name" "viewers", "iscustom" false, "type" "role", "id" 6 }, "isfixed" true, "isinherited" false, "isallowed" true, "creationdate" "2020 03 05t16 59 06 91z" }, { "entityid" null, "operationuid" "3c2c75a2 b799 8174 3992 f1974b7122a9", "principal" { "name" "administrators", "iscustom" false, "type" "role", "id" 1 }, "isfixed" true, "isinherited" true, "isallowed" true, "creationdate" "2020 03 05t16 59 05 023z" }, { "entityid" null, "operationuid" "3c2c75a2 b799 8174 3992 f1974b7122a9", "principal" { "name" "general managers", "iscustom" false, "type" "role", "id" 2 }, "isfixed" true, "isinherited" true, "isallowed" true, "creationdate" "2020 03 05t16 59 05 277z" }, { "entityid" null, "operationuid" "3c2c75a2 b799 8174 3992 f1974b7122a9", "principal" { "name" "creators", "iscustom" false, "type" "role", "id" 3 }, "isfixed" true, "isinherited" true, "isallowed" true, "creationdate" "2020 03 05t16 59 05 523z" }, { "entityid" null, "operationuid" "3c2c75a2 b799 8174 3992 f1974b7122a9", "principal" { "name" "publishers", "iscustom" false, "type" "role", "id" 4 }, "isfixed" true, "isinherited" true, "isallowed" false, "creationdate" "2020 03 05t16 59 05 847z" } ] }, { "uid" "cf5f189b 3be8 0244 65e0 382f9da93c0e", "singularname" "view contents", "pluralname" "view contents", "fullname" "dynamic playlist (full control) view contents", "targetentity" "dynamicplaylist", "appliance" "instance, collection", "parent" { "uid" "cc86a53e e63d 4268 b2bf fe4579d461f4", "singularname" "full control", "pluralname" "dynamic playlist (full control)", "fullname" "dynamic playlist (full control)", "targetentity" "dynamicplaylist", "appliance" "instance, collection", "parent" null, "descendants" null, "permissions" null }, "descendants" \[], "permissions" \[ { "entityid" null, "operationuid" "cf5f189b 3be8 0244 65e0 382f9da93c0e", "principal" { "name" "viewers", "iscustom" false, "type" "role", "id" 6 }, "isfixed" true, "isinherited" false, "isallowed" true, "creationdate" "2020 03 05t16 59 06 927z" }, { "entityid" null, "operationuid" "cf5f189b 3be8 0244 65e0 382f9da93c0e", "principal" { "name" "administrators", "iscustom" false, "type" "role", "id" 1 }, "isfixed" true, "isinherited" true, "isallowed" true, "creationdate" "2020 03 05t16 59 05 023z" }, { "entityid" null, "operationuid" "cf5f189b 3be8 0244 65e0 382f9da93c0e", "principal" { "name" "general managers", "iscustom" false, "type" "role", "id" 2 }, "isfixed" true, "isinherited" true, "isallowed" true, "creationdate" "2020 03 05t16 59 05 277z" }, { "entityid" null, "operationuid" "cf5f189b 3be8 0244 65e0 382f9da93c0e", "principal" { "name" "creators", "iscustom" false, "type" "role", "id" 3 }, "isfixed" true, "isinherited" true, "isallowed" true, "creationdate" "2020 03 05t16 59 05 523z" }, { "entityid" null, "operationuid" "cf5f189b 3be8 0244 65e0 382f9da93c0e", "principal" { "name" "publishers", "iscustom" false, "type" "role", "id" 4 }, "isfixed" true, "isinherited" true, "isallowed" false, "creationdate" "2020 03 05t16 59 05 847z" }, { "entityid" null, "operationuid" "cf5f189b 3be8 0244 65e0 382f9da93c0e", "principal" { "name" "network managers", "iscustom" false, "type" "role", "id" 5 }, "isfixed" true, "isinherited" true, "isallowed" false, "creationdate" "2020 03 05t16 59 06 35z" } ] }, { "uid" "4c377bf1 0f9c a194 edbf ac79f6b7d305", "singularname" "create dynamic playlist", "pluralname" "create dynamic playlist", "fullname" "dynamic playlist (full control) create dynamic playlist", "targetentity" "dynamicplaylist", "appliance" "collection", "parent" { "uid" "cc86a53e e63d 4268 b2bf fe4579d461f4", "singularname" "full control", "pluralname" "dynamic playlist (full control)", "fullname" "dynamic playlist (full control)", "targetentity" "dynamicplaylist", "appliance" "instance, collection", "parent" null, "descendants" null, "permissions" null }, "descendants" \[], "permissions" \[ { "entityid" null, "operationuid" "4c377bf1 0f9c a194 edbf ac79f6b7d305", "principal" { "name" "administrators", "iscustom" false, "type" "role", "id" 1 }, "isfixed" true, "isinherited" true, "isallowed" true, "creationdate" "2020 03 05t16 59 05 023z" }, { "entityid" null, "operationuid" "4c377bf1 0f9c a194 edbf ac79f6b7d305", "principal" { "name" "general managers", "iscustom" false, "type" "role", "id" 2 }, "isfixed" true, "isinherited" true, "isallowed" true, "creationdate" "2020 03 05t16 59 05 277z" }, { "entityid" null, "operationuid" "4c377bf1 0f9c a194 edbf ac79f6b7d305", "principal" { "name" "creators", "iscustom" false, "type" "role", "id" 3 }, "isfixed" true, "isinherited" true, "isallowed" true, "creationdate" "2020 03 05t16 59 05 523z" }, { "entityid" null, "operationuid" "4c377bf1 0f9c a194 edbf ac79f6b7d305", "principal" { "name" "publishers", "iscustom" false, "type" "role", "id" 4 }, "isfixed" true, "isinherited" true, "isallowed" false, "creationdate" "2020 03 05t16 59 05 847z" }, { "entityid" null, "operationuid" "4c377bf1 0f9c a194 edbf ac79f6b7d305", "principal" { "name" "network managers", "iscustom" false, "type" "role", "id" 5 }, "isfixed" true, "isinherited" true, "isallowed" false, "creationdate" "2020 03 05t16 59 06 35z" }, { "entityid" null, "operationuid" "4c377bf1 0f9c a194 edbf ac79f6b7d305", "principal" { "name" "viewers", "iscustom" false, "type" "role", "id" 6 }, "isfixed" true, "isinherited" true, "isallowed" false, "creationdate" "2020 03 05t16 59 06 897z" } ] }, { "uid" "f8d54357 096e cfc4 f153 419b50a4697f", "singularname" "rename dynamic playlist", "pluralname" "rename dynamic playlist", "fullname" "dynamic playlist (full control) rename dynamic playlist", "targetentity" "dynamicplaylist", "appliance" "instance, collection", "parent" { "uid" "cc86a53e e63d 4268 b2bf fe4579d461f4", "singularname" "full control", "pluralname" "dynamic playlist (full control)", "fullname" "dynamic playlist (full control)", "targetentity" "dynamicplaylist", "appliance" "instance, collection", "parent" null, "descendants" null, "permissions" null }, "descendants" \[], "permissions" \[ { "entityid" null, "operationuid" "f8d54357 096e cfc4 f153 419b50a4697f", "principal" { "name" "administrators", "iscustom" false, "type" "role", "id" 1 }, "isfixed" true, "isinherited" true, "isallowed" true, "creationdate" "2020 03 05t16 59 05 023z" }, { "entityid" null, "operationuid" "f8d54357 096e cfc4 f153 419b50a4697f", "principal" { "name" "general managers", "iscustom" false, "type" "role", "id" 2 }, "isfixed" true, "isinherited" true, "isallowed" true, "creationdate" "2020 03 05t16 59 05 277z" }, { "entityid" null, "operationuid" "f8d54357 096e cfc4 f153 419b50a4697f", "principal" { "name" "creators", "iscustom" false, "type" "role", "id" 3 }, "isfixed" true, "isinherited" true, "isallowed" true, "creationdate" "2020 03 05t16 59 05 523z" }, { "entityid" null, "operationuid" "f8d54357 096e cfc4 f153 419b50a4697f", "principal" { "name" "publishers", "iscustom" false, "type" "role", "id" 4 }, "isfixed" true, "isinherited" true, "isallowed" false, "creationdate" "2020 03 05t16 59 05 847z" }, { "entityid" null, "operationuid" "f8d54357 096e cfc4 f153 419b50a4697f", "principal" { "name" "network managers", "iscustom" false, "type" "role", "id" 5 }, "isfixed" true, "isinherited" true, "isallowed" false, "creationdate" "2020 03 05t16 59 06 35z" }, { "entityid" null, "operationuid" "f8d54357 096e cfc4 f153 419b50a4697f", "principal" { "name" "viewers", "iscustom" false, "type" "role", "id" 6 }, "isfixed" true, "isinherited" true, "isallowed" false, "creationdate" "2020 03 05t16 59 06 897z" } ] }, { "uid" "7d6e1999 ebdc 4ae7 b242 a903c5c6695e", "singularname" "update dynamic playlist", "pluralname" "update dynamic playlist", "fullname" "dynamic playlist (full control) update dynamic playlist", "targetentity" "dynamicplaylist", "appliance" "instance, collection", "parent" { "uid" "cc86a53e e63d 4268 b2bf fe4579d461f4", "singularname" "full control", "pluralname" "dynamic playlist (full control)", "fullname" "dynamic playlist (full control)", "targetentity" "dynamicplaylist", "appliance" "instance, collection", "parent" null, "descendants" null, "permissions" null }, "descendants" \[], "permissions" \[ { "entityid" null, "operationuid" "7d6e1999 ebdc 4ae7 b242 a903c5c6695e", "principal" { "name" "administrators", "iscustom" false, "type" "role", "id" 1 }, "isfixed" true, "isinherited" true, "isallowed" true, "creationdate" "2020 03 05t16 59 05 023z" }, { "entityid" null, "operationuid" "7d6e1999 ebdc 4ae7 b242 a903c5c6695e", "principal" { "name" "general managers", "iscustom" false, "type" "role", "id" 2 }, "isfixed" true, "isinherited" true, "isallowed" true, "creationdate" "2020 03 05t16 59 05 277z" }, { "entityid" null, "operationuid" "7d6e1999 ebdc 4ae7 b242 a903c5c6695e", "principal" { "name" "creators", "iscustom" false, "type" "role", "id" 3 }, "isfixed" true, "isinherited" true, "isallowed" true, "creationdate" "2020 03 05t16 59 05 523z" }, { "entityid" null, "operationuid" "7d6e1999 ebdc 4ae7 b242 a903c5c6695e", "principal" { "name" "publishers", "iscustom" false, "type" "role", "id" 4 }, "isfixed" true, "isinherited" true, "isallowed" false, "creationdate" "2020 03 05t16 59 05 847z" }, { "entityid" null, "operationuid" "7d6e1999 ebdc 4ae7 b242 a903c5c6695e", "principal" { "name" "network managers", "iscustom" false, "type" "role", "id" 5 }, "isfixed" true, "isinherited" true, "isallowed" false, "creationdate" "2020 03 05t16 59 06 35z" }, { "entityid" null, "operationuid" "7d6e1999 ebdc 4ae7 b242 a903c5c6695e", "principal" { "name" "viewers", "iscustom" false, "type" "role", "id" 6 }, "isfixed" true, "isinherited" true, "isallowed" false, "creationdate" "2020 03 05t16 59 06 897z" } ] }, { "uid" "4cbdae4a a900 4535 9d32 443ea077fc21", "singularname" "assign dynamic playlist", "pluralname" "assign dynamic playlist", "fullname" "dynamic playlist (full control) assign dynamic playlist", "targetentity" "dynamicplaylist", "appliance" "instance, collection", "parent" { "uid" "cc86a53e e63d 4268 b2bf fe4579d461f4", "singularname" "full control", "pluralname" "dynamic playlist (full control)", "fullname" "dynamic playlist (full control)", "targetentity" "dynamicplaylist", "appliance" "instance, collection", "parent" null, "descendants" null, "permissions" null }, "descendants" \[], "permissions" \[ { "entityid" null, "operationuid" "4cbdae4a a900 4535 9d32 443ea077fc21", "principal" { "name" "administrators", "iscustom" false, "type" "role", "id" 1 }, "isfixed" true, "isinherited" true, "isallowed" true, "creationdate" "2020 03 05t16 59 05 023z" }, { "entityid" null, "operationuid" "4cbdae4a a900 4535 9d32 443ea077fc21", "principal" { "name" "general managers", "iscustom" false, "type" "role", "id" 2 }, "isfixed" true, "isinherited" true, "isallowed" true, "creationdate" "2020 03 05t16 59 05 277z" }, { "entityid" null, "operationuid" "4cbdae4a a900 4535 9d32 443ea077fc21", "principal" { "name" "creators", "iscustom" false, "type" "role", "id" 3 }, "isfixed" true, "isinherited" true, "isallowed" true, "creationdate" "2020 03 05t16 59 05 523z" }, { "entityid" null, "operationuid" "4cbdae4a a900 4535 9d32 443ea077fc21", "principal" { "name" "publishers", "iscustom" false, "type" "role", "id" 4 }, "isfixed" true, "isinherited" true, "isallowed" false, "creationdate" "2020 03 05t16 59 05 847z" }, { "entityid" null, "operationuid" "4cbdae4a a900 4535 9d32 443ea077fc21", "principal" { "name" "network managers", "iscustom" false, "type" "role", "id" 5 }, "isfixed" true, "isinherited" true, "isallowed" false, "creationdate" "2020 03 05t16 59 06 35z" }, { "entityid" null, "operationuid" "4cbdae4a a900 4535 9d32 443ea077fc21", "principal" { "name" "viewers", "iscustom" false, "type" "role", "id" 6 }, "isfixed" true, "isinherited" true, "isallowed" false, "creationdate" "2020 03 05t16 59 06 897z" } ] }, { "uid" "1c434b6b 355e 4bdb b6b5 60dc7a145bf9", "singularname" "unassign dynamic playlist", "pluralname" "unassign dynamic playlist", "fullname" "dynamic playlist (full control) unassign dynamic playlist", "targetentity" "dynamicplaylist", "appliance" "instance, collection", "parent" { "uid" "cc86a53e e63d 4268 b2bf fe4579d461f4", "singularname" "full control", "pluralname" "dynamic playlist (full control)", "fullname" "dynamic playlist (full control)", "targetentity" "dynamicplaylist", "appliance" "instance, collection", "parent" null, "descendants" null, "permissions" null }, "descendants" \[], "permissions" \[ { "entityid" null, "operationuid" "1c434b6b 355e 4bdb b6b5 60dc7a145bf9", "principal" { "name" "administrators", "iscustom" false, "type" "role", "id" 1 }, "isfixed" true, "isinherited" true, "isallowed" true, "creationdate" "2020 03 05t16 59 05 023z" }, { "entityid" null, "operationuid" "1c434b6b 355e 4bdb b6b5 60dc7a145bf9", "principal" { "name" "general managers", "iscustom" false, "type" "role", "id" 2 }, "isfixed" true, "isinherited" true, "isallowed" true, "creationdate" "2020 03 05t16 59 05 277z" }, { "entityid" null, "operationuid" "1c434b6b 355e 4bdb b6b5 60dc7a145bf9", "principal" { "name" "creators", "iscustom" false, "type" "role", "id" 3 }, "isfixed" true, "isinherited" true, "isallowed" true, "creationdate" "2020 03 05t16 59 05 523z" }, { "entityid" null, "operationuid" "1c434b6b 355e 4bdb b6b5 60dc7a145bf9", "principal" { "name" "publishers", "iscustom" false, "type" "role", "id" 4 }, "isfixed" true, "isinherited" true, "isallowed" false, "creationdate" "2020 03 05t16 59 05 847z" }, { "entityid" null, "operationuid" "1c434b6b 355e 4bdb b6b5 60dc7a145bf9", "principal" { "name" "network managers", "iscustom" false, "type" "role", "id" 5 }, "isfixed" true, "isinherited" true, "isallowed" false, "creationdate" "2020 03 05t16 59 06 35z" }, { "entityid" null, "operationuid" "1c434b6b 355e 4bdb b6b5 60dc7a145bf9", "principal" { "name" "viewers", "iscustom" false, "type" "role", "id" 6 }, "isfixed" true, "isinherited" true, "isallowed" false, "creationdate" "2020 03 05t16 59 06 897z" } ] }, { "uid" "4ab8f14f be27 41d7 9e6f 38317bf269ba", "singularname" "edit permissions", "pluralname" "edit permissions", "fullname" "dynamic playlist (full control) edit permissions", "targetentity" "dynamicplaylist", "appliance" "collection", "parent" { "uid" "cc86a53e e63d 4268 b2bf fe4579d461f4", "singularname" "full control", "pluralname" "dynamic playlist (full control)", "fullname" "dynamic playlist (full control)", "targetentity" "dynamicplaylist", "appliance" "instance, collection", "parent" null, "descendants" null, "permissions" null }, "descendants" \[], "permissions" \[ { "entityid" null, "operationuid" "4ab8f14f be27 41d7 9e6f 38317bf269ba", "principal" { "name" "administrators", "iscustom" false, "type" "role", "id" 1 }, "isfixed" true, "isinherited" true, "isallowed" true, "creationdate" "2020 03 05t16 59 05 023z" }, { "entityid" null, "operationuid" "4ab8f14f be27 41d7 9e6f 38317bf269ba", "principal" { "name" "general managers", "iscustom" false, "type" "role", "id" 2 }, "isfixed" true, "isinherited" true, "isallowed" true, "creationdate" "2020 03 05t16 59 05 277z" }, { "entityid" null, "operationuid" "4ab8f14f be27 41d7 9e6f 38317bf269ba", "principal" { "name" "creators", "iscustom" false, "type" "role", "id" 3 }, "isfixed" true, "isinherited" true, "isallowed" true, "creationdate" "2020 03 05t16 59 05 523z" }, { "entityid" null, "operationuid" "4ab8f14f be27 41d7 9e6f 38317bf269ba", "principal" { "name" "publishers", "iscustom" false, "type" "role", "id" 4 }, "isfixed" true, "isinherited" true, "isallowed" false, "creationdate" "2020 03 05t16 59 05 847z" }, { "entityid" null, "operationuid" "4ab8f14f be27 41d7 9e6f 38317bf269ba", "principal" { "name" "network managers", "iscustom" false, "type" "role", "id" 5 }, "isfixed" true, "isinherited" true, "isallowed" false, "creationdate" "2020 03 05t16 59 06 35z" }, { "entityid" null, "operationuid" "4ab8f14f be27 41d7 9e6f 38317bf269ba", "principal" { "name" "viewers", "iscustom" false, "type" "role", "id" 6 }, "isfixed" true, "isinherited" true, "isallowed" false, "creationdate" "2020 03 05t16 59 06 897z" } ] }, { "uid" "60252669 c9ea c784 7de0 1d685b99c255", "singularname" "delete dynamic playlist", "pluralname" "delete dynamic playlist", "fullname" "dynamic playlist (full control) delete dynamic playlist", "targetentity" "dynamicplaylist", "appliance" "instance, collection", "parent" { "uid" "cc86a53e e63d 4268 b2bf fe4579d461f4", "singularname" "full control", "pluralname" "dynamic playlist (full control)", "fullname" "dynamic playlist (full control)", "targetentity" "dynamicplaylist", "appliance" "instance, collection", "parent" null, "descendants" null, "permissions" null }, "descendants" \[], "permissions" \[ { "entityid" null, "operationuid" "60252669 c9ea c784 7de0 1d685b99c255", "principal" { "name" "network managers", "iscustom" false, "type" "role", "id" 5 }, "isfixed" true, "isinherited" false, "isallowed" true, "creationdate" "2020 03 05t16 59 06 377z" }, { "entityid" null, "operationuid" "60252669 c9ea c784 7de0 1d685b99c255", "principal" { "name" "administrators", "iscustom" false, "type" "role", "id" 1 }, "isfixed" true, "isinherited" true, "isallowed" true, "creationdate" "2020 03 05t16 59 05 023z" }, { "entityid" null, "operationuid" "60252669 c9ea c784 7de0 1d685b99c255", "principal" { "name" "general managers", "iscustom" false, "type" "role", "id" 2 }, "isfixed" true, "isinherited" true, "isallowed" true, "creationdate" "2020 03 05t16 59 05 277z" }, { "entityid" null, "operationuid" "60252669 c9ea c784 7de0 1d685b99c255", "principal" { "name" "creators", "iscustom" false, "type" "role", "id" 3 }, "isfixed" true, "isinherited" true, "isallowed" true, "creationdate" "2020 03 05t16 59 05 523z" }, { "entityid" null, "operationuid" "60252669 c9ea c784 7de0 1d685b99c255", "principal" { "name" "publishers", "iscustom" false, "type" "role", "id" 4 }, "isfixed" true, "isinherited" true, "isallowed" false, "creationdate" "2020 03 05t16 59 05 847z" }, { "entityid" null, "operationuid" "60252669 c9ea c784 7de0 1d685b99c255", "principal" { "name" "viewers", "iscustom" false, "type" "role", "id" 6 }, "isfixed" true, "isinherited" true, "isallowed" false, "creationdate" "2020 03 05t16 59 06 897z" } ] } ], "permissions" \[ { "entityid" null, "operationuid" "cc86a53e e63d 4268 b2bf fe4579d461f4", "principal" { "name" "administrators", "iscustom" false, "type" "role", "id" 1 }, "isfixed" true, "isinherited" false, "isallowed" true, "creationdate" "2020 03 05t16 59 05 023z" }, { "entityid" null, "operationuid" "cc86a53e e63d 4268 b2bf fe4579d461f4", "principal" { "name" "general managers", "iscustom" false, "type" "role", "id" 2 }, "isfixed" true, "isinherited" false, "isallowed" true, "creationdate" "2020 03 05t16 59 05 277z" }, { "entityid" null, "operationuid" "cc86a53e e63d 4268 b2bf fe4579d461f4", "principal" { "name" "creators", "iscustom" false, "type" "role", "id" 3 }, "isfixed" true, "isinherited" false, "isallowed" true, "creationdate" "2020 03 05t16 59 05 523z" }, { "entityid" null, "operationuid" "cc86a53e e63d 4268 b2bf fe4579d461f4", "principal" { "name" "publishers", "iscustom" false, "type" "role", "id" 4 }, "isfixed" true, "isinherited" false, "isallowed" false, "creationdate" "2020 03 05t16 59 05 847z" }, { "entityid" null, "operationuid" "cc86a53e e63d 4268 b2bf fe4579d461f4", "principal" { "name" "network managers", "iscustom" false, "type" "role", "id" 5 }, "isfixed" true, "isinherited" false, "isallowed" false, "creationdate" "2020 03 05t16 59 06 35z" }, { "entityid" null, "operationuid" "cc86a53e e63d 4268 b2bf fe4579d461f4", "principal" { "name" "viewers", "iscustom" false, "type" "role", "id" 6 }, "isfixed" true, "isinherited" false, "isallowed" false, "creationdate" "2020 03 05t16 59 06 897z" } ] } failure response 300 300 the requested representation could not be returned because it is ambiguous (there are multiple requested representations) 400 400 the request is malformed and therefore invalid 401 401 the access token is invalid or not specified 403 403 the supplied access token, though valid, doesn't provide access to this method 406 406 the server cannot return the data representation that you requested (as specified in the "accept" header) 5xx 5xx any 500 code is an internal server error get /{id\ int}/permissions/ includes object permissions for a given dynamic playlist instance required scope token bsn api main playlists dynamic retrieve segment id int int a unique identifier for the dynamic playlist instance request example the example request parameters and headers are set as follows id is 12345678 get /2022/06/rest/playlists/dynamic/12345678/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 success response body 200 200 returns an array of permission entity (2022/06) docid\ jwfymc42cdrg5jy2skysu entities example \[ { "entityid" 12345678, "operationuid" "60252669 c9ea c784 7de0 1d685b99c255", "principal" { "login" "janedoe\@brightsign biz", "type" "user", "id" 10498 }, "isfixed" false, "isinherited" false, "isallowed" true, "creationdate" "2023 10 25t22 17 24 28z" }, { "entityid" 12345678, "operationuid" "cc86a53e e63d 4268 b2bf fe4579d461f4", "principal" { "name" "custom", "iscustom" true, "type" "role", "id" 10498 }, "isfixed" false, "isinherited" false, "isallowed" false, "creationdate" "2023 10 27t18 48 11 053z" } ] failure response 300 300 the requested representation could not be returned because it is ambiguous (there are multiple requested representations) 400 400 the request is malformed and therefore invalid 401 401 the access token is invalid or not specified 403 403 the supplied access token, though valid, doesn't provide access to this method 404 404 the server cannot find the requested resource (the path does not exist) 406 406 the server cannot return the data representation that you requested (as specified in the "accept" header) 5xx 5xx any 500 code is an internal server error post /{id\ int}/permissions/ adds permissions to the specified dynamic playlist instance required scope token bsn api main playlists dynamic update segment id int int a unique identifier for the dynamic playlist instance request body an array of permission entity (2022/06) docid\ jwfymc42cdrg5jy2skysu entities request example the example request parameters and headers are set as follows id is set to 987654321 post /2022/06/rest/playlists/dynamic/987654321/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 318 this is the example request body \[ { "entityid" 987654321, "operationuid" "cc86a53e e63d 4268 b2bf fe4579d461f4", "principal" { "name" "custom", "iscustom" true, "type" "role", "id" 10701 }, "isfixed" false, "isinherited" false, "isallowed" true, "creationdate" "0001 01 01t00 00 00" } ] success response 204 204 the permissions were successfully added to the specified dynamic playlist failure response 400 400 the request or request body is malformed and therefore invalid, or it is rejected in accordance with the business rules 401 401 the access token is invalid or not specified 403 403 the supplied access token, though valid, doesn't provide access to this method 404 404 the server cannot find the requested resource (the path does not exist) 415 415 the server cannot accept the data representation that you sent (as specified in the "content type" header) 5xx 5xx any 500 code is an internal server error delete /{id\ int}/permissions/ removes permissions for the specified dynamic playlist required scope token bsn api main playlists dynamic update segment id int int a unique identifier for the dynamic playlist instance request body an array of permission entity (2022/06) docid\ jwfymc42cdrg5jy2skysu entities request example the example request parameters and headers are set as follows id is 12345678 delete /2022/06/rest/playlists/dynamic/12345678/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 318 this is the example request body \[ { "entityid" 12345678, "operationuid" "cc86a53e e63d 4268 b2bf fe4579d461f4", "principal" { "name" "custom", "iscustom" true, "type" "role", "id" 10701 }, "isfixed" false, "isinherited" false, "isallowed" true, "creationdate" "0001 01 01t00 00 00" } ] success response 204 204 the specified permissions were successfully deleted failure response 300 300 the requested representation could not be returned because it is ambiguous (there are multiple requested representations) 400 400 the request or request body is malformed and therefore invalid, or it is rejected in accordance with the business rules 401 401 the access token is invalid or not specified 403 403 the supplied access token, though valid, doesn't provide access to this method 404 404 the server cannot find the requested resource (the path does not exist) 406 406 the server cannot return the data representation that you requested (as specified in the "accept" header) 5xx 5xx any 500 code is an internal server error get /{name}/permissions/ includes object permissions for a given dynamic playlist instance required scope token bsn api main playlists dynamic retrieve segment name string string the name of the dynamic playlist instance request example the example request parameters and headers are set as follows name is northbuilding get /2022/06/rest/playlists/dynamic/northbuilding/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 success response body 200 200 returns an array of permission entity (2022/06) docid\ jwfymc42cdrg5jy2skysu entities example \[ { "entityid" 12345678, "operationuid" "60252669 c9ea c784 7de0 1d685b99c255", "principal" { "login" "janedoe\@brightsign biz", "type" "user", "id" 10498 }, "isfixed" false, "isinherited" false, "isallowed" true, "creationdate" "2023 10 25t22 17 24 28z" }, { "entityid" 4567890, "operationuid" "cc86a53e e63d 4268 b2bf fe4579d461f4", "principal" { "name" "custom", "iscustom" true, "type" "role", "id" 10498 }, "isfixed" false, "isinherited" false, "isallowed" false, "creationdate" "2023 10 27t18 48 11 053z" } ] failure response 300 300 the requested representation could not be returned because it is ambiguous (there are multiple requested representations) 400 400 the request is malformed and therefore invalid 401 401 the access token is invalid or not specified 403 403 the supplied access token, though valid, doesn't provide access to this method 404 404 the server cannot find the requested resource (the path does not exist) 406 406 the server cannot return the data representation that you requested (as specified in the "accept" header) 5xx 5xx any 500 code is an internal server error post /{name}/permissions/ adds permissions to the specified dynamic playlist instance required scope token bsn api main playlists dynamic update segment name string string the name of the dynamic playlist instance request body an array of permission entity (2022/06) docid\ jwfymc42cdrg5jy2skysu entities request example the example request parameters and headers are set as follows id is set to northbuilding post /2022/06/rest/playlists/dynamic/northbuilding/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 318 this is the example request body \[ { "entityid" 12345678, "operationuid" "cc86a53e e63d 4268 b2bf fe4579d461f4", "principal" { "name" "custom", "iscustom" true, "type" "role", "id" 10701 }, "isfixed" false, "isinherited" false, "isallowed" true, "creationdate" "0001 01 01t00 00 00" } ] success response 204 204 the permissions were successfully added to the specified dynamic playlist failure response 400 400 the request or request body is malformed and therefore invalid, or it is rejected in accordance with the business rules 401 401 the access token is invalid or not specified 403 403 the supplied access token, though valid, doesn't provide access to this method 404 404 the server cannot find the requested resource (the path does not exist) 415 415 the server cannot accept the data representation that you sent (as specified in the "content type" header) 5xx 5xx any 500 code is an internal server error delete /{name}/permissions/ removes permissions for the specified dynamic playlist required scope token bsn api main playlists dynamic update segment name string string the name of the dynamic playlist instance request body an array of permission entity (2022/06) docid\ jwfymc42cdrg5jy2skysu entities request example the example request parameters and headers are set as follows id is northbuilding delete /2022/06/rest/playlists/dynamic/northbuilding/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 318 this is the example request body \[ { "entityid" 12345678, "operationuid" "cc86a53e e63d 4268 b2bf fe4579d461f4", "principal" { "name" "custom", "iscustom" true, "type" "role", "id" 10701 }, "isfixed" false, "isinherited" false, "isallowed" true, "creationdate" "0001 01 01t00 00 00" } ] success response 204 204 the specified permissions were successfully deleted failure response 300 300 the requested representation could not be returned because it is ambiguous (there are multiple requested representations) 400 400 the request or request body is malformed and therefore invalid, or it is rejected in accordance with the business rules 401 401 the access token is invalid or not specified 403 403 the supplied access token, though valid, doesn't provide access to this method 404 404 the server cannot find the requested resource (the path does not exist) 406 406 the server cannot return the data representation that you requested (as specified in the "accept" header) 5xx 5xx any 500 code is an internal server error