GET api/Expenses?MandantID={MandantID}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| MandantID | string |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of Expense| Name | Description | Type | Additional information |
|---|---|---|---|
| ExpenseID | integer |
None. |
|
| Description | string |
None. |
|
| AmountOne | integer |
None. |
|
| Rate | decimal number |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"ExpenseID": 1,
"Description": "sample string 2",
"AmountOne": 3,
"Rate": 4.1
},
{
"ExpenseID": 1,
"Description": "sample string 2",
"AmountOne": 3,
"Rate": 4.1
}
]
application/xml, text/xml
Sample:
<ArrayOfExpense xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TimeSheetWebAPI.Models">
<Expense>
<AmountOne>3</AmountOne>
<Description>sample string 2</Description>
<ExpenseID>1</ExpenseID>
<Rate>4.1</Rate>
</Expense>
<Expense>
<AmountOne>3</AmountOne>
<Description>sample string 2</Description>
<ExpenseID>1</ExpenseID>
<Rate>4.1</Rate>
</Expense>
</ArrayOfExpense>