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