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 |
Replaces all the deals in the proposal with the passed in deals
See: Ad Exchange Buyer API Reference for adexchangebuyer.marketplacedeals.update
.
Synopsis
- type MarketplaceDealsUpdateResource = "adexchangebuyer" :> ("v1.4" :> ("proposals" :> (Capture "proposalId" Text :> ("deals" :> ("update" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] EditAllOrderDealsRequest :> Post '[JSON] EditAllOrderDealsResponse)))))))
- marketplaceDealsUpdate :: EditAllOrderDealsRequest -> Text -> MarketplaceDealsUpdate
- data MarketplaceDealsUpdate
- mduPayload :: Lens' MarketplaceDealsUpdate EditAllOrderDealsRequest
- mduProposalId :: Lens' MarketplaceDealsUpdate Text
REST Resource
type MarketplaceDealsUpdateResource = "adexchangebuyer" :> ("v1.4" :> ("proposals" :> (Capture "proposalId" Text :> ("deals" :> ("update" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] EditAllOrderDealsRequest :> Post '[JSON] EditAllOrderDealsResponse))))))) Source #
A resource alias for adexchangebuyer.marketplacedeals.update
method which the
MarketplaceDealsUpdate
request conforms to.
Creating a Request
marketplaceDealsUpdate Source #
Creates a value of MarketplaceDealsUpdate
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data MarketplaceDealsUpdate Source #
Replaces all the deals in the proposal with the passed in deals
See: marketplaceDealsUpdate
smart constructor.
Instances
Request Lenses
mduPayload :: Lens' MarketplaceDealsUpdate EditAllOrderDealsRequest Source #
Multipart request metadata.
mduProposalId :: Lens' MarketplaceDealsUpdate Text Source #
The proposalId to edit deals on.