POST api/Subcontracts/{subcontractId}/Backcharge/Query
Get filtered list of backcharges.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| subcontractId |
Subcontract identifier. |
integer |
Required |
Body Parameters
Filter
BackchargeFilter| Name | Description | Type | Additional information |
|---|---|---|---|
| Code | string |
None. |
|
| LastVersion | integer |
None. |
|
| StatusId | integer |
None. |
|
| Description | string |
None. |
|
| Amount | Collection of decimal number |
None. |
|
| Pep | string |
None. |
|
| ItemGroupCode | string |
None. |
|
| DisciplineId | string |
None. |
|
| EntityCertificationStatusId | integer |
None. |
|
| AppliedCertificationCode | string |
None. |
|
| LastCertifiedAmount | Collection of decimal number |
None. |
|
| IsApprovedBySubcontractor | boolean |
None. |
|
| Page | Page |
None. |
|
| SortedColumns | Collection of Order |
None. |
Request Formats
application/json, text/json
Sample:
{
"code": "sample string 1",
"lastVersion": 1,
"statusId": 1,
"description": "sample string 2",
"amount": [
1.0,
1.0
],
"pep": "sample string 3",
"itemGroupCode": "sample string 4",
"disciplineId": "sample string 5",
"entityCertificationStatusId": 1,
"appliedCertificationCode": "sample string 6",
"lastCertifiedAmount": [
1.0,
1.0
],
"isApprovedBySubcontractor": true,
"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","lastVersion":1,"statusId":1,"description":"sample string 2","amount":[1.0,1.0],"pep":"sample string 3","itemGroupCode":"sample string 4","disciplineId":"sample string 5","entityCertificationStatusId":1,"appliedCertificationCode":"sample string 6","lastCertifiedAmount":[1.0,1.0],"isApprovedBySubcontractor":true,"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:
<BackchargeFilter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TR.eSAM.SubcontractModule.Application.Dtos.Dtos.BackchargeAgg">
<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>
<Amount xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
<d2p1:decimal>1</d2p1:decimal>
<d2p1:decimal>1</d2p1:decimal>
</Amount>
<AppliedCertificationCode>sample string 6</AppliedCertificationCode>
<Code>sample string 1</Code>
<Description>sample string 2</Description>
<DisciplineId>sample string 5</DisciplineId>
<EntityCertificationStatusId>1</EntityCertificationStatusId>
<IsApprovedBySubcontractor>true</IsApprovedBySubcontractor>
<ItemGroupCode>sample string 4</ItemGroupCode>
<LastCertifiedAmount xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
<d2p1:decimal>1</d2p1:decimal>
<d2p1:decimal>1</d2p1:decimal>
</LastCertifiedAmount>
<LastVersion>1</LastVersion>
<Pep>sample string 3</Pep>
<StatusId>1</StatusId>
</BackchargeFilter>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ApiDataResultOfIPagedListOfBackchargeDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | IPagedListOfBackchargeDto |
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.