AI-generated Key Takeaways
-
This page details how to get a single postal code by its ID using an HTTP GET request.
-
The request requires a user profile ID and the specific postal code ID as path parameters in the URL.
-
The HTTP request body must be empty, and a successful response contains an instance of a PostalCode.
-
Authorization for this request is granted through the
https://www.googleapis.com/auth/dfatraffickingOAuth scope.
Gets one postal code by ID.
HTTP request
GET https://dfareporting.googleapis.com/dfareporting/v5/userprofiles/{profileId}/postalCodes/{code}
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
profileId |
User profile ID associated with this request. |
code |
Postal code ID. |
Request body
The request body must be empty.
Response body
If successful, the response body contains an instance of PostalCode.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/dfatrafficking