Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation getInvoiceitemsInvoiceitem
Synopsis
- getInvoiceitemsInvoiceitem :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> Maybe String -> String -> GetInvoiceitemsInvoiceitemRequestBody -> m (Either HttpException (Response GetInvoiceitemsInvoiceitemResponse))
- getInvoiceitemsInvoiceitemRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> Maybe String -> String -> GetInvoiceitemsInvoiceitemRequestBody -> m (Either HttpException (Response ByteString))
- getInvoiceitemsInvoiceitemM :: forall m s. (MonadHTTP m, SecurityScheme s) => Maybe String -> String -> GetInvoiceitemsInvoiceitemRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response GetInvoiceitemsInvoiceitemResponse))
- getInvoiceitemsInvoiceitemRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => Maybe String -> String -> GetInvoiceitemsInvoiceitemRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString))
- data GetInvoiceitemsInvoiceitemRequestBody = GetInvoiceitemsInvoiceitemRequestBody {
- data GetInvoiceitemsInvoiceitemResponse
Documentation
getInvoiceitemsInvoiceitem Source #
:: (MonadHTTP m, SecurityScheme s) | |
=> Configuration s | The configuration to use in the request |
-> Maybe String | expand: Specifies which fields in the response should be expanded. |
-> String | invoiceitem | Constraints: Maximum length of 5000 |
-> GetInvoiceitemsInvoiceitemRequestBody | The request body to send |
-> m (Either HttpException (Response GetInvoiceitemsInvoiceitemResponse)) | Monad containing the result of the operation |
GET /v1/invoiceitems/{invoiceitem}
<p>Retrieves the invoice item with the given ID.</p>
getInvoiceitemsInvoiceitemRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> Maybe String -> String -> GetInvoiceitemsInvoiceitemRequestBody -> m (Either HttpException (Response ByteString)) Source #
GET /v1/invoiceitems/{invoiceitem}
The same as getInvoiceitemsInvoiceitem
but returns the raw ByteString
getInvoiceitemsInvoiceitemM :: forall m s. (MonadHTTP m, SecurityScheme s) => Maybe String -> String -> GetInvoiceitemsInvoiceitemRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response GetInvoiceitemsInvoiceitemResponse)) Source #
GET /v1/invoiceitems/{invoiceitem}
Monadic version of getInvoiceitemsInvoiceitem
(use with runWithConfiguration
)
getInvoiceitemsInvoiceitemRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => Maybe String -> String -> GetInvoiceitemsInvoiceitemRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString)) Source #
GET /v1/invoiceitems/{invoiceitem}
Monadic version of getInvoiceitemsInvoiceitemRaw
(use with runWithConfiguration
)
data GetInvoiceitemsInvoiceitemRequestBody Source #
Defines the data type for the schema getInvoiceitemsInvoiceitemRequestBody
data GetInvoiceitemsInvoiceitemResponse Source #
Represents a response of the operation getInvoiceitemsInvoiceitem
.
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), GetInvoiceitemsInvoiceitemResponseError
is used.
GetInvoiceitemsInvoiceitemResponseError String | Means either no matching case available or a parse error |
GetInvoiceitemsInvoiceitemResponse200 Invoiceitem | Successful response. |
GetInvoiceitemsInvoiceitemResponseDefault Error | Error response. |