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 |
Retrieves a list of order documents, possibly filtered. This method supports paging.
See: DCM/DFA Reporting And Trafficking API Reference for dfareporting.orderDocuments.list
.
Synopsis
- type OrderDocumentsListResource = "dfareporting" :> ("v3.2" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("projects" :> (Capture "projectId" (Textual Int64) :> ("orderDocuments" :> (QueryParam "searchString" Text :> (QueryParams "ids" (Textual Int64) :> (QueryParam "sortOrder" OrderDocumentsListSortOrder :> (QueryParam "pageToken" Text :> (QueryParam "sortField" OrderDocumentsListSortField :> (QueryParams "orderId" (Textual Int64) :> (QueryParam "approved" Bool :> (QueryParams "siteId" (Textual Int64) :> (QueryParam "maxResults" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get '[JSON] OrderDocumentsListResponse))))))))))))))))
- orderDocumentsList :: Int64 -> Int64 -> OrderDocumentsList
- data OrderDocumentsList
- odlSearchString :: Lens' OrderDocumentsList (Maybe Text)
- odlIds :: Lens' OrderDocumentsList [Int64]
- odlProFileId :: Lens' OrderDocumentsList Int64
- odlSortOrder :: Lens' OrderDocumentsList OrderDocumentsListSortOrder
- odlPageToken :: Lens' OrderDocumentsList (Maybe Text)
- odlProjectId :: Lens' OrderDocumentsList Int64
- odlSortField :: Lens' OrderDocumentsList OrderDocumentsListSortField
- odlOrderId :: Lens' OrderDocumentsList [Int64]
- odlApproved :: Lens' OrderDocumentsList (Maybe Bool)
- odlSiteId :: Lens' OrderDocumentsList [Int64]
- odlMaxResults :: Lens' OrderDocumentsList Int32
REST Resource
type OrderDocumentsListResource = "dfareporting" :> ("v3.2" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("projects" :> (Capture "projectId" (Textual Int64) :> ("orderDocuments" :> (QueryParam "searchString" Text :> (QueryParams "ids" (Textual Int64) :> (QueryParam "sortOrder" OrderDocumentsListSortOrder :> (QueryParam "pageToken" Text :> (QueryParam "sortField" OrderDocumentsListSortField :> (QueryParams "orderId" (Textual Int64) :> (QueryParam "approved" Bool :> (QueryParams "siteId" (Textual Int64) :> (QueryParam "maxResults" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get '[JSON] OrderDocumentsListResponse)))))))))))))))) Source #
A resource alias for dfareporting.orderDocuments.list
method which the
OrderDocumentsList
request conforms to.
Creating a Request
Creates a value of OrderDocumentsList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data OrderDocumentsList Source #
Retrieves a list of order documents, possibly filtered. This method supports paging.
See: orderDocumentsList
smart constructor.
Instances
Request Lenses
odlSearchString :: Lens' OrderDocumentsList (Maybe Text) Source #
Allows searching for order documents by name or ID. Wildcards (*) are allowed. For example, "orderdocument*2015" will return order documents with names like "orderdocument June 2015", "orderdocument April 2015", or simply "orderdocument 2015". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of "orderdocument" will match order documents with name "my orderdocument", "orderdocument 2015", or simply "orderdocument".
odlProFileId :: Lens' OrderDocumentsList Int64 Source #
User profile ID associated with this request.
odlSortOrder :: Lens' OrderDocumentsList OrderDocumentsListSortOrder Source #
Order of sorted results.
odlPageToken :: Lens' OrderDocumentsList (Maybe Text) Source #
Value of the nextPageToken from the previous result page.
odlProjectId :: Lens' OrderDocumentsList Int64 Source #
Project ID for order documents.
odlSortField :: Lens' OrderDocumentsList OrderDocumentsListSortField Source #
Field by which to sort the list.
odlOrderId :: Lens' OrderDocumentsList [Int64] Source #
Select only order documents for specified orders.
odlApproved :: Lens' OrderDocumentsList (Maybe Bool) Source #
Select only order documents that have been approved by at least one user.
odlSiteId :: Lens' OrderDocumentsList [Int64] Source #
Select only order documents that are associated with these sites.
odlMaxResults :: Lens' OrderDocumentsList Int32 Source #
Maximum number of results to return.