POST api/DistrictAPI/NewGetDistrictDetailsById
Request Information
URI Parameters
None.
Body Parameters
UserCityDTOName | Description | Type | Additional information |
---|---|---|---|
CityId | integer |
None. |
|
Id | integer |
None. |
|
RegionId | integer |
None. |
|
OrganizationId | integer |
None. |
|
CityName | string |
None. |
|
CityNameAr | string |
None. |
|
isActive | boolean |
None. |
|
message | string |
None. |
|
CreatedBy | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "CityId": 1, "Id": 2, "RegionId": 3, "OrganizationId": 4, "CityName": "sample string 5", "CityNameAr": "sample string 6", "isActive": true, "message": "sample string 8", "CreatedBy": 9 }
application/xml, text/xml
Sample:
<UserCityDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Models"> <CityId>1</CityId> <CityName>sample string 5</CityName> <CityNameAr>sample string 6</CityNameAr> <CreatedBy>9</CreatedBy> <Id>2</Id> <OrganizationId>4</OrganizationId> <RegionId>3</RegionId> <isActive>true</isActive> <message>sample string 8</message> </UserCityDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
DistrictDTOName | Description | Type | Additional 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.