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 |
Get a proposal given its id
See: Ad Exchange Buyer API Reference for adexchangebuyer.proposals.get
.
Synopsis
- type ProposalsGetResource = "adexchangebuyer" :> ("v1.4" :> ("proposals" :> (Capture "proposalId" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Proposal))))
- proposalsGet :: Text -> ProposalsGet
- data ProposalsGet
- pgProposalId :: Lens' ProposalsGet Text
REST Resource
type ProposalsGetResource = "adexchangebuyer" :> ("v1.4" :> ("proposals" :> (Capture "proposalId" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Proposal)))) Source #
A resource alias for adexchangebuyer.proposals.get
method which the
ProposalsGet
request conforms to.
Creating a Request
Creates a value of ProposalsGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProposalsGet Source #
Get a proposal given its id
See: proposalsGet
smart constructor.
Instances
Request Lenses
pgProposalId :: Lens' ProposalsGet Text Source #
Id of the proposal to retrieve.