GET api/Subcontracts/{subcontractId}/ReleaseSections

Get all sections for a subcontract given the subcontract id

Request Information

URI Parameters

NameDescriptionTypeAdditional information
subcontractId

integer

Required

Body Parameters

None.

Response Information

Resource Description

SectionDto
NameDescriptionTypeAdditional information
Id

integer

None.

Code

string

None.

VersionId

integer

None.

VersionNumber

integer

None.

VersionVersion

integer

None.

ContractualVersionNumber

integer

None.

ContractualPrice

decimal number

None.

Title

string

None.

SectionStatusId

SectionStatusId

None.

SectionStatusDescription

string

None.

SectionTypeId

integer

None.

SectionType

string

None.

CertificationModeId

integer

None.

CertificationMode

string

None.

SubcontractId

integer

None.

ActualScopeId

integer

None.

SignedScopeId

integer

None.

Pep

string

None.

PepDescription

string

None.

SectionScopeTypeId

SectionScopeTypeId

None.

SectionScopeType

SectionScopeTypeDto

None.

ItemGroupCode

string

None.

TypeScopeEditable

boolean

None.

DisciplineId

string

None.

SignedPrice

decimal number

None.

Currency

string

None.

Society

string

None.

ContractualVersionId

integer

None.

IsContractual

boolean

None.

ByProgressPercentage

decimal number

None.

ByPrgPercContractClause

string

None.

Tmsr

Collection of TimeAndMaterialSrBasicInfoDto

None.

SubCtrCode

string

None.

Response Formats

application/json, text/json

Sample:
{
  "id": 1,
  "code": "sample string 2",
  "versionId": 1,
  "versionNumber": 1,
  "versionVersion": 1,
  "contractualVersionNumber": 1,
  "contractualPrice": 1.0,
  "title": "sample string 3",
  "sectionStatusId": 1,
  "sectionStatusDescription": "sample string 4",
  "sectionTypeId": 5,
  "sectionType": "sample string 6",
  "certificationModeId": 7,
  "certificationMode": "sample string 8",
  "subcontractId": 9,
  "actualScopeId": 1,
  "signedScopeId": 1,
  "pep": "sample string 10",
  "pepDescription": "sample string 11",
  "sectionScopeTypeId": 1,
  "sectionScopeType": {
    "id": 1,
    "name": "sample string 1",
    "description": "sample string 2"
  },
  "itemGroupCode": "sample string 12",
  "typeScopeEditable": true,
  "disciplineId": "sample string 14",
  "signedPrice": 1.0,
  "currency": "sample string 15",
  "society": "sample string 16",
  "contractualVersionId": 1,
  "isContractual": true,
  "byProgressPercentage": 1.0,
  "byPrgPercContractClause": "sample string 17",
  "tmsr": [
    {
      "id": 1,
      "tmsrNumber": "sample string 2",
      "issuedDate": "2026-05-09T14:08:14.0745162+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-09T14:08:14.0745162+02:00",
      "workitemSfr": "sample string 4",
      "supervisorLevel": 5,
      "expectedCost": 1.0,
      "isClosed": true,
      "currencyCode": "sample string 7"
    }
  ],
  "subCtrCode": "sample string 18"
}

text/html

Sample:
{"id":1,"code":"sample string 2","versionId":1,"versionNumber":1,"versionVersion":1,"contractualVersionNumber":1,"contractualPrice":1.0,"title":"sample string 3","sectionStatusId":1,"sectionStatusDescription":"sample string 4","sectionTypeId":5,"sectionType":"sample string 6","certificationModeId":7,"certificationMode":"sample string 8","subcontractId":9,"actualScopeId":1,"signedScopeId":1,"pep":"sample string 10","pepDescription":"sample string 11","sectionScopeTypeId":1,"sectionScopeType":{"id":1,"name":"sample string 1","description":"sample string 2"},"itemGroupCode":"sample string 12","typeScopeEditable":true,"disciplineId":"sample string 14","signedPrice":1.0,"currency":"sample string 15","society":"sample string 16","contractualVersionId":1,"isContractual":true,"byProgressPercentage":1.0,"byPrgPercContractClause":"sample string 17","tmsr":[{"id":1,"tmsrNumber":"sample string 2","issuedDate":"2026-05-09T14:08:14.0745162+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-09T14:08:14.0745162+02:00","workitemSfr":"sample string 4","supervisorLevel":5,"expectedCost":1.0,"isClosed":true,"currencyCode":"sample string 7"}],"subCtrCode":"sample string 18"}

application/xml, text/xml

Sample:
<SectionDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TR.eSAM.SubcontractModule.Application.Dtos.Dtos.SectionAgg">
  <ActualScopeId>1</ActualScopeId>
  <ByPrgPercContractClause>sample string 17</ByPrgPercContractClause>
  <ByProgressPercentage>1</ByProgressPercentage>
  <CertificationMode>sample string 8</CertificationMode>
  <CertificationModeId>7</CertificationModeId>
  <Code>sample string 2</Code>
  <ContractualPrice>1</ContractualPrice>
  <ContractualVersionId>1</ContractualVersionId>
  <ContractualVersionNumber>1</ContractualVersionNumber>
  <Currency>sample string 15</Currency>
  <DisciplineId>sample string 14</DisciplineId>
  <Id>1</Id>
  <IsContractual>true</IsContractual>
  <ItemGroupCode>sample string 12</ItemGroupCode>
  <Pep>sample string 10</Pep>
  <PepDescription>sample string 11</PepDescription>
  <SectionScopeType>
    <Description>sample string 2</Description>
    <Id>Mca</Id>
    <Name>sample string 1</Name>
  </SectionScopeType>
  <SectionScopeTypeId>Mca</SectionScopeTypeId>
  <SectionStatusDescription>sample string 4</SectionStatusDescription>
  <SectionStatusId>Draft</SectionStatusId>
  <SectionType>sample string 6</SectionType>
  <SectionTypeId>5</SectionTypeId>
  <SignedPrice>1</SignedPrice>
  <SignedScopeId>1</SignedScopeId>
  <Society>sample string 16</Society>
  <SubCtrCode>sample string 18</SubCtrCode>
  <SubcontractId>9</SubcontractId>
  <Title>sample string 3</Title>
  <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-09T14:08:14.0745162+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-09T14:08:14.0745162+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>
  <TypeScopeEditable>true</TypeScopeEditable>
  <VersionId>1</VersionId>
  <VersionNumber>1</VersionNumber>
</SectionDto>