Latest News: MIDAS v4.25 Now Available | COVID-19 Support

MIDAS API Addon MIDAS API: reject_request

Available in API 2.0+
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