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 |
Inserts a new account user profile.
See: DCM/DFA Reporting And Trafficking API Reference for dfareporting.accountUserProfiles.insert
.
- type AccountUserProFilesInsertResource = "dfareporting" :> ("v2.2" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("accountUserProfiles" :> (QueryParam "alt" AltJSON :> (ReqBody `[JSON]` AccountUserProFile :> Post `[JSON]` AccountUserProFile))))))
- accountUserProFilesInsert :: Int64 -> AccountUserProFile -> AccountUserProFilesInsert
- data AccountUserProFilesInsert
- aupfiProFileId :: Lens' AccountUserProFilesInsert Int64
- aupfiPayload :: Lens' AccountUserProFilesInsert AccountUserProFile
REST Resource
type AccountUserProFilesInsertResource = "dfareporting" :> ("v2.2" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("accountUserProfiles" :> (QueryParam "alt" AltJSON :> (ReqBody `[JSON]` AccountUserProFile :> Post `[JSON]` AccountUserProFile)))))) Source
A resource alias for dfareporting.accountUserProfiles.insert
method which the
AccountUserProFilesInsert
request conforms to.
Creating a Request
accountUserProFilesInsert Source
Creates a value of AccountUserProFilesInsert
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data AccountUserProFilesInsert Source
Inserts a new account user profile.
See: accountUserProFilesInsert
smart constructor.
Request Lenses
aupfiProFileId :: Lens' AccountUserProFilesInsert Int64 Source
User profile ID associated with this request.
aupfiPayload :: Lens' AccountUserProFilesInsert AccountUserProFile Source
Multipart request metadata.