POST api/ListTaskPayments/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of WorkFeeView| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| WorkId | integer |
None. |
|
| Work | string |
None. |
|
| StaffId | integer |
None. |
|
| Staff | string |
None. |
|
| PaymentDate | date |
None. |
|
| PaidAmount | decimal number |
None. |
|
| PaymentMode | string |
None. |
|
| PaymentProof | string |
None. |
|
| Remarks | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Id": 1,
"WorkId": 2,
"Work": "sample string 3",
"StaffId": 4,
"Staff": "sample string 5",
"PaymentDate": "2025-12-06T04:59:49.8080454+00:00",
"PaidAmount": 6.1,
"PaymentMode": "sample string 7",
"PaymentProof": "sample string 8",
"Remarks": "sample string 9"
},
{
"Id": 1,
"WorkId": 2,
"Work": "sample string 3",
"StaffId": 4,
"Staff": "sample string 5",
"PaymentDate": "2025-12-06T04:59:49.8080454+00:00",
"PaidAmount": 6.1,
"PaymentMode": "sample string 7",
"PaymentProof": "sample string 8",
"Remarks": "sample string 9"
}
]
application/xml, text/xml
Sample:
<ArrayOfWorkFeeView xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/api.mcapp">
<WorkFeeView>
<Id>1</Id>
<PaidAmount>6.1</PaidAmount>
<PaymentDate>2025-12-06T04:59:49.8080454+00:00</PaymentDate>
<PaymentMode>sample string 7</PaymentMode>
<PaymentProof>sample string 8</PaymentProof>
<Remarks>sample string 9</Remarks>
<Staff>sample string 5</Staff>
<StaffId>4</StaffId>
<Work>sample string 3</Work>
<WorkId>2</WorkId>
</WorkFeeView>
<WorkFeeView>
<Id>1</Id>
<PaidAmount>6.1</PaidAmount>
<PaymentDate>2025-12-06T04:59:49.8080454+00:00</PaymentDate>
<PaymentMode>sample string 7</PaymentMode>
<PaymentProof>sample string 8</PaymentProof>
<Remarks>sample string 9</Remarks>
<Staff>sample string 5</Staff>
<StaffId>4</StaffId>
<Work>sample string 3</Work>
<WorkId>2</WorkId>
</WorkFeeView>
</ArrayOfWorkFeeView>