GET api/Subcontracts/{subcontractId}
Get subcontract details
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| subcontractId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
SubcontractDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| ProjectId | integer |
None. |
|
| SubcontractStatusId | integer |
None. |
|
| SubcontractStatusDescription | string |
None. |
|
| State | SubcontractStatusId |
None. |
|
| Code | string |
None. |
|
| ProjectUseNewSIMethod | boolean |
None. |
|
| HasPda | boolean |
None. |
|
| HasPdaString | string |
None. |
|
| ProjectCodeCalculated | string |
None. |
|
| RfiCode | string |
None. |
|
| Supplement | string |
None. |
|
| Name | string |
Required String length: inclusive between 0 and 120 |
|
| Description | string |
String length: inclusive between 0 and 2000 |
|
| Type | string |
None. |
|
| SubcontractorCode | string |
None. |
|
| SubcontractorId | integer |
None. |
|
| SubcontractorName | string |
None. |
|
| LastSuppAmount | decimal number |
None. |
|
| POAmount | decimal number |
None. |
|
| POExternalAmount | decimal number |
None. |
|
| Progress | decimal number |
None. |
|
| Certificated | decimal number |
None. |
|
| CurrencyCode | string |
None. |
|
| CurrencyDescription | string |
None. |
|
| Pep | string |
String length: inclusive between 0 and 72 |
|
| PepDescription | string |
None. |
|
| IsMarian | boolean |
None. |
|
| IsEsam | boolean |
None. |
|
| SignedPrice | decimal number |
None. |
|
| FromMarian | boolean |
None. |
|
| PendingClientApproval | boolean |
None. |
|
| Language | integer |
None. |
|
| DeliveryPlace | string |
None. |
|
| MarkupOnChargebacks | decimal number |
None. |
|
| PaymentTermId | PaymentTermId |
None. |
|
| CountryForArbitration | string |
None. |
|
| CityForArbitration | string |
None. |
|
| CountryBankGuaranteesReg | string |
None. |
|
| WarrantyPeriod | integer |
None. |
|
| ManufacturingPlace | string |
None. |
|
| InspectionPlace | string |
None. |
|
| KeyPersonMinimumExperience | integer |
None. |
|
| ProvConstrucAllRiskInsrnc | integer |
None. |
|
| InsuranceDeductibleAmount | decimal number |
None. |
|
| InsDeducAmontComsnPerfrmnc | decimal number |
None. |
|
| MaxRetention | decimal number |
None. |
|
| RetentionPercentage | decimal number |
None. |
|
| SubcontractorFullAddress | string |
None. |
|
| SubcontractorAddress | string |
None. |
|
| SubcontractorCountry | string |
None. |
|
| SubcontractorTaxId | string |
None. |
|
| SubcontractorPostalCode | string |
None. |
|
| SubcontractorStprCode | string |
None. |
|
| SubcontractorCity | string |
None. |
|
| AdvPaymentDeductionRate | decimal number |
None. |
|
| MaxLdPercentage | decimal number |
None. |
|
| ContractorName | string |
None. |
|
| ContractorEmail | string |
None. |
|
| AmountUpToLastExternalApprovedSupplement | decimal number |
None. |
|
| AmountUpToLastApprovedSupplement | decimal number |
None. |
|
| AmountUpToLastExternalSupplement | decimal number |
None. |
|
| AmountUpToLastSupplement | decimal number |
None. |
|
| ApprovedExternally | boolean |
None. |
|
| AlreadySentToSap | boolean |
None. |
|
| ItemGroupCode | string |
None. |
|
| DisciplineId | string |
None. |
|
| CommercialTerm | string |
None. |
|
| RetentionReleaseDate | date |
None. |
|
| StartDate | date |
None. |
|
| EndDate | date |
None. |
|
| LastSupplementId | integer |
None. |
|
| ForecastStartDate | date |
None. |
|
| ForecastEndDate | date |
None. |
|
| ForecastAmount | decimal number |
None. |
|
| Society | string |
None. |
|
| SeriesTypeId | integer |
None. |
|
| RfpCode | string |
None. |
|
| IsFpo | boolean |
None. |
|
| UpperLimitRetention | decimal number |
None. |
|
| ToChargeCostTypeId | CostChargeToTypeId |
None. |
|
| CrNconformity | string |
None. |
|
| DeclaredAsBackchargeableOn | date |
None. |
|
| IsOperative | boolean |
None. |
|
| IsOperativeString | string |
None. |
|
| ByProgressPercentage | decimal number |
None. |
|
| ByPrgPercContractClause | string |
None. |
|
| StorBlSupAllowedFor | string |
None. |
|
| StorBlDescSupAllowedFor | string |
None. |
|
| StorBlFinantialAlert | string |
None. |
|
| StorBlStatusId | integer |
None. |
|
| StorBlDescStatus | string |
None. |
|
| Tmsr | Collection of TimeAndMaterialSrBasicInfoDto |
None. |
|
| TmUnitRates | Collection of string |
None. |
|
| PdaAmount | decimal number |
None. |
|
| PdaDate | date |
None. |
|
| PdaRevision | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"id": 1,
"projectId": 2,
"subcontractStatusId": 3,
"subcontractStatusDescription": "sample string 4",
"state": 3,
"code": "sample string 5",
"projectUseNewSIMethod": true,
"hasPda": true,
"hasPdaString": "YES",
"projectCodeCalculated": "sample string 7",
"rfiCode": "sample string 8",
"supplement": "sample string 9",
"name": "sample string 10",
"description": "sample string 11",
"type": "UP - LS",
"subcontractorCode": "sample string 12",
"subcontractorId": 13,
"subcontractorName": "sample string 14",
"lastSuppAmount": 15.0,
"poAmount": 1.0,
"poExternalAmount": 1.0,
"progress": 16.0,
"certificated": 17.0,
"currencyCode": "sample string 18",
"currencyDescription": "sample string 19",
"pep": "sample string 20",
"pepDescription": "sample string 21",
"isMarian": true,
"isEsam": true,
"signedPrice": 1.0,
"fromMarian": true,
"pendingClientApproval": true,
"language": 1,
"deliveryPlace": "sample string 22",
"markupOnChargebacks": 1.0,
"paymentTermId": 1,
"countryForArbitration": "sample string 23",
"cityForArbitration": "sample string 24",
"countryBankGuaranteesReg": "sample string 25",
"warrantyPeriod": 1,
"manufacturingPlace": "sample string 26",
"inspectionPlace": "sample string 27",
"keyPersonMinimumExperience": 1,
"provConstrucAllRiskInsrnc": 1,
"insuranceDeductibleAmount": 1.0,
"insDeducAmontComsnPerfrmnc": 1.0,
"maxRetention": 1.0,
"retentionPercentage": 1.0,
"subcontractorFullAddress": "sample string 28 , sample string 33 , sample string 32 sample string 31",
"subcontractorAddress": "sample string 28",
"subcontractorCountry": "sample string 29",
"subcontractorTaxId": "sample string 30",
"subcontractorPostalCode": "sample string 31",
"subcontractorStprCode": "sample string 32",
"subcontractorCity": "sample string 33",
"advPaymentDeductionRate": 1.0,
"maxLdPercentage": 1.0,
"contractorName": "sample string 34",
"contractorEmail": "sample string 35",
"amountUpToLastExternalApprovedSupplement": 1.0,
"amountUpToLastApprovedSupplement": 1.0,
"amountUpToLastExternalSupplement": 1.0,
"amountUpToLastSupplement": 1.0,
"approvedExternally": true,
"alreadySentToSap": true,
"itemGroupCode": "sample string 38",
"disciplineId": "sample string 39",
"commercialTerm": "sample string 40",
"retentionReleaseDate": "2026-05-08T21:15:04.2317633+02:00",
"startDate": "2026-05-08T21:15:04.2317633+02:00",
"endDate": "2026-05-08T21:15:04.2317633+02:00",
"lastSupplementId": 1,
"forecastStartDate": "2026-05-08T21:15:04.2317633+02:00",
"forecastEndDate": "2026-05-08T21:15:04.2317633+02:00",
"forecastAmount": 1.0,
"society": "sample string 41",
"seriesTypeId": 42,
"rfpCode": "sample string 43",
"isFpo": true,
"upperLimitRetention": 0.01,
"toChargeCostTypeId": 1,
"crNconformity": "sample string 44",
"declaredAsBackchargeableOn": "2026-05-08T21:15:04.2317633+02:00",
"isOperative": true,
"isOperativeString": "YES",
"byProgressPercentage": 1.0,
"byPrgPercContractClause": "sample string 45",
"storBlSupAllowedFor": "sample string 46",
"storBlDescSupAllowedFor": "sample string 47",
"storBlFinantialAlert": "sample string 48",
"storBlStatusId": 1,
"storBlDescStatus": "sample string 49",
"tmsr": [
{
"id": 1,
"tmsrNumber": "sample string 2",
"issuedDate": "2026-05-08T21:15:04.2317633+02:00",
"workitemSfr": "sample string 4",
"supervisorLevel": 5,
"expectedCost": 1.0,
"isClosed": true,
"currencyCode": "sample string 7"
},
{
"id": 1,
"tmsrNumber": "sample string 2",
"issuedDate": "2026-05-08T21:15:04.2317633+02:00",
"workitemSfr": "sample string 4",
"supervisorLevel": 5,
"expectedCost": 1.0,
"isClosed": true,
"currencyCode": "sample string 7"
}
],
"tmUnitRates": [
"sample string 1",
"sample string 2"
],
"pdaAmount": 1.0,
"pdaDate": "2026-05-08T21:15:04.2317633+02:00",
"pdaRevision": "sample string 50"
}
text/html
Sample:
{"id":1,"projectId":2,"subcontractStatusId":3,"subcontractStatusDescription":"sample string 4","state":3,"code":"sample string 5","projectUseNewSIMethod":true,"hasPda":true,"hasPdaString":"YES","projectCodeCalculated":"sample string 7","rfiCode":"sample string 8","supplement":"sample string 9","name":"sample string 10","description":"sample string 11","type":"UP - LS","subcontractorCode":"sample string 12","subcontractorId":13,"subcontractorName":"sample string 14","lastSuppAmount":15.0,"poAmount":1.0,"poExternalAmount":1.0,"progress":16.0,"certificated":17.0,"currencyCode":"sample string 18","currencyDescription":"sample string 19","pep":"sample string 20","pepDescription":"sample string 21","isMarian":true,"isEsam":true,"signedPrice":1.0,"fromMarian":true,"pendingClientApproval":true,"language":1,"deliveryPlace":"sample string 22","markupOnChargebacks":1.0,"paymentTermId":1,"countryForArbitration":"sample string 23","cityForArbitration":"sample string 24","countryBankGuaranteesReg":"sample string 25","warrantyPeriod":1,"manufacturingPlace":"sample string 26","inspectionPlace":"sample string 27","keyPersonMinimumExperience":1,"provConstrucAllRiskInsrnc":1,"insuranceDeductibleAmount":1.0,"insDeducAmontComsnPerfrmnc":1.0,"maxRetention":1.0,"retentionPercentage":1.0,"subcontractorFullAddress":"sample string 28 , sample string 33 , sample string 32 sample string 31","subcontractorAddress":"sample string 28","subcontractorCountry":"sample string 29","subcontractorTaxId":"sample string 30","subcontractorPostalCode":"sample string 31","subcontractorStprCode":"sample string 32","subcontractorCity":"sample string 33","advPaymentDeductionRate":1.0,"maxLdPercentage":1.0,"contractorName":"sample string 34","contractorEmail":"sample string 35","amountUpToLastExternalApprovedSupplement":1.0,"amountUpToLastApprovedSupplement":1.0,"amountUpToLastExternalSupplement":1.0,"amountUpToLastSupplement":1.0,"approvedExternally":true,"alreadySentToSap":true,"itemGroupCode":"sample string 38","disciplineId":"sample string 39","commercialTerm":"sample string 40","retentionReleaseDate":"2026-05-08T21:15:04.2317633+02:00","startDate":"2026-05-08T21:15:04.2317633+02:00","endDate":"2026-05-08T21:15:04.2317633+02:00","lastSupplementId":1,"forecastStartDate":"2026-05-08T21:15:04.2317633+02:00","forecastEndDate":"2026-05-08T21:15:04.2317633+02:00","forecastAmount":1.0,"society":"sample string 41","seriesTypeId":42,"rfpCode":"sample string 43","isFpo":true,"upperLimitRetention":0.01,"toChargeCostTypeId":1,"crNconformity":"sample string 44","declaredAsBackchargeableOn":"2026-05-08T21:15:04.2317633+02:00","isOperative":true,"isOperativeString":"YES","byProgressPercentage":1.0,"byPrgPercContractClause":"sample string 45","storBlSupAllowedFor":"sample string 46","storBlDescSupAllowedFor":"sample string 47","storBlFinantialAlert":"sample string 48","storBlStatusId":1,"storBlDescStatus":"sample string 49","tmsr":[{"id":1,"tmsrNumber":"sample string 2","issuedDate":"2026-05-08T21:15:04.2317633+02:00","workitemSfr":"sample string 4","supervisorLevel":5,"expectedCost":1.0,"isClosed":true,"currencyCode":"sample string 7"},{"id":1,"tmsrNumber":"sample string 2","issuedDate":"2026-05-08T21:15:04.2317633+02:00","workitemSfr":"sample string 4","supervisorLevel":5,"expectedCost":1.0,"isClosed":true,"currencyCode":"sample string 7"}],"tmUnitRates":["sample string 1","sample string 2"],"pdaAmount":1.0,"pdaDate":"2026-05-08T21:15:04.2317633+02:00","pdaRevision":"sample string 50"}
application/xml, text/xml
Sample:
<SubcontractDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TR.eSAM.SubcontractModule.Application.Dtos.Dtos.SubcontractAgg">
<AdvPaymentDeductionRate>1</AdvPaymentDeductionRate>
<AlreadySentToSap>true</AlreadySentToSap>
<AmountUpToLastApprovedSupplement>1</AmountUpToLastApprovedSupplement>
<AmountUpToLastExternalApprovedSupplement>1</AmountUpToLastExternalApprovedSupplement>
<AmountUpToLastExternalSupplement>1</AmountUpToLastExternalSupplement>
<AmountUpToLastSupplement>1</AmountUpToLastSupplement>
<ApprovedExternally>true</ApprovedExternally>
<ByPrgPercContractClause>sample string 45</ByPrgPercContractClause>
<ByProgressPercentage>1</ByProgressPercentage>
<Certificated>17</Certificated>
<CityForArbitration>sample string 24</CityForArbitration>
<Code>sample string 5</Code>
<CommercialTerm>sample string 40</CommercialTerm>
<ContractorEmail>sample string 35</ContractorEmail>
<ContractorName>sample string 34</ContractorName>
<CountryBankGuaranteesReg>sample string 25</CountryBankGuaranteesReg>
<CountryForArbitration>sample string 23</CountryForArbitration>
<CrNconformity>sample string 44</CrNconformity>
<CurrencyCode>sample string 18</CurrencyCode>
<CurrencyDescription>sample string 19</CurrencyDescription>
<DeclaredAsBackchargeableOn>2026-05-08T21:15:04.2317633+02:00</DeclaredAsBackchargeableOn>
<DeliveryPlace>sample string 22</DeliveryPlace>
<Description>sample string 11</Description>
<DisciplineId>sample string 39</DisciplineId>
<EndDate>2026-05-08T21:15:04.2317633+02:00</EndDate>
<ForecastAmount>1</ForecastAmount>
<ForecastEndDate>2026-05-08T21:15:04.2317633+02:00</ForecastEndDate>
<ForecastStartDate>2026-05-08T21:15:04.2317633+02:00</ForecastStartDate>
<FromMarian>true</FromMarian>
<HasPda>true</HasPda>
<Id>1</Id>
<InsDeducAmontComsnPerfrmnc>1</InsDeducAmontComsnPerfrmnc>
<InspectionPlace>sample string 27</InspectionPlace>
<InsuranceDeductibleAmount>1</InsuranceDeductibleAmount>
<IsEsam>true</IsEsam>
<IsFpo>true</IsFpo>
<IsMarian>true</IsMarian>
<IsOperative>true</IsOperative>
<ItemGroupCode>sample string 38</ItemGroupCode>
<KeyPersonMinimumExperience>1</KeyPersonMinimumExperience>
<Language>1</Language>
<LastSuppAmount>15</LastSuppAmount>
<LastSupplementId>1</LastSupplementId>
<ManufacturingPlace>sample string 26</ManufacturingPlace>
<MarkupOnChargebacks>1</MarkupOnChargebacks>
<MaxLdPercentage>1</MaxLdPercentage>
<MaxRetention>1</MaxRetention>
<Name>sample string 10</Name>
<PaymentTermId>Days1</PaymentTermId>
<PdaAmount>1</PdaAmount>
<PdaDate>2026-05-08T21:15:04.2317633+02:00</PdaDate>
<PdaRevision>sample string 50</PdaRevision>
<PendingClientApproval>true</PendingClientApproval>
<Pep>sample string 20</Pep>
<PepDescription>sample string 21</PepDescription>
<Progress>16</Progress>
<ProjectCodeCalculated>sample string 7</ProjectCodeCalculated>
<ProjectId>2</ProjectId>
<ProjectUseNewSIMethod>true</ProjectUseNewSIMethod>
<ProvConstrucAllRiskInsrnc>1</ProvConstrucAllRiskInsrnc>
<RetentionPercentage>1</RetentionPercentage>
<RetentionReleaseDate>2026-05-08T21:15:04.2317633+02:00</RetentionReleaseDate>
<RfiCode>sample string 8</RfiCode>
<RfpCode>sample string 43</RfpCode>
<SeriesTypeId>42</SeriesTypeId>
<SignedPrice>1</SignedPrice>
<Society>sample string 41</Society>
<StartDate>2026-05-08T21:15:04.2317633+02:00</StartDate>
<StorBlDescStatus>sample string 49</StorBlDescStatus>
<StorBlDescSupAllowedFor>sample string 47</StorBlDescSupAllowedFor>
<StorBlFinantialAlert>sample string 48</StorBlFinantialAlert>
<StorBlStatusId>1</StorBlStatusId>
<StorBlSupAllowedFor>sample string 46</StorBlSupAllowedFor>
<SubcontractStatusDescription>sample string 4</SubcontractStatusDescription>
<SubcontractStatusId>3</SubcontractStatusId>
<SubcontractorAddress>sample string 28</SubcontractorAddress>
<SubcontractorCity>sample string 33</SubcontractorCity>
<SubcontractorCode>sample string 12</SubcontractorCode>
<SubcontractorCountry>sample string 29</SubcontractorCountry>
<SubcontractorId>13</SubcontractorId>
<SubcontractorName>sample string 14</SubcontractorName>
<SubcontractorPostalCode>sample string 31</SubcontractorPostalCode>
<SubcontractorStprCode>sample string 32</SubcontractorStprCode>
<SubcontractorTaxId>sample string 30</SubcontractorTaxId>
<Supplement>sample string 9</Supplement>
<TmUnitRates xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</TmUnitRates>
<Tmsr xmlns:d2p1="http://schemas.datacontract.org/2004/07/TR.eSAM.SubcontractModule.Application.Dtos.Dtos.TimeAndMaterialSrAgg">
<d2p1:TimeAndMaterialSrBasicInfoDto>
<d2p1:CurrencyCode>sample string 7</d2p1:CurrencyCode>
<d2p1:ExpectedCost>1</d2p1:ExpectedCost>
<d2p1:Id>1</d2p1:Id>
<d2p1:IsClosed>true</d2p1:IsClosed>
<d2p1:IssuedDate>2026-05-08T21:15:04.2317633+02:00</d2p1:IssuedDate>
<d2p1:SupervisorLevel>5</d2p1:SupervisorLevel>
<d2p1:TmsrNumber>sample string 2</d2p1:TmsrNumber>
<d2p1:WorkitemSfr>sample string 4</d2p1:WorkitemSfr>
</d2p1:TimeAndMaterialSrBasicInfoDto>
<d2p1:TimeAndMaterialSrBasicInfoDto>
<d2p1:CurrencyCode>sample string 7</d2p1:CurrencyCode>
<d2p1:ExpectedCost>1</d2p1:ExpectedCost>
<d2p1:Id>1</d2p1:Id>
<d2p1:IsClosed>true</d2p1:IsClosed>
<d2p1:IssuedDate>2026-05-08T21:15:04.2317633+02:00</d2p1:IssuedDate>
<d2p1:SupervisorLevel>5</d2p1:SupervisorLevel>
<d2p1:TmsrNumber>sample string 2</d2p1:TmsrNumber>
<d2p1:WorkitemSfr>sample string 4</d2p1:WorkitemSfr>
</d2p1:TimeAndMaterialSrBasicInfoDto>
</Tmsr>
<ToChargeCostTypeId>BudgetTR</ToChargeCostTypeId>
<WarrantyPeriod>1</WarrantyPeriod>
</SubcontractDto>