post Activities
POST {{HostName}}/act/v1/hotels/{{HotelId}}/activities
Use postActivities to create a new activity for a hotel. You would need to know the types of Activities a hotel accepts, such as Appointments, TODO. Use ListOfValues API's to find the available types at a hotel.
Request Body
{"activitiesInformation"=>{"activityDetail"=>{"hotelId"=>"{{HotelId}}", "activityClass"=>"Appointment", "activityType"=>"TODO", "activityPurpose"=>"Example To-do", "activityOwner"=>"15743", "startDateTime"=>"2024-04-07 09:45:32.0", "endDateTime"=>"2024-04-07 10:45:32.0", "status"=>{"completed"=>false}, "notes"=>"Notes go here if you like", "highPriority"=>false}}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
x-app-key | string | ||
x-hotelid | string |