POST api/DistrictAPI/NewDeleteDistrictDetails

Request Information

URI Parameters

None.

Body Parameters

DistrictDTO
NameDescriptionTypeAdditional information
Id

integer

None.

NameEn

string

Required

String length: inclusive between 1 and 50

NameAr

string

Required

String length: inclusive between 1 and 50

CityId

integer

Required

Latitude

string

None.

Longitude

string

None.

CityEn

string

None.

CityAr

string

None.

RegionId

integer

None.

RegionEn

string

None.

RegionAr

string

None.

CountryId

integer

None.

CountryEn

string

None.

CountryAr

string

None.

Status

boolean

None.

CreatedBy

integer

None.

ModifiedBy

integer

None.

DeletedBy

integer

None.

IsDeleted

boolean

None.

FlagId

integer

None.

StatusCode

string

None.

StatusMessage

string

None.

lstDistricts

Collection of DistrictDTO

None.

Create

boolean

None.

Edit

boolean

None.

Update

boolean

None.

Delete

boolean

None.

IsActive

boolean

None.

lstCities

Collection of CityDTO

None.

Request Formats

application/json

Sample:

Sample not available.

text/json

Sample:

Sample not available.

application/xml

Sample:

Sample not available.

text/xml

Sample:

Sample not available.

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

DistrictDTO
NameDescriptionTypeAdditional information
Id

integer

None.

NameEn

string

Required

String length: inclusive between 1 and 50

NameAr

string

Required

String length: inclusive between 1 and 50

CityId

integer

Required

Latitude

string

None.

Longitude

string

None.

CityEn

string

None.

CityAr

string

None.

RegionId

integer

None.

RegionEn

string

None.

RegionAr

string

None.

CountryId

integer

None.

CountryEn

string

None.

CountryAr

string

None.

Status

boolean

None.

CreatedBy

integer

None.

ModifiedBy

integer

None.

DeletedBy

integer

None.

IsDeleted

boolean

None.

FlagId

integer

None.

StatusCode

string

None.

StatusMessage

string

None.

lstDistricts

Collection of DistrictDTO

None.

Create

boolean

None.

Edit

boolean

None.

Update

boolean

None.

Delete

boolean

None.

IsActive

boolean

None.

lstCities

Collection of CityDTO

None.

Response Formats

application/json

Sample:

Sample not available.

text/json

Sample:

Sample not available.

application/xml

Sample:

Sample not available.

text/xml

Sample:

Sample not available.