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 |
Add notes to the proposal
See: Ad Exchange Buyer API Reference for adexchangebuyer.marketplacenotes.insert
.
Synopsis
- type MarketplaceNotesInsertResource = "adexchangebuyer" :> ("v1.4" :> ("proposals" :> (Capture "proposalId" Text :> ("notes" :> ("insert" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] AddOrderNotesRequest :> Post '[JSON] AddOrderNotesResponse)))))))
- marketplaceNotesInsert :: AddOrderNotesRequest -> Text -> MarketplaceNotesInsert
- data MarketplaceNotesInsert
- mniPayload :: Lens' MarketplaceNotesInsert AddOrderNotesRequest
- mniProposalId :: Lens' MarketplaceNotesInsert Text
REST Resource
type MarketplaceNotesInsertResource = "adexchangebuyer" :> ("v1.4" :> ("proposals" :> (Capture "proposalId" Text :> ("notes" :> ("insert" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] AddOrderNotesRequest :> Post '[JSON] AddOrderNotesResponse))))))) Source #
A resource alias for adexchangebuyer.marketplacenotes.insert
method which the
MarketplaceNotesInsert
request conforms to.
Creating a Request
marketplaceNotesInsert Source #
Creates a value of MarketplaceNotesInsert
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data MarketplaceNotesInsert Source #
Add notes to the proposal
See: marketplaceNotesInsert
smart constructor.
Instances
Request Lenses
mniPayload :: Lens' MarketplaceNotesInsert AddOrderNotesRequest Source #
Multipart request metadata.
mniProposalId :: Lens' MarketplaceNotesInsert Text Source #
The proposalId to add notes for.