POST api/PaymentDetails/GetPaymentDetailsById/{paymentDetailsId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| paymentDetailsId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
PaymentDetailsVM| Name | Description | Type | Additional information |
|---|---|---|---|
| PaymentDetailsId | integer |
None. |
|
| UserId | integer |
None. |
|
| InvoiceId | integer |
None. |
|
| PaymentModeId | integer |
None. |
|
| PaymentStatusId | integer |
None. |
|
| InvoiceNumber | string |
None. |
|
| PaymentMode | string |
None. |
|
| PaymentStatus | string |
None. |
|
| DepoAccountName | string |
None. |
|
| CustomerName | string |
None. |
|
| DepoId | integer |
None. |
|
| CustomerId | integer |
None. |
|
| Amount | decimal number |
None. |
|
| BalanceAmount | decimal number |
None. |
|
| Date | date |
None. |
|
| Description | string |
None. |
|
| DepoAccount | integer |
None. |
|
| IsInward | boolean |
None. |
|
| IsActive | boolean |
None. |
|
| IsExspenseAccount | boolean |
None. |
|
| InvoiceTypeId | integer |
None. |
|
| IsProcessed | boolean |
None. |
|
| ImageData | string |
None. |
|
| ImageURL | string |
None. |
|
| ExpenseTypeId | integer |
None. |
|
| ExpenseType | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"paymentDetailsId": 1,
"userId": 1,
"invoiceId": 1,
"paymentModeId": 2,
"paymentStatusId": 3,
"invoiceNumber": "sample string 4",
"paymentMode": "sample string 5",
"paymentStatus": "sample string 6",
"depoAccountName": "sample string 7",
"customerName": "sample string 8",
"depoId": 9,
"customerId": 1,
"amount": 1.1,
"balanceAmount": 1.1,
"date": "2025-10-28T17:05:57.6214638+05:30",
"description": "sample string 10",
"depoAccount": 1,
"isInward": true,
"isActive": true,
"isExspenseAccount": true,
"invoiceTypeId": 1,
"isProcessed": true,
"imageData": "sample string 14",
"imageURL": "sample string 15",
"expenseTypeId": 1,
"expenseType": "sample string 16"
}
application/xml, text/xml
Sample:
<PaymentDetailsVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IMS.VM"> <Amount>1.1</Amount> <BalanceAmount>1.1</BalanceAmount> <CustomerId>1</CustomerId> <CustomerName>sample string 8</CustomerName> <Date>2025-10-28T17:05:57.6214638+05:30</Date> <DepoAccount>1</DepoAccount> <DepoAccountName>sample string 7</DepoAccountName> <DepoId>9</DepoId> <Description>sample string 10</Description> <ExpenseType>sample string 16</ExpenseType> <ExpenseTypeId>1</ExpenseTypeId> <ImageData>sample string 14</ImageData> <ImageURL>sample string 15</ImageURL> <InvoiceId>1</InvoiceId> <InvoiceNumber>sample string 4</InvoiceNumber> <InvoiceTypeId>1</InvoiceTypeId> <IsActive>true</IsActive> <IsExspenseAccount>true</IsExspenseAccount> <IsInward>true</IsInward> <IsProcessed>true</IsProcessed> <PaymentDetailsId>1</PaymentDetailsId> <PaymentMode>sample string 5</PaymentMode> <PaymentModeId>2</PaymentModeId> <PaymentStatus>sample string 6</PaymentStatus> <PaymentStatusId>3</PaymentStatusId> <UserId>1</UserId> </PaymentDetailsVM>