POST api/HistoryApi/SavePayment

Request Information

URI Parameters

None.

Body Parameters

PaymentHistoryViewModel
NameDescriptionTypeAdditional information
Id

integer

None.

LoginId

integer

None.

PaymentDate

date

None.

PaymentDateString

string

None.

Payment

decimal number

None.

Comments

string

None.

CreatedDate

date

None.

IsEdit

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "LoginId": 2,
  "PaymentDate": "2025-12-06T10:49:07.0404148+05:00",
  "PaymentDateString": "sample string 4",
  "Payment": 5.1,
  "Comments": "sample string 6",
  "CreatedDate": "2025-12-06T10:49:07.0404148+05:00",
  "IsEdit": true
}

application/xml, text/xml

Sample:
<PaymentHistoryViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SMS.DataModels">
  <Comments>sample string 6</Comments>
  <CreatedDate>2025-12-06T10:49:07.0404148+05:00</CreatedDate>
  <Id>1</Id>
  <IsEdit>true</IsEdit>
  <LoginId>2</LoginId>
  <Payment>5.1</Payment>
  <PaymentDate>2025-12-06T10:49:07.0404148+05:00</PaymentDate>
  <PaymentDateString>sample string 4</PaymentDateString>
</PaymentHistoryViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>