Represents a bulk update request for TeamMember
objects.
BulkUpdateTeamMembersRequest
Name | Type | Tags | Description | Getter |
---|---|---|---|---|
TeamMembers |
Map<String, UpdateTeamMemberRequest> |
Required | The data used to update the TeamMember objects. Each key is the team_member_id that maps to the UpdateTeamMemberRequest .The maximum number of update objects is 25. For each team member, include the fields to add, change, or clear. Fields can be cleared using a null value. To update wage_setting.job_assignments , you must provide the complete list of job assignments. If needed,call ListJobs to get the required job_id values. |
Map<String, UpdateTeamMemberRequest> getTeamMembers() |
{
"team_members": {
"AFMwA08kR-MIF-3Vs0OE": {
"team_member": {
"assigned_locations": {
"assignment_type": "ALL_CURRENT_AND_FUTURE_LOCATIONS"
},
"email_address": "[email protected]",
"family_name": "Smith",
"given_name": "Jane",
"is_owner": false,
"phone_number": "+14159223334",
"reference_id": "reference_id_2",
"status": "ACTIVE",
"id": "id6"
}
},
"fpgteZNMaf0qOK-a4t6P": {
"team_member": {
"assigned_locations": {
"assignment_type": "EXPLICIT_LOCATIONS",
"location_ids": [
"YSGH2WBKG94QZ",
"GA2Y9HSJ8KRYT"
]
},
"email_address": "[email protected]",
"family_name": "Doe",
"given_name": "Joe",
"is_owner": false,
"phone_number": "+14159283333",
"reference_id": "reference_id_1",
"status": "ACTIVE",
"id": "id6"
}
}
}
}