| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
RecurlyClient.Operations.Create_general_ledger_account
Description
Contains the different functions to run the operation create_general_ledger_account
Synopsis
- create_general_ledger_account :: forall m. MonadHTTP m => GeneralLedgerAccountCreate -> ClientT m (Response Create_general_ledger_accountResponse)
- data Create_general_ledger_accountResponse
- create_general_ledger_accountWithConfiguration :: forall m. MonadHTTP m => Configuration -> GeneralLedgerAccountCreate -> m (Response Create_general_ledger_accountResponse)
- create_general_ledger_accountRaw :: forall m. MonadHTTP m => GeneralLedgerAccountCreate -> ClientT m (Response ByteString)
- create_general_ledger_accountWithConfigurationRaw :: forall m. MonadHTTP m => Configuration -> GeneralLedgerAccountCreate -> m (Response ByteString)
Documentation
create_general_ledger_account Source #
Arguments
| :: forall m. MonadHTTP m | |
| => GeneralLedgerAccountCreate | The request body to send |
| -> ClientT m (Response Create_general_ledger_accountResponse) | Monadic computation which returns the result of the operation |
POST /general_ledger_accounts
Create a new general ledger account
data Create_general_ledger_accountResponse Source #
Represents a response of the operation create_general_ledger_account.
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), Create_general_ledger_accountResponseError is used.
Constructors
| Create_general_ledger_accountResponseError String | Means either no matching case available or a parse error |
| Create_general_ledger_accountResponse201 GeneralLedgerAccount | A new general ledger account. |
| Create_general_ledger_accountResponseDefault Error | Unexpected error. |
Instances
create_general_ledger_accountWithConfiguration Source #
Arguments
| :: forall m. MonadHTTP m | |
| => Configuration | The configuration to use in the request |
| -> GeneralLedgerAccountCreate | The request body to send |
| -> m (Response Create_general_ledger_accountResponse) | Monadic computation which returns the result of the operation |
POST /general_ledger_accounts
The same as create_general_ledger_account but accepts an explicit configuration.
create_general_ledger_accountRaw Source #
Arguments
| :: forall m. MonadHTTP m | |
| => GeneralLedgerAccountCreate | The request body to send |
| -> ClientT m (Response ByteString) | Monadic computation which returns the result of the operation |
POST /general_ledger_accounts
The same as create_general_ledger_account but returns the raw ByteString.
create_general_ledger_accountWithConfigurationRaw Source #
Arguments
| :: forall m. MonadHTTP m | |
| => Configuration | The configuration to use in the request |
| -> GeneralLedgerAccountCreate | The request body to send |
| -> m (Response ByteString) | Monadic computation which returns the result of the operation |
POST /general_ledger_accounts
The same as create_general_ledger_account but accepts an explicit configuration and returns the raw ByteString.