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 |
Inserts a new directory site.
See: DCM/DFA Reporting And Trafficking API Reference for dfareporting.directorySites.insert
.
Synopsis
- type DirectorySitesInsertResource = "dfareporting" :> ("v3.2" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("directorySites" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] DirectorySite :> Post '[JSON] DirectorySite))))))
- directorySitesInsert :: Int64 -> DirectorySite -> DirectorySitesInsert
- data DirectorySitesInsert
- dsiProFileId :: Lens' DirectorySitesInsert Int64
- dsiPayload :: Lens' DirectorySitesInsert DirectorySite
REST Resource
type DirectorySitesInsertResource = "dfareporting" :> ("v3.2" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("directorySites" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] DirectorySite :> Post '[JSON] DirectorySite)))))) Source #
A resource alias for dfareporting.directorySites.insert
method which the
DirectorySitesInsert
request conforms to.
Creating a Request
Creates a value of DirectorySitesInsert
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DirectorySitesInsert Source #
Inserts a new directory site.
See: directorySitesInsert
smart constructor.
Instances
Request Lenses
dsiProFileId :: Lens' DirectorySitesInsert Int64 Source #
User profile ID associated with this request.
dsiPayload :: Lens' DirectorySitesInsert DirectorySite Source #
Multipart request metadata.