POST api/Projects/{projectId}/SummatoryCertificationsSubcontractsProjectList

Aquí esta el ejemplo de obtener facturas desde la nueva tabla de SAP

Request Information

URI Parameters

NameDescriptionTypeAdditional information
projectId

integer

Required

Body Parameters

SummatoryCertificationsFilter
NameDescriptionTypeAdditional information
ProjectId

integer

None.

SubcontractorCode

string

None.

SubcontractorName

string

None.

SubcontractCode

string

None.

SubcontractTitle

string

None.

SubcontractCurrency

string

None.

SubcontractType

SubcontractTypeId

None.

ShowAmountInCurrency

string

None.

SubcontractId

integer

None.

CertificationTitle

string

None.

CertificationStatusId

CertificationStatusId

None.

CertificationTypeId

CertificationTypeId

None.

CertificationEmissionDate

Collection of date

None.

CertificationApprovalDate

Collection of date

None.

CertificationPaymentDueDate

Collection of date

None.

CertificationIsPaid

boolean

None.

HasCertifications

boolean

None.

IsOperative

boolean

None.

SubcontractIsClosed

boolean

None.

ItgLogCurrencyType

ItgLogCurrencyTypeId

None.

Page

Page

None.

SortedColumns

Collection of Order

None.

Request Formats

application/json, text/json

Sample:
{
  "projectId": 1,
  "subcontractorCode": "sample string 2",
  "subcontractorName": "sample string 3",
  "subcontractCode": "sample string 4",
  "subcontractTitle": "sample string 5",
  "subcontractCurrency": "sample string 6",
  "subcontractType": 1,
  "showAmountInCurrency": "sample string 7",
  "subcontractId": 1,
  "certificationTitle": "sample string 8",
  "certificationStatusId": 1,
  "certificationTypeId": 1,
  "certificationEmissionDate": [
    "2026-12-04T13:05:22.4889563+01:00",
    "2026-12-04T13:05:22.4889563+01:00"
  ],
  "certificationApprovalDate": [
    "2026-12-04T13:05:22.4889563+01:00",
    "2026-12-04T13:05:22.4889563+01:00"
  ],
  "certificationPaymentDueDate": [
    "2026-12-04T13:05:22.4889563+01:00",
    "2026-12-04T13:05:22.4889563+01:00"
  ],
  "certificationIsPaid": true,
  "hasCertifications": true,
  "isOperative": true,
  "subcontractIsClosed": true,
  "itgLogCurrencyType": 1,
  "page": {
    "number": 1,
    "size": 2,
    "skip": 0
  },
  "sortedColumns": [
    {
      "name": "sample string 1",
      "descending": true
    },
    {
      "name": "sample string 1",
      "descending": true
    }
  ]
}

text/html

Sample:
{"projectId":1,"subcontractorCode":"sample string 2","subcontractorName":"sample string 3","subcontractCode":"sample string 4","subcontractTitle":"sample string 5","subcontractCurrency":"sample string 6","subcontractType":1,"showAmountInCurrency":"sample string 7","subcontractId":1,"certificationTitle":"sample string 8","certificationStatusId":1,"certificationTypeId":1,"certificationEmissionDate":["2026-12-04T13:05:22.4889563+01:00","2026-12-04T13:05:22.4889563+01:00"],"certificationApprovalDate":["2026-12-04T13:05:22.4889563+01:00","2026-12-04T13:05:22.4889563+01:00"],"certificationPaymentDueDate":["2026-12-04T13:05:22.4889563+01:00","2026-12-04T13:05:22.4889563+01:00"],"certificationIsPaid":true,"hasCertifications":true,"isOperative":true,"subcontractIsClosed":true,"itgLogCurrencyType":1,"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:
<SummatoryCertificationsFilter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TR.eSAM.SubcontractModule.Application.Dtos.Dtos.ProjectAgg">
  <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>
  <CertificationApprovalDate xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:dateTime>2026-12-04T13:05:22.4889563+01:00</d2p1:dateTime>
    <d2p1:dateTime>2026-12-04T13:05:22.4889563+01:00</d2p1:dateTime>
  </CertificationApprovalDate>
  <CertificationEmissionDate xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:dateTime>2026-12-04T13:05:22.4889563+01:00</d2p1:dateTime>
    <d2p1:dateTime>2026-12-04T13:05:22.4889563+01:00</d2p1:dateTime>
  </CertificationEmissionDate>
  <CertificationIsPaid>true</CertificationIsPaid>
  <CertificationPaymentDueDate xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:dateTime>2026-12-04T13:05:22.4889563+01:00</d2p1:dateTime>
    <d2p1:dateTime>2026-12-04T13:05:22.4889563+01:00</d2p1:dateTime>
  </CertificationPaymentDueDate>
  <CertificationStatusId>Draft</CertificationStatusId>
  <CertificationTitle>sample string 8</CertificationTitle>
  <CertificationTypeId>Regular</CertificationTypeId>
  <HasCertifications>true</HasCertifications>
  <IsOperative>true</IsOperative>
  <ItgLogCurrencyType>OriginalCurrency</ItgLogCurrencyType>
  <ProjectId>1</ProjectId>
  <ShowAmountInCurrency>sample string 7</ShowAmountInCurrency>
  <SubcontractCode>sample string 4</SubcontractCode>
  <SubcontractCurrency>sample string 6</SubcontractCurrency>
  <SubcontractId>1</SubcontractId>
  <SubcontractIsClosed>true</SubcontractIsClosed>
  <SubcontractTitle>sample string 5</SubcontractTitle>
  <SubcontractType>Both</SubcontractType>
  <SubcontractorCode>sample string 2</SubcontractorCode>
  <SubcontractorName>sample string 3</SubcontractorName>
</SummatoryCertificationsFilter>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ApiDataResultOfIPagedListOfSummatoryCertificationsDto
NameDescriptionTypeAdditional information
Data

IPagedListOfSummatoryCertificationsDto

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.