Retrieve Active Team Members

This operation returns active team members by activity team segment identifiers.

Service limit

A service limit constrains the number of identifiers and teams that can be processed in a single request.

  • The Number of Identifiers and Teams cannot exceed 10.

Refer to the Limits topic for more information.

The associated Access Control Points are WFA_WORK_INTEGRATION_API and WFA_VIEW_TEAM_ACTIVITY_EVENT_MEMBERS.

Example call

Example request

{
  "where": {
    "activitySegmentIDs": [
      777,
      888,
      999
    ],
    "activitySegmentIdentifiers": [
      {
        "team": {
          "id": 165,
          "qualifier": "225449-YEEWXLZ"
        },
        "activity": {
          "id": 201,
          "qualifier": "ActivityDump1"
        },
        "start": "2021-08-10T08:00",
        "startTimezone": {
          "id": -10,
          "qualifier": "UTC"
        }
      },
      {
        "team": {
          "id": 155,
          "qualifier": "225449-FFFDDDWWW"
        },
        "activity": {
          "id": 201,
          "qualifier": "ActivityDump2"
        },
        "start": "2021-08-12T08:00"
      }
    ]
  }
}

Example response

{
  "errorCode": "WFA-000036",
  "message": "Some of the entities were not exported because of errors in the source data. Correct those errors and try again.",
  "details": {
    "error-offsets": [
      1
    ],
    "results": [
      {
        "success": {
          "activeTeamMembers": [
            {
              "employee": {
                "id": 4870,
                "qualifier": "225449QOWSBAGUR"
              },
              "effectiveMembershipId": 76,
              "workItemId": 13863,
              "membershipId": 153,
              "startDateTime": "2021-08-09T08:00:00",
              "endDateTime": "2021-08-09T17:00:00",
              "startTimezone": {
                "id": 134111,
                "qualifier": "(GMT -05:00) Eastern Time (USA; Canada)"
              },
              "endTimezone": {
                "id": 134111,
                "qualifier": "(GMT -05:00) Eastern Time (USA; Canada)"
              }
            },
            {
              "employee": {
                "id": 4871,
                "qualifier": "225449XMFMQUSTS"
              },
              "effectiveMembershipId": 78,
              "workItemId": 13865,
              "membershipId": 155,
              "startDateTime": "2021-08-09T08:00:00",
              "endDateTime": "2021-08-09T17:00:00",
              "startTimezone": {
                "id": 134111,
                "qualifier": "(GMT -05:00) Eastern Time (USA; Canada)"
              },
              "endTimezone": {
                "id": 134111,
                "qualifier": "(GMT -05:00) Eastern Time (USA; Canada)"
              }
            }
          ],
          "identifier": {
            "id": 123
          }
        }
      },
      {
        "error": {
          "details": {
            "input": {
              "where": {
                "activitySegmentIDs": [
                  152
                ]
              }
            }
          },
          "errorCode": "WFA-231207",
          "message": "The specified identifier is not associated with any activity segment. Include valid parameters and try again."
        }
      },
      {
        "success": {
          "activeTeamMembers": [
            {
              "employee": {
                "id": 4870,
                "qualifier": "225449QOWSBAGUR"
              },
              "effectiveMembershipId": 77,
              "workItemId": 13864,
              "membershipId": 154,
              "startDateTime": "2021-08-10T08:00:00",
              "endDateTime": "2021-08-10T17:00:00",
              "startTimezone": {
                "id": 134111,
                "qualifier": "(GMT -05:00) Eastern Time (USA; Canada)"
              },
              "endTimezone": {
                "id": 134111,
                "qualifier": "(GMT -05:00) Eastern Time (USA; Canada)"
              }
            },
            {
              "employee": {
                "id": 4871,
                "qualifier": "225449XMFMQUSTS"
              },
              "effectiveMembershipId": 79,
              "workItemId": 13866,
              "membershipId": 156,
              "startDateTime": "2021-08-10T08:00:00",
              "endDateTime": "2021-08-10T17:00:00",
              "startTimezone": {
                "id": 134111,
                "qualifier": "(GMT -05:00) Eastern Time (USA; Canada)"
              },
              "endTimezone": {
                "id": 134111,
                "qualifier": "(GMT -05:00) Eastern Time (USA; Canada)"
              }
            }
          ],
          "identifier": {
            "id": 124
          }
        }
      }
    ]
  }
}

Language
Credentials
Bearer
JWT
URL