POST openapi/classes/bookingDetails
Authorization
Access to this endpoint is public.
Request Information
URI Parameters
None.
Body Parameters
Nse.ServiceBus.DataContracts.BookingInfoName | Description | Type | Additional information |
---|---|---|---|
id | string |
None. |
|
centerReferenceId | string |
None. |
|
classType | Nse.ServiceBus.DataContracts.ClassTypeInformation |
None. |
|
numberOfSeats | integer |
None. |
|
communicationAccountType | Nse.ServiceBus.DataContracts.Enums.CommunicationAccountType |
None. |
|
categories | Collection of Nse.ServiceBus.DataContracts.ClassCategory |
None. |
|
students | Collection of Nse.ServiceBus.DataContracts.StudentInfo |
None. |
Request Formats
application/json, text/json
Sample:
{ "id": "sample string 1", "centerReferenceId": "sample string 2", "classType": { "code": 1 }, "numberOfSeats": 3, "communicationAccountType": 0, "categories": [ { "id": "1512ac26-ae4e-4cfb-8a8d-fe7a11000b7a", "value": "sample string 2", "sequence": 3 }, { "id": "1512ac26-ae4e-4cfb-8a8d-fe7a11000b7a", "value": "sample string 2", "sequence": 3 } ], "students": [ { "bookingId": "8eae3369-f3e8-418d-8b22-685cf9f4e2c9", "studentReferenceId": "sample string 2", "contractReferenceId": "sample string 3", "isCancelled": true, "bookMode": 5, "bookedBy": "sample string 6", "levelWhileBooking": 7, "cancelledBy": "sample string 8", "bookedAt": "sample string 9", "cancelledAt": "sample string 10", "reBookedFrom": "sample string 11", "isClassAccessed": true, "standbyNotificationType": 1, "bookModeModifiedDate": "sample string 13", "created": "sample string 14", "lastUpdated": "sample string 15" }, { "bookingId": "8eae3369-f3e8-418d-8b22-685cf9f4e2c9", "studentReferenceId": "sample string 2", "contractReferenceId": "sample string 3", "isCancelled": true, "bookMode": 5, "bookedBy": "sample string 6", "levelWhileBooking": 7, "cancelledBy": "sample string 8", "bookedAt": "sample string 9", "cancelledAt": "sample string 10", "reBookedFrom": "sample string 11", "isClassAccessed": true, "standbyNotificationType": 1, "bookModeModifiedDate": "sample string 13", "created": "sample string 14", "lastUpdated": "sample string 15" } ] }
Response Information
Resource Description
System.Web.Http.IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.