POST jxc_api/OtherReceipt/InitData/{id}

根据ID获得其它收入单

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

其它收入单ID

integer

Required

Body Parameters

None.

Response Information

Resource Description

根据ID获得其它收入单

OtherReceiptEditModel
NameDescriptionTypeAdditional information
AsId

账套ID

integer

None.

Date

单据日期

date

None.

CustId

客户ID

integer

None.

Id

单据ID

integer

None.

No

单据编号

string

None.

Operator

收款人

integer

None.

Amount

金额

decimal number

None.

DiscAmount

整单折扣

decimal number

None.

AmountFirst

首次付款

decimal number

None.

AcId

账户ID

integer

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.

OrpType

单据类型

integer

None.

CustName

客户名称

string

None.

CreatedByName

制单人名称

string

None.

CheckedByName

审核人名称

string

None.

ModifiedByName

修改人名称

string

None.

AcName

账户名称

string

None.

PayInfoItems

单据包含的多账户结算信息

Collection of PayModel

None.

Items

收款子条目信息

Collection of OtherReceiptEntryEditModel

None.

Response Formats

application/json, text/json

Sample:
{
  "AsId": 1,
  "Date": "2021-09-19 00:43:14",
  "CustId": 3,
  "Id": 4,
  "No": "sample string 5",
  "Operator": 6,
  "Amount": 7.0,
  "DiscAmount": 8.0,
  "AmountFirst": 9.0,
  "AcId": 10,
  "Note": "sample string 11",
  "IsChecked": 12,
  "CreatedBy": 13,
  "CreatedDate": "2021-09-19 00:43:14",
  "ModifiedBy": 15,
  "ModifiedDate": "2021-09-19 00:43:14",
  "CheckedBy": 17,
  "CheckedDate": "2021-09-19 00:43:14",
  "OrpType": 19,
  "CustName": "sample string 20",
  "CreatedByName": "sample string 21",
  "CheckedByName": "sample string 22",
  "ModifiedByName": "sample string 23",
  "AcName": "sample string 24",
  "PayInfoItems": [
    {
      "Id": 1,
      "AcId": 2,
      "AcName": "sample string 3",
      "Amount": 4.0,
      "PayMethod": 5,
      "PayMethodName": "sample string 6",
      "RefNo": "sample string 7"
    },
    {
      "Id": 1,
      "AcId": 2,
      "AcName": "sample string 3",
      "Amount": 4.0,
      "PayMethod": 5,
      "PayMethodName": "sample string 6",
      "RefNo": "sample string 7"
    }
  ],
  "Items": [
    {
      "AsId": 1,
      "OrpType": 2,
      "OrpDate": "2021-09-19 00:43:14",
      "CustId": 4,
      "OrpId": 5,
      "OrpNo": "sample string 6",
      "Id": 7,
      "Type": 8,
      "AcId": 9,
      "Amount": 10.0,
      "Note": "sample string 11",
      "ExpId": 12,
      "StrValue1": "sample string 13",
      "StrValue2": "sample string 14",
      "StrValue3": "sample string 15",
      "StrValue4": "sample string 16",
      "StrValue5": "sample string 17",
      "StrValue6": "sample string 18",
      "StrValue7": "sample string 19",
      "StrValue8": "sample string 20",
      "TypeName": "sample string 21"
    },
    {
      "AsId": 1,
      "OrpType": 2,
      "OrpDate": "2021-09-19 00:43:14",
      "CustId": 4,
      "OrpId": 5,
      "OrpNo": "sample string 6",
      "Id": 7,
      "Type": 8,
      "AcId": 9,
      "Amount": 10.0,
      "Note": "sample string 11",
      "ExpId": 12,
      "StrValue1": "sample string 13",
      "StrValue2": "sample string 14",
      "StrValue3": "sample string 15",
      "StrValue4": "sample string 16",
      "StrValue5": "sample string 17",
      "StrValue6": "sample string 18",
      "StrValue7": "sample string 19",
      "StrValue8": "sample string 20",
      "TypeName": "sample string 21"
    }
  ]
}

application/xml, text/xml

Sample:
<OtherReceiptEditModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.WebApi.Areas.Money.Models">
  <AcId>10</AcId>
  <AcName>sample string 24</AcName>
  <Amount>7</Amount>
  <AmountFirst>9</AmountFirst>
  <AsId>1</AsId>
  <CheckedBy>17</CheckedBy>
  <CheckedByName>sample string 22</CheckedByName>
  <CheckedDate>2021-09-19T00:43:14.5910439+08:00</CheckedDate>
  <CreatedBy>13</CreatedBy>
  <CreatedByName>sample string 21</CreatedByName>
  <CreatedDate>2021-09-19T00:43:14.5910439+08:00</CreatedDate>
  <CustId>3</CustId>
  <CustName>sample string 20</CustName>
  <Date>2021-09-19T00:43:14.5910439+08:00</Date>
  <DiscAmount>8</DiscAmount>
  <Id>4</Id>
  <IsChecked>12</IsChecked>
  <Items>
    <OtherReceiptEntryEditModel>
      <AcId>9</AcId>
      <Amount>10</Amount>
      <AsId>1</AsId>
      <CustId>4</CustId>
      <ExpId>12</ExpId>
      <Id>7</Id>
      <Note>sample string 11</Note>
      <OrpDate>2021-09-19T00:43:14.5910439+08:00</OrpDate>
      <OrpId>5</OrpId>
      <OrpNo>sample string 6</OrpNo>
      <OrpType>2</OrpType>
      <StrValue1>sample string 13</StrValue1>
      <StrValue2>sample string 14</StrValue2>
      <StrValue3>sample string 15</StrValue3>
      <StrValue4>sample string 16</StrValue4>
      <StrValue5>sample string 17</StrValue5>
      <StrValue6>sample string 18</StrValue6>
      <StrValue7>sample string 19</StrValue7>
      <StrValue8>sample string 20</StrValue8>
      <Type>8</Type>
      <TypeName>sample string 21</TypeName>
    </OtherReceiptEntryEditModel>
    <OtherReceiptEntryEditModel>
      <AcId>9</AcId>
      <Amount>10</Amount>
      <AsId>1</AsId>
      <CustId>4</CustId>
      <ExpId>12</ExpId>
      <Id>7</Id>
      <Note>sample string 11</Note>
      <OrpDate>2021-09-19T00:43:14.5910439+08:00</OrpDate>
      <OrpId>5</OrpId>
      <OrpNo>sample string 6</OrpNo>
      <OrpType>2</OrpType>
      <StrValue1>sample string 13</StrValue1>
      <StrValue2>sample string 14</StrValue2>
      <StrValue3>sample string 15</StrValue3>
      <StrValue4>sample string 16</StrValue4>
      <StrValue5>sample string 17</StrValue5>
      <StrValue6>sample string 18</StrValue6>
      <StrValue7>sample string 19</StrValue7>
      <StrValue8>sample string 20</StrValue8>
      <Type>8</Type>
      <TypeName>sample string 21</TypeName>
    </OtherReceiptEntryEditModel>
  </Items>
  <ModifiedBy>15</ModifiedBy>
  <ModifiedByName>sample string 23</ModifiedByName>
  <ModifiedDate>2021-09-19T00:43:14.5910439+08:00</ModifiedDate>
  <No>sample string 5</No>
  <Note>sample string 11</Note>
  <Operator>6</Operator>
  <OrpType>19</OrpType>
  <PayInfoItems xmlns:d2p1="http://schemas.datacontract.org/2004/07/LemonScm.WebApi.Areas.BaseData.Models">
    <d2p1:PayModel>
      <d2p1:AcId>2</d2p1:AcId>
      <d2p1:AcName>sample string 3</d2p1:AcName>
      <d2p1:Amount>4</d2p1:Amount>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:PayMethod>5</d2p1:PayMethod>
      <d2p1:PayMethodName>sample string 6</d2p1:PayMethodName>
      <d2p1:RefNo>sample string 7</d2p1:RefNo>
    </d2p1:PayModel>
    <d2p1:PayModel>
      <d2p1:AcId>2</d2p1:AcId>
      <d2p1:AcName>sample string 3</d2p1:AcName>
      <d2p1:Amount>4</d2p1:Amount>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:PayMethod>5</d2p1:PayMethod>
      <d2p1:PayMethodName>sample string 6</d2p1:PayMethodName>
      <d2p1:RefNo>sample string 7</d2p1:RefNo>
    </d2p1:PayModel>
  </PayInfoItems>
</OtherReceiptEditModel>