POST api/Projects/{projectId}/SumatoryBackchargesSubcontractsProjectList

Endpoint para consulta por proyecto (1º nivel)

Request Information

URI Parameters

NameDescriptionTypeAdditional information
projectId

integer

Required

Body Parameters

ProyectBackchargesSummaryFilter
NameDescriptionTypeAdditional information
HasBackcharges

boolean

None.

SubcontractorCode

string

None.

SubcontractorName

string

None.

SubcontractCode

string

None.

SubcontractTitle

string

None.

SubcontractCurrency

string

None.

ItgLogCurrencyType

ItgLogCurrencyTypeId

None.

Code

string

None.

Description

string

None.

DisciplineId

string

None.

Unit

string

None.

StatusId

integer

None.

BackchargeTypeId

integer

None.

IsOperative

boolean

None.

ShowInProjectCurrency

boolean

None.

Page

Page

None.

Orders

Collection of Order

None.

Request Formats

application/json, text/json

Sample:
{
  "hasBackcharges": true,
  "subcontractorCode": "sample string 1",
  "subcontractorName": "sample string 2",
  "subcontractCode": "sample string 3",
  "subcontractTitle": "sample string 4",
  "subcontractCurrency": "sample string 5",
  "itgLogCurrencyType": 1,
  "code": "sample string 6",
  "description": "sample string 7",
  "disciplineId": "sample string 8",
  "unit": "sample string 9",
  "statusId": 1,
  "backchargeTypeId": 1,
  "isOperative": true,
  "showInProjectCurrency": true,
  "page": {
    "number": 1,
    "size": 2,
    "skip": 0
  },
  "orders": [
    {
      "name": "sample string 1",
      "descending": true
    },
    {
      "name": "sample string 1",
      "descending": true
    }
  ]
}

text/html

Sample:
{"hasBackcharges":true,"subcontractorCode":"sample string 1","subcontractorName":"sample string 2","subcontractCode":"sample string 3","subcontractTitle":"sample string 4","subcontractCurrency":"sample string 5","itgLogCurrencyType":1,"code":"sample string 6","description":"sample string 7","disciplineId":"sample string 8","unit":"sample string 9","statusId":1,"backchargeTypeId":1,"isOperative":true,"showInProjectCurrency":true,"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:
<ProyectBackchargesSummaryFilter 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="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>
  </Orders>
  <Page xmlns="http://schemas.datacontract.org/2004/07/TR.eSAM.Application.Base.SortAndPage.Entities">
    <Number>1</Number>
    <Size>2</Size>
  </Page>
  <BackchargeTypeId>1</BackchargeTypeId>
  <Code>sample string 6</Code>
  <Description>sample string 7</Description>
  <DisciplineId>sample string 8</DisciplineId>
  <HasBackcharges>true</HasBackcharges>
  <IsOperative>true</IsOperative>
  <ItgLogCurrencyType>OriginalCurrency</ItgLogCurrencyType>
  <ShowInProjectCurrency>true</ShowInProjectCurrency>
  <StatusId>1</StatusId>
  <SubcontractCode>sample string 3</SubcontractCode>
  <SubcontractCurrency>sample string 5</SubcontractCurrency>
  <SubcontractTitle>sample string 4</SubcontractTitle>
  <SubcontractorCode>sample string 1</SubcontractorCode>
  <SubcontractorName>sample string 2</SubcontractorName>
  <Unit>sample string 9</Unit>
</ProyectBackchargesSummaryFilter>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ApiDataResultOfIPagedListOfProyectBackchargesSummaryItemDto
NameDescriptionTypeAdditional information
Data

IPagedListOfProyectBackchargesSummaryItemDto

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.