PUT api/bankrec/{bankRecId}/bookadjustment

Update list of Book Adjustments

Request Information

URI Parameters

NameDescriptionTypeAdditional information
bankRecId

bank Rec Id

integer

Required

Body Parameters

The list of book adj

Collection of BookAdjustmentViewModel
NameDescriptionTypeAdditional information
Id

integer

None.

BankReconciliationId

integer

None.

CreatedOn

date

None.

EntityNumber

string

None.

IsDeleted

boolean

None.

JournalEntryId

integer

None.

AdjustmentLines

Collection of BookAdjustmentLineViewModel

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "id": 1,
    "bankReconciliationId": 2,
    "createdOn": "2024-10-14T08:23:31.9246916-04:00",
    "entityNumber": "sample string 4",
    "isDeleted": true,
    "journalEntryId": 6,
    "adjustmentLines": [
      {
        "id": 1,
        "entityId": 2,
        "description": "sample string 3",
        "glAccountNumber": "sample string 4",
        "subAccountName": "sample string 5",
        "creditAmount": 1.0,
        "debitAmount": 1.0,
        "fundId": 1
      },
      {
        "id": 1,
        "entityId": 2,
        "description": "sample string 3",
        "glAccountNumber": "sample string 4",
        "subAccountName": "sample string 5",
        "creditAmount": 1.0,
        "debitAmount": 1.0,
        "fundId": 1
      }
    ]
  },
  {
    "id": 1,
    "bankReconciliationId": 2,
    "createdOn": "2024-10-14T08:23:31.9246916-04:00",
    "entityNumber": "sample string 4",
    "isDeleted": true,
    "journalEntryId": 6,
    "adjustmentLines": [
      {
        "id": 1,
        "entityId": 2,
        "description": "sample string 3",
        "glAccountNumber": "sample string 4",
        "subAccountName": "sample string 5",
        "creditAmount": 1.0,
        "debitAmount": 1.0,
        "fundId": 1
      },
      {
        "id": 1,
        "entityId": 2,
        "description": "sample string 3",
        "glAccountNumber": "sample string 4",
        "subAccountName": "sample string 5",
        "creditAmount": 1.0,
        "debitAmount": 1.0,
        "fundId": 1
      }
    ]
  }
]

application/xml, text/xml

Sample:
<ArrayOfBookAdjustmentViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CamAcctApi.ViewModels">
  <BookAdjustmentViewModel>
    <AdjustmentLines>
      <BookAdjustmentLineViewModel>
        <CreditAmount>1</CreditAmount>
        <DebitAmount>1</DebitAmount>
        <Description>sample string 3</Description>
        <EntityId>2</EntityId>
        <FundId>1</FundId>
        <GlAccountNumber>sample string 4</GlAccountNumber>
        <Id>1</Id>
        <SubAccountName>sample string 5</SubAccountName>
      </BookAdjustmentLineViewModel>
      <BookAdjustmentLineViewModel>
        <CreditAmount>1</CreditAmount>
        <DebitAmount>1</DebitAmount>
        <Description>sample string 3</Description>
        <EntityId>2</EntityId>
        <FundId>1</FundId>
        <GlAccountNumber>sample string 4</GlAccountNumber>
        <Id>1</Id>
        <SubAccountName>sample string 5</SubAccountName>
      </BookAdjustmentLineViewModel>
    </AdjustmentLines>
    <BankReconciliationId>2</BankReconciliationId>
    <CreatedOn>2024-10-14T08:23:31.9246916-04:00</CreatedOn>
    <EntityNumber>sample string 4</EntityNumber>
    <Id>1</Id>
    <IsDeleted>true</IsDeleted>
    <JournalEntryId>6</JournalEntryId>
  </BookAdjustmentViewModel>
  <BookAdjustmentViewModel>
    <AdjustmentLines>
      <BookAdjustmentLineViewModel>
        <CreditAmount>1</CreditAmount>
        <DebitAmount>1</DebitAmount>
        <Description>sample string 3</Description>
        <EntityId>2</EntityId>
        <FundId>1</FundId>
        <GlAccountNumber>sample string 4</GlAccountNumber>
        <Id>1</Id>
        <SubAccountName>sample string 5</SubAccountName>
      </BookAdjustmentLineViewModel>
      <BookAdjustmentLineViewModel>
        <CreditAmount>1</CreditAmount>
        <DebitAmount>1</DebitAmount>
        <Description>sample string 3</Description>
        <EntityId>2</EntityId>
        <FundId>1</FundId>
        <GlAccountNumber>sample string 4</GlAccountNumber>
        <Id>1</Id>
        <SubAccountName>sample string 5</SubAccountName>
      </BookAdjustmentLineViewModel>
    </AdjustmentLines>
    <BankReconciliationId>2</BankReconciliationId>
    <CreatedOn>2024-10-14T08:23:31.9246916-04:00</CreatedOn>
    <EntityNumber>sample string 4</EntityNumber>
    <Id>1</Id>
    <IsDeleted>true</IsDeleted>
    <JournalEntryId>6</JournalEntryId>
  </BookAdjustmentViewModel>
</ArrayOfBookAdjustmentViewModel>

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 'IList`1'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.