POST api/payment/save

Request Information

URI Parameters

None.

Body Parameters

PaymentDT
NameDescriptionTypeAdditional information
PayID

integer

None.

ComPID

integer

None.

DealerID

integer

None.

LoginID

string

String length: inclusive between 0 and 50

PayDate

date

None.

Cash

decimal number

None.

UPI

decimal number

None.

PayMode

string

String length: inclusive between 0 and 50

UPIAccounts

string

String length: inclusive between 0 and 50

CheqNo

string

String length: inclusive between 0 and 50

Chqdate

date

None.

BankName

string

String length: inclusive between 0 and 150

PayStatus

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "PayID": 1,
  "ComPID": 1,
  "DealerID": 1,
  "LoginID": "sample string 2",
  "PayDate": "2026-06-08T20:24:50.3869374+05:30",
  "Cash": 1.1,
  "UPI": 1.1,
  "PayMode": "sample string 3",
  "UPIAccounts": "sample string 4",
  "CheqNo": "sample string 5",
  "Chqdate": "2026-06-08T20:24:50.3869374+05:30",
  "BankName": "sample string 6",
  "PayStatus": true
}

text/html

Sample:
{"PayID":1,"ComPID":1,"DealerID":1,"LoginID":"sample string 2","PayDate":"2026-06-08T20:24:50.3869374+05:30","Cash":1.1,"UPI":1.1,"PayMode":"sample string 3","UPIAccounts":"sample string 4","CheqNo":"sample string 5","Chqdate":"2026-06-08T20:24:50.3869374+05:30","BankName":"sample string 6","PayStatus":true}

application/xml, text/xml

Sample:
<PaymentDT xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KeyCodeWebsApis.Models">
  <BankName>sample string 6</BankName>
  <Cash>1.1</Cash>
  <CheqNo>sample string 5</CheqNo>
  <Chqdate>2026-06-08T20:24:50.3869374+05:30</Chqdate>
  <ComPID>1</ComPID>
  <DealerID>1</DealerID>
  <LoginID>sample string 2</LoginID>
  <PayDate>2026-06-08T20:24:50.3869374+05:30</PayDate>
  <PayID>1</PayID>
  <PayMode>sample string 3</PayMode>
  <PayStatus>true</PayStatus>
  <UPI>1.1</UPI>
  <UPIAccounts>sample string 4</UPIAccounts>
</PaymentDT>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.