GET api/glaccounts/report-types
Get Gl Account Report Types
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Retuns list of glAccount report types
Collection of GlAccountReportTypeViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| ReportTypeId |
ReportTypeId |
integer |
None. |
| ReportTypeName |
ReportTypeName |
string |
None. |
| Code |
Code |
string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"reportTypeId": 1,
"reportTypeName": "sample string 2",
"code": "sample string 3"
},
{
"reportTypeId": 1,
"reportTypeName": "sample string 2",
"code": "sample string 3"
}
]
application/xml, text/xml
Sample:
<ArrayOfGlAccountReportTypeViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CamAcctApi.Controllers.GLAccounts.Models">
<GlAccountReportTypeViewModel>
<Code>sample string 3</Code>
<ReportTypeId>1</ReportTypeId>
<ReportTypeName>sample string 2</ReportTypeName>
</GlAccountReportTypeViewModel>
<GlAccountReportTypeViewModel>
<Code>sample string 3</Code>
<ReportTypeId>1</ReportTypeId>
<ReportTypeName>sample string 2</ReportTypeName>
</GlAccountReportTypeViewModel>
</ArrayOfGlAccountReportTypeViewModel>