GET api/BalanceHistories/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
BalanceHistoryViewModel| Name | Description | Type | Additional 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-12-13T18:31:28.1520843+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:
<BalanceHistoryViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TripPlannerAPI.Models.DTO"> <CashFlowType>sample string 3</CashFlowType> <CompanyCode>sample string 9</CompanyCode> <CompanyId>7</CompanyId> <CurrencyId>sample string 6</CurrencyId> <DateTime>2025-12-13T18:31:28.1520843+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>