Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Retrieves a list of postal codes.
See: DCM/DFA Reporting And Trafficking API Reference for dfareporting.postalCodes.list
.
Synopsis
- type PostalCodesListResource = "dfareporting" :> ("v3.2" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("postalCodes" :> (QueryParam "alt" AltJSON :> Get '[JSON] PostalCodesListResponse)))))
- postalCodesList :: Int64 -> PostalCodesList
- data PostalCodesList
- pclProFileId :: Lens' PostalCodesList Int64
REST Resource
type PostalCodesListResource = "dfareporting" :> ("v3.2" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("postalCodes" :> (QueryParam "alt" AltJSON :> Get '[JSON] PostalCodesListResponse))))) Source #
A resource alias for dfareporting.postalCodes.list
method which the
PostalCodesList
request conforms to.
Creating a Request
Creates a value of PostalCodesList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data PostalCodesList Source #
Retrieves a list of postal codes.
See: postalCodesList
smart constructor.
Instances
Request Lenses
pclProFileId :: Lens' PostalCodesList Int64 Source #
User profile ID associated with this request.