Account List Coaches

Account List Coaches Documentation

Account List Coach [LIST]

Account List Coach [LIST]

Request

Endpoint

GET /api/v2/user/account_list_coaches
Content-Type: application/vnd.api+json

Body

Parameters

Sorts

account_list.name

Type Unknown

Description sort by name of account list

Required No

Response

Headers

Content-Type: application/vnd.api+json; charset=utf-8
200 OK

Body

{
  "data": [
    {
      "id": "b58e0733-012a-4a7a-9883-a7c6a5eaee72",
      "type": "account_list_coaches",
      "attributes": {
        "created_at": "2022-01-12T17:18:53Z",
        "updated_at": "2022-01-12T17:18:53Z",
        "updated_in_db_at": "2022-01-12T17:18:53Z"
      },
      "relationships": {
        "coach": {
          "data": {
            "id": "f170f06b-fc42-4052-aabb-25dce2839e2e",
            "type": "user_coaches"
          }
        },
        "account_list": {
          "data": {
            "id": "3e05d01b-5587-4097-9d6a-55103e4625e5",
            "type": "account_lists"
          }
        }
      }
    },
    {
      "id": "e02a040c-d308-406e-aac5-607a57d2cff5",
      "type": "account_list_coaches",
      "attributes": {
        "created_at": "2022-01-12T17:18:53Z",
        "updated_at": "2022-01-12T17:18:53Z",
        "updated_in_db_at": "2022-01-12T17:18:53Z"
      },
      "relationships": {
        "coach": {
          "data": {
            "id": "f170f06b-fc42-4052-aabb-25dce2839e2e",
            "type": "user_coaches"
          }
        },
        "account_list": {
          "data": {
            "id": "abc00aa5-25b3-47ed-8331-47ecc54923d5",
            "type": "account_lists"
          }
        }
      }
    }
  ],
  "meta": {
    "pagination": {
      "page": 1,
      "per_page": 25,
      "total_count": 2,
      "total_pages": 1
    },
    "sort": null,
    "filter": {
    }
  }
}

Fields

data

Type [AccountListCoach]

Description An array of Account List Coaches

Last updated