POST ChartOfAccount/ChartOfAccount_Insert

Request Information

URI Parameters

None.

Body Parameters

AccountTable
NameDescriptionTypeAdditional information
ID

integer

None.

AccountNo

string

None.

AccountName

string

None.

AcceptTrans

boolean

None.

Debit

boolean

None.

Credit

boolean

None.

ProfitandLoss

boolean

None.

Budget

boolean

None.

StandardValue

decimal number

None.

AcceptCostCenter

boolean

None.

ParentId

integer

None.

ParentAccountName

string

None.

AccountSecondaryName

string

None.

DAmount

decimal number

None.

CAmount

decimal number

None.

AccountOrder

integer

None.

Total

decimal number

None.

AccountLevel

integer

None.

RefTrans

TransTable

None.

AccountNameNo

string

None.

AccountSecondaryNameNo

string

None.

CompanyId

integer

None.

BranchId

integer

None.

Request Formats

application/json

Sample:

Sample not available.

text/json

Sample:

Sample not available.

application/xml

Sample:

Sample not available.

text/xml

Sample:

Sample not available.

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Response
NameDescriptionTypeAdditional information
ErrorCode

integer

None.

ErrorMessage

string

None.

IsScusses

boolean

None.

ResponseDetails

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "ErrorCode": 1,
  "ErrorMessage": "sample string 2",
  "IsScusses": true,
  "ResponseDetails": {}
}

application/xml, text/xml

Sample:
<Response xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Accounting.API.Models">
  <ErrorCode>1</ErrorCode>
  <ErrorMessage>sample string 2</ErrorMessage>
  <IsScusses>true</IsScusses>
  <ResponseDetails />
</Response>