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