MIDAS API
Available in API 2.0+

reject_request

Rejects/declines a booking request
Required ParametersPossible ValuesDescription
idBooking IDThe numeric ID of the booking request to reject
Optional ParametersPossible ValuesDescription
reasonStringA reason why the request is being rejected (will be included in the rejection email notification sent to the original requestor)
silent1 | 0By default when a booking request is rejected, the original requestor is sent an email notification informing them as such. Setting "silent" to "1" will suppress the sending of this notificaton
Example Response
{
	"request_rejected":"1"
}
Variables ReturnedDescription
request_rejectedReturns "1" after a successful rejection