Host

<back to all web services

MedicalCategoriesRequest

The following routes are available for this service:
GET/Doctorbrowser/Category/GetMedicalCategories
MedicalCategoriesRequest Parameters:
NameParameterData TypeRequiredDescription
categoryIdqueryint?No
slugquerystringYes
start_fromqueryint?No
limitqueryint?No
CulturequerystringYes
MedicalCategoriesResponse Parameters:
NameParameterData TypeRequiredDescription
totalRecordsformintNo
MedicalCategoriesformList<MedicalCategoryDto>Yes
MedicalCategoryDto Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
OrderformintNo
IconformstringYes
Title_arformstringYes
Title_enformstringYes
Title_trformstringYes
DescriptionformstringYes
Description_enformstringYes
Description_arformstringYes
Description_trformstringYes
DoctorsformList<DoctorListingDto>Yes
SlugformstringYes
CategoryLogoformstringYes
CategoryLogoThumbnailformstringYes
TitleformstringYes
SpecialtiesformIList<MedicalSpecialtyDto>Yes
WebSlugNameformstringYes
DoctorListingDto Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
DocIdformintNo
UserNameformstringYes
FirstNameformstringYes
FirstName_arformstringYes
LastNameformstringYes
LastName_arformstringYes
SpecialtyTitle_enformstringYes
SpecialtyTitle_arformstringYes
SpecialtyTitle_trformstringYes
CountryName_enformstringYes
CountryName_arformstringYes
CountryName_trformstringYes
CountryNameformstringYes
CityCityName_enformstringYes
CityCityName_arformstringYes
CityCityName_trformstringYes
TitleformstringYes
Title_enformstringYes
LocationCountryIdformint?No
LocationCityIdformintNo
ClassificationIdformintNo
ClassificationTitle_arformstringYes
ClassificationTitle_enformstringYes
ClassificationTitle_trformstringYes
RatingformintNo
ProfilePicformstringYes
ProfilePicThumbnailformstringYes
isPremiumformboolNo
PrimarySpecialtyIdformintNo
AvailabilityIdformintNo
AvailabilityAcceptsNewConsultsformboolNo
AvailabilityFlagWithOnlineIconformboolNo
AvailabilityStatusColorformstringYes
AvailabilityStatusTitleDoctor_enformstringYes
AvailabilityStatusTitleDoctor_arformstringYes
AvailabilityStatusTitleDoctor_trformstringYes
AvailabilityStatusTitleUser_enformstringYes
AvailabilityStatusTitleUser_arformstringYes
AvailabilityStatusTitleUser_trformstringYes
DesignateAsDoctorformboolNo
LastLoginAttemptformstringYes
Featuredformbool?No
CountryCultureNameformstringYes
SpecialtyTitleformstringYes
CountryCountryName_enformstringYes
CountryCountryName_arformstringYes
AvailabilityStatusTitleDoctorformstringYes
AvailabilityStatusTitleUserformstringYes
MedicalSpecialtyDto Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
Title_arformstringYes
Title_enformstringYes
Title_trformstringYes
CodeformstringYes
ParentIdformintNo
TitleformstringYes
CategoryIdformintNo
WebSlugNameformstringYes

To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv

HTTP + JSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /Doctorbrowser/Category/GetMedicalCategories HTTP/1.1 
Host: api-demo-1.cura.healthcare 
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	totalRecords: 0,
	MedicalCategories: 
	[
		{
			Id: 0,
			Order: 0,
			Icon: String,
			Title_ar: String,
			Title_en: String,
			Title_tr: String,
			Description: String,
			Description_en: String,
			Description_ar: String,
			Description_tr: String,
			Doctors: 
			[
				{
					Id: 0,
					DocId: 0,
					UserName: String,
					FirstName: String,
					FirstName_ar: String,
					LastName: String,
					LastName_ar: String,
					SpecialtyTitle_en: String,
					SpecialtyTitle_ar: String,
					SpecialtyTitle_tr: String,
					CountryName_en: String,
					CountryName_ar: String,
					CountryName_tr: String,
					CountryName: String,
					CityCityName_en: String,
					CityCityName_ar: String,
					CityCityName_tr: String,
					Title: String,
					Title_en: String,
					LocationCountryId: 0,
					LocationCityId: 0,
					ClassificationId: 0,
					ClassificationTitle_ar: String,
					ClassificationTitle_en: String,
					ClassificationTitle_tr: String,
					Rating: 0,
					ProfilePic: String,
					ProfilePicThumbnail: String,
					isPremium: False,
					PrimarySpecialtyId: 0,
					AvailabilityId: 0,
					AvailabilityAcceptsNewConsults: False,
					AvailabilityFlagWithOnlineIcon: False,
					AvailabilityStatusColor: String,
					AvailabilityStatusTitleDoctor_en: String,
					AvailabilityStatusTitleDoctor_ar: String,
					AvailabilityStatusTitleDoctor_tr: String,
					AvailabilityStatusTitleUser_en: String,
					AvailabilityStatusTitleUser_ar: String,
					AvailabilityStatusTitleUser_tr: String,
					DesignateAsDoctor: False,
					LastLoginAttempt: String,
					Featured: False,
					CountryCultureName: String,
					SpecialtyTitle: String,
					CountryCountryName_en: String,
					CountryCountryName_ar: String,
					AvailabilityStatusTitleDoctor: String,
					AvailabilityStatusTitleUser: String
				}
			],
			Slug: String,
			CategoryLogo: String,
			CategoryLogoThumbnail: String,
			Title: String,
			WebSlugName: String
		}
	]
}