GET api/journalentrytypes/{id}
GET: api/journalentrytypes/{id} Get the type information by the Id
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
|
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
JournalEntryTypeViewModel
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
}
application/xml, text/xml
Sample:
<JournalEntryTypeViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CamAcctApi.ViewModels"> <Code>sample string 2</Code> <Description>sample string 3</Description> <Id>1</Id> <IsAutoPostEnabled>true</IsAutoPostEnabled> </JournalEntryTypeViewModel>