POST api/recurringTransactions/group/creditIncrease

Performs a group increase on a credit.

Request Information

URI Parameters

None.

Body Parameters

Parameters to excecute a recurring credit group increase

CreditGroupIncreaseParamsViewModel
NameDescriptionTypeAdditional information
RecurringCreditId

[Required] Recurring credit id

integer

Range: inclusive between 1 and 2147483647

EffectiveDate

[Required] Effective date

date

Required

NewEndDate

[Required] End date for new recurring credit

date

Required

AdjustedCodeId

[Required] Adjusted code id

integer

Range: inclusive between 1 and 2147483647

Amount

[Required] Amount

decimal number

Matching regular expression pattern: ^\d+.\d{0,2}$

UserId

[Required] User id

integer

Range: inclusive between 1 and 2147483647

Request Formats

application/json, text/json

Sample:
{
  "recurringCreditId": 1,
  "effectiveDate": "2024-10-14T08:24:30.81775-04:00",
  "newEndDate": "2024-10-14T08:24:30.81775-04:00",
  "adjustedCodeId": 2,
  "amount": 3.0,
  "userId": 4
}

application/xml, text/xml

Sample:
<CreditGroupIncreaseParamsViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CamAcctApi.ViewModels.RecurringTransactions">
  <AdjustedCodeId>2</AdjustedCodeId>
  <Amount>3</Amount>
  <EffectiveDate>2024-10-14T08:24:30.81775-04:00</EffectiveDate>
  <NewEndDate>2024-10-14T08:24:30.81775-04:00</NewEndDate>
  <RecurringCreditId>1</RecurringCreditId>
  <UserId>4</UserId>
</CreditGroupIncreaseParamsViewModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'CreditGroupIncreaseParamsViewModel'.

Response Information

Resource Description

RecurringTransactionViewModel
NameDescriptionTypeAdditional information
Id

Id of the Recurring Charge/Credit, it will default to 0 for new Transaction.

integer

None.

BuildingId

Building Id

integer

None.

ChargeCodeId

Charge Code Id

integer

None.

UnitId

Unit Id. It will default to 0 for ApplyTo is All\UnitType

integer

None.

UnitType

Unit Type Id. It will default to 0 for ApplyTo is All\Shares\Unit

integer

None.

ChargeCodeAdjustedCodeId

Adjusted Code Id

integer

None.

OverrideDueDay

Override Due Day. Valid values are betwee 1 and 31.

integer

None.

StartDate

Date the Recurring Transaction begins.

date

None.

EndDate

Date the Recurring Transaction ends.

date

None.

Rate

Rate. Use when ApplyTo is Shares. Will be 0.00M when ApplyTo is not Shares

decimal number

None.

Amount

Amount. Use when ApplyTo is not Shares. Will be 0.00M when ApplyTo is Shares.

decimal number

None.

Type

Type of the Recurring Transaction. Possible values are 'Credit' or 'Charge'

RecurringTransactionType

None.

GroupId

Group Id. Used to handle Group Increase action. Will be initially set to the Id of the Recurring Transaction.

integer

None.

Status

Status. Used to handle Group Increase action. Will be initially set to Created.

integer

None.

ApplyToId

Id of Apply To configuration.

integer

None.

CreatedOn

Date the recurring transaction was created. Defaults to system date and time at the time of creation.

date

None.

CreatedBy

Id of User who created the recurring transaction

integer

None.

ModifiedBy

Id of User who last modified the recurring transaction. Initial value is null

integer

None.

ModifiedOn

Date the recurring transaction was last modified. Initial value is null

date

None.

EditDates

Indicates whether dates can be updated for this recurring transaction.

boolean

None.

NumberOfShares

If ApplyTo = Shares this will be populated with the Number Of Shares of the unit.

decimal number

None.

Response Formats

application/json, text/json

Sample:
{
  "id": 1,
  "buildingId": 2,
  "chargeCodeId": 3,
  "unitId": 4,
  "unitType": 5,
  "chargeCodeAdjustedCodeId": 6,
  "overrideDueDay": 7,
  "startDate": "2024-10-14T08:24:30.81775-04:00",
  "endDate": "2024-10-14T08:24:30.81775-04:00",
  "rate": 10.0,
  "amount": 11.0,
  "type": 0,
  "groupId": 12,
  "status": 13,
  "applyToId": 14,
  "createdOn": "2024-10-14T08:24:30.81775-04:00",
  "createdBy": 1,
  "modifiedBy": 1,
  "modifiedOn": "2024-10-14T08:24:30.81775-04:00",
  "editDates": true,
  "numberOfShares": 1.0
}

application/xml, text/xml

Sample:
<RecurringTransactionViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CamAcctApi.ViewModels.RecurringTransactions">
  <Amount>11</Amount>
  <ApplyToId>14</ApplyToId>
  <BuildingId>2</BuildingId>
  <ChargeCodeAdjustedCodeId>6</ChargeCodeAdjustedCodeId>
  <ChargeCodeId>3</ChargeCodeId>
  <CreatedBy>1</CreatedBy>
  <CreatedOn>2024-10-14T08:24:30.81775-04:00</CreatedOn>
  <EditDates>true</EditDates>
  <EndDate>2024-10-14T08:24:30.81775-04:00</EndDate>
  <GroupId>12</GroupId>
  <Id>1</Id>
  <ModifiedBy>1</ModifiedBy>
  <ModifiedOn>2024-10-14T08:24:30.81775-04:00</ModifiedOn>
  <NumberOfShares>1</NumberOfShares>
  <OverrideDueDay>7</OverrideDueDay>
  <Rate>10</Rate>
  <StartDate>2024-10-14T08:24:30.81775-04:00</StartDate>
  <Status>13</Status>
  <Type>Charge</Type>
  <UnitId>4</UnitId>
  <UnitType>5</UnitType>
</RecurringTransactionViewModel>