PUT updateClassType

Authorization

Access to this endpoint is granted if all following conditions are true:

  • Everyone who passes an authentication token in "x-territory-key" URI parameter which is configured to allow access to this endpoint.

Request Information

URI Parameters

None.

Body Parameters

Nse.ServiceBus.DataContracts.ClassType
NameDescriptionTypeAdditional information
classTypeId

globally unique identifier

None.

isDeleted

boolean

None.

color

string

None.

title

string

None.

code

integer

None.

isOnline

boolean

None.

hasDescription

boolean

None.

acceptsStandby

boolean

None.

hasToBePreBooked

boolean

None.

categoryType

Nse.ServiceBus.DataContracts.Enums.CategoryType

None.

location

Nse.ServiceBus.DataContracts.Enums.Location

None.

deluxeConfiguration

Nse.ServiceBus.DataContracts.ClassTypeConfiguration

None.

vipConfiguration

Nse.ServiceBus.DataContracts.ClassTypeConfiguration

None.

course

Nse.ServiceBus.DataContracts.Course

None.

Request Formats

application/json, text/json

Sample:
{
  "classTypeId": "c145d91a-7786-4cc1-9f64-2eed6da72845",
  "isDeleted": true,
  "color": "sample string 3",
  "title": "sample string 4",
  "code": 5,
  "isOnline": true,
  "hasDescription": true,
  "acceptsStandby": true,
  "hasToBePreBooked": true,
  "categoryType": 0,
  "location": 0,
  "deluxeConfiguration": {
    "duration": 1,
    "durationFixed": true,
    "maxNumberOfStudents": 3,
    "maxNumberOfStudentsFixed": true
  },
  "vipConfiguration": {
    "duration": 1,
    "durationFixed": true,
    "maxNumberOfStudents": 3,
    "maxNumberOfStudentsFixed": true
  },
  "course": {
    "Id": "60cb034c-5716-47ce-8ec9-0a04bf5e2afd",
    "Name": "sample string 2"
  }
}

Response Information

Resource Description

System.Web.Http.IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.