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 |
Delete the specified deals from the proposal
See: Ad Exchange Buyer API Reference for adexchangebuyer.marketplacedeals.delete
.
Synopsis
- type MarketplaceDealsDeleteResource = "adexchangebuyer" :> ("v1.4" :> ("proposals" :> (Capture "proposalId" Text :> ("deals" :> ("delete" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] DeleteOrderDealsRequest :> Post '[JSON] DeleteOrderDealsResponse)))))))
- marketplaceDealsDelete :: DeleteOrderDealsRequest -> Text -> MarketplaceDealsDelete
- data MarketplaceDealsDelete
- mddPayload :: Lens' MarketplaceDealsDelete DeleteOrderDealsRequest
- mddProposalId :: Lens' MarketplaceDealsDelete Text
REST Resource
type MarketplaceDealsDeleteResource = "adexchangebuyer" :> ("v1.4" :> ("proposals" :> (Capture "proposalId" Text :> ("deals" :> ("delete" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] DeleteOrderDealsRequest :> Post '[JSON] DeleteOrderDealsResponse))))))) Source #
A resource alias for adexchangebuyer.marketplacedeals.delete
method which the
MarketplaceDealsDelete
request conforms to.
Creating a Request
marketplaceDealsDelete Source #
Creates a value of MarketplaceDealsDelete
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data MarketplaceDealsDelete Source #
Delete the specified deals from the proposal
See: marketplaceDealsDelete
smart constructor.
Instances
Request Lenses
mddPayload :: Lens' MarketplaceDealsDelete DeleteOrderDealsRequest Source #
Multipart request metadata.
mddProposalId :: Lens' MarketplaceDealsDelete Text Source #
The proposalId to delete deals from.