GET api/{area}/AsubCodeLength?access_token={access_token}&asid={asid}

获取科目编码长度

Request Information

Body Parameters

None.

Response Information

Resource Description

获取科目编码长度

AccountSubjectCodeLengthModel
NameDescriptionTypeAdditional information
FirstCodeLength

integer

None.

SecondCodeLength

integer

None.

ThirdCodeLength

integer

None.

ForthCodeLength

integer

None.

CodeLength

Collection of integer

None.

Response Formats

application/json, text/json

Sample:
{
  "first_code_length": 1,
  "second_code_length": 2,
  "third_code_length": 3,
  "forth_code_length": 4,
  "code_length": [
    1,
    2
  ]
}

application/xml, text/xml

Sample:
<AccountSubjectCodeLengthModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonAcc.Open.Areas.Settings.Models">
  <CodeLength xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </CodeLength>
  <FirstCodeLength>1</FirstCodeLength>
  <ForthCodeLength>4</ForthCodeLength>
  <SecondCodeLength>2</SecondCodeLength>
  <ThirdCodeLength>3</ThirdCodeLength>
</AccountSubjectCodeLengthModel>