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": "191047c4-a993-460d-a160-eaca1780f4d8",
"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": "a9a7537e-199a-47c0-8f85-3ff5f4a0cca7",
"Name": "sample string 2"
}
}
Response Information
Resource Description
System.Web.Http.IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.