POST api/trainingRoom/add

Request Information

URI Parameters

None.

Body Parameters

AddTrainingRoomBindingModels
NameDescriptionTypeAdditional information
LocationID

integer

Required

name

string

Required

Data type: Text

String length: inclusive between 3 and 250

capacity

integer

Required

isActive

boolean

None.

userID

integer

Required

Range: inclusive between 0 and 2147483647

Request Formats

application/json, text/json

Sample:
{
  "LocationID": 1,
  "name": "sample string 2",
  "capacity": 3,
  "isActive": true,
  "userID": 5
}

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.