POST api/Subcontracts/{subcontractId}/Claim/Query
Get filtered list of claims.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| subcontractId |
Subcontract identifier |
integer |
Required |
Body Parameters
Filter
ClaimFilter| Name | Description | Type | Additional information |
|---|---|---|---|
| Code | string |
None. |
|
| Description | string |
None. |
|
| TypeId | integer |
None. |
|
| CovidRelatedId | integer |
None. |
|
| StatusId | integer |
None. |
|
| IssueDate | Collection of date |
None. |
|
| ClaimedAmount | Collection of decimal number |
None. |
|
| SettledAmount | Collection of decimal number |
None. |
|
| PendingAmount | Collection of decimal number |
None. |
|
| Page | Page |
None. |
|
| SortedColumns | Collection of Order |
None. |
Request Formats
application/json, text/json
Sample:
{
"code": "sample string 1",
"description": "sample string 2",
"typeId": 1,
"covidRelatedId": 1,
"statusId": 1,
"issueDate": [
"2026-05-09T14:04:05.3478402+02:00",
"2026-05-09T14:04:05.3478402+02:00"
],
"claimedAmount": [
1.0,
1.0
],
"settledAmount": [
1.0,
1.0
],
"pendingAmount": [
1.0,
1.0
],
"page": {
"number": 1,
"size": 2,
"skip": 0
},
"sortedColumns": [
{
"name": "sample string 1",
"descending": true
},
{
"name": "sample string 1",
"descending": true
}
]
}
text/html
Sample:
{"code":"sample string 1","description":"sample string 2","typeId":1,"covidRelatedId":1,"statusId":1,"issueDate":["2026-05-09T14:04:05.3478402+02:00","2026-05-09T14:04:05.3478402+02:00"],"claimedAmount":[1.0,1.0],"settledAmount":[1.0,1.0],"pendingAmount":[1.0,1.0],"page":{"number":1,"size":2,"skip":0},"sortedColumns":[{"name":"sample string 1","descending":true},{"name":"sample string 1","descending":true}]}
application/xml, text/xml
Sample:
<ClaimFilter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TR.eSAM.SubcontractModule.Application.Dtos.Dtos.ClaimAgg">
<Page xmlns="http://schemas.datacontract.org/2004/07/TR.eSAM.Application.Base.SortAndPage.Entities">
<Number>1</Number>
<Size>2</Size>
</Page>
<SortedColumns xmlns="http://schemas.datacontract.org/2004/07/TR.eSAM.Application.Base.SortAndPage.Entities">
<Order>
<Descending>true</Descending>
<Name>sample string 1</Name>
</Order>
<Order>
<Descending>true</Descending>
<Name>sample string 1</Name>
</Order>
</SortedColumns>
<ClaimedAmount xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
<d2p1:decimal>1</d2p1:decimal>
<d2p1:decimal>1</d2p1:decimal>
</ClaimedAmount>
<Code>sample string 1</Code>
<CovidRelatedId>1</CovidRelatedId>
<Description>sample string 2</Description>
<IssueDate xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
<d2p1:dateTime>2026-05-09T14:04:05.3478402+02:00</d2p1:dateTime>
<d2p1:dateTime>2026-05-09T14:04:05.3478402+02:00</d2p1:dateTime>
</IssueDate>
<PendingAmount xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
<d2p1:decimal>1</d2p1:decimal>
<d2p1:decimal>1</d2p1:decimal>
</PendingAmount>
<SettledAmount xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
<d2p1:decimal>1</d2p1:decimal>
<d2p1:decimal>1</d2p1:decimal>
</SettledAmount>
<StatusId>1</StatusId>
<TypeId>1</TypeId>
</ClaimFilter>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ApiDataResultOfIPagedListOfClaimDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | IPagedListOfClaimDto |
None. |
|
| Success | boolean |
None. |
|
| Message | string |
None. |
|
| Errors | Collection of CustomError |
None. |
|
| Warnings | Collection of string |
None. |
Response Formats
application/json, text/json, text/html
Sample:
Sample not available.