POST jxc_api/OtherPayment/Check

审核付款单

Request Information

URI Parameters

None.

Body Parameters

其他支出单信息

OtherPaymentEditModel
NameDescriptionTypeAdditional information
AsId

账套ID

integer

None.

Date

单据日期

date

None.

VendId

供应商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.

HasSourceBill

是否已经关联了采购、销售单据

boolean

None.

ShareExpense

是否分摊成本,0:未分摊,1:已分摊

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.

VendName

供应商名称

string

None.

CreatedByName

制单人名称

string

None.

CheckedByName

审核人名称

string

None.

ModifiedByName

修改人名称

string

None.

AcName

账户名称

string

None.

PayInfoItems

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

Collection of PayModel

None.

Items

付款子条目信息

Collection of OtherPaymentEntryEditModel

None.

Request Formats

application/json, text/json

Sample:
{
  "AsId": 1,
  "Date": "2021-09-19 01:11:52",
  "VendId": 3,
  "Id": 4,
  "No": "sample string 5",
  "Operator": 6,
  "Amount": 7.0,
  "DiscAmount": 8.0,
  "AmountFirst": 9.0,
  "AcId": 10,
  "HasSourceBill": true,
  "ShareExpense": 11,
  "Note": "sample string 12",
  "IsChecked": 13,
  "CreatedBy": 14,
  "CreatedDate": "2021-09-19 01:11:52",
  "ModifiedBy": 16,
  "ModifiedDate": "2021-09-19 01:11:52",
  "CheckedBy": 18,
  "CheckedDate": "2021-09-19 01:11:52",
  "OrpType": 20,
  "VendName": "sample string 21",
  "CreatedByName": "sample string 22",
  "CheckedByName": "sample string 23",
  "ModifiedByName": "sample string 24",
  "AcName": "sample string 25",
  "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 01:11:52",
      "VendId": 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 01:11:52",
      "VendId": 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:
<OtherPaymentEditModel 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 25</AcName>
  <Amount>7</Amount>
  <AmountFirst>9</AmountFirst>
  <AsId>1</AsId>
  <CheckedBy>18</CheckedBy>
  <CheckedByName>sample string 23</CheckedByName>
  <CheckedDate>2021-09-19T01:11:52.4358578+08:00</CheckedDate>
  <CreatedBy>14</CreatedBy>
  <CreatedByName>sample string 22</CreatedByName>
  <CreatedDate>2021-09-19T01:11:52.4358578+08:00</CreatedDate>
  <Date>2021-09-19T01:11:52.4358578+08:00</Date>
  <DiscAmount>8</DiscAmount>
  <Id>4</Id>
  <IsChecked>13</IsChecked>
  <Items>
    <OtherPaymentEntryEditModel>
      <AcId>9</AcId>
      <Amount>10</Amount>
      <AsId>1</AsId>
      <ExpId>12</ExpId>
      <Id>7</Id>
      <Note>sample string 11</Note>
      <OrpDate>2021-09-19T01:11:52.4358578+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>
      <VendId>4</VendId>
    </OtherPaymentEntryEditModel>
    <OtherPaymentEntryEditModel>
      <AcId>9</AcId>
      <Amount>10</Amount>
      <AsId>1</AsId>
      <ExpId>12</ExpId>
      <Id>7</Id>
      <Note>sample string 11</Note>
      <OrpDate>2021-09-19T01:11:52.4358578+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>
      <VendId>4</VendId>
    </OtherPaymentEntryEditModel>
  </Items>
  <ModifiedBy>16</ModifiedBy>
  <ModifiedByName>sample string 24</ModifiedByName>
  <ModifiedDate>2021-09-19T01:11:52.4358578+08:00</ModifiedDate>
  <No>sample string 5</No>
  <Note>sample string 12</Note>
  <Operator>6</Operator>
  <OrpType>20</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>
  <ShareExpense>11</ShareExpense>
  <VendId>3</VendId>
  <VendName>sample string 21</VendName>
</OtherPaymentEditModel>

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/" />