...
This will return the user's assigned space and current & future availability bookings for this space.
Details
Type
POST
GET
Endpoint
{{url}}/api/Users/GetAssignedSpace
...
The response will include the user’s information as specified in the request.
UserId
EmailAddress
Also an array of the user’s assigned spaces.
The Assigned resource’s ID (ResId
) and display name (ResName
) will be returned.
...
Code Block | ||
---|---|---|
| ||
{ "UserId": int, "EmailAddress": "string (email address)", "AssignedSpaceAssignedSpaces": Array[ Object{ "ResId": int, "ResName": "string", "SpaceType": "string", "IconPath": "string" "MapId": Array[int,int], "AvailableForColleagueDates": Array[ Object{ "Id": int, "StartDate": "dd/MM/yyyy", "EndDate": "dd/MM/yyyy", } ] }, Object{ "ResId": int, "ResName": "string", "SpaceType": "string", "IconPath": "string" "MapId": Array[int,int], "AvailableForColleagueDates": Array[ Object{ "Id": int, "StartDate": "dd/MM/yyyy", "EndDate": "dd/MM/yyyy", } ] } ] } |