Host

<back to all web services

MedicalCategoriesRequest

The following routes are available for this service:
GET/Doctorbrowser/Category/GetMedicalCategories
"use strict";
export class DoctorListingDto {
    /** @param {{Id?:number,DocId?:number,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?:number,LocationCityId?:number,ClassificationId?:number,ClassificationTitle_ar?:string,ClassificationTitle_en?:string,ClassificationTitle_tr?:string,Rating?:number,ProfilePic?:string,ProfilePicThumbnail?:string,isPremium?:boolean,PrimarySpecialtyId?:number,AvailabilityId?:number,AvailabilityAcceptsNewConsults?:boolean,AvailabilityFlagWithOnlineIcon?:boolean,AvailabilityStatusColor?:string,AvailabilityStatusTitleDoctor_en?:string,AvailabilityStatusTitleDoctor_ar?:string,AvailabilityStatusTitleDoctor_tr?:string,AvailabilityStatusTitleUser_en?:string,AvailabilityStatusTitleUser_ar?:string,AvailabilityStatusTitleUser_tr?:string,DesignateAsDoctor?:boolean,LastLoginAttempt?:string,Featured?:boolean,CountryCultureName?:string,SpecialtyTitle?:string,CountryCountryName_en?:string,CountryCountryName_ar?:string,AvailabilityStatusTitleDoctor?:string,AvailabilityStatusTitleUser?:string}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {number} */
    Id;
    /** @type {number} */
    DocId;
    /** @type {string} */
    UserName;
    /** @type {string} */
    FirstName;
    /** @type {string} */
    FirstName_ar;
    /** @type {string} */
    LastName;
    /** @type {string} */
    LastName_ar;
    /** @type {string} */
    SpecialtyTitle_en;
    /** @type {string} */
    SpecialtyTitle_ar;
    /** @type {string} */
    SpecialtyTitle_tr;
    /** @type {string} */
    CountryName_en;
    /** @type {string} */
    CountryName_ar;
    /** @type {string} */
    CountryName_tr;
    /** @type {string} */
    CountryName;
    /** @type {string} */
    CityCityName_en;
    /** @type {string} */
    CityCityName_ar;
    /** @type {string} */
    CityCityName_tr;
    /** @type {string} */
    Title;
    /** @type {string} */
    Title_en;
    /** @type {?number} */
    LocationCountryId;
    /** @type {number} */
    LocationCityId;
    /** @type {number} */
    ClassificationId;
    /** @type {string} */
    ClassificationTitle_ar;
    /** @type {string} */
    ClassificationTitle_en;
    /** @type {string} */
    ClassificationTitle_tr;
    /** @type {number} */
    Rating;
    /** @type {string} */
    ProfilePic;
    /** @type {string} */
    ProfilePicThumbnail;
    /** @type {boolean} */
    isPremium;
    /** @type {number} */
    PrimarySpecialtyId;
    /** @type {number} */
    AvailabilityId;
    /** @type {boolean} */
    AvailabilityAcceptsNewConsults;
    /** @type {boolean} */
    AvailabilityFlagWithOnlineIcon;
    /** @type {string} */
    AvailabilityStatusColor;
    /** @type {string} */
    AvailabilityStatusTitleDoctor_en;
    /** @type {string} */
    AvailabilityStatusTitleDoctor_ar;
    /** @type {string} */
    AvailabilityStatusTitleDoctor_tr;
    /** @type {string} */
    AvailabilityStatusTitleUser_en;
    /** @type {string} */
    AvailabilityStatusTitleUser_ar;
    /** @type {string} */
    AvailabilityStatusTitleUser_tr;
    /** @type {boolean} */
    DesignateAsDoctor;
    /** @type {string} */
    LastLoginAttempt;
    /** @type {?boolean} */
    Featured;
    /** @type {string} */
    CountryCultureName;
    /** @type {string} */
    SpecialtyTitle;
    /** @type {string} */
    CountryCountryName_en;
    /** @type {string} */
    CountryCountryName_ar;
    /** @type {string} */
    AvailabilityStatusTitleDoctor;
    /** @type {string} */
    AvailabilityStatusTitleUser;
}
export class MedicalSpecialtyDto {
    /** @param {{Id?:number,Title_ar?:string,Title_en?:string,Title_tr?:string,Code?:string,ParentId?:number,Title?:string,CategoryId?:number,WebSlugName?:string}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {number} */
    Id;
    /** @type {string} */
    Title_ar;
    /** @type {string} */
    Title_en;
    /** @type {string} */
    Title_tr;
    /** @type {string} */
    Code;
    /** @type {number} */
    ParentId;
    /** @type {string} */
    Title;
    /** @type {number} */
    CategoryId;
    /** @type {string} */
    WebSlugName;
}
export class MedicalCategoryDto {
    /** @param {{Id?:number,Order?:number,Icon?:string,Title_ar?:string,Title_en?:string,Title_tr?:string,Description?:string,Description_en?:string,Description_ar?:string,Description_tr?:string,Doctors?:DoctorListingDto[],Slug?:string,CategoryLogo?:string,CategoryLogoThumbnail?:string,Title?:string,Specialties?:IList<MedicalSpecialtyDto>,WebSlugName?:string}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {number} */
    Id;
    /** @type {number} */
    Order;
    /** @type {string} */
    Icon;
    /** @type {string} */
    Title_ar;
    /** @type {string} */
    Title_en;
    /** @type {string} */
    Title_tr;
    /** @type {string} */
    Description;
    /** @type {string} */
    Description_en;
    /** @type {string} */
    Description_ar;
    /** @type {string} */
    Description_tr;
    /** @type {DoctorListingDto[]} */
    Doctors = [];
    /** @type {string} */
    Slug;
    /** @type {string} */
    CategoryLogo;
    /** @type {string} */
    CategoryLogoThumbnail;
    /** @type {string} */
    Title;
    /** @type {IList<MedicalSpecialtyDto>} */
    Specialties;
    /** @type {string} */
    WebSlugName;
}
export class MedicalCategoriesResponse {
    /** @param {{totalRecords?:number,MedicalCategories?:MedicalCategoryDto[]}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {number} */
    totalRecords;
    /** @type {MedicalCategoryDto[]} */
    MedicalCategories = [];
}
export class MedicalCategoriesRequest {
    /** @param {{categoryId?:number,slug?:string,start_from?:number,limit?:number,Culture?:string}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {?number} */
    categoryId;
    /** @type {string} */
    slug;
    /** @type {?number} */
    start_from;
    /** @type {?number} */
    limit;
    /** @type {string} */
    Culture;
}

JavaScript MedicalCategoriesRequest DTOs

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
		}
	]
}