GET api/BalanceHistories/BalanceHistory?companyCode={companyCode}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
companyCode

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of BalanceHistoryViewModel
NameDescriptionTypeAdditional information
DateTime

date

None.

Value

decimal number

None.

CashFlowType

string

None.

Description

string

None.

ExchangeRateId

integer

None.

CurrencyId

string

None.

CompanyId

integer

None.

Id

integer

None.

CompanyCode

string

None.

Reference

string

None.

PaymentMethod

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "DateTime": "2025-06-26T14:02:01.4452692+00:00",
    "Value": 2.0,
    "CashFlowType": "sample string 3",
    "Description": "sample string 4",
    "ExchangeRateId": 5,
    "CurrencyId": "sample string 6",
    "CompanyId": 7,
    "Id": 8,
    "CompanyCode": "sample string 9",
    "Reference": "sample string 10",
    "PaymentMethod": "sample string 11"
  },
  {
    "DateTime": "2025-06-26T14:02:01.4452692+00:00",
    "Value": 2.0,
    "CashFlowType": "sample string 3",
    "Description": "sample string 4",
    "ExchangeRateId": 5,
    "CurrencyId": "sample string 6",
    "CompanyId": 7,
    "Id": 8,
    "CompanyCode": "sample string 9",
    "Reference": "sample string 10",
    "PaymentMethod": "sample string 11"
  }
]

application/xml, text/xml

Sample:
<ArrayOfBalanceHistoryViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TripPlannerAPI.Models.DTO">
  <BalanceHistoryViewModel>
    <CashFlowType>sample string 3</CashFlowType>
    <CompanyCode>sample string 9</CompanyCode>
    <CompanyId>7</CompanyId>
    <CurrencyId>sample string 6</CurrencyId>
    <DateTime>2025-06-26T14:02:01.4452692+00:00</DateTime>
    <Description>sample string 4</Description>
    <ExchangeRateId>5</ExchangeRateId>
    <Id>8</Id>
    <PaymentMethod>sample string 11</PaymentMethod>
    <Reference>sample string 10</Reference>
    <Value>2</Value>
  </BalanceHistoryViewModel>
  <BalanceHistoryViewModel>
    <CashFlowType>sample string 3</CashFlowType>
    <CompanyCode>sample string 9</CompanyCode>
    <CompanyId>7</CompanyId>
    <CurrencyId>sample string 6</CurrencyId>
    <DateTime>2025-06-26T14:02:01.4452692+00:00</DateTime>
    <Description>sample string 4</Description>
    <ExchangeRateId>5</ExchangeRateId>
    <Id>8</Id>
    <PaymentMethod>sample string 11</PaymentMethod>
    <Reference>sample string 10</Reference>
    <Value>2</Value>
  </BalanceHistoryViewModel>
</ArrayOfBalanceHistoryViewModel>