POST jxc_api/AccountSet/SaveCurrent?managedByDz={managedByDz}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
managedByDz

integer

Default value is 0

Body Parameters

AccountSetEditModel
NameDescriptionTypeAdditional information
ServiceType

ServiceType

None.

BaseAs

AccountSetInfo

None.

ArgList

Collection of SystemArgumentInfo

None.

Roles

Collection of string

None.

AccArg

AccModel

None.

Request Formats

application/json, text/json

Sample:
{
  "ServiceType": 1,
  "BaseAs": null,
  "ArgList": [
    {
      "AsId": 1,
      "Type": 10001,
      "TypeValue": 2,
      "OldTypeValue": 3,
      "DefaultValue": 4.0
    },
    {
      "AsId": 1,
      "Type": 10001,
      "TypeValue": 2,
      "OldTypeValue": 3,
      "DefaultValue": 4.0
    }
  ],
  "Roles": [
    "sample string 1",
    "sample string 2"
  ],
  "AccArg": {
    "SCM_AS_ID": 1,
    "AS_Name": "sample string 2",
    "AS_INDUSTRY": "sample string 3",
    "CHECK_NEEDED": "sample string 4",
    "TAX_TYPE": "sample string 5",
    "ACCOUNTING_STANDARD": "sample string 6",
    "UNIFIED_NUMBER": "sample string 7",
    "SUB_ACCOUNTING_STANDARD": "sample string 8",
    "AS_ID": 9,
    "CASHIER": "sample string 10",
    "FIXDASSET": "sample string 11",
    "SHOW_SCM": "sample string 12",
    "FA_START_PEROID": "sample string 13",
    "AS_START_YEAR": "sample string 14",
    "AS_START_MONTH": "sample string 15",
    "AS_START_DATE": "sample string 16",
    "ISFIRSTACCOUNT": "sample string 17",
    "ISCHANGEDSTARTDATE": true,
    "TAX_PAYER_NAME": "sample string 19",
    "TAX_PAYER_NUMBER": "sample string 20",
    "TAX_PAYER_PASSWORD": "sample string 21",
    "TAXPAYER_PASSWORD": "sample string 22",
    "TAXAD_ID": 23,
    "TAX_DECLARE_REGION": "sample string 24",
    "TAX_DECLARE_EMP_NAME": "sample string 25",
    "TaxDeclareEmployeeName": "sample string 26",
    "TAX_DECLARE_EMP_PHONE": "sample string 27",
    "TaxDeclareEmployeePhone": "sample string 28",
    "TAX_DECLARE_PASSWORD": "sample string 29",
    "TaxDeclarePassword": "sample string 30",
    "Tax_Rate": 31.0,
    "TaxLoginType": 0,
    "PersonPositionType": 0,
    "PersonPhone": "sample string 32",
    "PersonAccount": "sample string 33",
    "PersonPassword": "sample string 34",
    "OldAllAACalcStatement": true,
    "AllAACalcStatement": true,
    "RecalculateBalacnceType": 37
  }
}

application/xml, text/xml

Sample:
<AccountSetEditModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.WebApi.Areas.Setting.Models">
  <AccArg xmlns:d2p1="http://schemas.datacontract.org/2004/07/LemonScm.Business.ToAcc">
    <d2p1:ACCOUNTING_STANDARD>sample string 6</d2p1:ACCOUNTING_STANDARD>
    <d2p1:AS_ID>9</d2p1:AS_ID>
    <d2p1:AS_INDUSTRY>sample string 3</d2p1:AS_INDUSTRY>
    <d2p1:AS_Name>sample string 2</d2p1:AS_Name>
    <d2p1:AS_START_DATE>sample string 16</d2p1:AS_START_DATE>
    <d2p1:AS_START_MONTH>sample string 15</d2p1:AS_START_MONTH>
    <d2p1:AS_START_YEAR>sample string 14</d2p1:AS_START_YEAR>
    <d2p1:AllAACalcStatement>true</d2p1:AllAACalcStatement>
    <d2p1:CASHIER>sample string 10</d2p1:CASHIER>
    <d2p1:CHECK_NEEDED>sample string 4</d2p1:CHECK_NEEDED>
    <d2p1:FA_START_PEROID>sample string 13</d2p1:FA_START_PEROID>
    <d2p1:FIXDASSET>sample string 11</d2p1:FIXDASSET>
    <d2p1:ISCHANGEDSTARTDATE>true</d2p1:ISCHANGEDSTARTDATE>
    <d2p1:ISFIRSTACCOUNT>sample string 17</d2p1:ISFIRSTACCOUNT>
    <d2p1:OldAllAACalcStatement>true</d2p1:OldAllAACalcStatement>
    <d2p1:PersonAccount>sample string 33</d2p1:PersonAccount>
    <d2p1:PersonPassword>sample string 34</d2p1:PersonPassword>
    <d2p1:PersonPhone>sample string 32</d2p1:PersonPhone>
    <d2p1:PersonPositionType>Default</d2p1:PersonPositionType>
    <d2p1:RecalculateBalacnceType>37</d2p1:RecalculateBalacnceType>
    <d2p1:SCM_AS_ID>1</d2p1:SCM_AS_ID>
    <d2p1:SHOW_SCM>sample string 12</d2p1:SHOW_SCM>
    <d2p1:SUB_ACCOUNTING_STANDARD>sample string 8</d2p1:SUB_ACCOUNTING_STANDARD>
    <d2p1:TAXAD_ID>23</d2p1:TAXAD_ID>
    <d2p1:TAXPAYER_PASSWORD>sample string 22</d2p1:TAXPAYER_PASSWORD>
    <d2p1:TAX_DECLARE_EMP_NAME>sample string 25</d2p1:TAX_DECLARE_EMP_NAME>
    <d2p1:TAX_DECLARE_EMP_PHONE>sample string 27</d2p1:TAX_DECLARE_EMP_PHONE>
    <d2p1:TAX_DECLARE_PASSWORD>sample string 29</d2p1:TAX_DECLARE_PASSWORD>
    <d2p1:TAX_DECLARE_REGION>sample string 24</d2p1:TAX_DECLARE_REGION>
    <d2p1:TAX_PAYER_NAME>sample string 19</d2p1:TAX_PAYER_NAME>
    <d2p1:TAX_PAYER_NUMBER>sample string 20</d2p1:TAX_PAYER_NUMBER>
    <d2p1:TAX_PAYER_PASSWORD>sample string 21</d2p1:TAX_PAYER_PASSWORD>
    <d2p1:TAX_TYPE>sample string 5</d2p1:TAX_TYPE>
    <d2p1:TaxDeclareEmployeeName>sample string 26</d2p1:TaxDeclareEmployeeName>
    <d2p1:TaxDeclareEmployeePhone>sample string 28</d2p1:TaxDeclareEmployeePhone>
    <d2p1:TaxDeclarePassword>sample string 30</d2p1:TaxDeclarePassword>
    <d2p1:TaxLoginType>Default</d2p1:TaxLoginType>
    <d2p1:Tax_Rate>31</d2p1:Tax_Rate>
    <d2p1:UNIFIED_NUMBER>sample string 7</d2p1:UNIFIED_NUMBER>
  </AccArg>
  <ArgList xmlns:d2p1="http://schemas.datacontract.org/2004/07/LemonScm.Model.AccountSet">
    <d2p1:SystemArgumentInfo>
      <d2p1:_x003C_AsId_x003E_k__BackingField>1</d2p1:_x003C_AsId_x003E_k__BackingField>
      <d2p1:_x003C_DefaultValue_x003E_k__BackingField>4</d2p1:_x003C_DefaultValue_x003E_k__BackingField>
      <d2p1:_x003C_OldTypeValue_x003E_k__BackingField>3</d2p1:_x003C_OldTypeValue_x003E_k__BackingField>
      <d2p1:_x003C_TypeValue_x003E_k__BackingField>2</d2p1:_x003C_TypeValue_x003E_k__BackingField>
      <d2p1:_x003C_Type_x003E_k__BackingField>Currency</d2p1:_x003C_Type_x003E_k__BackingField>
    </d2p1:SystemArgumentInfo>
    <d2p1:SystemArgumentInfo>
      <d2p1:_x003C_AsId_x003E_k__BackingField>1</d2p1:_x003C_AsId_x003E_k__BackingField>
      <d2p1:_x003C_DefaultValue_x003E_k__BackingField>4</d2p1:_x003C_DefaultValue_x003E_k__BackingField>
      <d2p1:_x003C_OldTypeValue_x003E_k__BackingField>3</d2p1:_x003C_OldTypeValue_x003E_k__BackingField>
      <d2p1:_x003C_TypeValue_x003E_k__BackingField>2</d2p1:_x003C_TypeValue_x003E_k__BackingField>
      <d2p1:_x003C_Type_x003E_k__BackingField>Currency</d2p1:_x003C_Type_x003E_k__BackingField>
    </d2p1:SystemArgumentInfo>
  </ArgList>
  <BaseAs xmlns:d2p1="http://schemas.datacontract.org/2004/07/LemonScm.Model.AccountSet" i:nil="true" />
  <Roles xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </Roles>
  <ServiceType>scm</ServiceType>
</AccountSetEditModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

integer

Response Formats

application/json, text/json

Sample:
1

application/xml, text/xml

Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>