recurly-client-0.1.0.0: Client for Recurly subscription management
Safe HaskellSafe-Inferred
LanguageHaskell2010

RecurlyClient.Operations.Put_dunning_campaign_bulk_update

Description

Contains the different functions to run the operation put_dunning_campaign_bulk_update

Synopsis

Documentation

put_dunning_campaign_bulk_update Source #

Arguments

:: forall m. MonadHTTP m 
=> Maybe DunningCampaignsBulkUpdate

The request body to send

-> ClientT m (Response Put_dunning_campaign_bulk_updateResponse)

Monadic computation which returns the result of the operation

PUT /dunning_campaigns/{dunning_campaign_id}/bulk_update

Assign a dunning campaign to multiple plans

data Put_dunning_campaign_bulk_updateResponse Source #

Represents a response of the operation put_dunning_campaign_bulk_update.

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), Put_dunning_campaign_bulk_updateResponseError is used.

Constructors

Put_dunning_campaign_bulk_updateResponseError String

Means either no matching case available or a parse error

Put_dunning_campaign_bulk_updateResponse200 DunningCampaignsBulkUpdateResponse

A list of updated plans.

Put_dunning_campaign_bulk_updateResponse400 Error

Bad request; perhaps missing or invalid parameters.

Put_dunning_campaign_bulk_updateResponse404 Error

Incorrect site or campaign ID.

Put_dunning_campaign_bulk_updateResponseDefault Error

Unexpected error.

put_dunning_campaign_bulk_updateWithConfiguration Source #

Arguments

:: forall m. MonadHTTP m 
=> Configuration

The configuration to use in the request

-> Maybe DunningCampaignsBulkUpdate

The request body to send

-> m (Response Put_dunning_campaign_bulk_updateResponse)

Monadic computation which returns the result of the operation

PUT /dunning_campaigns/{dunning_campaign_id}/bulk_update

The same as put_dunning_campaign_bulk_update but accepts an explicit configuration.

put_dunning_campaign_bulk_updateRaw Source #

Arguments

:: forall m. MonadHTTP m 
=> Maybe DunningCampaignsBulkUpdate

The request body to send

-> ClientT m (Response ByteString)

Monadic computation which returns the result of the operation

PUT /dunning_campaigns/{dunning_campaign_id}/bulk_update

The same as put_dunning_campaign_bulk_update but returns the raw ByteString.

put_dunning_campaign_bulk_updateWithConfigurationRaw Source #

Arguments

:: forall m. MonadHTTP m 
=> Configuration

The configuration to use in the request

-> Maybe DunningCampaignsBulkUpdate

The request body to send

-> m (Response ByteString)

Monadic computation which returns the result of the operation

PUT /dunning_campaigns/{dunning_campaign_id}/bulk_update

The same as put_dunning_campaign_bulk_update but accepts an explicit configuration and returns the raw ByteString.