Copyright | (c) 2015 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 report by its ID.
See: DCM/DFA Reporting And Trafficking API Reference for dfareporting.reports.get
.
- type ReportsGetResource = "dfareporting" :> ("v2.2" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("reports" :> (Capture "reportId" (Textual Int64) :> (QueryParam "alt" AltJSON :> Get `[JSON]` Report))))))
- reportsGet :: Int64 -> Int64 -> ReportsGet
- data ReportsGet
- rgReportId :: Lens' ReportsGet Int64
- rgProFileId :: Lens' ReportsGet Int64
REST Resource
type ReportsGetResource = "dfareporting" :> ("v2.2" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("reports" :> (Capture "reportId" (Textual Int64) :> (QueryParam "alt" AltJSON :> Get `[JSON]` Report)))))) Source
A resource alias for dfareporting.reports.get
method which the
ReportsGet
request conforms to.
Creating a Request
Creates a value of ReportsGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ReportsGet Source
Retrieves a report by its ID.
See: reportsGet
smart constructor.
Request Lenses
rgReportId :: Lens' ReportsGet Int64 Source
The ID of the report.
rgProFileId :: Lens' ReportsGet Int64 Source
The DFA user profile ID.