POST api/Subcontracts/{subcontractId}/Backcharge/Backchargeable/Query

Get filtered list of Backchargeables.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
subcontractId

Subcontract identifier.

integer

Required

Body Parameters

Filter

BackchargeableLineFilter
NameDescriptionTypeAdditional information
BusinessEntityTypeId

integer

None.

BusinessEntityTypeDesc

string

None.

SubcontractId

integer

None.

Code

string

None.

EntityId

integer

None.

EntityName

string

None.

EntityCode

string

None.

EntityAmount

decimal number

None.

BackchargToChargCosttypeId

integer

None.

SubcontractorVendor

string

None.

SubcontractorVendorName

string

None.

PoCode

string

None.

AmountToBackcharge

Collection of decimal number

None.

CurrencyCode

string

None.

BackchargeCode

string

None.

BackchargedStatusId

integer

None.

BackchargedStatusDesc

string

None.

BackchargedAmount

Collection of decimal number

None.

BackchargeableAssignmentDate

Collection of date

None.

ThisSubcontractId

integer

None.

ProjectId

integer

None.

SubcontractIds

Collection of integer

None.

SubcontractCode

string

None.

OriginConcept

string

None.

IssueDate

Collection of date

None.

BackchToSubcontractorVendor

string

None.

OriginSubcontractorVendor

string

None.

Page

Page

None.

SortedColumns

Collection of Order

None.

Request Formats

application/json, text/json

Sample:
{
  "businessEntityTypeId": 1,
  "businessEntityTypeDesc": "sample string 1",
  "subcontractId": 1,
  "code": "sample string 2",
  "entityId": 1,
  "entityName": "sample string 3",
  "entityCode": "sample string 4",
  "entityAmount": 1.0,
  "backchargToChargCosttypeId": 1,
  "subcontractorVendor": "sample string 5",
  "subcontractorVendorName": "sample string 6",
  "poCode": "sample string 7",
  "amountToBackcharge": [
    1.0,
    1.0
  ],
  "currencyCode": "sample string 8",
  "backchargeCode": "sample string 9",
  "backchargedStatusId": 1,
  "backchargedStatusDesc": "sample string 10",
  "backchargedAmount": [
    1.0,
    1.0
  ],
  "backchargeableAssignmentDate": [
    "2026-05-08T17:18:46.9890736+02:00",
    "2026-05-08T17:18:46.9890736+02:00"
  ],
  "thisSubcontractId": 1,
  "projectId": 1,
  "subcontractIds": [
    1,
    2
  ],
  "subcontractCode": "sample string 11",
  "originConcept": "sample string 12",
  "issueDate": [
    "2026-05-08T17:18:46.9890736+02:00",
    "2026-05-08T17:18:46.9890736+02:00"
  ],
  "backchToSubcontractorVendor": "sample string 14",
  "originSubcontractorVendor": "sample string 15",
  "page": {
    "number": 1,
    "size": 2,
    "skip": 0
  },
  "sortedColumns": [
    {
      "name": "sample string 1",
      "descending": true
    },
    {
      "name": "sample string 1",
      "descending": true
    }
  ]
}

text/html

Sample:
{"businessEntityTypeId":1,"businessEntityTypeDesc":"sample string 1","subcontractId":1,"code":"sample string 2","entityId":1,"entityName":"sample string 3","entityCode":"sample string 4","entityAmount":1.0,"backchargToChargCosttypeId":1,"subcontractorVendor":"sample string 5","subcontractorVendorName":"sample string 6","poCode":"sample string 7","amountToBackcharge":[1.0,1.0],"currencyCode":"sample string 8","backchargeCode":"sample string 9","backchargedStatusId":1,"backchargedStatusDesc":"sample string 10","backchargedAmount":[1.0,1.0],"backchargeableAssignmentDate":["2026-05-08T17:18:46.9890736+02:00","2026-05-08T17:18:46.9890736+02:00"],"thisSubcontractId":1,"projectId":1,"subcontractIds":[1,2],"subcontractCode":"sample string 11","originConcept":"sample string 12","issueDate":["2026-05-08T17:18:46.9890736+02:00","2026-05-08T17:18:46.9890736+02:00"],"backchToSubcontractorVendor":"sample string 14","originSubcontractorVendor":"sample string 15","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:
<BackchargeableLineFilter 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: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>
  <SortedColumns 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>
  </SortedColumns>
  <AmountToBackcharge xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:decimal>1</d2p1:decimal>
    <d2p1:decimal>1</d2p1:decimal>
  </AmountToBackcharge>
  <BackchToSubcontractorVendor>sample string 14</BackchToSubcontractorVendor>
  <BackchargToChargCosttypeId>1</BackchargToChargCosttypeId>
  <BackchargeCode>sample string 9</BackchargeCode>
  <BackchargeableAssignmentDate xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:dateTime>2026-05-08T17:18:46.9890736+02:00</d2p1:dateTime>
    <d2p1:dateTime>2026-05-08T17:18:46.9890736+02:00</d2p1:dateTime>
  </BackchargeableAssignmentDate>
  <BackchargedAmount xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:decimal>1</d2p1:decimal>
    <d2p1:decimal>1</d2p1:decimal>
  </BackchargedAmount>
  <BackchargedStatusDesc>sample string 10</BackchargedStatusDesc>
  <BackchargedStatusId>1</BackchargedStatusId>
  <BusinessEntityTypeDesc>sample string 1</BusinessEntityTypeDesc>
  <BusinessEntityTypeId>1</BusinessEntityTypeId>
  <Code>sample string 2</Code>
  <CurrencyCode>sample string 8</CurrencyCode>
  <EntityAmount>1</EntityAmount>
  <EntityCode>sample string 4</EntityCode>
  <EntityId>1</EntityId>
  <EntityName>sample string 3</EntityName>
  <IssueDate xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:dateTime>2026-05-08T17:18:46.9890736+02:00</d2p1:dateTime>
    <d2p1:dateTime>2026-05-08T17:18:46.9890736+02:00</d2p1:dateTime>
  </IssueDate>
  <OriginConcept>sample string 12</OriginConcept>
  <OriginSubcontractorVendor>sample string 15</OriginSubcontractorVendor>
  <PoCode>sample string 7</PoCode>
  <ProjectId>1</ProjectId>
  <SubcontractCode>sample string 11</SubcontractCode>
  <SubcontractId>1</SubcontractId>
  <SubcontractIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:long>1</d2p1:long>
    <d2p1:long>2</d2p1:long>
  </SubcontractIds>
  <SubcontractorVendor>sample string 5</SubcontractorVendor>
  <SubcontractorVendorName>sample string 6</SubcontractorVendorName>
  <ThisSubcontractId>1</ThisSubcontractId>
</BackchargeableLineFilter>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ApiDataResultOfIPagedListOfBackchargeableLineDto
NameDescriptionTypeAdditional information
Data

IPagedListOfBackchargeableLineDto

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.