POST api/savePaymentDetail

Request Information

URI Parameters

None.

Body Parameters

SavePaymentDetailRequest
NameDescriptionTypeAdditional information
paymentId

integer

None.

paymentType

string

String length: inclusive between 0 and 2

paymentTerm

integer

Required

paymentDate

date

None.

bankCode

string

String length: inclusive between 0 and 20

netPrice

decimal number

None.

paymentStatus

string

Required

String length: inclusive between 0 and 15

paymentRemark

string

None.

isActive

string

Required

String length: inclusive between 0 and 1

createBy

string

String length: inclusive between 0 and 20

updateBy

string

String length: inclusive between 0 and 20

clientCode

string

String length: inclusive between 0 and 20

isPaymentAll

string

None.

Request Formats

application/json, text/json

Sample:
{
  "paymentId": 1,
  "paymentType": "sample string 2",
  "paymentTerm": 3,
  "paymentDate": "2026-01-13T18:25:40.7395314+07:00",
  "bankCode": "sample string 5",
  "netPrice": 6.0,
  "paymentStatus": "sample string 7",
  "paymentRemark": "sample string 8",
  "isActive": "sample string 9",
  "createBy": "sample string 10",
  "updateBy": "sample string 11",
  "clientCode": "sample string 12",
  "isPaymentAll": "sample string 13"
}

application/xml, text/xml

Sample:
<SavePaymentDetailRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VentilatorAPI.HTTP.Request">
  <bankCode>sample string 5</bankCode>
  <clientCode>sample string 12</clientCode>
  <createBy>sample string 10</createBy>
  <dueDate>2026-01-13T18:25:40.7395314+07:00</dueDate>
  <isActive>sample string 9</isActive>
  <isPaymentAll>sample string 13</isPaymentAll>
  <netPrice>6</netPrice>
  <paymentDate>2026-01-13T18:25:40.7395314+07:00</paymentDate>
  <paymentId>1</paymentId>
  <paymentRemark>sample string 8</paymentRemark>
  <paymentStatus>sample string 7</paymentStatus>
  <paymentTerm>3</paymentTerm>
  <paymentType>sample string 2</paymentType>
  <updateBy>sample string 11</updateBy>
</SavePaymentDetailRequest>

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.