POST openapi/classes/bookingDetails

Authorization

Access to this endpoint is public.

Request Information

URI Parameters

None.

Body Parameters

Nse.ServiceBus.DataContracts.BookingInfo
NameDescriptionTypeAdditional 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": "d4b4dd3d-052e-4a1d-a628-3631828ccd5f",
      "value": "sample string 2",
      "sequence": 3
    },
    {
      "id": "d4b4dd3d-052e-4a1d-a628-3631828ccd5f",
      "value": "sample string 2",
      "sequence": 3
    }
  ],
  "students": [
    {
      "bookingId": "5c9bd4f9-35b9-47c3-846a-00ea6b2023c7",
      "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": "5c9bd4f9-35b9-47c3-846a-00ea6b2023c7",
      "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.IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.