POST api/funds/journalentryinfoforbankcodes

Get journal entry fund information for the given transaction date, super entities, and bank codes

Request Information

URI Parameters

None.

Body Parameters

JeInformationForBankCodesViewModel
NameDescriptionTypeAdditional information
TransactionDate

Transaction (GL) Date

date

Required

BankCodeIds

List of BankCodeIds

Collection of integer

Required

SuperEntityIds

List of SuperEntityIds

Collection of integer

Required

Request Formats

application/json, text/json

Sample:
{
  "transactionDate": "2024-10-13T15:44:24.7945889-04:00",
  "bankCodeIds": [
    1,
    2
  ],
  "superEntityIds": [
    1,
    2
  ]
}

application/xml, text/xml

Sample:
<JeInformationForBankCodesViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CamAcctApi.ViewModels.FundAccounting">
  <BankCodeIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </BankCodeIds>
  <SuperEntityIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </SuperEntityIds>
  <TransactionDate>2024-10-13T15:44:24.7945889-04:00</TransactionDate>
</JeInformationForBankCodesViewModel>

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 'JeInformationForBankCodesViewModel'.

Response Information

Resource Description

Model containing fund information and bank code to fund id linkings by super entity id

Dictionary of integer [key] and BankCodeFundInformation [value]

Response Formats

application/json, text/json

Sample:
{
  "1": {
    "jeFundInfos": [
      {
        "fundId": 1,
        "interFundChartOfAccountId": 2
      },
      {
        "fundId": 1,
        "interFundChartOfAccountId": 2
      }
    ],
    "defaultFundId": 1,
    "bankCodeFundLinks": {
      "1": 2,
      "3": 4
    },
    "isFundAccountingActiveOnTransactionDate": true
  },
  "2": {
    "jeFundInfos": [
      {
        "fundId": 1,
        "interFundChartOfAccountId": 2
      },
      {
        "fundId": 1,
        "interFundChartOfAccountId": 2
      }
    ],
    "defaultFundId": 1,
    "bankCodeFundLinks": {
      "1": 2,
      "3": 4
    },
    "isFundAccountingActiveOnTransactionDate": true
  }
}

application/xml, text/xml

Sample:
<ArrayOfKeyValueOfintBankCodeFundInformationmIUCbFmM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
  <KeyValueOfintBankCodeFundInformationmIUCbFmM>
    <Key>1</Key>
    <Value xmlns:d3p1="http://schemas.datacontract.org/2004/07/CamAcctApi.Core.Models.FundAccounting">
      <d3p1:BankCodeFundLinks>
        <KeyValueOfintint>
          <Key>1</Key>
          <Value>2</Value>
        </KeyValueOfintint>
        <KeyValueOfintint>
          <Key>3</Key>
          <Value>4</Value>
        </KeyValueOfintint>
      </d3p1:BankCodeFundLinks>
      <d3p1:DefaultFundId>1</d3p1:DefaultFundId>
      <d3p1:IsFundAccountingActiveOnTransactionDate>true</d3p1:IsFundAccountingActiveOnTransactionDate>
      <d3p1:JeFundInfos xmlns:d4p1="http://schemas.datacontract.org/2004/07/CamAcctApi.Core.Models.FundAccounting.Fund">
        <d4p1:JeFundInfo>
          <d4p1:FundId>1</d4p1:FundId>
          <d4p1:InterFundChartOfAccountId>2</d4p1:InterFundChartOfAccountId>
        </d4p1:JeFundInfo>
        <d4p1:JeFundInfo>
          <d4p1:FundId>1</d4p1:FundId>
          <d4p1:InterFundChartOfAccountId>2</d4p1:InterFundChartOfAccountId>
        </d4p1:JeFundInfo>
      </d3p1:JeFundInfos>
    </Value>
  </KeyValueOfintBankCodeFundInformationmIUCbFmM>
  <KeyValueOfintBankCodeFundInformationmIUCbFmM>
    <Key>2</Key>
    <Value xmlns:d3p1="http://schemas.datacontract.org/2004/07/CamAcctApi.Core.Models.FundAccounting">
      <d3p1:BankCodeFundLinks>
        <KeyValueOfintint>
          <Key>1</Key>
          <Value>2</Value>
        </KeyValueOfintint>
        <KeyValueOfintint>
          <Key>3</Key>
          <Value>4</Value>
        </KeyValueOfintint>
      </d3p1:BankCodeFundLinks>
      <d3p1:DefaultFundId>1</d3p1:DefaultFundId>
      <d3p1:IsFundAccountingActiveOnTransactionDate>true</d3p1:IsFundAccountingActiveOnTransactionDate>
      <d3p1:JeFundInfos xmlns:d4p1="http://schemas.datacontract.org/2004/07/CamAcctApi.Core.Models.FundAccounting.Fund">
        <d4p1:JeFundInfo>
          <d4p1:FundId>1</d4p1:FundId>
          <d4p1:InterFundChartOfAccountId>2</d4p1:InterFundChartOfAccountId>
        </d4p1:JeFundInfo>
        <d4p1:JeFundInfo>
          <d4p1:FundId>1</d4p1:FundId>
          <d4p1:InterFundChartOfAccountId>2</d4p1:InterFundChartOfAccountId>
        </d4p1:JeFundInfo>
      </d3p1:JeFundInfos>
    </Value>
  </KeyValueOfintBankCodeFundInformationmIUCbFmM>
</ArrayOfKeyValueOfintBankCodeFundInformationmIUCbFmM>