POST api/{area}/InitialBalance?access_token={access_token}&asid={asid}

期初导入

Request Information

Body Parameters

期初集合

Collection of InitialBalanceRow
NameDescriptionTypeAdditional information
AsubCode

string

None.

AsubId

string

None.

AsubName

string

None.

AsubType

integer

None.

Asid

integer

None.

Quantity

integer

None.

AssistingAccounting

integer

None.

Forency

外币核算串 默认0,1 0表示综合本位币 1表示本位币

string

None.

Fcid

所涉及的外币核算

integer

None.

Aacode

string

None.

IsNewFcRow

是否存在于外币核算总账

boolean

None.

RowType

期初行类别

InitialBalanceRowType

None.

Pid

integer

None.

ParentId

integer

None.

Direction

integer

None.

IsEditable

boolean

None.

NonEditableType

不可编辑类型(1:有子节点 2:存在辅助核算 3:存在固定资产折旧)

integer

None.

LastCredit

decimal number

None.

Credit

decimal number

None.

LastCreditQut

decimal number

None.

CreditQut

decimal number

None.

LastCreditFC

decimal number

None.

CreditFC

decimal number

None.

LastDebit

decimal number

None.

Debit

decimal number

None.

LastDebitQut

decimal number

None.

DebitQut

decimal number

None.

LastDebitFC

decimal number

None.

DebitFC

decimal number

None.

LastInitial

decimal number

None.

Initial

decimal number

None.

LastInitialQut

decimal number

None.

InitialQut

decimal number

None.

LastInitialFC

decimal number

None.

InitialFC

decimal number

None.

LastTotal

decimal number

None.

Total

decimal number

None.

LastTotalQut

decimal number

None.

TotalQut

decimal number

None.

LastTotalFC

decimal number

None.

TotalFC

decimal number

None.

Odd

integer

None.

AsubLevel

integer

None.

IsLeafNode

boolean

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "asub_code": "sample string 1",
    "asub_id": "sample string 2",
    "asub_name": "sample string 3",
    "asub_type": 4,
    "asid": 5,
    "quantity": 6,
    "assisting_accounting": 7,
    "forency": "sample string 8",
    "fcid": 9,
    "aacode": "sample string 10",
    "is_new_fc_row": true,
    "row_type": 0,
    "pid": 12,
    "parent_id": 13,
    "direction": 14,
    "is_editable": true,
    "non_editable_type": 16,
    "last_credit": 1.0,
    "credit": 1.0,
    "last_credit_qut": 1.0,
    "credit_qut": 1.0,
    "last_credit_fc": 1.0,
    "credit_fc": 1.0,
    "last_debit": 1.0,
    "debit": 1.0,
    "last_debit_qut": 1.0,
    "debit_qut": 1.0,
    "last_debit_fc": 1.0,
    "debit_fc": 1.0,
    "last_initial": 1.0,
    "initial": 1.0,
    "last_initial_qut": 1.0,
    "initial_qut": 1.0,
    "last_initial_fc": 1.0,
    "initial_fc": 1.0,
    "last_total": 1.0,
    "total": 1.0,
    "last_total_qut": 1.0,
    "total_qut": 1.0,
    "last_total_fc": 1.0,
    "total_fc": 1.0,
    "odd": 17,
    "asub_level": 18,
    "is_leaf_node": true
  },
  {
    "asub_code": "sample string 1",
    "asub_id": "sample string 2",
    "asub_name": "sample string 3",
    "asub_type": 4,
    "asid": 5,
    "quantity": 6,
    "assisting_accounting": 7,
    "forency": "sample string 8",
    "fcid": 9,
    "aacode": "sample string 10",
    "is_new_fc_row": true,
    "row_type": 0,
    "pid": 12,
    "parent_id": 13,
    "direction": 14,
    "is_editable": true,
    "non_editable_type": 16,
    "last_credit": 1.0,
    "credit": 1.0,
    "last_credit_qut": 1.0,
    "credit_qut": 1.0,
    "last_credit_fc": 1.0,
    "credit_fc": 1.0,
    "last_debit": 1.0,
    "debit": 1.0,
    "last_debit_qut": 1.0,
    "debit_qut": 1.0,
    "last_debit_fc": 1.0,
    "debit_fc": 1.0,
    "last_initial": 1.0,
    "initial": 1.0,
    "last_initial_qut": 1.0,
    "initial_qut": 1.0,
    "last_initial_fc": 1.0,
    "initial_fc": 1.0,
    "last_total": 1.0,
    "total": 1.0,
    "last_total_qut": 1.0,
    "total_qut": 1.0,
    "last_total_fc": 1.0,
    "total_fc": 1.0,
    "odd": 17,
    "asub_level": 18,
    "is_leaf_node": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfInitialBalanceRow xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonAccEngine.BLL.InitialBalance.Adapter">
  <InitialBalanceRow>
    <Aacode>sample string 10</Aacode>
    <Asid>5</Asid>
    <AssistingAccounting>7</AssistingAccounting>
    <AsubCode>sample string 1</AsubCode>
    <AsubId>sample string 2</AsubId>
    <AsubLevel>18</AsubLevel>
    <AsubName>sample string 3</AsubName>
    <AsubType>4</AsubType>
    <Credit>1</Credit>
    <CreditFC>1</CreditFC>
    <CreditQut>1</CreditQut>
    <Debit>1</Debit>
    <DebitFC>1</DebitFC>
    <DebitQut>1</DebitQut>
    <Direction>14</Direction>
    <Fcid>9</Fcid>
    <Forency>sample string 8</Forency>
    <Initial>1</Initial>
    <InitialFC>1</InitialFC>
    <InitialQut>1</InitialQut>
    <IsEditable>true</IsEditable>
    <IsLeafNode>true</IsLeafNode>
    <IsNewFcRow>true</IsNewFcRow>
    <LastCredit>1</LastCredit>
    <LastCreditFC>1</LastCreditFC>
    <LastCreditQut>1</LastCreditQut>
    <LastDebit>1</LastDebit>
    <LastDebitFC>1</LastDebitFC>
    <LastDebitQut>1</LastDebitQut>
    <LastInitial>1</LastInitial>
    <LastInitialFC>1</LastInitialFC>
    <LastInitialQut>1</LastInitialQut>
    <LastTotal>1</LastTotal>
    <LastTotalFC>1</LastTotalFC>
    <LastTotalQut>1</LastTotalQut>
    <NonEditableType>16</NonEditableType>
    <Odd>17</Odd>
    <ParentId>13</ParentId>
    <Pid>12</Pid>
    <Quantity>6</Quantity>
    <RowType>GenerlLedge</RowType>
    <Total>1</Total>
    <TotalFC>1</TotalFC>
    <TotalQut>1</TotalQut>
  </InitialBalanceRow>
  <InitialBalanceRow>
    <Aacode>sample string 10</Aacode>
    <Asid>5</Asid>
    <AssistingAccounting>7</AssistingAccounting>
    <AsubCode>sample string 1</AsubCode>
    <AsubId>sample string 2</AsubId>
    <AsubLevel>18</AsubLevel>
    <AsubName>sample string 3</AsubName>
    <AsubType>4</AsubType>
    <Credit>1</Credit>
    <CreditFC>1</CreditFC>
    <CreditQut>1</CreditQut>
    <Debit>1</Debit>
    <DebitFC>1</DebitFC>
    <DebitQut>1</DebitQut>
    <Direction>14</Direction>
    <Fcid>9</Fcid>
    <Forency>sample string 8</Forency>
    <Initial>1</Initial>
    <InitialFC>1</InitialFC>
    <InitialQut>1</InitialQut>
    <IsEditable>true</IsEditable>
    <IsLeafNode>true</IsLeafNode>
    <IsNewFcRow>true</IsNewFcRow>
    <LastCredit>1</LastCredit>
    <LastCreditFC>1</LastCreditFC>
    <LastCreditQut>1</LastCreditQut>
    <LastDebit>1</LastDebit>
    <LastDebitFC>1</LastDebitFC>
    <LastDebitQut>1</LastDebitQut>
    <LastInitial>1</LastInitial>
    <LastInitialFC>1</LastInitialFC>
    <LastInitialQut>1</LastInitialQut>
    <LastTotal>1</LastTotal>
    <LastTotalFC>1</LastTotalFC>
    <LastTotalQut>1</LastTotalQut>
    <NonEditableType>16</NonEditableType>
    <Odd>17</Odd>
    <ParentId>13</ParentId>
    <Pid>12</Pid>
    <Quantity>6</Quantity>
    <RowType>GenerlLedge</RowType>
    <Total>1</Total>
    <TotalFC>1</TotalFC>
    <TotalQut>1</TotalQut>
  </InitialBalanceRow>
</ArrayOfInitialBalanceRow>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

期初导入

SucceedResponse
NameDescriptionTypeAdditional information
result

结果字符串

string

None.

Response Formats

application/json, text/json

Sample:
{
  "result": "succeeded"
}