POST api/accountTree/AccountingTree
Request Information
URI Parameters
None.
Body Parameters
AccountTree| Name | Description | Type | Additional information |
|---|---|---|---|
| AccountId | integer |
None. |
|
| AccountName | string |
None. |
|
| newAccountName | string |
None. |
|
| ParentAccountId | integer |
None. |
|
| AccountType | string |
None. |
|
| AccountCode | string |
None. |
|
| SalonId | integer |
None. |
|
| CreatedDate | date |
None. |
|
| UpdatedDate | date |
None. |
|
| EntryId | integer |
None. |
|
| JournalId | integer |
None. |
|
| LastJournalId | integer |
None. |
|
| Description | string |
None. |
|
| Debit | decimal number |
None. |
|
| Credit | decimal number |
None. |
|
| TaxType | string |
None. |
|
| TaxAmount | decimal number |
None. |
|
| IsDebit | boolean |
None. |
|
| IsCredit | boolean |
None. |
|
| EntryDate | date |
None. |
|
| EntryDateStr | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"AccountId": 1,
"AccountName": "sample string 1",
"newAccountName": "sample string 2",
"ParentAccountId": 1,
"AccountType": "sample string 3",
"AccountCode": "sample string 4",
"SalonId": 5,
"CreatedDate": "2026-02-04T05:15:30.5566069+03:00",
"UpdatedDate": "2026-02-04T05:15:30.5566069+03:00",
"EntryId": 1,
"JournalId": 1,
"LastJournalId": 1,
"Description": "sample string 6",
"Debit": 7.0,
"Credit": 8.0,
"TaxType": "sample string 9",
"TaxAmount": 10.0,
"IsDebit": true,
"IsCredit": true,
"EntryDate": "2026-02-04T05:15:30.5566069+03:00",
"EntryDateStr": "2026-02-04"
}
text/xml
Sample:
<AccountTree xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/beautybook.Entities.V1"> <AccountCode xmlns="http://schemas.datacontract.org/2004/07/beautybook.Entities.Contract">sample string 4</AccountCode> <AccountId xmlns="http://schemas.datacontract.org/2004/07/beautybook.Entities.Contract">1</AccountId> <AccountName xmlns="http://schemas.datacontract.org/2004/07/beautybook.Entities.Contract">sample string 1</AccountName> <AccountType xmlns="http://schemas.datacontract.org/2004/07/beautybook.Entities.Contract">sample string 3</AccountType> <CreatedDate xmlns="http://schemas.datacontract.org/2004/07/beautybook.Entities.Contract">2026-02-04T05:15:30.5566069+03:00</CreatedDate> <Credit xmlns="http://schemas.datacontract.org/2004/07/beautybook.Entities.Contract">8</Credit> <Debit xmlns="http://schemas.datacontract.org/2004/07/beautybook.Entities.Contract">7</Debit> <Description xmlns="http://schemas.datacontract.org/2004/07/beautybook.Entities.Contract">sample string 6</Description> <EntryDate xmlns="http://schemas.datacontract.org/2004/07/beautybook.Entities.Contract">2026-02-04T05:15:30.5566069+03:00</EntryDate> <EntryId xmlns="http://schemas.datacontract.org/2004/07/beautybook.Entities.Contract">1</EntryId> <IsCredit xmlns="http://schemas.datacontract.org/2004/07/beautybook.Entities.Contract">true</IsCredit> <IsDebit xmlns="http://schemas.datacontract.org/2004/07/beautybook.Entities.Contract">true</IsDebit> <JournalId xmlns="http://schemas.datacontract.org/2004/07/beautybook.Entities.Contract">1</JournalId> <LastJournalId xmlns="http://schemas.datacontract.org/2004/07/beautybook.Entities.Contract">1</LastJournalId> <ParentAccountId xmlns="http://schemas.datacontract.org/2004/07/beautybook.Entities.Contract">1</ParentAccountId> <SalonId xmlns="http://schemas.datacontract.org/2004/07/beautybook.Entities.Contract">5</SalonId> <TaxAmount xmlns="http://schemas.datacontract.org/2004/07/beautybook.Entities.Contract">10</TaxAmount> <TaxType xmlns="http://schemas.datacontract.org/2004/07/beautybook.Entities.Contract">sample string 9</TaxType> <UpdatedDate xmlns="http://schemas.datacontract.org/2004/07/beautybook.Entities.Contract">2026-02-04T05:15:30.5566069+03:00</UpdatedDate> <newAccountName xmlns="http://schemas.datacontract.org/2004/07/beautybook.Entities.Contract">sample string 2</newAccountName> </AccountTree>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, text/xml
Sample:
Sample not available.