GET api/SpendwiseCategory

Gets all Spendwise Category Details.

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

A list of Spendwise Category and Details

Collection of SpendwiseCategory
NameDescriptionTypeAdditional information
Id

The unique identifier of the expense category.

integer

None.

Name

The name of the expense category.

string

None.

TotalExpenses

The total expenses associated with the category.

decimal number

None.

ImageURL

The image associated with the category.

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "Name": "sample string 2",
    "TotalExpenses": 3.0,
    "ImageURL": "sample string 4"
  },
  {
    "Id": 1,
    "Name": "sample string 2",
    "TotalExpenses": 3.0,
    "ImageURL": "sample string 4"
  }
]

application/xml, text/xml

Sample:
<ArrayOfSpendwiseCategory xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OTJServices.Models">
  <SpendwiseCategory>
    <Id>1</Id>
    <ImageURL>sample string 4</ImageURL>
    <Name>sample string 2</Name>
    <TotalExpenses>3</TotalExpenses>
  </SpendwiseCategory>
  <SpendwiseCategory>
    <Id>1</Id>
    <ImageURL>sample string 4</ImageURL>
    <Name>sample string 2</Name>
    <TotalExpenses>3</TotalExpenses>
  </SpendwiseCategory>
</ArrayOfSpendwiseCategory>