GET /api/v1/channel-accounts-usages
    • 09 Sep 2024
    • 1 Minute to read
    • PDF

    GET /api/v1/channel-accounts-usages

    • PDF

    Article summary

    Get Channel-Accounts Usages

    Returns usages for a specified Channel-Account Id.

    URL (GET)

    /api/v1/channel-accounts/usages

    Query Parameters

    Key NameDescriptionRequired
    channelAccountIdFilter by channelAccountId

    Request Body

    None

    Response

    {
        "success": true,
        "message": "Successfully read!",
        "data": {
            "items": [
                {
                    "id": 1821900,
                    "startTime": "2022-02-24",
                    "endTime": "2022-02-25",
                    "activeStorage": 0,
                    "deletedStorage": 0,
                    "storageWrote": 0,
                    "storageRead": 0,
                    "activeObjects": 0,
                    "deletedObjects": 0,
                    "egress": 0,
                    "ingress": 0,
                    "apiCalls": 0,
                    "subAccountId": 7676,
                    "subAccountName": "example@example.com",
                    "subAccountEmail": "example@example.com",
                    "controlAccountId": 17727,
                    "controlAccountName": "example@example.com",
                    "controlAccountEmail": null,
                    "governanceAccountId": null,
                    "governanceAccountName": null,
                },
                {
                    "id": 609280,
                    "startTime": "2021-10-30",
                    "endTime": "2021-10-31",
                    "activeStorage": 0,
                    "deletedStorage": 0,
                    "storageWrote": 0,
                    "storageRead": 0,
                    "activeObjects": 0,
                    "deletedObjects": 0,
                    "egress": 0,
                    "ingress": 0,
                    "apiCalls": 0,
                    "subAccountId": 7676,
                    "subAccountName": "example@example.com",
                    "subAccountEmail": example@example.com",
                    "controlAccountId": 17727,
                    "controlAccountName": "example@example.com",
                    "controlAccountEmail": null,
                    "governanceAccountId": null,
                    "governanceAccountName": null,
                },