Puntos finales de suscripciones de dispositivos (2022/06)
5 min
estos endpoints permiten a los usuarios administrar suscripciones de reproductores en una red url base para estos endpoints https //api bsn cloud/2022/06/rest/subscriptions get / devuelve una lista de suscripciones de reproductores token de scope requerido bsn api main subscriptions retrieve parámetros de query string filtro \<font color="#704ae0">string\</font> \<font color="#01a0af">opcional \</font> una expresión docid\ cot2dfqig9wykoya94hex de búsqueda para reducir el conjunto de resultados ordenar \<font color="#704ae0">string\</font> \<font color="#01a0af">opcional \</font> una expresión para ordenar los resultados de búsqueda la expresión de ordenación especifica la entrada utilizada para ordenar y el orden de clasificación ascendente/descendente (asc/desc) (consulte esta página docid\ cot2dfqig9wykoya94hex para obtener más información) marcador \<font color="#704ae0">string\</font> \<font color="#01a0af">opcional \</font> un valor que especifica qué página recuperar este valor es útil si la entrada istruncated en el cuerpo de respuesta de la llamada get anterior indica que el número de instancias de suscripción de reproductores excede el pagesize este parámetro solo es necesario si usted necesita más elementos en la lista paginada que el pagesize (100) pagesize \<font color="#704ae0">int\</font> \<font color="#01a0af">opcional \</font> la cantidad máxima de instancias de suscripción de dispositivos que pueden incluirse en el cuerpo de respuesta de forma predeterminada, se utiliza el tamaño máximo de página permitido (100) ejemplo de solicitud los parámetros y encabezados de la solicitud de ejemplo se establecen de la siguiente manera marcador tiene el valor de la propiedad \[pagedlist] \[nextmarker] de la respuesta anterior de bsn cloud api pagesize tiene el valor de 1 filtro tiene el valor de \[dispositivo] es nulo y \[estado] está en ('activo', 'suspendiendo') ordenar tiene el valor de \[creationdate] desc get /2022/06/rest/subscriptions/?marker=ndi0nty0ldqyndu2na%3d%3d\&pagesize=1\&filter=%5bdevice%5d%20is%20null%20and%20%5bstatus%5d%20is%20in%20%28%27active%27%2c%20%27suspending%27%29\&sort=%5bcreationdate%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 cuerpo de respuesta exitosa \<font color="#089a4d">200\</font> devuelve una lista paginada docid 1gsmbtulb07tf6mcfqcxp de entidades de suscripción de reproductor # en una red esto devolverá no más de 100 entidades junto con la información necesaria para devolver cualquier otra página restante ejemplo { "items" \[ { "id" 424574, "device" null, "type" "commercial", "activityperiod" "365 00 00 00", "status" "active", "creationdate" "2023 06 02t07 02 52 99z", "lastmodifieddate" "2023 06 02t07 02 52 99z", "activationdate" "2023 06 02t07 02 52 99z", "suspensiondate" null, "expirationdate" null }], "totalitemcount" 20, "matchingitemcount" 9, "pagesize" 1, "nextmarker" "mjaymy0wni0wmlqwnzowmjo1mi45otbaldqyndu3na==", "prevmarker" "mjaymy0wni0wmlqwnzowmjo1mi45otbaldqyndu36h78", "istruncated" true, "sortexpression" "\[creationdate] desc", "filterexpression" "\[device] is null and \[status] is in ( 'active' , 'suspending' )" } respuesta de error \<font color="#9a0808">300\</font> la representación solicitada no pudo devolverse porque es ambigua (hay múltiples representaciones solicitadas) \<font color="#9a0808">400\</font> la solicitud está mal formada y, por lo tanto, no es válida \<font color="#9a0808">401\</font> el token de acceso no es válido o no se especificó \<font color="#9a0808">403\</font> el token de acceso proporcionado, aunque es válido, no proporciona acceso a este método \<font color="#9a0808">406\</font> el servidor no puede devolver la representación de datos que solicitó (según se especifica en el encabezado "accept") \<font color="#9a0808">5xx\</font> cualquier código 500 es un error interno del servidor get /count/ recupera el número de instancias de suscripción en la red que coinciden con los criterios de filtro especificados si no se incluye ningún filtro, esta llamada devuelve el número total de instancias de suscripción en la red token de alcance requerido bsn api main subscriptions retrieve parámetro de cadena de consulta filtro \<font color="#704ae0">string\</font> \<font color="#01a0af">opcional \</font> una expresión docid\ cot2dfqig9wykoya94hex para filtrar resultados de búsqueda el valor predeterminado es null ejemplo de solicitud los parámetros y encabezados de la solicitud de ejemplo se establecen de la siguiente manera filtro se establece en \[id] es mayor que 0 y \[status] está en ('activo', 'suspendiendo') get /2022/06/rest/subscriptions/count/?pagesize=0\&filter=%5bid%5d%20is%20greater%20than%200%20and%20%5bstatus%5d%20is%20in%20%28%27active%27%2c%20%27suspending%27%29 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 cuerpo de la respuesta correcta \<font color="#089a4d">200\</font> el conteo de instancias de suscripción se devuelve como un valor entero respuesta de error \<font color="#9a0808">300\</font> la representación solicitada no pudo devolverse porque es ambigua (hay múltiples representaciones solicitadas) \<font color="#9a0808">400\</font> la solicitud está mal formada y, por lo tanto, no es válida \<font color="#9a0808">401\</font> el token de acceso no es válido o no se especificó \<font color="#9a0808">403\</font> el token de acceso proporcionado, aunque es válido, no proporciona acceso a este método \<font color="#9a0808">406\</font> el servidor no puede devolver la representación de datos que solicitó (según se especifica en el encabezado "accept") \<font color="#9a0808">5xx\</font> cualquier código 500 es un error interno del servidor get /operations/ devuelve permisos operativos otorgados a roles para operaciones comerciales específicas token de alcance requerido bsn api main operations retrieve ejemplo de solicitud los parámetros y encabezados de la solicitud de ejemplo se establecen de la siguiente manera get /2022/06/rest/subscriptions/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 cuerpo de la respuesta exitosa \<font color="#089a4d">200\</font> devuelve la entidad de operaciones comerciales docid\ bb tauffplmvkrodv93i7 ejemplo expandir { "uid" "616d956d 9a74 f674 61a9 3ab02f028352", "singularname" "full control", "pluralname" "device subscription (full control)", "fullname" "device subscription (full control)", "targetentity" "subscription", "appliance" "instance, collection", "parent" null, "descendants" \[ { "uid" "d6416c44 747e 7e24 f549 5a57525e046d", "singularname" "view subscription", "pluralname" "view subscriptions", "fullname" "device subscription (full control) view subscriptions", "targetentity" "subscription", "appliance" "instance, collection", "parent" { "uid" "616d956d 9a74 f674 61a9 3ab02f028352", "singularname" "full control", "pluralname" "device subscription (full control)", "fullname" "device subscription (full control)", "targetentity" "subscription", "appliance" "instance, collection", "parent" null, "descendants" null, "permissions" null }, "descendants" \[], "permissions" \[ { "entityid" null, "operationuid" "d6416c44 747e 7e24 f549 5a57525e046d", "principal" { "name" "network managers", "iscustom" false, "type" "role", "id" 5 }, "isfixed" true, "isinherited" false, "isallowed" true, "creationdate" "2020 03 05t16 59 06 767z" }, { "entityid" null, "operationuid" "d6416c44 747e 7e24 f549 5a57525e046d", "principal" { "name" "viewers", "iscustom" false, "type" "role", "id" 6 }, "isfixed" true, "isinherited" false, "isallowed" true, "creationdate" "2020 03 05t16 59 07 503z" }, { "entityid" null, "operationuid" "d6416c44 747e 7e24 f549 5a57525e046d", "principal" { "name" "administrators", "iscustom" false, "type" "role", "id" 1 }, "isfixed" true, "isinherited" true, "isallowed" true, "creationdate" "2020 03 05t16 59 05 18z" }, { "entityid" null, "operationuid" "d6416c44 747e 7e24 f549 5a57525e046d", "principal" { "name" "general managers", "iscustom" false, "type" "role", "id" 2 }, "isfixed" true, "isinherited" true, "isallowed" true, "creationdate" "2020 03 05t16 59 05 437z" }, { "entityid" null, "operationuid" "d6416c44 747e 7e24 f549 5a57525e046d", "principal" { "name" "creators", "iscustom" false, "type" "role", "id" 3 }, "isfixed" true, "isinherited" true, "isallowed" false, "creationdate" "2020 03 05t16 59 05 747z" }, { "entityid" null, "operationuid" "d6416c44 747e 7e24 f549 5a57525e046d", "principal" { "name" "publishers", "iscustom" false, "type" "role", "id" 4 }, "isfixed" true, "isinherited" true, "isallowed" false, "creationdate" "2020 03 05t16 59 06 19z" } ] }, { "uid" "398bd8f9 8950 4735 97f8 50bf8c8b5759", "singularname" "export subscriptions", "pluralname" "export subscriptions", "fullname" "device subscription (full control) export subscriptions", "targetentity" "subscription", "appliance" "instance, collection", "parent" { "uid" "616d956d 9a74 f674 61a9 3ab02f028352", "singularname" "full control", "pluralname" "device subscription (full control)", "fullname" "device subscription (full control)", "targetentity" "subscription", "appliance" "instance, collection", "parent" null, "descendants" null, "permissions" null }, "descendants" \[], "permissions" \[ { "entityid" null, "operationuid" "398bd8f9 8950 4735 97f8 50bf8c8b5759", "principal" { "name" "viewers", "iscustom" false, "type" "role", "id" 6 }, "isfixed" true, "isinherited" false, "isallowed" true, "creationdate" "2020 03 05t16 59 07 517z" }, { "entityid" null, "operationuid" "398bd8f9 8950 4735 97f8 50bf8c8b5759", "principal" { "name" "administrators", "iscustom" false, "type" "role", "id" 1 }, "isfixed" true, "isinherited" true, "isallowed" true, "creationdate" "2020 03 05t16 59 05 18z" }, { "entityid" null, "operationuid" "398bd8f9 8950 4735 97f8 50bf8c8b5759", "principal" { "name" "general managers", "iscustom" false, "type" "role", "id" 2 }, "isfixed" true, "isinherited" true, "isallowed" true, "creationdate" "2020 03 05t16 59 05 437z" }, { "entityid" null, "operationuid" "398bd8f9 8950 4735 97f8 50bf8c8b5759", "principal" { "name" "creators", "iscustom" false, "type" "role", "id" 3 }, "isfixed" true, "isinherited" true, "isallowed" false, "creationdate" "2020 03 05t16 59 05 747z" }, { "entityid" null, "operationuid" "398bd8f9 8950 4735 97f8 50bf8c8b5759", "principal" { "name" "publishers", "iscustom" false, "type" "role", "id" 4 }, "isfixed" true, "isinherited" true, "isallowed" false, "creationdate" "2020 03 05t16 59 06 19z" }, { "entityid" null, "operationuid" "398bd8f9 8950 4735 97f8 50bf8c8b5759", "principal" { "name" "network managers", "iscustom" false, "type" "role", "id" 5 }, "isfixed" true, "isinherited" true, "isallowed" false, "creationdate" "2020 03 05t16 59 06 753z" } ] }, { "uid" "1d8a9fc5 5958 7fe4 959b 447491382e87", "singularname" "view subscription invoice", "pluralname" "view subscription invoices", "fullname" "device subscription (full control) view subscription invoices", "targetentity" "subscriptioninvoice", "appliance" "instance, collection", "parent" { "uid" "616d956d 9a74 f674 61a9 3ab02f028352", "singularname" "full control", "pluralname" "device subscription (full control)", "fullname" "device subscription (full control)", "targetentity" "subscription", "appliance" "instance, collection", "parent" null, "descendants" null, "permissions" null }, "descendants" \[], "permissions" \[ { "entityid" null, "operationuid" "1d8a9fc5 5958 7fe4 959b 447491382e87", "principal" { "name" "administrators", "iscustom" false, "type" "role", "id" 1 }, "isfixed" true, "isinherited" true, "isallowed" true, "creationdate" "2020 03 05t16 59 05 18z" }, { "entityid" null, "operationuid" "1d8a9fc5 5958 7fe4 959b 447491382e87", "principal" { "name" "general managers", "iscustom" false, "type" "role", "id" 2 }, "isfixed" true, "isinherited" true, "isallowed" true, "creationdate" "2020 03 05t16 59 05 437z" }, { "entityid" null, "operationuid" "1d8a9fc5 5958 7fe4 959b 447491382e87", "principal" { "name" "creators", "iscustom" false, "type" "role", "id" 3 }, "isfixed" true, "isinherited" true, "isallowed" false, "creationdate" "2020 03 05t16 59 05 747z" }, { "entityid" null, "operationuid" "1d8a9fc5 5958 7fe4 959b 447491382e87", "principal" { "name" "publishers", "iscustom" false, "type" "role", "id" 4 }, "isfixed" true, "isinherited" true, "isallowed" false, "creationdate" "2020 03 05t16 59 06 19z" }, { "entityid" null, "operationuid" "1d8a9fc5 5958 7fe4 959b 447491382e87", "principal" { "name" "network managers", "iscustom" false, "type" "role", "id" 5 }, "isfixed" true, "isinherited" true, "isallowed" false, "creationdate" "2020 03 05t16 59 06 753z" }, { "entityid" null, "operationuid" "1d8a9fc5 5958 7fe4 959b 447491382e87", "principal" { "name" "viewers", "iscustom" false, "type" "role", "id" 6 }, "isfixed" true, "isinherited" true, "isallowed" false, "creationdate" "2020 03 05t16 59 07 493z" } ] }, { "uid" "b2edb137 9e21 b444 5913 d3ef4ec7ef0c", "singularname" "view traffic invoice", "pluralname" "view traffic invoices", "fullname" "device subscription (full control) view traffic invoices", "targetentity" "trafficinvoice", "appliance" "instance, collection", "parent" { "uid" "616d956d 9a74 f674 61a9 3ab02f028352", "singularname" "full control", "pluralname" "device subscription (full control)", "fullname" "device subscription (full control)", "targetentity" "subscription", "appliance" "instance, collection", "parent" null, "descendants" null, "permissions" null }, "descendants" \[], "permissions" \[ { "entityid" null, "operationuid" "b2edb137 9e21 b444 5913 d3ef4ec7ef0c", "principal" { "name" "administrators", "iscustom" false, "type" "role", "id" 1 }, "isfixed" true, "isinherited" true, "isallowed" true, "creationdate" "2020 03 05t16 59 05 18z" }, { "entityid" null, "operationuid" "b2edb137 9e21 b444 5913 d3ef4ec7ef0c", "principal" { "name" "general managers", "iscustom" false, "type" "role", "id" 2 }, "isfixed" true, "isinherited" true, "isallowed" true, "creationdate" "2020 03 05t16 59 05 437z" }, { "entityid" null, "operationuid" "b2edb137 9e21 b444 5913 d3ef4ec7ef0c", "principal" { "name" "creators", "iscustom" false, "type" "role", "id" 3 }, "isfixed" true, "isinherited" true, "isallowed" false, "creationdate" "2020 03 05t16 59 05 747z" }, { "entityid" null, "operationuid" "b2edb137 9e21 b444 5913 d3ef4ec7ef0c", "principal" { "name" "publishers", "iscustom" false, "type" "role", "id" 4 }, "isfixed" true, "isinherited" true, "isallowed" false, "creationdate" "2020 03 05t16 59 06 19z" }, { "entityid" null, "operationuid" "b2edb137 9e21 b444 5913 d3ef4ec7ef0c", "principal" { "name" "network managers", "iscustom" false, "type" "role", "id" 5 }, "isfixed" true, "isinherited" true, "isallowed" false, "creationdate" "2020 03 05t16 59 06 753z" }, { "entityid" null, "operationuid" "b2edb137 9e21 b444 5913 d3ef4ec7ef0c", "principal" { "name" "viewers", "iscustom" false, "type" "role", "id" 6 }, "isfixed" true, "isinherited" true, "isallowed" false, "creationdate" "2020 03 05t16 59 07 493z" } ] }, { "uid" "083dc302 4ac3 4e3a be2d be0b44c9a4fe", "singularname" "export subscription invoice", "pluralname" "export subscription invoices", "fullname" "device subscription (full control) export subscription invoices", "targetentity" "subscriptioninvoice", "appliance" "collection", "parent" { "uid" "616d956d 9a74 f674 61a9 3ab02f028352", "singularname" "full control", "pluralname" "device subscription (full control)", "fullname" "device subscription (full control)", "targetentity" "subscription", "appliance" "instance, collection", "parent" null, "descendants" null, "permissions" null }, "descendants" \[], "permissions" \[ { "entityid" null, "operationuid" "083dc302 4ac3 4e3a be2d be0b44c9a4fe", "principal" { "name" "administrators", "iscustom" false, "type" "role", "id" 1 }, "isfixed" true, "isinherited" true, "isallowed" true, "creationdate" "2020 03 05t16 59 05 18z" }, { "entityid" null, "operationuid" "083dc302 4ac3 4e3a be2d be0b44c9a4fe", "principal" { "name" "general managers", "iscustom" false, "type" "role", "id" 2 }, "isfixed" true, "isinherited" true, "isallowed" true, "creationdate" "2020 03 05t16 59 05 437z" }, { "entityid" null, "operationuid" "083dc302 4ac3 4e3a be2d be0b44c9a4fe", "principal" { "name" "creators", "iscustom" false, "type" "role", "id" 3 }, "isfixed" true, "isinherited" true, "isallowed" false, "creationdate" "2020 03 05t16 59 05 747z" }, { "entityid" null, "operationuid" "083dc302 4ac3 4e3a be2d be0b44c9a4fe", "principal" { "name" "publishers", "iscustom" false, "type" "role", "id" 4 }, "isfixed" true, "isinherited" true, "isallowed" false, "creationdate" "2020 03 05t16 59 06 19z" }, { "entityid" null, "operationuid" "083dc302 4ac3 4e3a be2d be0b44c9a4fe", "principal" { "name" "network managers", "iscustom" false, "type" "role", "id" 5 }, "isfixed" true, "isinherited" true, "isallowed" false, "creationdate" "2020 03 05t16 59 06 753z" }, { "entityid" null, "operationuid" "083dc302 4ac3 4e3a be2d be0b44c9a4fe", "principal" { "name" "viewers", "iscustom" false, "type" "role", "id" 6 }, "isfixed" true, "isinherited" true, "isallowed" false, "creationdate" "2020 03 05t16 59 07 493z" } ] }, { "uid" "9a99bf40 9791 4114 b90a 2c86d04a5254", "singularname" "export traffic invoice", "pluralname" "export traffic invoices", "fullname" "device subscription (full control) export traffic invoices", "targetentity" "trafficinvoice", "appliance" "collection", "parent" { "uid" "616d956d 9a74 f674 61a9 3ab02f028352", "singularname" "full control", "pluralname" "device subscription (full control)", "fullname" "device subscription (full control)", "targetentity" "subscription", "appliance" "instance, collection", "parent" null, "descendants" null, "permissions" null }, "descendants" \[], "permissions" \[ { "entityid" null, "operationuid" "9a99bf40 9791 4114 b90a 2c86d04a5254", "principal" { "name" "administrators", "iscustom" false, "type" "role", "id" 1 }, "isfixed" true, "isinherited" true, "isallowed" true, "creationdate" "2020 03 05t16 59 05 18z" }, { "entityid" null, "operationuid" "9a99bf40 9791 4114 b90a 2c86d04a5254", "principal" { "name" "general managers", "iscustom" false, "type" "role", "id" 2 }, "isfixed" true, "isinherited" true, "isallowed" true, "creationdate" "2020 03 05t16 59 05 437z" }, { "entityid" null, "operationuid" "9a99bf40 9791 4114 b90a 2c86d04a5254", "principal" { "name" "creators", "iscustom" false, "type" "role", "id" 3 }, "isfixed" true, "isinherited" true, "isallowed" false, "creationdate" "2020 03 05t16 59 05 747z" }, { "entityid" null, "operationuid" "9a99bf40 9791 4114 b90a 2c86d04a5254", "principal" { "name" "publishers", "iscustom" false, "type" "role", "id" 4 }, "isfixed" true, "isinherited" true, "isallowed" false, "creationdate" "2020 03 05t16 59 06 19z" }, { "entityid" null, "operationuid" "9a99bf40 9791 4114 b90a 2c86d04a5254", "principal" { "name" "network managers", "iscustom" false, "type" "role", "id" 5 }, "isfixed" true, "isinherited" true, "isallowed" false, "creationdate" "2020 03 05t16 59 06 753z" }, { "entityid" null, "operationuid" "9a99bf40 9791 4114 b90a 2c86d04a5254", "principal" { "name" "viewers", "iscustom" false, "type" "role", "id" 6 }, "isfixed" true, "isinherited" true, "isallowed" false, "creationdate" "2020 03 05t16 59 07 493z" } ] }, { "uid" "a3f0679f a23f 4130 bb73 84e1a1f0f9da", "singularname" "update subscription", "pluralname" "update subscription", "fullname" "device subscription (full control) update subscription", "targetentity" "subscription", "appliance" "instance, collection", "parent" { "uid" "616d956d 9a74 f674 61a9 3ab02f028352", "singularname" "full control", "pluralname" "device subscription (full control)", "fullname" "device subscription (full control)", "targetentity" "subscription", "appliance" "instance, collection", "parent" null, "descendants" null, "permissions" null }, "descendants" \[], "permissions" \[ { "entityid" null, "operationuid" "a3f0679f a23f 4130 bb73 84e1a1f0f9da", "principal" { "name" "administrators", "iscustom" false, "type" "role", "id" 1 }, "isfixed" true, "isinherited" true, "isallowed" true, "creationdate" "2020 03 05t16 59 05 18z" }, { "entityid" null, "operationuid" "a3f0679f a23f 4130 bb73 84e1a1f0f9da", "principal" { "name" "general managers", "iscustom" false, "type" "role", "id" 2 }, "isfixed" true, "isinherited" true, "isallowed" true, "creationdate" "2020 03 05t16 59 05 437z" }, { "entityid" null, "operationuid" "a3f0679f a23f 4130 bb73 84e1a1f0f9da", "principal" { "name" "creators", "iscustom" false, "type" "role", "id" 3 }, "isfixed" true, "isinherited" true, "isallowed" false, "creationdate" "2020 03 05t16 59 05 747z" }, { "entityid" null, "operationuid" "a3f0679f a23f 4130 bb73 84e1a1f0f9da", "principal" { "name" "publishers", "iscustom" false, "type" "role", "id" 4 }, "isfixed" true, "isinherited" true, "isallowed" false, "creationdate" "2020 03 05t16 59 06 19z" }, { "entityid" null, "operationuid" "a3f0679f a23f 4130 bb73 84e1a1f0f9da", "principal" { "name" "network managers", "iscustom" false, "type" "role", "id" 5 }, "isfixed" true, "isinherited" true, "isallowed" false, "creationdate" "2020 03 05t16 59 06 753z" }, { "entityid" null, "operationuid" "a3f0679f a23f 4130 bb73 84e1a1f0f9da", "principal" { "name" "viewers", "iscustom" false, "type" "role", "id" 6 }, "isfixed" true, "isinherited" true, "isallowed" false, "creationdate" "2020 03 05t16 59 07 493z" } ] } ], "permissions" \[ { "entityid" null, "operationuid" "616d956d 9a74 f674 61a9 3ab02f028352", "principal" { "name" "administrators", "iscustom" false, "type" "role", "id" 1 }, "isfixed" true, "isinherited" false, "isallowed" true, "creationdate" "2020 03 05t16 59 05 18z" }, { "entityid" null, "operationuid" "616d956d 9a74 f674 61a9 3ab02f028352", "principal" { "name" "general managers", "iscustom" false, "type" "role", "id" 2 }, "isfixed" true, "isinherited" false, "isallowed" true, "creationdate" "2020 03 05t16 59 05 437z" }, { "entityid" null, "operationuid" "616d956d 9a74 f674 61a9 3ab02f028352", "principal" { "name" "creators", "iscustom" false, "type" "role", "id" 3 }, "isfixed" true, "isinherited" false, "isallowed" false, "creationdate" "2020 03 05t16 59 05 747z" }, { "entityid" null, "operationuid" "616d956d 9a74 f674 61a9 3ab02f028352", "principal" { "name" "publishers", "iscustom" false, "type" "role", "id" 4 }, "isfixed" true, "isinherited" false, "isallowed" false, "creationdate" "2020 03 05t16 59 06 19z" }, { "entityid" null, "operationuid" "616d956d 9a74 f674 61a9 3ab02f028352", "principal" { "name" "network managers", "iscustom" false, "type" "role", "id" 5 }, "isfixed" true, "isinherited" false, "isallowed" false, "creationdate" "2020 03 05t16 59 06 753z" }, { "entityid" null, "operationuid" "616d956d 9a74 f674 61a9 3ab02f028352", "principal" { "name" "viewers", "iscustom" false, "type" "role", "id" 6 }, "isfixed" true, "isinherited" false, "isallowed" false, "creationdate" "2020 03 05t16 59 07 493z" } ] } respuesta de error \<font color="#9a0808">300\</font> no se pudo devolver la representación solicitada porque es ambigua (hay múltiples representaciones solicitadas) \<font color="#9a0808">400\</font> la solicitud está malformada y, por lo tanto, no es válida \<font color="#9a0808">401\</font> el token de acceso no es válido o no se especificó \<font color="#9a0808">403\</font> el token de acceso proporcionado, aunque es válido, no proporciona acceso a este método \<font color="#9a0808">406\</font> el servidor no puede devolver la representación de datos que solicitó (según se especifica en el encabezado "accept") \<font color="#9a0808">5xx\</font> cualquier código 500 es un error interno del servidor