Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation getAccountsAccountPersonsPerson
Synopsis
- getAccountsAccountPersonsPerson :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> Maybe String -> String -> GetAccountsAccountPersonsPersonRequestBody -> m (Either HttpException (Response GetAccountsAccountPersonsPersonResponse))
- getAccountsAccountPersonsPersonRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> Maybe String -> String -> GetAccountsAccountPersonsPersonRequestBody -> m (Either HttpException (Response ByteString))
- getAccountsAccountPersonsPersonM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> Maybe String -> String -> GetAccountsAccountPersonsPersonRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response GetAccountsAccountPersonsPersonResponse))
- getAccountsAccountPersonsPersonRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> Maybe String -> String -> GetAccountsAccountPersonsPersonRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString))
- data GetAccountsAccountPersonsPersonRequestBody = GetAccountsAccountPersonsPersonRequestBody {
- data GetAccountsAccountPersonsPersonResponse
Documentation
getAccountsAccountPersonsPerson Source #
:: (MonadHTTP m, SecurityScheme s) | |
=> Configuration s | The configuration to use in the request |
-> String | account | Constraints: Maximum length of 5000 |
-> Maybe String | expand: Specifies which fields in the response should be expanded. |
-> String | person | Constraints: Maximum length of 5000 |
-> GetAccountsAccountPersonsPersonRequestBody | The request body to send |
-> m (Either HttpException (Response GetAccountsAccountPersonsPersonResponse)) | Monad containing the result of the operation |
GET /v1/accounts/{account}/persons/{person}
<p>Retrieves an existing person.</p>
getAccountsAccountPersonsPersonRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> Maybe String -> String -> GetAccountsAccountPersonsPersonRequestBody -> m (Either HttpException (Response ByteString)) Source #
GET /v1/accounts/{account}/persons/{person}
The same as getAccountsAccountPersonsPerson
but returns the raw ByteString
getAccountsAccountPersonsPersonM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> Maybe String -> String -> GetAccountsAccountPersonsPersonRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response GetAccountsAccountPersonsPersonResponse)) Source #
GET /v1/accounts/{account}/persons/{person}
Monadic version of getAccountsAccountPersonsPerson
(use with runWithConfiguration
)
getAccountsAccountPersonsPersonRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> Maybe String -> String -> GetAccountsAccountPersonsPersonRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString)) Source #
GET /v1/accounts/{account}/persons/{person}
Monadic version of getAccountsAccountPersonsPersonRaw
(use with runWithConfiguration
)
data GetAccountsAccountPersonsPersonRequestBody Source #
Defines the data type for the schema getAccountsAccountPersonsPersonRequestBody
Instances
data GetAccountsAccountPersonsPersonResponse Source #
Represents a response of the operation getAccountsAccountPersonsPerson
.
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), GetAccountsAccountPersonsPersonResponseError
is used.
GetAccountsAccountPersonsPersonResponseError String | Means either no matching case available or a parse error |
GetAccountsAccountPersonsPersonResponse200 Person | Successful response. |
GetAccountsAccountPersonsPersonResponseDefault Error | Error response. |