Webex · Example Payload

Webex Getallresourcecollections Example

CallingCollaborationCommunicationEnterpriseMessagingVideo Conferencing

Webex Getallresourcecollections Example is an example object payload from Webex, with 6 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

operationIdmethodpathsummaryrequestExamplesresponseExamples

Example Payload

Raw ↑
{
  "operationId": "getAllResourceCollections",
  "method": "GET",
  "path": "/organization/{orgid}/v2/resource-collection",
  "summary": "List Resource Collections",
  "requestExamples": [],
  "responseExamples": [
    {
      "status": "200",
      "contentType": "*/*",
      "example": {
        "meta": {
          "orgid": "2f9eecc5-0472-4549-9a83-2afdae0d4ba1",
          "page": 1,
          "pageSize": 100,
          "totalPages": 1,
          "totalRecords": 1000,
          "links": {
            "next": "/organization/bde75a64-f4d5-4ffc-a239-feb607c17ef8/resource-collection?page=2&pageSize=10",
            "last": "/organization/bde75a64-f4d5-4ffc-a239-feb607c17ef8/resource-collection?page=3&pageSize=10",
            "prev": "/organization/bde75a64-f4d5-4ffc-a239-feb607c17ef8/resource-collection?page=0&pageSize=10",
            "self": "/organization/bde75a64-f4d5-4ffc-a239-feb607c17ef8/resource-collection?page=1&pageSize=10",
            "first": "/organization/bde75a64-f4d5-4ffc-a239-feb607c17ef8/resource-collection?page=0&pageSize=10"
          }
        },
        "data": [
          {
            "id": "80f49a6e-11d7-4651-b730-99ed2f726f61",
            "name": "Department1",
            "description": "Department1 description.",
            "resources": [
              {
                "name": "team",
                "accessLevel": "SPECIFIC",
                "ids": [
                  "00734874-4732-43bb-bfff-d1e75d309eb1",
                  "00734874-4732-43bb-bfff-d1e75d309eb2"
                ]
              },
              {
                "name": "desktop-profile",
                "accessLevel": "ALL"
              },
              {
                "name": "desktop-layout",
                "accessLevel": "NONE"
              }
            ],
            "resourceCount": 2
          }
        ]
      }
    },
    {
      "status": "401",
      "contentType": "application/json",
      "example": {
        "trackingId": "ccconfig_af9eecc5-0472-4549-9a83-2afdae0d4ba0",
        "error": {
          "key": "401",
          "reason": "Test reason",
          "message": [
            {
              "description": "Test error",
              "code": "401",
              "entity": "cc_user",
              "references": []
            }
          ]
        }
      }
    },
    {
      "status": "403",
      "contentType": "application/json",
      "example": {
        "trackingId": "ccconfig_af9eecc5-0472-4549-9a83-2afdae0d4ba0",
        "error": {
          "key": "403",
          "reason": "Test reason",
          "message": [
            {
              "description": "Test error",
              "code": "403",
              "entity": "cc_user",
              "references": []
            }
          ]
        }
      }
    },
    {
      "status": "404",
      "contentType": "application/json",
      "example": {
        "trackingId": "ccconfig_af9eecc5-0472-4549-9a83-2afdae0d4ba0",
        "error": {
          "key": "404",
          "reason": "Test reason",
          "message": [
            {
              "description": "Test error",
              "code": "404",
              "entity": "cc_user",
              "references": []
            }
          ]
        }
      }
    },
    {
      "status": "429",
      "contentType": "application/json",
      "example": {
        "trackingId": "ccconfig_af9eecc5-0472-4549-9a83-2afdae0d4ba0",
        "error": {
          "key": "429",
          "reason": "Test reason",
          "message": [
            {
              "description": "Test error",
              "code": "429",
              "entity": "cc_user",
              "references": []
            }
          ]
        }
      }
    },
    {
      "status": "500",
      "contentType": "application/json",
      "example": {
        "trackingId": "ccconfig_af9eecc5-0472-4549-9a83-2afdae0d4ba0",
        "error": {
          "key": "500",
          "reason": "Test reason",
          "message": [
            {
              "description": "Test error",
              "code": "500",
              "entity": "cc_user",
              "references": []
            }
          ]
        }
      }
    }
  ]
}