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 |
Updates an existing account. This method supports patch semantics.
See: DCM/DFA Reporting And Trafficking API Reference for dfareporting.accounts.patch
.
Synopsis
- type AccountsPatchResource = "dfareporting" :> ("v3.2" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("accounts" :> (QueryParam "id" (Textual Int64) :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Account :> Patch '[JSON] Account)))))))
- accountsPatch :: Int64 -> Account -> Int64 -> AccountsPatch
- data AccountsPatch
- appProFileId :: Lens' AccountsPatch Int64
- appPayload :: Lens' AccountsPatch Account
- appId :: Lens' AccountsPatch Int64
REST Resource
type AccountsPatchResource = "dfareporting" :> ("v3.2" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("accounts" :> (QueryParam "id" (Textual Int64) :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Account :> Patch '[JSON] Account))))))) Source #
A resource alias for dfareporting.accounts.patch
method which the
AccountsPatch
request conforms to.
Creating a Request
Creates a value of AccountsPatch
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data AccountsPatch Source #
Updates an existing account. This method supports patch semantics.
See: accountsPatch
smart constructor.
Instances
Request Lenses
appProFileId :: Lens' AccountsPatch Int64 Source #
User profile ID associated with this request.
appPayload :: Lens' AccountsPatch Account Source #
Multipart request metadata.