PUT api/PaymentRequestApi/UpdatePaymentRequest?id={id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

PaymentRequest
NameDescriptionTypeAdditional information
Id

integer

None.

FromBranchId

integer

None.

FromUserId

integer

None.

ToBranchId

integer

None.

UserIdTakenAction

integer

None.

Note

string

None.

PaymentWay_Id

integer

None.

Amount

decimal number

None.

RequestDate

date

None.

Status

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "FromBranchId": 2,
  "FromUserId": 3,
  "ToBranchId": 4,
  "UserIdTakenAction": 5,
  "Note": "sample string 6",
  "PaymentWay_Id": 7,
  "Amount": 8.0,
  "RequestDate": "2025-04-03T21:59:33.3363487-07:00",
  "Status": "sample string 10"
}

application/xml, text/xml

Sample:
<PaymentRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ODOAPI.Models">
  <Amount>8</Amount>
  <FromBranchId>2</FromBranchId>
  <FromUserId>3</FromUserId>
  <Id>1</Id>
  <Note>sample string 6</Note>
  <PaymentWay_Id>7</PaymentWay_Id>
  <RequestDate>2025-04-03T21:59:33.3363487-07:00</RequestDate>
  <Status>sample string 10</Status>
  <ToBranchId>4</ToBranchId>
  <UserIdTakenAction>5</UserIdTakenAction>
</PaymentRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.