Retrieves a list of cities, possibly filtered.
HTTP request
GET https://dfareporting.googleapis.com/dfareporting/v3.4/userprofiles/{profileId}/cities
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
profileId |
User profile ID associated with this request. |
Query parameters
Parameters | |
---|---|
namePrefix |
Select only cities with names starting with this prefix. |
countryDartIds[] |
Select only cities from these countries. |
dartIds[] |
Select only cities with these DART IDs. |
regionDartIds[] |
Select only cities from these regions. |
Request body
The request body must be empty.
Response body
If successful, the response body contains data with the following structure:
City accountPermissionGroups.list Response
JSON representation | |
---|---|
{
"kind": string,
"cities": [
{
object ( |
Fields | |
---|---|
kind |
Identifies what kind of resource this is. Value: the fixed string
. |
cities[] |
City collection. |
Authorization Scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/dfatrafficking