MIDAS API Addon MIDAS API: restore_booking

Available in API 2.0+
Re-instates a recently deleted booking, or bookings.
Required ParametersPossible ValuesDescription
idBooking ID(s)The unique numerical reference (or comma separated list of references) of the deleted booking(s) to be re-instated (which can be determined from the "get_bookings" call)
Example Response
{
	"restored":"925",
	"not_restored":"927,929,1024"
}
Variables ReturnedDescription
restoredComma-separated list of all deleted booking references successfully
not_restoredComma-separated list of all booking references that couldn't be restored (i.e. those which would now clash with other bookings if restored)