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