POST api/workshopInstance/add

Request Information

URI Parameters

None.

Body Parameters

AddWorkshopInstanceBindingModels
NameDescriptionTypeAdditional information
workshopID

integer

Required

Range: inclusive between 0 and 2147483647

description

string

None.

educationDisplay

string

None.

trainingRoomID

integer

None.

teacherID

integer

None.

startDateTime

date

None.

endDateTime

date

None.

capacity

integer

None.

maxWaitingList

integer

None.

cost

decimal number

None.

cancellationCost

decimal number

None.

userID

integer

Required

Range: inclusive between 0 and 2147483647

isActive

boolean

None.

printerId

integer

None.

allowSelfCheckIn

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "workshopID": 1,
  "description": "sample string 2",
  "educationDisplay": "sample string 3",
  "trainingRoomID": 4,
  "teacherID": 5,
  "startDateTime": "2024-11-02T17:19:12.5594821+00:00",
  "endDateTime": "2024-11-02T17:19:12.5594821+00:00",
  "capacity": 8,
  "maxWaitingList": 9,
  "cost": 10.0,
  "cancellationCost": 11.0,
  "userID": 12,
  "isActive": true,
  "printerId": 14,
  "allowSelfCheckIn": true
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.