POST api/Projects/{projectId}/Subcontractors/Query

Search subcontractors for a project given a search filter

Request Information

URI Parameters

NameDescriptionTypeAdditional information
projectId

integer

Required

Body Parameters

SubcontractorFilter
NameDescriptionTypeAdditional information
Page

Page

None.

Request Formats

application/json, text/json

Sample:
{
  "page": {
    "number": 1,
    "size": 2,
    "skip": 0
  }
}

text/html

Sample:
{"page":{"number":1,"size":2,"skip":0}}

application/xml, text/xml

Sample:
<SubcontractorFilter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TR.eSAM.SubcontractModule.Application.Dtos.Dtos.SubcontractorAgg">
  <Orders xmlns="http://schemas.datacontract.org/2004/07/TR.eSAM.Application.Base.SortAndPage.Entities">
    <Order>
      <Descending>false</Descending>
      <Name>Name</Name>
    </Order>
  </Orders>
  <Page xmlns="http://schemas.datacontract.org/2004/07/TR.eSAM.Application.Base.SortAndPage.Entities">
    <Number>1</Number>
    <Size>2</Size>
  </Page>
</SubcontractorFilter>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ApiDataResultOfIPagedListOfProjectSubcontractorDto
NameDescriptionTypeAdditional information
Data

IPagedListOfProjectSubcontractorDto

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.