GET api/ExpenseCategory/{id}?type={type}

Gets a list of expense category.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

Organization Id.

integer

Required

type

List Type.

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of ExpenseCategory
NameDescriptionTypeAdditional information
UpdateType

string

None.

ExpenseCategoryId

integer

None.

Category

string

None.

ExpenseCount

integer

None.

UpdatedDate

date

None.

UpdatedBy

string

None.

UpdatedByName

string

None.

GlobalId

string

None.

OrganizationId

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "UpdateType": "sample string 1",
    "ExpenseCategoryId": 2,
    "Category": "sample string 3",
    "ExpenseCount": 1,
    "UpdatedDate": "2025-01-16T03:32:16.9104962+00:00",
    "UpdatedBy": "sample string 4",
    "UpdatedByName": "sample string 5",
    "GlobalId": "sample string 6",
    "OrganizationId": 1
  },
  {
    "UpdateType": "sample string 1",
    "ExpenseCategoryId": 2,
    "Category": "sample string 3",
    "ExpenseCount": 1,
    "UpdatedDate": "2025-01-16T03:32:16.9104962+00:00",
    "UpdatedBy": "sample string 4",
    "UpdatedByName": "sample string 5",
    "GlobalId": "sample string 6",
    "OrganizationId": 1
  }
]

application/xml, text/xml

Sample:
<ArrayOfExpenseCategory xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CustomersdbWebShared.Models">
  <ExpenseCategory>
    <Category>sample string 3</Category>
    <ExpenseCategoryId>2</ExpenseCategoryId>
    <ExpenseCount>1</ExpenseCount>
    <GlobalId>sample string 6</GlobalId>
    <OrganizationId>1</OrganizationId>
    <UpdateType>sample string 1</UpdateType>
    <UpdatedBy>sample string 4</UpdatedBy>
    <UpdatedByName>sample string 5</UpdatedByName>
    <UpdatedDate>2025-01-16T03:32:16.9104962+00:00</UpdatedDate>
  </ExpenseCategory>
  <ExpenseCategory>
    <Category>sample string 3</Category>
    <ExpenseCategoryId>2</ExpenseCategoryId>
    <ExpenseCount>1</ExpenseCount>
    <GlobalId>sample string 6</GlobalId>
    <OrganizationId>1</OrganizationId>
    <UpdateType>sample string 1</UpdateType>
    <UpdatedBy>sample string 4</UpdatedBy>
    <UpdatedByName>sample string 5</UpdatedByName>
    <UpdatedDate>2025-01-16T03:32:16.9104962+00:00</UpdatedDate>
  </ExpenseCategory>
</ArrayOfExpenseCategory>