PUT api/resource/{id}/booking/{year}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
|
| year | integer |
Required |
Body Parameters
ReplaceUserBookings| Name | Description | Type | Additional information |
|---|---|---|---|
| userID | integer |
None. |
|
| eventIds | Collection of integer |
None. |
|
| replacementBookings | Collection of EventBooking |
None. |
Request Formats
application/json, text/json, application/scim+json
Sample:
{
"userID": 1,
"eventIds": [
1,
2
],
"replacementBookings": [
{
"userID": 1,
"resourceEventName": "sample string 2",
"startTime": "2026-06-18T10:48:13.9382619+00:00",
"endTime": "2026-06-18T10:48:13.9382619+00:00"
},
{
"userID": 1,
"resourceEventName": "sample string 2",
"startTime": "2026-06-18T10:48:13.9382619+00:00",
"endTime": "2026-06-18T10:48:13.9382619+00:00"
}
]
}
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
BookingCTO| Name | Description | Type | Additional information |
|---|---|---|---|
| taskID | integer |
None. |
|
| bookingID | integer |
None. |
Response Formats
application/json, text/json, application/scim+json
Sample:
{
"taskID": 1,
"bookingID": 2
}