Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation getAccountsAccountPeoplePerson
Synopsis
- getAccountsAccountPeoplePerson :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> Maybe String -> String -> GetAccountsAccountPeoplePersonRequestBody -> m (Either HttpException (Response GetAccountsAccountPeoplePersonResponse))
- getAccountsAccountPeoplePersonRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> Maybe String -> String -> GetAccountsAccountPeoplePersonRequestBody -> m (Either HttpException (Response ByteString))
- getAccountsAccountPeoplePersonM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> Maybe String -> String -> GetAccountsAccountPeoplePersonRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response GetAccountsAccountPeoplePersonResponse))
- getAccountsAccountPeoplePersonRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> Maybe String -> String -> GetAccountsAccountPeoplePersonRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString))
- data GetAccountsAccountPeoplePersonRequestBody = GetAccountsAccountPeoplePersonRequestBody {
- data GetAccountsAccountPeoplePersonResponse
Documentation
getAccountsAccountPeoplePerson 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 |
-> GetAccountsAccountPeoplePersonRequestBody | The request body to send |
-> m (Either HttpException (Response GetAccountsAccountPeoplePersonResponse)) | Monad containing the result of the operation |
GET /v1/accounts/{account}/people/{person}
<p>Retrieves an existing person.</p>
getAccountsAccountPeoplePersonRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> Maybe String -> String -> GetAccountsAccountPeoplePersonRequestBody -> m (Either HttpException (Response ByteString)) Source #
GET /v1/accounts/{account}/people/{person}
The same as getAccountsAccountPeoplePerson
but returns the raw ByteString
getAccountsAccountPeoplePersonM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> Maybe String -> String -> GetAccountsAccountPeoplePersonRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response GetAccountsAccountPeoplePersonResponse)) Source #
GET /v1/accounts/{account}/people/{person}
Monadic version of getAccountsAccountPeoplePerson
(use with runWithConfiguration
)
getAccountsAccountPeoplePersonRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> Maybe String -> String -> GetAccountsAccountPeoplePersonRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString)) Source #
GET /v1/accounts/{account}/people/{person}
Monadic version of getAccountsAccountPeoplePersonRaw
(use with runWithConfiguration
)
data GetAccountsAccountPeoplePersonRequestBody Source #
Defines the data type for the schema getAccountsAccountPeoplePersonRequestBody
Instances
data GetAccountsAccountPeoplePersonResponse Source #
Represents a response of the operation getAccountsAccountPeoplePerson
.
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), GetAccountsAccountPeoplePersonResponseError
is used.
GetAccountsAccountPeoplePersonResponseError String | Means either no matching case available or a parse error |
GetAccountsAccountPeoplePersonResponse200 Person | Successful response. |
GetAccountsAccountPeoplePersonResponseDefault Error | Error response. |