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 user role by ID.
See: DCM/DFA Reporting And Trafficking API Reference for dfareporting.userRoles.get
.
Synopsis
- type UserRolesGetResource = "dfareporting" :> ("v3.3" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("userRoles" :> (Capture "id" (Textual Int64) :> (QueryParam "alt" AltJSON :> Get '[JSON] UserRole))))))
- userRolesGet :: Int64 -> Int64 -> UserRolesGet
- data UserRolesGet
- urgProFileId :: Lens' UserRolesGet Int64
- urgId :: Lens' UserRolesGet Int64
REST Resource
type UserRolesGetResource = "dfareporting" :> ("v3.3" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("userRoles" :> (Capture "id" (Textual Int64) :> (QueryParam "alt" AltJSON :> Get '[JSON] UserRole)))))) Source #
A resource alias for dfareporting.userRoles.get
method which the
UserRolesGet
request conforms to.
Creating a Request
Creates a value of UserRolesGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data UserRolesGet Source #
Gets one user role by ID.
See: userRolesGet
smart constructor.
Instances
Request Lenses
urgProFileId :: Lens' UserRolesGet Int64 Source #
User profile ID associated with this request.