GET api/City/All/{name}?countryId={countryId}
Загрузка списка городов
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
countryId | integer |
Required |
|
name | string |
None. |
Body Parameters
None.
Response Information
Resource Description
Коллекция городов
GetAllCitiesResponseName | Description | Type | Additional information |
---|---|---|---|
Items | Collection of City |
None. |
|
MappedItems | Collection of City |
None. |
|
ItemsLegend | Collection of ListItemLegend |
None. |
|
DictionaryOptions | DictionaryOptions |
None. |
|
FilterLegend | Collection of EditingLegend |
None. |
|
debugCollector | DebugCollector |
None. |
|
ResultQueryInfo |
Сообщения |
ResultQueryInfoContainer |
None. |
Response Formats
application/json, text/json
Sample:
{ "Items": [ { "CountryId": 1, "RegionId": 2, "RegionName": "sample string 3", "EtvCode": "sample string 4", "MappingId": 1, "PartnerName": "sample string 5", "IsExternal": true, "CanMaped": true, "IsDeparture": true, "Id": 9, "Name": "sample string 10", "NameLat": "sample string 11", "Code": "sample string 12" }, { "CountryId": 1, "RegionId": 2, "RegionName": "sample string 3", "EtvCode": "sample string 4", "MappingId": 1, "PartnerName": "sample string 5", "IsExternal": true, "CanMaped": true, "IsDeparture": true, "Id": 9, "Name": "sample string 10", "NameLat": "sample string 11", "Code": "sample string 12" } ], "MappedItems": [ { "CountryId": 1, "RegionId": 2, "RegionName": "sample string 3", "EtvCode": "sample string 4", "MappingId": 1, "PartnerName": "sample string 5", "IsExternal": true, "CanMaped": true, "IsDeparture": true, "Id": 9, "Name": "sample string 10", "NameLat": "sample string 11", "Code": "sample string 12" }, { "CountryId": 1, "RegionId": 2, "RegionName": "sample string 3", "EtvCode": "sample string 4", "MappingId": 1, "PartnerName": "sample string 5", "IsExternal": true, "CanMaped": true, "IsDeparture": true, "Id": 9, "Name": "sample string 10", "NameLat": "sample string 11", "Code": "sample string 12" } ], "ItemsLegend": [ { "ColumnIndex": 1, "CatalogNameField": "sample string 3", "CatalogIdField": "sample string 4", "CatalogFilter": "sample string 5", "Values": [ "sample string 1", "sample string 2" ], "Name": "sample string 6", "FieldName": "sample string 7", "ArrayName": "sample string 8", "ArrayIndex": "sample string 9", "IsVisible": true, "CanVisible": true, "Type": "sample string 12", "MaxLength": 13, "IsFixed": true, "ColumnWidth": 15, "AlwaysEditable": true }, { "ColumnIndex": 1, "CatalogNameField": "sample string 3", "CatalogIdField": "sample string 4", "CatalogFilter": "sample string 5", "Values": [ "sample string 1", "sample string 2" ], "Name": "sample string 6", "FieldName": "sample string 7", "ArrayName": "sample string 8", "ArrayIndex": "sample string 9", "IsVisible": true, "CanVisible": true, "Type": "sample string 12", "MaxLength": 13, "IsFixed": true, "ColumnWidth": 15, "AlwaysEditable": true } ], "debugCollector": { "DebugInfo": [ "sample string 1", "sample string 2" ] }, "RedirectUrl": "sample string 1", "ResultQueryInfo": { "ResultsCount": 1, "HasError": false, "Info": [], "CacheStorageTimeEnd": true, "RefreshPeriod": 0, "DelFromCacheDateTime": "2024-11-23T16:56:51.7914175+03:00", "UserMessages": "", "UserMessagesHtml": "" } }
application/xml
Sample:
text/xml
Sample: