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 |
Returns the fields that are compatible to be selected in the respective sections of a report criteria, given the fields already selected in the input report and user permissions.
See: DCM/DFA Reporting And Trafficking API Reference for dfareporting.reports.compatibleFields.query
.
- type ReportsCompatibleFieldsQueryResource = "dfareporting" :> ("v2.2" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("reports" :> ("compatiblefields" :> ("query" :> (QueryParam "alt" AltJSON :> (ReqBody `[JSON]` Report :> Post `[JSON]` CompatibleFields))))))))
- reportsCompatibleFieldsQuery :: Int64 -> Report -> ReportsCompatibleFieldsQuery
- data ReportsCompatibleFieldsQuery
- rcfqProFileId :: Lens' ReportsCompatibleFieldsQuery Int64
- rcfqPayload :: Lens' ReportsCompatibleFieldsQuery Report
REST Resource
type ReportsCompatibleFieldsQueryResource = "dfareporting" :> ("v2.2" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("reports" :> ("compatiblefields" :> ("query" :> (QueryParam "alt" AltJSON :> (ReqBody `[JSON]` Report :> Post `[JSON]` CompatibleFields)))))))) Source
A resource alias for dfareporting.reports.compatibleFields.query
method which the
ReportsCompatibleFieldsQuery
request conforms to.
Creating a Request
reportsCompatibleFieldsQuery Source
Creates a value of ReportsCompatibleFieldsQuery
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ReportsCompatibleFieldsQuery Source
Returns the fields that are compatible to be selected in the respective sections of a report criteria, given the fields already selected in the input report and user permissions.
See: reportsCompatibleFieldsQuery
smart constructor.
Request Lenses
rcfqProFileId :: Lens' ReportsCompatibleFieldsQuery Int64 Source
The DFA user profile ID.
rcfqPayload :: Lens' ReportsCompatibleFieldsQuery Report Source
Multipart request metadata.