GET api/v1/Doctors/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

Doctor
NameDescriptionTypeAdditional information
Id

integer

None.

Name

string

None.

Email

string

None.

Phone

string

None.

SpecialityId

integer

None.

Speciality

Speciality

None.

DoctorVsEntities

Collection of DoctorVsEntity

None.

Visits

Collection of Visit

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 with type 'MedicineCRM.Models.Doctor'. Path 'Speciality.Doctors'.

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 with type 'MedicineCRM.Models.Doctor'. Path 'Speciality.Doctors'.

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