POST api/Projects/{projectId}/ProjectSubcontractsAndSubcontractors/Query
Get project Bonds grouped
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| projectId | integer |
Required |
Body Parameters
OtherProjectInputFilter| Name | Description | Type | Additional information |
|---|---|---|---|
| OtherProject | string |
None. |
|
| ProjectId | integer |
None. |
|
| QuickFilter | string |
None. |
|
| Page | Page |
None. |
|
| Orders | Collection of Order |
None. |
Request Formats
application/json, text/json
Sample:
{
"otherProject": "sample string 1",
"projectId": 1,
"quickFilter": "sample string 2",
"page": {
"number": 1,
"size": 2,
"skip": 0
},
"orders": [
{
"name": "sample string 1",
"descending": true
},
{
"name": "sample string 1",
"descending": true
}
]
}
text/html
Sample:
{"otherProject":"sample string 1","projectId":1,"quickFilter":"sample string 2","page":{"number":1,"size":2,"skip":0},"orders":[{"name":"sample string 1","descending":true},{"name":"sample string 1","descending":true}]}
application/xml, text/xml
Sample:
<OtherProjectInputFilter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TR.eSAM.SubcontractModule.Application.Dtos.Dtos.ProjectAgg">
<Orders xmlns:d2p1="http://schemas.datacontract.org/2004/07/TR.eSAM.Application.Base.SortAndPage.Entities" xmlns="http://schemas.datacontract.org/2004/07/TR.eSAM.Application.Base.Dtos">
<d2p1:Order>
<d2p1:Descending>true</d2p1:Descending>
<d2p1:Name>sample string 1</d2p1:Name>
</d2p1:Order>
<d2p1:Order>
<d2p1:Descending>true</d2p1:Descending>
<d2p1:Name>sample string 1</d2p1:Name>
</d2p1:Order>
</Orders>
<Page xmlns:d2p1="http://schemas.datacontract.org/2004/07/TR.eSAM.Application.Base.SortAndPage.Entities" xmlns="http://schemas.datacontract.org/2004/07/TR.eSAM.Application.Base.Dtos">
<d2p1:Number>1</d2p1:Number>
<d2p1:Size>2</d2p1:Size>
</Page>
<QuickFilter>sample string 2</QuickFilter>
<OtherProject>sample string 1</OtherProject>
<ProjectId>1</ProjectId>
</OtherProjectInputFilter>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ApiDataResultOfListOfProjectSubcontractsAndSubcontractorsDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | Collection of ProjectSubcontractsAndSubcontractorsDto |
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.