expenseTypes element

Type: expenseTypes
Namespace: http://api.crunch.co.uk/rest
XML Schema: api.xsd

Represents a collection of expense groups, which are collections of expense types

Example XML

<?xml version="1.0" encoding="UTF-8"?> <expenseTypes xmlns="http://api.crunch.co.uk/rest" count="..."> <expenseGroup count="..." groupName="..." displayName="..."> <expenseType displayName="...">...</expenseType> <expenseType displayName="...">...</expenseType> <!--...more "expenseType" elements...--> </expenseGroup> <expenseGroup count="..." groupName="..." displayName="..."> <!--...--> </expenseGroup> <!--...more "expenseGroup" elements...--> </expenseTypes>

Example JSON

{ "count" : ..., "expenseGroup" : [ { "count" : ..., "groupName" : "...", "displayName" : "...", "expenseType" : [ { "displayName" : "...", "value" : "..." }, ... ] }, ... ] }