GET api/Spendwise

Gets all Spendwise Details.

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

A list of Spendwise and Details

Collection of Spendwise
NameDescriptionTypeAdditional information
Id

The unique identifier of the Spend.

integer

None.

Description

The description of the Spend.

string

None.

Amount

The amount of the Spend.

decimal number

None.

Date

The date of the Spend.

date

None.

CategoryID

The category of the Spend.

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "Description": "sample string 2",
    "Amount": 3.0,
    "Date": "2025-04-29T15:30:25.1512731+00:00",
    "CategoryID": 5
  },
  {
    "Id": 1,
    "Description": "sample string 2",
    "Amount": 3.0,
    "Date": "2025-04-29T15:30:25.1512731+00:00",
    "CategoryID": 5
  }
]

application/xml, text/xml

Sample:
<ArrayOfSpendwise xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OTJServices.Models">
  <Spendwise>
    <Amount>3</Amount>
    <CategoryID>5</CategoryID>
    <Date>2025-04-29T15:30:25.1512731+00:00</Date>
    <Description>sample string 2</Description>
    <Id>1</Id>
  </Spendwise>
  <Spendwise>
    <Amount>3</Amount>
    <CategoryID>5</CategoryID>
    <Date>2025-04-29T15:30:25.1512731+00:00</Date>
    <Description>sample string 2</Description>
    <Id>1</Id>
  </Spendwise>
</ArrayOfSpendwise>