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 all the notes associated with a proposal
See: Ad Exchange Buyer API Reference for adexchangebuyer.marketplacenotes.list
.
- type MarketplaceNotesListResource = "adexchangebuyer" :> ("v1.4" :> ("proposals" :> (Capture "proposalId" Text :> ("notes" :> (QueryParam "pqlQuery" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] GetOrderNotesResponse))))))
- marketplaceNotesList :: Text -> MarketplaceNotesList
- data MarketplaceNotesList
- mnlProposalId :: Lens' MarketplaceNotesList Text
- mnlPqlQuery :: Lens' MarketplaceNotesList (Maybe Text)
REST Resource
type MarketplaceNotesListResource = "adexchangebuyer" :> ("v1.4" :> ("proposals" :> (Capture "proposalId" Text :> ("notes" :> (QueryParam "pqlQuery" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] GetOrderNotesResponse)))))) Source #
A resource alias for adexchangebuyer.marketplacenotes.list
method which the
MarketplaceNotesList
request conforms to.
Creating a Request
Creates a value of MarketplaceNotesList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data MarketplaceNotesList Source #
Get all the notes associated with a proposal
See: marketplaceNotesList
smart constructor.
Request Lenses
mnlProposalId :: Lens' MarketplaceNotesList Text Source #
The proposalId to get notes for. To search across all proposals specify order_id = '-' as part of the URL.
mnlPqlQuery :: Lens' MarketplaceNotesList (Maybe Text) Source #
Query string to retrieve specific notes. To search the text contents of notes, please use syntax like "WHERE note.note = "foo" or "WHERE note.note LIKE "%bar%"