/
Set Assigned Space Availability
Set Assigned Space Availability
Overview
Update request for a user's Assigned space availability.
This request will allow users to add, edit or remove dates that their assigned space will be available to other users.
Details
Type
POST
Endpoint
{{url}}/api/Users/SetAssignedSpaceAvailability
Request
The ResId
, UserId
or EmailAddress
can be used to identify which resource needs to be updated.
Users can add, edit or remove availability events, this is defined by the Action
field.
Add
- This requires start and end values.Edit
- This requires the event ID as well as the updated start and end values.Remove
- This requires the event ID value.
Example
{
"ResId": int,
"UserId": int,
"EmailAddress": "string (email address)",
"AvailabilityEvent": Object{
"Action": "Add",
"Id": null,
"StartDate": "dd/MM/yyyy",
"EndDate": "dd/MM/yyyy",
}
}
Response
The response will return the requested information with a successful validation.
Example
{
"ResId": int,
"UserId": int,
"EmailAddress": "string (email address)",
"AvailabilityEvent": Object{
"Action": "Add",
"Id": null,
"StartDate": "dd/MM/yyyy",
"EndDate": "dd/MM/yyyy",
"Success": boolean
}
}
, multiple selections available,
Related content
Get Assigned Space
Get Assigned Space
More like this
Set User Settings
Set User Settings
More like this
Get User's Work Places
Get User's Work Places
More like this
Set User's Work Places
Set User's Work Places
Read with this
Get Resource Space Types
Get Resource Space Types
More like this
Get Team Places
Get Team Places
Read with this