GET api/Transactions

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of 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-05-24T14:38:50.442437+01:00",
    "TransactionDescription": "sample string 7",
    "TransactionAmount": 8.0,
    "DocumentId": 1
  },
  {
    "Id": 1,
    "BudgetId": 2,
    "UserId": 3,
    "ClientId": 4,
    "TransactionType": "sample string 5",
    "TransactionDate": "2017-05-24T14:38:50.442437+01:00",
    "TransactionDescription": "sample string 7",
    "TransactionAmount": 8.0,
    "DocumentId": 1
  }
]

application/xml, text/xml

Sample:
<ArrayOfTransaction xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Gecko.BudgetsService.DataTransferObjects">
  <Transaction>
    <BudgetId>2</BudgetId>
    <ClientId>4</ClientId>
    <DocumentId>1</DocumentId>
    <Id>1</Id>
    <TransactionAmount>8</TransactionAmount>
    <TransactionDate>2017-05-24T14:38:50.442437+01:00</TransactionDate>
    <TransactionDescription>sample string 7</TransactionDescription>
    <TransactionType>sample string 5</TransactionType>
    <UserId>3</UserId>
  </Transaction>
  <Transaction>
    <BudgetId>2</BudgetId>
    <ClientId>4</ClientId>
    <DocumentId>1</DocumentId>
    <Id>1</Id>
    <TransactionAmount>8</TransactionAmount>
    <TransactionDate>2017-05-24T14:38:50.442437+01:00</TransactionDate>
    <TransactionDescription>sample string 7</TransactionDescription>
    <TransactionType>sample string 5</TransactionType>
    <UserId>3</UserId>
  </Transaction>
</ArrayOfTransaction>