POST api/v1/faculties/{facultyId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
facultyId

integer

Required

Body Parameters

None.

Response Information

Resource Description

GetFacultyModel
NameDescriptionTypeAdditional information
Faculty

FacultyModel

None.

FacultyYearProgramMapping

Collection of FacultyYearProgramMapping

None.

Response Formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: Self referencing loop detected for property 'Courses' with type 'Emalogic.Conservatory.BusinessEntities.Courses'. Path 'FacultyYearProgramMapping[0].Faculty.Operator.Departments[0].Courses[0].CourseDependencies[0]'.

text/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: Self referencing loop detected for property 'Courses' with type 'Emalogic.Conservatory.BusinessEntities.Courses'. Path 'FacultyYearProgramMapping[0].Faculty.Operator.Departments[0].Courses[0].CourseDependencies[0]'.

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Object graph for type 'Emalogic.Conservatory.BusinessEntities.CourseInstance' contains cycles and cannot be serialized if reference tracking is disabled.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Object graph for type 'Emalogic.Conservatory.BusinessEntities.CourseInstance' contains cycles and cannot be serialized if reference tracking is disabled.