POST api/resource/booking?retrospectiveBooking={retrospectiveBooking}
Adds/Edits a resource booking in the Resource Manager
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
retrospectiveBooking |
Permit Bookings before curent date |
boolean |
Default value is False |
Body Parameters
The details of the resource booking
BookingName | Description | Type | Additional information |
---|---|---|---|
user | string |
None. |
|
identifierType | string |
None. |
|
resourceEvent | string |
None. |
|
eventIdentifierType | string |
None. |
|
startTime | string |
None. |
|
endTime | string |
None. |
|
comment | string |
None. |
|
taskID | integer |
None. |
|
hoursPerDay | decimal number |
None. |
|
timesheet | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "user": "sample string 1", "identifierType": "sample string 2", "resourceEvent": "sample string 3", "eventIdentifierType": "sample string 4", "startTime": "sample string 5", "endTime": "sample string 6", "comment": "sample string 7", "taskID": 8, "hoursPerDay": 9.1, "timesheet": true }
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
The resultant task ID, and booking ID
BookingCTOName | Description | Type | Additional information |
---|---|---|---|
taskID | integer |
None. |
|
bookingID | integer |
None. |
Response Formats
application/json, text/json
Sample:
{ "taskID": 1, "bookingID": 2 }