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