PUT api/{area}/AccountSet?access_token={access_token}
修改账套信息
Request Information
Body Parameters
修改账套信息
AccountSetViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| As_Id | integer |
None. |
|
| As_name |
账套名称 |
string |
Required Max String Length: 32 Min length: 5 |
| As_industry |
行业 |
string |
None. |
| Ad_level1 |
省 |
integer |
None. |
| Ad_level2 |
市 |
integer |
None. |
| Ad_level3 |
县/区 |
integer |
None. |
| As_start_date_year |
账套起始年份 |
string |
Required Min Year Value: 2009 |
| As_start_date_month |
账套起始月份 |
string |
Required Max Value: 12 Min Value: 1 |
| Unified_number |
统一社会信用码 |
string |
None. |
| Tax_number_s |
国税号 |
string |
None. |
| Tax_type | integer |
None. |
|
| Accounting_standard |
会计准则 |
string |
Required Max Value: 3 Min Value: 1 |
| Fixedasset |
固定资产启用状态 |
integer |
Max Value: 1 Min Value: 0 |
| Check_needed |
是否启用审核 |
integer |
Max Value: 1 Min Value: 0 |
| Cash_journal |
是否启用出纳 |
integer |
Max Value: 1 Min Value: 0 |
| CreateBy | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"As_Id": 1,
"As_name": "sample string 2",
"As_industry": "sample string 3",
"Ad_level1": 4,
"Ad_level2": 5,
"Ad_level3": 6,
"As_start_date_year": "sample string 7",
"As_start_date_month": "sample string 8",
"Unified_number": "sample string 9",
"Tax_number_s": "sample string 10",
"Tax_type": 11,
"Accounting_standard": "sample string 12",
"fixedasset": 13,
"Check_needed": 14,
"Cash_journal": 15,
"create_by": 16
}
application/xml, text/xml
Sample:
<AccountSetViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonAcc.Open.Areas.Settings.Models"> <Accounting_standard>sample string 12</Accounting_standard> <Ad_level1>4</Ad_level1> <Ad_level2>5</Ad_level2> <Ad_level3>6</Ad_level3> <As_Id>1</As_Id> <As_industry>sample string 3</As_industry> <As_name>sample string 2</As_name> <As_start_date_month>sample string 8</As_start_date_month> <As_start_date_year>sample string 7</As_start_date_year> <Cash_journal>15</Cash_journal> <Check_needed>14</Check_needed> <CreateBy>16</CreateBy> <Fixedasset>13</Fixedasset> <Tax_number_s>sample string 10</Tax_number_s> <Tax_type>11</Tax_type> <Unified_number>sample string 9</Unified_number> </AccountSetViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
修改账套信息
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.