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 |
Updates a report.
See: DCM/DFA Reporting And Trafficking API Reference for dfareporting.reports.update
.
Synopsis
- type ReportsUpdateResource = "dfareporting" :> ("v3.2" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("reports" :> (Capture "reportId" (Textual Int64) :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Report :> Put '[JSON] Report)))))))
- reportsUpdate :: Int64 -> Int64 -> Report -> ReportsUpdate
- data ReportsUpdate
- ruReportId :: Lens' ReportsUpdate Int64
- ruProFileId :: Lens' ReportsUpdate Int64
- ruPayload :: Lens' ReportsUpdate Report
REST Resource
type ReportsUpdateResource = "dfareporting" :> ("v3.2" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("reports" :> (Capture "reportId" (Textual Int64) :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Report :> Put '[JSON] Report))))))) Source #
A resource alias for dfareporting.reports.update
method which the
ReportsUpdate
request conforms to.
Creating a Request
Creates a value of ReportsUpdate
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ReportsUpdate Source #
Updates a report.
See: reportsUpdate
smart constructor.
Instances
Request Lenses
ruReportId :: Lens' ReportsUpdate Int64 Source #
The ID of the report.
ruProFileId :: Lens' ReportsUpdate Int64 Source #
The DFA user profile ID.