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