GET api/GeoCode/GetGeoPlaceCity?cityNamewithState={cityNamewithState}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
cityNamewithState

string

Required

Body Parameters

None.

Response Information

Resource Description

GeoPlaceResponseDTO
NameDescriptionTypeAdditional information
predictions

Collection of Prediction

None.

status

GeoPlaceResponseStatusEnum

None.

Response Formats

application/json, text/json

Sample:
{
  "predictions": [
    {
      "description": "sample string 1",
      "id": "sample string 2",
      "matched_substrings": [
        {
          "length": 1,
          "offset": 2
        },
        {
          "length": 1,
          "offset": 2
        }
      ],
      "place_id": "sample string 3",
      "reference": "sample string 4",
      "terms": [
        {
          "offset": 1,
          "value": "sample string 2"
        },
        {
          "offset": 1,
          "value": "sample string 2"
        }
      ],
      "types": [
        "sample string 1",
        "sample string 2"
      ]
    },
    {
      "description": "sample string 1",
      "id": "sample string 2",
      "matched_substrings": [
        {
          "length": 1,
          "offset": 2
        },
        {
          "length": 1,
          "offset": 2
        }
      ],
      "place_id": "sample string 3",
      "reference": "sample string 4",
      "terms": [
        {
          "offset": 1,
          "value": "sample string 2"
        },
        {
          "offset": 1,
          "value": "sample string 2"
        }
      ],
      "types": [
        "sample string 1",
        "sample string 2"
      ]
    }
  ],
  "status": 0
}