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 |
Gets one account by ID.
See: DCM/DFA Reporting And Trafficking API Reference for dfareporting.accounts.get
.
Synopsis
- type AccountsGetResource = "dfareporting" :> ("v3.2" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("accounts" :> (Capture "id" (Textual Int64) :> (QueryParam "alt" AltJSON :> Get '[JSON] Account))))))
- accountsGet :: Int64 -> Int64 -> AccountsGet
- data AccountsGet
- aggProFileId :: Lens' AccountsGet Int64
- aggId :: Lens' AccountsGet Int64
REST Resource
type AccountsGetResource = "dfareporting" :> ("v3.2" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("accounts" :> (Capture "id" (Textual Int64) :> (QueryParam "alt" AltJSON :> Get '[JSON] Account)))))) Source #
A resource alias for dfareporting.accounts.get
method which the
AccountsGet
request conforms to.
Creating a Request
Creates a value of AccountsGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data AccountsGet Source #
Gets one account by ID.
See: accountsGet
smart constructor.
Instances
Request Lenses
aggProFileId :: Lens' AccountsGet Int64 Source #
User profile ID associated with this request.