GET api/SetupGLAccountStructure/GetOptions/{AccountId}/{CompanyId}/{Id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| AccountId | integer |
Required |
|
| CompanyId | string |
Required |
|
| Id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
AccountStructureOptions| Name | Description | Type | Additional information |
|---|---|---|---|
| AccountStructureId | integer |
None. |
|
| AccountSection | string |
None. |
|
| AccountSubSection | string |
None. |
|
| AccountSectionId | integer |
None. |
|
| AccountSubSectionId | integer |
None. |
|
| StartRange | integer |
None. |
|
| EndRange | integer |
None. |
|
| Break1Usage | string |
None. |
|
| Break2Usage | string |
None. |
|
| AccountDigits | integer |
None. |
|
| AllowMultipleBreak1 | boolean |
None. |
|
| AllowMultipleBreak2 | boolean |
None. |
|
| TagList | Collection of Pair of integer [key] and string [value] |
None. |
|
| Modules | Collection of Pair of string [key] and string [value] |
None. |
Response Formats
application/json, text/json
Sample:
{
"AccountStructureId": 1,
"AccountSection": "sample string 2",
"AccountSubSection": "sample string 3",
"AccountSectionId": 4,
"AccountSubSectionId": 5,
"StartRange": 6,
"EndRange": 7,
"Break1Usage": "sample string 8",
"Break2Usage": "sample string 9",
"AccountDigits": 10,
"AllowMultipleBreak1": true,
"AllowMultipleBreak2": true,
"TagList": [
{
"Key": 1,
"Value": "sample string 2"
},
{
"Key": 1,
"Value": "sample string 2"
}
],
"Modules": [
{
"Key": "sample string 1",
"Value": "sample string 2"
},
{
"Key": "sample string 1",
"Value": "sample string 2"
}
]
}
application/xml, text/xml
Sample:
<AccountStructureOptions xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SAWinProV4.Model.DTO.AccountSpecific.Setup">
<AccountDigits>10</AccountDigits>
<AccountSection>sample string 2</AccountSection>
<AccountSectionId>4</AccountSectionId>
<AccountStructureId>1</AccountStructureId>
<AccountSubSection>sample string 3</AccountSubSection>
<AccountSubSectionId>5</AccountSubSectionId>
<AllowMultipleBreak1>true</AllowMultipleBreak1>
<AllowMultipleBreak2>true</AllowMultipleBreak2>
<Break1Usage>sample string 8</Break1Usage>
<Break2Usage>sample string 9</Break2Usage>
<EndRange>7</EndRange>
<Modules xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Collections.Generic">
<d2p1:KeyValuePairOfstringstring>
<d2p1:key>sample string 1</d2p1:key>
<d2p1:value>sample string 2</d2p1:value>
</d2p1:KeyValuePairOfstringstring>
<d2p1:KeyValuePairOfstringstring>
<d2p1:key>sample string 1</d2p1:key>
<d2p1:value>sample string 2</d2p1:value>
</d2p1:KeyValuePairOfstringstring>
</Modules>
<StartRange>6</StartRange>
<TagList xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Collections.Generic">
<d2p1:KeyValuePairOfintstring>
<d2p1:key>1</d2p1:key>
<d2p1:value>sample string 2</d2p1:value>
</d2p1:KeyValuePairOfintstring>
<d2p1:KeyValuePairOfintstring>
<d2p1:key>1</d2p1:key>
<d2p1:value>sample string 2</d2p1:value>
</d2p1:KeyValuePairOfintstring>
</TagList>
</AccountStructureOptions>