GET api/v1/Areas/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

Area
NameDescriptionTypeAdditional information
Id

integer

None.

NameEn

string

None.

NameAr

string

None.

SectorId

integer

None.

Description

string

None.

Sector

Sector

None.

Entities

Collection of Entity

None.

RepsVsAreas

Collection of RepsVsArea

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.Area'. Path 'Sector.Areas'.

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.Area'. Path 'Sector.Areas'.

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