POST jxc_api/AccountTransfer/InitData/{id}

获得空白的转账单对象,或者根据传入的ID获得转账单对象

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

转账单ID

integer

Required

Body Parameters

None.

Response Information

Resource Description

获得空白的转账单对象,或者根据传入的ID获得转账单对象

AccountTransferEditModel
NameDescriptionTypeAdditional information
AsId

账套ID

integer

None.

Date

单据日期

date

None.

Id

单据ID

integer

None.

No

单据编号

string

None.

Note

备注

string

None.

IsChecked

是否已审核

integer

None.

CreatedBy

制单人

integer

None.

CreatedDate

制单日期

date

None.

ModifiedBy

修改人

integer

None.

ModifiedDate

修改日期

date

None.

CheckedBy

审核人

integer

None.

CheckedDate

审核日期

date

None.

CreatedByName

string

None.

CheckedByName

制单人名称

string

None.

ModifiedByName

修改人名称

string

None.

Items

转账单子条目信息

Collection of AccountTransferEntryEditModel

None.

Response Formats

application/json, text/json

Sample:
{
  "AsId": 1,
  "Date": "2021-09-19 01:24:25",
  "Id": 3,
  "No": "sample string 4",
  "Note": "sample string 5",
  "IsChecked": 6,
  "CreatedBy": 7,
  "CreatedDate": "2021-09-19 01:24:25",
  "ModifiedBy": 9,
  "ModifiedDate": "2021-09-19 01:24:25",
  "CheckedBy": 11,
  "CheckedDate": "2021-09-19 01:24:25",
  "CreatedByName": "sample string 13",
  "CheckedByName": "sample string 14",
  "ModifiedByName": "sample string 15",
  "Items": [
    {
      "AsId": 1,
      "AtDate": "2021-09-19 01:24:25",
      "AtId": 3,
      "AtNo": "sample string 4",
      "Id": 5,
      "PayAt": 6,
      "RecAt": 7,
      "Amount": 8.0,
      "PayMethod": 9,
      "RefNo": "sample string 10",
      "Note": "sample string 11",
      "StrValue1": "sample string 12",
      "StrValue2": "sample string 13",
      "StrValue3": "sample string 14",
      "StrValue4": "sample string 15",
      "StrValue5": "sample string 16",
      "StrValue6": "sample string 17",
      "StrValue7": "sample string 18",
      "StrValue8": "sample string 19",
      "PayAtName": "sample string 20",
      "RecAtName": "sample string 21",
      "PayMethodName": "sample string 22"
    },
    {
      "AsId": 1,
      "AtDate": "2021-09-19 01:24:25",
      "AtId": 3,
      "AtNo": "sample string 4",
      "Id": 5,
      "PayAt": 6,
      "RecAt": 7,
      "Amount": 8.0,
      "PayMethod": 9,
      "RefNo": "sample string 10",
      "Note": "sample string 11",
      "StrValue1": "sample string 12",
      "StrValue2": "sample string 13",
      "StrValue3": "sample string 14",
      "StrValue4": "sample string 15",
      "StrValue5": "sample string 16",
      "StrValue6": "sample string 17",
      "StrValue7": "sample string 18",
      "StrValue8": "sample string 19",
      "PayAtName": "sample string 20",
      "RecAtName": "sample string 21",
      "PayMethodName": "sample string 22"
    }
  ]
}

application/xml, text/xml

Sample:
<AccountTransferEditModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.WebApi.Areas.Money.Models">
  <AsId>1</AsId>
  <CheckedBy>11</CheckedBy>
  <CheckedByName>sample string 14</CheckedByName>
  <CheckedDate>2021-09-19T01:24:25.876623+08:00</CheckedDate>
  <CreatedBy>7</CreatedBy>
  <CreatedByName>sample string 13</CreatedByName>
  <CreatedDate>2021-09-19T01:24:25.876623+08:00</CreatedDate>
  <Date>2021-09-19T01:24:25.876623+08:00</Date>
  <Id>3</Id>
  <IsChecked>6</IsChecked>
  <Items>
    <AccountTransferEntryEditModel>
      <Amount>8</Amount>
      <AsId>1</AsId>
      <AtDate>2021-09-19T01:24:25.876623+08:00</AtDate>
      <AtId>3</AtId>
      <AtNo>sample string 4</AtNo>
      <Id>5</Id>
      <Note>sample string 11</Note>
      <PayAt>6</PayAt>
      <PayAtName>sample string 20</PayAtName>
      <PayMethod>9</PayMethod>
      <PayMethodName>sample string 22</PayMethodName>
      <RecAt>7</RecAt>
      <RecAtName>sample string 21</RecAtName>
      <RefNo>sample string 10</RefNo>
      <StrValue1>sample string 12</StrValue1>
      <StrValue2>sample string 13</StrValue2>
      <StrValue3>sample string 14</StrValue3>
      <StrValue4>sample string 15</StrValue4>
      <StrValue5>sample string 16</StrValue5>
      <StrValue6>sample string 17</StrValue6>
      <StrValue7>sample string 18</StrValue7>
      <StrValue8>sample string 19</StrValue8>
    </AccountTransferEntryEditModel>
    <AccountTransferEntryEditModel>
      <Amount>8</Amount>
      <AsId>1</AsId>
      <AtDate>2021-09-19T01:24:25.876623+08:00</AtDate>
      <AtId>3</AtId>
      <AtNo>sample string 4</AtNo>
      <Id>5</Id>
      <Note>sample string 11</Note>
      <PayAt>6</PayAt>
      <PayAtName>sample string 20</PayAtName>
      <PayMethod>9</PayMethod>
      <PayMethodName>sample string 22</PayMethodName>
      <RecAt>7</RecAt>
      <RecAtName>sample string 21</RecAtName>
      <RefNo>sample string 10</RefNo>
      <StrValue1>sample string 12</StrValue1>
      <StrValue2>sample string 13</StrValue2>
      <StrValue3>sample string 14</StrValue3>
      <StrValue4>sample string 15</StrValue4>
      <StrValue5>sample string 16</StrValue5>
      <StrValue6>sample string 17</StrValue6>
      <StrValue7>sample string 18</StrValue7>
      <StrValue8>sample string 19</StrValue8>
    </AccountTransferEntryEditModel>
  </Items>
  <ModifiedBy>9</ModifiedBy>
  <ModifiedByName>sample string 15</ModifiedByName>
  <ModifiedDate>2021-09-19T01:24:25.876623+08:00</ModifiedDate>
  <No>sample string 4</No>
  <Note>sample string 5</Note>
</AccountTransferEditModel>