post https://api.zenoti.com/api/Appointments/Admin/Sessions
This API helps you to enroll or register a guest for a class session by an Admin.
You must provide the appropriate details in the API request for the SessionId
, GuestId
, and BookingSrc
parameters. Optionally, you can also specify the required details in the API request for various other parameters to filter the search results in the API response. Refer to the Request Body Parameters table for more information.
Payment Object
Name | Type | Description |
---|---|---|
PaymentType | enum | Indicates the mode of payment used by the guest to pay for the class session registration: Cash - 0, GiftCard - 1, DiscoverCard - 2, Membership - 3, Maestro - 4, Mastercard - 5, CashBack - 6, DebitCard - 7, BCADebitCard - 8, DinersCard - 9, BCACreditCard - 10, Visa - 11, Amex - 12, LoyaltyPoints - 13, Custom - 14, Check - 15, PrepaidCard - 16, and Package - 17. |
PaymentInstrumentId | guid | Unique 32-character identifier of the payment instrument. |
Name | string | Name of the payment method used by the guest. |
Response Details
Name | Type | Description |
---|---|---|
Success | boolean | Indicates whether the specified class session was successfully registered. |
RegistrationId | int | Unique identifier of the class session registration. |
RegistrationStatusId | int | Unique identifier of the status of registration of the class session registration. |
MembershipBalance | object | Object that contains these membership balance-related elements of the guest: MembershipName, BenefitName, BenefitId, Quantity, Frequency, ExpirationDays, Used, Notes, AllowDirectBooking, HasEquivalents, Balance, IsCategory, DiscountType, PeakDiscount, OffPeakDiscount, PostCreditPeakDiscount, PostCreditOffPeakDiscount, AllServices, and IsAddOn. |
Error | object | Object that contains error message and error code details. |