PUT api/v1/staffavailabilities/{staffAvailabilityId}
Updates a Staff's Availibity
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| staffAvailabilityId | integer |
Required |
Body Parameters
StaffAvailabilityReturnModel| Name | Description | Type | Additional information |
|---|---|---|---|
| StaffAvailabilityId | integer |
None. |
|
| StaffId | integer |
None. |
|
| StartDate | date |
None. |
|
| EndDate | date |
None. |
|
| IsUnavailable | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"StaffAvailabilityId": 1,
"StaffId": 1,
"StartDate": "2026-01-02T18:39:00.5907006-06:00",
"EndDate": "2026-01-02T18:39:00.5907006-06:00",
"IsUnavailable": true
}
Response Information
Resource Description
ApiResponseModelOfStaffAvailabilityReturnModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | ApiResponseDataModelOfStaffAvailabilityReturnModel |
None. |
|
| Errors | Collection of string |
None. |
|
| Warnings | Collection of string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Data": {
"PageSize": 1,
"Page": 2,
"TotalPages": 3,
"TotalResults": 4,
"Results": {
"StaffAvailabilityId": 1,
"StaffId": 1,
"StartDate": "2026-01-02T18:39:00.5907006-06:00",
"EndDate": "2026-01-02T18:39:00.5907006-06:00",
"IsUnavailable": true
}
},
"Errors": [
"sample string 1",
"sample string 2"
],
"Warnings": [
"sample string 1",
"sample string 2"
]
}