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 |
Gets one order document by ID.
See: DCM/DFA Reporting And Trafficking API Reference for dfareporting.orderDocuments.get
.
Synopsis
- type OrderDocumentsGetResource = "dfareporting" :> ("v3.3" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("projects" :> (Capture "projectId" (Textual Int64) :> ("orderDocuments" :> (Capture "id" (Textual Int64) :> (QueryParam "alt" AltJSON :> Get '[JSON] OrderDocument))))))))
- orderDocumentsGet :: Int64 -> Int64 -> Int64 -> OrderDocumentsGet
- data OrderDocumentsGet
- odgProFileId :: Lens' OrderDocumentsGet Int64
- odgId :: Lens' OrderDocumentsGet Int64
- odgProjectId :: Lens' OrderDocumentsGet Int64
REST Resource
type OrderDocumentsGetResource = "dfareporting" :> ("v3.3" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("projects" :> (Capture "projectId" (Textual Int64) :> ("orderDocuments" :> (Capture "id" (Textual Int64) :> (QueryParam "alt" AltJSON :> Get '[JSON] OrderDocument)))))))) Source #
A resource alias for dfareporting.orderDocuments.get
method which the
OrderDocumentsGet
request conforms to.
Creating a Request
Creates a value of OrderDocumentsGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data OrderDocumentsGet Source #
Gets one order document by ID.
See: orderDocumentsGet
smart constructor.
Instances
Request Lenses
odgProFileId :: Lens' OrderDocumentsGet Int64 Source #
User profile ID associated with this request.
odgProjectId :: Lens' OrderDocumentsGet Int64 Source #
Project ID for order documents.