POST api/complain/payment

Request Information

URI Parameters

None.

Body Parameters

ComplainPayment
NameDescriptionTypeAdditional information
ComplainPaymentId

integer

None.

TotalAmount

decimal number

None.

PaidAmount

decimal number

None.

DueAmount

decimal number

None.

EnteryDate

date

None.

ComplainId

integer

None.

PaymentDate

date

None.

EmployeeId

integer

None.

Type

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ComplainPaymentId": 1,
  "TotalAmount": 1.0,
  "PaidAmount": 1.0,
  "DueAmount": 1.0,
  "EnteryDate": "2025-12-06T10:01:03.3635097+05:30",
  "ComplainId": 1,
  "PaymentDate": "2025-12-06T10:01:03.3635097+05:30",
  "EmployeeId": 1,
  "Type": "sample string 2"
}

application/xml, text/xml

Sample:
<ComplainPayment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SolarDichachi">
  <ComplainId>1</ComplainId>
  <ComplainPaymentId>1</ComplainPaymentId>
  <DueAmount>1</DueAmount>
  <EmployeeId>1</EmployeeId>
  <EnteryDate>2025-12-06T10:01:03.3635097+05:30</EnteryDate>
  <PaidAmount>1</PaidAmount>
  <PaymentDate>2025-12-06T10:01:03.3635097+05:30</PaymentDate>
  <TotalAmount>1</TotalAmount>
  <Type>sample string 2</Type>
</ComplainPayment>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Dictionary of string [key] and Object [value]

Response Formats

application/json, text/json

Sample:
{
  "sample string 1": {},
  "sample string 3": {}
}

application/xml, text/xml

Sample:
<ArrayOfKeyValueOfstringanyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
  <KeyValueOfstringanyType>
    <Key>sample string 1</Key>
    <Value />
  </KeyValueOfstringanyType>
  <KeyValueOfstringanyType>
    <Key>sample string 3</Key>
    <Value />
  </KeyValueOfstringanyType>
</ArrayOfKeyValueOfstringanyType>