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| Name | Description | Type | Additional 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": "5ba8c61e-edb0-4c7d-9e4e-04203149301a",
"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": "91bcff06-f830-4ca1-98dc-c9c697c88769",
"Name": "sample string 2"
}
}
Response Information
Resource Description
System.Web.Http.IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.