POST api/superentities/{superEntityId}/fundaccounting

Return FundAccoutning information related to super entity id and transaction date

Request Information

URI Parameters

NameDescriptionTypeAdditional information
superEntityId

integer

Required

Body Parameters

FundAccountingParametersViewModel
NameDescriptionTypeAdditional information
TransactionWithFundOperationType

integer

None.

TransactionDate

date

None.

TransactionId

integer

None.

EntityId

integer

None.

DateRange

DateRange

None.

Request Formats

application/json, text/json

Sample:
{
  "transactionWithFundOperationType": 1,
  "transactionDate": "2024-10-14T08:19:22.3364473-04:00",
  "transactionId": 1,
  "entityId": 1,
  "dateRange": {
    "startDate": "2024-10-14T08:19:22.3364473-04:00",
    "endDate": "2024-10-14T08:19:22.3364473-04:00"
  }
}

application/xml, text/xml

Sample:
<FundAccountingParametersViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CamAcctApi.ViewModels">
  <DateRange xmlns:d2p1="http://schemas.datacontract.org/2004/07/CamAcctApi.Core.Utils">
    <d2p1:EndDate>2024-10-14T08:19:22.3364473-04:00</d2p1:EndDate>
    <d2p1:StartDate>2024-10-14T08:19:22.3364473-04:00</d2p1:StartDate>
  </DateRange>
  <EntityId>1</EntityId>
  <TransactionDate>2024-10-14T08:19:22.3364473-04:00</TransactionDate>
  <TransactionId>1</TransactionId>
  <TransactionWithFundOperationType>1</TransactionWithFundOperationType>
</FundAccountingParametersViewModel>

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

Response Information

Resource Description

SuperEntityFundAccountingViewModel

SuperEntityFundAccountingViewModel
NameDescriptionTypeAdditional information
SuperEntityId

integer

None.

FundActivationStartDate

date

None.

FundActivationEndDate

date

None.

FundActivationStatus

FundActivationStatusEnum

None.

IsFundSelectionRequired

boolean

None.

Funds

Collection of FundViewModel

None.

Response Formats

application/json, text/json

Sample:
{
  "superEntityId": 1,
  "fundActivationStartDate": "2024-10-14T08:19:22.3364473-04:00",
  "fundActivationEndDate": "2024-10-14T08:19:22.3364473-04:00",
  "fundActivationStatus": 1,
  "isFundSelectionRequired": true,
  "funds": [
    {
      "id": 1,
      "name": "sample string 2",
      "code": "sample string 3",
      "effectiveDate": "2024-10-14T08:19:22.3364473-04:00",
      "fundTypeId": 5,
      "superEntityId": 6,
      "retireDate": "2024-10-14T08:19:22.3364473-04:00",
      "closingChartOfAccountId": 7,
      "interFundChartOfAccountId": 8,
      "isDefault": true
    },
    {
      "id": 1,
      "name": "sample string 2",
      "code": "sample string 3",
      "effectiveDate": "2024-10-14T08:19:22.3364473-04:00",
      "fundTypeId": 5,
      "superEntityId": 6,
      "retireDate": "2024-10-14T08:19:22.3364473-04:00",
      "closingChartOfAccountId": 7,
      "interFundChartOfAccountId": 8,
      "isDefault": true
    }
  ]
}

application/xml, text/xml

Sample:
<SuperEntityFundAccountingViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CamAcctApi.ViewModels">
  <FundActivationEndDate>2024-10-14T08:19:22.3364473-04:00</FundActivationEndDate>
  <FundActivationStartDate>2024-10-14T08:19:22.3364473-04:00</FundActivationStartDate>
  <FundActivationStatus>Staged</FundActivationStatus>
  <Funds>
    <FundViewModel>
      <ClosingChartOfAccountId>7</ClosingChartOfAccountId>
      <Code>sample string 3</Code>
      <EffectiveDate>2024-10-14T08:19:22.3364473-04:00</EffectiveDate>
      <FundTypeId>5</FundTypeId>
      <Id>1</Id>
      <InterFundChartOfAccountId>8</InterFundChartOfAccountId>
      <IsDefault>true</IsDefault>
      <Name>sample string 2</Name>
      <RetireDate>2024-10-14T08:19:22.3364473-04:00</RetireDate>
      <SuperEntityId>6</SuperEntityId>
    </FundViewModel>
    <FundViewModel>
      <ClosingChartOfAccountId>7</ClosingChartOfAccountId>
      <Code>sample string 3</Code>
      <EffectiveDate>2024-10-14T08:19:22.3364473-04:00</EffectiveDate>
      <FundTypeId>5</FundTypeId>
      <Id>1</Id>
      <InterFundChartOfAccountId>8</InterFundChartOfAccountId>
      <IsDefault>true</IsDefault>
      <Name>sample string 2</Name>
      <RetireDate>2024-10-14T08:19:22.3364473-04:00</RetireDate>
      <SuperEntityId>6</SuperEntityId>
    </FundViewModel>
  </Funds>
  <IsFundSelectionRequired>true</IsFundSelectionRequired>
  <SuperEntityId>1</SuperEntityId>
</SuperEntityFundAccountingViewModel>