POST api/PaymentRequest/Update
修改付款申请单
Request Information
URI Parameters
None.
Body Parameters
PaymentRequestDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Id |
标识 |
integer |
None. |
| No |
单号 |
string |
None. |
| BillType |
单据类型(1、支付单,2借款单,3报销单) |
byte |
None. |
| PayDate |
支付日期 |
date |
None. |
| PartnerId |
客户/供应商Id |
integer |
None. |
| PartnerType |
客户类型(1:客户,2:供应商,3:车队,4:司机) |
integer |
None. |
| PayReceiveItem_Id |
科目 |
integer |
None. |
| AccountingType |
核算类型 |
integer |
None. |
| Currency_Id |
币种,与字典关联 |
integer |
None. |
| ExchangeRate |
汇率 |
decimal number |
None. |
| Amount |
支付金额 |
decimal number |
None. |
| PayeeId |
申请人Id |
integer |
None. |
| Address |
收款信息 |
string |
None. |
| UseDescription |
事由或品名(摘要) |
string |
None. |
| RepaymentDate |
预期还款日期 |
date |
None. |
| ApprovalUrgency |
批准付款优先级别[0暂缓,1正常,2紧急] |
byte |
None. |
| ApprovalPayDate |
核准付款进间 |
date |
None. |
| ApproveOpinion |
审批意见 |
string |
None. |
| SourceType |
来源类型:1-供应商对账单;2-订单押金;3-代付款单;4-司机借款 |
byte |
None. |
| SourceId |
来源ID |
string |
None. |
| State |
状态[0,未提交;1,等待审核2,审核中;3,不通过;4,审核通过/待付款;5.付款中;6.付款完结;7.已退回] |
byte |
None. |
| CompanyStructure |
部门Id |
integer |
None. |
| Bank |
开户行 |
string |
None. |
| BankName |
开户名 |
string |
None. |
| BankAccount |
账号 |
string |
None. |
| IsForm | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"No": "sample string 2",
"BillType": 64,
"PayDate": "2026-03-31 21:49:03",
"PartnerId": 1,
"PartnerType": 1,
"PayReceiveItem_Id": 1,
"AccountingType": 5,
"Currency_Id": 6,
"ExchangeRate": 7.0,
"Amount": 8.0,
"PayeeId": 9,
"Address": "sample string 10",
"UseDescription": "sample string 11",
"RepaymentDate": "2026-03-31 21:49:03",
"ApprovalUrgency": 64,
"ApprovalPayDate": "2026-03-31 21:49:03",
"ApproveOpinion": "sample string 12",
"SourceType": 64,
"SourceId": "sample string 13",
"State": 64,
"CompanyStructure": 1,
"Bank": "sample string 15",
"BankName": "sample string 16",
"BankAccount": "sample string 17",
"IsForm": true
}
application/xml, text/xml
Sample:
<PaymentRequestDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CMS.Domain.Dto"> <AccountingType>5</AccountingType> <Address>sample string 10</Address> <Amount>8</Amount> <ApprovalPayDate>2026-03-31T21:49:03.4102885+08:00</ApprovalPayDate> <ApprovalUrgency>64</ApprovalUrgency> <ApproveOpinion>sample string 12</ApproveOpinion> <Bank>sample string 15</Bank> <BankAccount>sample string 17</BankAccount> <BankName>sample string 16</BankName> <BillType>64</BillType> <CompanyStructure>1</CompanyStructure> <Currency_Id>6</Currency_Id> <ExchangeRate>7</ExchangeRate> <Id>1</Id> <IsForm>true</IsForm> <No>sample string 2</No> <PartnerId>1</PartnerId> <PartnerType>1</PartnerType> <PayDate>2026-03-31T21:49:03.4102885+08:00</PayDate> <PayReceiveItem_Id>1</PayReceiveItem_Id> <PayeeId>9</PayeeId> <RepaymentDate>2026-03-31T21:49:03.4102885+08:00</RepaymentDate> <SourceId>sample string 13</SourceId> <SourceType>64</SourceType> <State>64</State> <UseDescription>sample string 11</UseDescription> </PaymentRequestDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
InfoResult| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | Object |
None. |
|
| IsSuccess |
是否成功:true:成功,false:失败 |
boolean |
None. |
| Msg |
返回消息 |
string |
None. |
| Extra |
特定信息 |
string |
None. |
| Code |
内部代码:[成功 000000|失败 000001|未登陆/未授权 000002] |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Data": {},
"IsSuccess": true,
"Msg": "sample string 3",
"Extra": "sample string 4",
"Code": "sample string 5"
}
application/xml, text/xml
Sample:
<InfoResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CMS.Core.ShareData"> <Code>sample string 5</Code> <Extra>sample string 4</Extra> <IsSuccess>true</IsSuccess> <Msg>sample string 3</Msg> <Data /> </InfoResult>