GET api/journalentrytypes
GET: api/journalentrytypes Get all types
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
List of JournalEntryTypeViewModel
Collection of JournalEntryTypeViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Id |
Id |
integer |
None. |
| Code |
Code |
string |
None. |
| Description |
Description |
string |
None. |
| IsAutoPostEnabled |
IsAutoPostEnabled |
boolean |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"id": 1,
"code": "sample string 2",
"description": "sample string 3",
"isAutoPostEnabled": true
},
{
"id": 1,
"code": "sample string 2",
"description": "sample string 3",
"isAutoPostEnabled": true
}
]
application/xml, text/xml
Sample:
<ArrayOfJournalEntryTypeViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CamAcctApi.ViewModels">
<JournalEntryTypeViewModel>
<Code>sample string 2</Code>
<Description>sample string 3</Description>
<Id>1</Id>
<IsAutoPostEnabled>true</IsAutoPostEnabled>
</JournalEntryTypeViewModel>
<JournalEntryTypeViewModel>
<Code>sample string 2</Code>
<Description>sample string 3</Description>
<Id>1</Id>
<IsAutoPostEnabled>true</IsAutoPostEnabled>
</JournalEntryTypeViewModel>
</ArrayOfJournalEntryTypeViewModel>