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