post https://{hostname}/api/v1/work/teams/multi_upsert
This operation creates or updates one or more Activity teams.
The associated Access Control Point is WFA_FULL_WORK_SETUP.
Service limit
A service limit constrains the number of Activity teams that can be processed in a single request.
- The Number of Teams cannot exceed 80.
Refer to the Limits topic for more information.
Example call
Example request
[
{
"id": 30,
"name": "team1",
"description": "updated",
"defaultMembershipDurationInMinutes": 1440,
"defaultSegmentDurationInMinutes": 1440,
"defaultActivity": {
"id": 230,
"qualifier": "DefaultActivity1"
},
"defaultActivityIsIdle": false,
"maxConcurrentActivities": 10,
"locations": [
{
"id": 1,
"qualifier": "Organization"
}
],
"userField1": "field1",
"userField2": "field2",
"userField3": "field3",
"userField4": "field4",
"timezone": {
"id": -1,
"qualifier": "UTC"
},
"firstDayOfWeek": {
"id": 1,
"qualifier": "Sunday"
},
"createdDateTime": "2021-05-25T14:23:34",
"updatedDateTime": "2021-05-25T14:32:16",
"active": true,
"version": 2
},
{
"name": "team2",
"description": "description",
"defaultMembershipDurationInMinutes": 1440,
"defaultSegmentDurationInMinutes": 1440,
"defaultActivity": {
"id": 201,
"qualifier": "DefaultActivity1"
},
"defaultActivityIsIdle": false,
"maxDirectActivities": 10,
"maxIndirectActivities": 10,
"locations": [
{
"id": 1
}
],
"userField1": "field1",
"userField2": "field2",
"userField3": "field3",
"userField4": "field4",
"timezone": {
"id": 13020
},
"firstDayOfWeek": {
"id": 1,
"qualifier": "Sunday"
},
"active": true
}
]
Example response
[
{
"id": 30,
"name": "team1"
},
{
"id": 31,
"name": "team2"
}
]