GET api/v1/general/getDepartments

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of Departments
NameDescriptionTypeAdditional information
Id

integer

None.

OperatorId

integer

None.

Name

string

None.

IsDeleted

boolean

None.

Courses

Collection of Courses

None.

Operator

Operator

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 '[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 '[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.CourseDependencies' 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.CourseDependencies' contains cycles and cannot be serialized if reference tracking is disabled.