GET api/Budgets/{Id}/Transactions

Request Information

URI Parameters

NameDescriptionTypeAdditional information
Id

integer

Required

Body Parameters

None.

Response Information

Resource Description

DTOTransaction
NameDescriptionTypeAdditional information
Id

integer

None.

BudgetId

integer

None.

UserId

integer

None.

ClientId

integer

None.

TransactionType

string

None.

TransactionDate

date

None.

TransactionDescription

string

None.

TransactionAmount

decimal number

None.

DocumentId

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "BudgetId": 2,
  "UserId": 3,
  "ClientId": 4,
  "TransactionType": "sample string 5",
  "TransactionDate": "2017-02-26T17:06:52.2246893+00:00",
  "TransactionDescription": "sample string 7",
  "TransactionAmount": 8.0,
  "DocumentId": 1
}

application/xml, text/xml

Sample:
<Transaction xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Gecko.BudgetsService.DataTransferObjects">
  <BudgetId>2</BudgetId>
  <ClientId>4</ClientId>
  <DocumentId>1</DocumentId>
  <Id>1</Id>
  <TransactionAmount>8</TransactionAmount>
  <TransactionDate>2017-02-26T17:06:52.2246893+00:00</TransactionDate>
  <TransactionDescription>sample string 7</TransactionDescription>
  <TransactionType>sample string 5</TransactionType>
  <UserId>3</UserId>
</Transaction>