GET api/HistoryApi/{Id}?LoginId={LoginId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
Id

integer

Required

LoginId

integer

Required

Body Parameters

None.

Response Information

Resource Description

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.

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "LoginId": 2,
  "PaymentDate": "2026-03-14T19:46:19.9910811+05:00",
  "PaymentDateString": "sample string 4",
  "Payment": 5.1,
  "Comments": "sample string 6",
  "CreatedDate": "2026-03-14T19:46:19.9920578+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>2026-03-14T19:46:19.9920578+05:00</CreatedDate>
  <Id>1</Id>
  <IsEdit>true</IsEdit>
  <LoginId>2</LoginId>
  <Payment>5.1</Payment>
  <PaymentDate>2026-03-14T19:46:19.9910811+05:00</PaymentDate>
  <PaymentDateString>sample string 4</PaymentDateString>
</PaymentHistoryViewModel>