/
Get Team Places
Get Team Places
Overview
Request for the Work Places of all members of a team for a defined date range.
Details
Type
POST
Endpoint
{{url}}/api/Users/TeamWorkPlaces
Request
This request will have 3 parameters.
Id
this is required, this is the Team ID value.
DateStart
is required.
DateEnd
is required.
Example
{
"Id": int,
"DateStart": "dd/MM/yyyy",
"DateEnd": "dd/MM/yyyy"
}
Response
The response will include each team member's Work Places for the defined date range.
The results will be for the range specified in DateStart
and DateEnd
.
Example
{
"Id": int,
"TeamName": "string",
"DateStart": "dd/MM/yyyy",
"DateEnd": "dd/MM/yyyy",
"TeamMembers": [
{
"Id": int,
"EmailAddress": "string",
"Name": "string",
"UserImage": "string",
"Role": "string",
"DefaultWorkPlaces": Object{
"Monday": Array[
{
"StartTime": "HH:mm",
"EndTime": "HH:mm",
"Place": "string"
}
],
"Tuesday": Array[
{
"StartTime": "HH:mm",
"EndTime": "HH:mm",
"Place": "string"
}
],
"Wednesday": Array[
{
"StartTime": "HH:mm",
"EndTime": "HH:mm",
"Place": "string"
}
],
"Thursday": Array[],
"Friday":Array [],
"Saturday": Array[],
"Sunday": Array[]
},
"WorkPlaceException": [
{
"Id": int,
"Date": "dd/MM/yyyy",
"StartTime": "HH:mm",
"EndTime": "HH:mm",
"Place": "string"
},
{
"Id": int,
"Date": "dd/MM/yyyy",
"StartTime": "HH:mm",
"EndTime": "HH:mm",
"Place": "string"
},
{
"Id": int,
"Date": "dd/MM/yyyy",
"StartTime": "HH:mm",
"EndTime": "HH:mm",
"Place": "string"
}
]
},
{
"Id": int,
"EmailAddress": "string",
"Name": "string",
"UserImage": "string",
"Role": "string",
"DefaultWorkPlaces": {
"Monday": [],
"Tuesday": [
{
"StartTime": "HH:mm",
"EndTime": "HH:mm",
"Place": "string"
}
],
"Wednesday": [],
"Thursday": [
{
"StartTime": "HH:mm",
"EndTime": "HH:mm",
"Place": "string"
}
],
"Friday": [],
"Saturday": [],
"Sunday": []
},
"WorkPlaceException": [
{
"Id": int,
"Date": "dd/MM/yyyy",
"StartTime": "HH:mm",
"EndTime": "HH:mm",
"Place": "string"
},
{
"Id": int,
"Date": "dd/MM/yyyy",
"StartTime": "HH:mm",
"EndTime": "HH:mm",
"Place": "string"
},
{
"Id": int,
"Date": "dd/MM/yyyy",
"StartTime": "HH:mm",
"EndTime": "HH:mm",
"Place": "string"
}
]
}
]
}
, multiple selections available,
Related content
Get User's Work Places
Get User's Work Places
More like this
Get User Settings
Get User Settings
More like this
Get User Settings (Basic)
Get User Settings (Basic)
More like this
Set User's Work Places
Set User's Work Places
Read with this
Search for People
Search for People
More like this
Set User Settings
Set User Settings
Read with this