put Activities

PUT {{HostName}}/act/v1/hotels/{{HotelId}}/activities/{{ActivityId}}

Use this to update an existing Activity for a hotel. You must know the OPERA Activity ID for this API.

Request Body

{"activitiesInformation"=>{"activityId"=>{"id"=>"{{ActivityId}}"}, "activityDetail"=>{"hotelId"=>"{{HotelId}}", "activityClass"=>"Appointment", "activityType"=>"TODO", "activityTypeDescription"=>"To-do", "activityPurpose"=>"To-do", "activityOwner"=>"15743", "startDateTime"=>"2024-04-03 09:45:32.0", "endDateTime"=>"2024-04-03 10:45:32.0", "status"=>{"completed"=>false}, "notes"=>"Updating Attributes of Activity"}}}

HEADERS

KeyDatatypeRequiredDescription
x-app-keystring
x-hotelidstring