GET api/City/GetAllCityByStateIdForMobile/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

AqsHttpResponseDtoOfListOfCityDto
NameDescriptionTypeAdditional information
StatusCode

integer

None.

StatusDescription

string

None.

Data

Collection of CityDto

None.

Response Formats

application/json, text/json

Sample:
{
  "statusCode": 1,
  "statusDescription": "sample string 2",
  "data": [
    {
      "$id": "2",
      "cityId": 1,
      "name": "sample string 2",
      "stateId": 3,
      "recordStatus": 64,
      "stateDto": {
        "$id": "3",
        "stateId": 1,
        "name": "sample string 2",
        "countryId": 3,
        "recordStatus": 64,
        "countryDto": {
          "$id": "4",
          "countryId": 1,
          "name": "sample string 2",
          "recordStatus": 64,
          "currencyId": 4,
          "currencyDto": {
            "$id": "5",
            "currencyId": 1,
            "code": "sample string 2",
            "name": "sample string 3",
            "recordStatus": 64
          }
        },
        "cityDto": [
          {
            "$ref": "2"
          },
          {
            "$ref": "2"
          }
        ],
        "nearByStatesDto": [
          {
            "$id": "6",
            "nearByStatesId": 1,
            "parentStateId": 2,
            "stateId": 3,
            "recordStatus": 64
          },
          {
            "$ref": "6"
          }
        ]
      }
    },
    {
      "$ref": "2"
    }
  ]
}