put Global Alerts

PUT {{HostName}}/rsv/config/v1/hotels/{{HotelId}}/globalAlerts

Request Body

{"globalAlerts"=>[{"alertId"=>"18250", "hotelId"=>"{{HotelId}}", "alertCode"=>"ADJUST", "description"=>"To send an alert of Check out type if tax is adjusted during END OF DAY.", "area"=>"Reservation", "queryId"=>"28588", "notifications"=>{"screen"=>true, "print"=>false}, "conditions"=>{"condition"=>[{"leftExpression"=>{"fieldName"=>"ARRIVAL", "fieldDescription"=>"Arrival Date", "tableName"=>"NAME_RESERVATION", "virtual"=>false, "dataType"=>"DATE", "lovSelected"=>""}, "operator"=>{"operatorName"=>"225", "operatorDescription"=>"Is Between", "parameterSize"=>"3"}, "rightExpression"=>{"parameter"=>["2023-06-23", "2023-06-23"]}}]}, "welcomeOffer"=>false, "stopCheckInCheckOut"=>false}]}

HEADERS

KeyDatatypeRequiredDescription
x-app-keystring
x-hotelidstring