POST
Bookings v2
PostBookingOutOfSlot
Creates a new booking. Any startDateTime and endDateTime are allowed. If serviceProviderId is specified, the booking status will be Accepted (2), otherwise the status will be Pending (1) and will require approval by an admin.
Reschedule
Approves a booking and allocates a service provider to it. The booking must have Pending (1) status and the service provider (serviceProviderId) must be available for this booking timeslot otherwise the request will fail.
AcceptBooking
Approves a booking and allocates a service provider to it. The booking must have Pending (1) status and the service provider (serviceProviderId) must be available for this booking timeslot otherwise the request will fail.
CancelBooking
Cancels a booking. Only future bookings that have Pending (1) or Accepted (2) status can be cancelled.
ValidateOnHoldBooking
Validates an on hold booking. (1) For booking without payment: It will add additional booking information to an existing booking and change the status of the booking (2) For booking with payment: It will add additional booking information to an existing booking and extend on hold expiry, but will NOT change the status of booking
Services v2
Service Notification Template v2
Encryption (As of version 2)
Encrypt
Encrypt the query parameters for making a booking via standalone flow. For encrypting dynamic values, serviceId should be provided. If a service is not selected yet, serviceGroupId and dynamic values for each service under the service group should be provided.
Service Providers (As of version 3)
AddServiceProvidersText
Creates multiple service providers (CSV format). The csv content must contain a single header called name. Optional csv content: email, phone, autoAcceptBookings, description, aliasName, locationName, locationAddress, paymentAmount
DeleteSPs
Bulk delete service providers. If service provider has any ongoing or upcoming event, API will return failed for this particular service provider. If service provider has any upcoming booking [Accepted | PendingAcceptance | PendingApproval], API will return failed for this particular service provider. All upcoming normal bookings with status OnHold, it will mark expired All records of other table that associate with service provider will be soft deleted Record of service_provider_group_map and admin_user will be hard deleted If service provider has mol user (agencyUserId), it will be hard deleted from AWS Cognito.
Users (As of version 2)
NewPasswordRequiredChallenge
Force user to reset password when they log in to Cognito for the first time
NewPasswordRequiredChallenge
Force user to reset password when they log in to Cognito for the first time
Unavailabilities v2
AddUnavailability
Creates an unavailable (blocked) timeslot for a service or, optionally, for specific service providers.
OneOffTimeslots v2
Dynamic Fields v2
Otp v1
Events v2
ValidateOnHoldBooking
Validates an on hold booking. It will add additional booking information to an existing booking and change the status of the booking
Attendees Fields v2
Service SMS Notification Template v2
Service Group V2
Schemas
Last updated