POST jxc_api/Receipt/Update

修改收款单

Request Information

URI Parameters

None.

Body Parameters

收款单信息

ReceiptEditModel
NameDescriptionTypeAdditional information
AsId

账套ID

integer

None.

Date

单据日期

date

None.

CustId

客户ID

integer

None.

Id

单据ID

integer

None.

No

单据编号

string

None.

Operator

收款人

integer

None.

CreatedBy

制单人

integer

None.

CreatedDate

制单日期

date

None.

ModifiedBy

修改人

integer

None.

ModifiedDate

修改日期

date

None.

DiscAmount

整单折扣

decimal number

None.

Amount

各收款账户收款金额总和

decimal number

None.

OFAmount

本次核销金额总和

decimal number

None.

OFStatus

收款单的核销状态

BillStatus

None.

Note

备注

string

None.

IsChecked

是否已审核

integer

None.

CheckedBy

审核人

integer

None.

CheckedDate

审核日期

date

None.

CustName

客户名称

string

None.

CreatedByName

制单人名称

string

None.

CheckedByName

审核人名称

string

None.

ModifiedByName

修改人名称

string

None.

OperatorName

收款人名称

string

None.

CustReceivable

应收款余额

decimal number

None.

IsFromApp

是否是App调用的

boolean

None.

Items

各收款账户收款详情

Collection of ReceiptEntryEditModel

None.

Items2

核销的项目详情

Collection of RPBillEntryEditModel

None.

Request Formats

application/json, text/json

Sample:
{
  "AsId": 1,
  "Date": "2021-09-19 01:09:43",
  "CustId": 3,
  "Id": 4,
  "No": "sample string 5",
  "Operator": 6,
  "CreatedBy": 7,
  "CreatedDate": "2021-09-19 01:09:43",
  "ModifiedBy": 9,
  "ModifiedDate": "2021-09-19 01:09:43",
  "DiscAmount": 11.0,
  "Amount": 12.0,
  "OFAmount": 13.0,
  "OFStatus": 1010,
  "Note": "sample string 14",
  "IsChecked": 15,
  "CheckedBy": 16,
  "CheckedDate": "2021-09-19 01:09:43",
  "CustName": "sample string 18",
  "CreatedByName": "sample string 19",
  "CheckedByName": "sample string 20",
  "ModifiedByName": "sample string 21",
  "OperatorName": "sample string 22",
  "CustReceivable": 23.0,
  "IsFromApp": true,
  "Items": [
    {
      "AsId": 1,
      "Date": "2021-09-19 01:09:43",
      "CustId": 3,
      "RecId": 4,
      "RecNo": "sample string 5",
      "Id": 6,
      "AcId": 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",
      "AcName": "sample string 20",
      "PayMethodName": "sample string 21"
    },
    {
      "AsId": 1,
      "Date": "2021-09-19 01:09:43",
      "CustId": 3,
      "RecId": 4,
      "RecNo": "sample string 5",
      "Id": 6,
      "AcId": 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",
      "AcName": "sample string 20",
      "PayMethodName": "sample string 21"
    }
  ],
  "Items2": [
    null,
    {
      "AsId": 1,
      "RPDate": "2021-09-19 01:09:43",
      "BType": 1010,
      "RPId": 3,
      "RPNo": "sample string 4",
      "Id": 5,
      "BillId": 6,
      "BillNo": "sample string 7",
      "BillBType": 1010,
      "BillDate": "2021-09-19 01:09:43",
      "BillOFAmount": 9.0,
      "StrValue1": "sample string 10",
      "StrValue2": "sample string 11",
      "StrValue3": "sample string 12",
      "StrValue4": "sample string 13",
      "StrValue5": "sample string 14",
      "StrValue6": "sample string 15",
      "StrValue7": "sample string 16",
      "StrValue8": "sample string 17",
      "CreatedBy": 18,
      "CreatedDate": "2021-09-19 01:09:43",
      "ModifiedBy": 20,
      "ModifiedDate": "2021-09-19 01:09:43",
      "BillAmount": 22.0,
      "BillOFDAmount": 23.0,
      "BillOFUAmount": 24.0,
      "BillDateFmt": "2021-09-19"
    }
  ]
}

application/xml, text/xml

Sample:
<ReceiptEditModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.WebApi.Areas.Money.Models">
  <Amount>12</Amount>
  <AsId>1</AsId>
  <CheckedBy>16</CheckedBy>
  <CheckedByName>sample string 20</CheckedByName>
  <CheckedDate>2021-09-19T01:09:43.7261167+08:00</CheckedDate>
  <CreatedBy>7</CreatedBy>
  <CreatedByName>sample string 19</CreatedByName>
  <CreatedDate>2021-09-19T01:09:43.7261167+08:00</CreatedDate>
  <CustId>3</CustId>
  <CustName>sample string 18</CustName>
  <CustReceivable>23</CustReceivable>
  <Date>2021-09-19T01:09:43.7261167+08:00</Date>
  <DiscAmount>11</DiscAmount>
  <Id>4</Id>
  <IsChecked>15</IsChecked>
  <IsFromApp>true</IsFromApp>
  <Items>
    <ReceiptEntryEditModel>
      <AcId>7</AcId>
      <AcName>sample string 20</AcName>
      <Amount>8</Amount>
      <AsId>1</AsId>
      <CustId>3</CustId>
      <Date>2021-09-19T01:09:43.7261167+08:00</Date>
      <Id>6</Id>
      <Note>sample string 11</Note>
      <PayMethod>9</PayMethod>
      <PayMethodName>sample string 21</PayMethodName>
      <RecId>4</RecId>
      <RecNo>sample string 5</RecNo>
      <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>
    </ReceiptEntryEditModel>
    <ReceiptEntryEditModel>
      <AcId>7</AcId>
      <AcName>sample string 20</AcName>
      <Amount>8</Amount>
      <AsId>1</AsId>
      <CustId>3</CustId>
      <Date>2021-09-19T01:09:43.7261167+08:00</Date>
      <Id>6</Id>
      <Note>sample string 11</Note>
      <PayMethod>9</PayMethod>
      <PayMethodName>sample string 21</PayMethodName>
      <RecId>4</RecId>
      <RecNo>sample string 5</RecNo>
      <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>
    </ReceiptEntryEditModel>
  </Items>
  <Items2>
    <RPBillEntryEditModel i:nil="true" />
    <RPBillEntryEditModel>
      <AsId>1</AsId>
      <BType>PreOFRec</BType>
      <BillAmount>22</BillAmount>
      <BillBType>Purchase</BillBType>
      <BillDate>2021-09-19T01:09:43.7261167+08:00</BillDate>
      <BillDateFmt>2021-09-19</BillDateFmt>
      <BillId>6</BillId>
      <BillNo>sample string 7</BillNo>
      <BillOFAmount>9</BillOFAmount>
      <BillOFDAmount>23</BillOFDAmount>
      <BillOFUAmount>24</BillOFUAmount>
      <CreatedBy>18</CreatedBy>
      <CreatedDate>2021-09-19T01:09:43.7261167+08:00</CreatedDate>
      <Id>5</Id>
      <ModifiedBy>20</ModifiedBy>
      <ModifiedDate>2021-09-19T01:09:43.7261167+08:00</ModifiedDate>
      <RPDate>2021-09-19T01:09:43.7261167+08:00</RPDate>
      <RPId>3</RPId>
      <RPNo>sample string 4</RPNo>
      <StrValue1>sample string 10</StrValue1>
      <StrValue2>sample string 11</StrValue2>
      <StrValue3>sample string 12</StrValue3>
      <StrValue4>sample string 13</StrValue4>
      <StrValue5>sample string 14</StrValue5>
      <StrValue6>sample string 15</StrValue6>
      <StrValue7>sample string 16</StrValue7>
      <StrValue8>sample string 17</StrValue8>
    </RPBillEntryEditModel>
  </Items2>
  <ModifiedBy>9</ModifiedBy>
  <ModifiedByName>sample string 21</ModifiedByName>
  <ModifiedDate>2021-09-19T01:09:43.7261167+08:00</ModifiedDate>
  <No>sample string 5</No>
  <Note>sample string 14</Note>
  <OFAmount>13</OFAmount>
  <OFStatus>None</OFStatus>
  <Operator>6</Operator>
  <OperatorName>sample string 22</OperatorName>
</ReceiptEditModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

修改收款单

Object

None.

Response Formats

application/json, text/json

Sample:
{}

application/xml, text/xml

Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />