Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation update_account_acquisition
Synopsis
- update_account_acquisition :: forall m. MonadHTTP m => AccountAcquisitionUpdate -> ClientT m (Response Update_account_acquisitionResponse)
- data Update_account_acquisitionResponse
- update_account_acquisitionWithConfiguration :: forall m. MonadHTTP m => Configuration -> AccountAcquisitionUpdate -> m (Response Update_account_acquisitionResponse)
- update_account_acquisitionRaw :: forall m. MonadHTTP m => AccountAcquisitionUpdate -> ClientT m (Response ByteString)
- update_account_acquisitionWithConfigurationRaw :: forall m. MonadHTTP m => Configuration -> AccountAcquisitionUpdate -> m (Response ByteString)
Documentation
update_account_acquisition Source #
:: forall m. MonadHTTP m | |
=> AccountAcquisitionUpdate | The request body to send |
-> ClientT m (Response Update_account_acquisitionResponse) | Monadic computation which returns the result of the operation |
PUT /accounts/{account_id}/acquisition
Update an account's acquisition data
data Update_account_acquisitionResponse Source #
Represents a response of the operation update_account_acquisition
.
The response constructor is chosen by the status code of the response. If no case matches (no specific case for the response code, no range case, no default case), Update_account_acquisitionResponseError
is used.
Update_account_acquisitionResponseError String | Means either no matching case available or a parse error |
Update_account_acquisitionResponse200 AccountAcquisition | An account's updated acquisition data. |
Update_account_acquisitionResponse400 Error | Bad request; perhaps missing or invalid parameters. |
Update_account_acquisitionResponse404 Error | Incorrect site or account ID. |
Update_account_acquisitionResponse422 Error | A validation error. |
update_account_acquisitionWithConfiguration Source #
:: forall m. MonadHTTP m | |
=> Configuration | The configuration to use in the request |
-> AccountAcquisitionUpdate | The request body to send |
-> m (Response Update_account_acquisitionResponse) | Monadic computation which returns the result of the operation |
PUT /accounts/{account_id}/acquisition
The same as update_account_acquisition
but accepts an explicit configuration.
update_account_acquisitionRaw Source #
:: forall m. MonadHTTP m | |
=> AccountAcquisitionUpdate | The request body to send |
-> ClientT m (Response ByteString) | Monadic computation which returns the result of the operation |
PUT /accounts/{account_id}/acquisition
The same as update_account_acquisition
but returns the raw ByteString
.
update_account_acquisitionWithConfigurationRaw Source #
:: forall m. MonadHTTP m | |
=> Configuration | The configuration to use in the request |
-> AccountAcquisitionUpdate | The request body to send |
-> m (Response ByteString) | Monadic computation which returns the result of the operation |
PUT /accounts/{account_id}/acquisition
The same as update_account_acquisition
but accepts an explicit configuration and returns the raw ByteString
.