POST api/Subcontracts/{subcontractId}/Fewo/{fewoId}/CostDetail/WorkItems/List
Get list of work items filtered
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| subcontractId |
Subcontract identifier. |
integer |
Required |
| fewoId |
Fewo identifier. |
integer |
Required |
Body Parameters
filter params.
FewoWorkItemFilter| Name | Description | Type | Additional information |
|---|---|---|---|
| Code | string |
None. |
|
| Description | string |
None. |
|
| Page | Page |
None. |
|
| SortedColumns | Collection of Order |
None. |
Request Formats
application/json, text/json
Sample:
{
"code": "sample string 1",
"description": "sample string 2",
"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","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:
<FewoWorkItemFilter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TR.eSAM.SubcontractModule.Application.Dtos.FewoAgg">
<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>
<Code>sample string 1</Code>
<Description>sample string 2</Description>
</FewoWorkItemFilter>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ApiDataResultOfIPagedListOfFewoCostDetailWorkItemsDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | IPagedListOfFewoCostDetailWorkItemsDto |
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.