POST api/Sections/{sectionId}/Versions/{sectionVersionId}/Wbs

Get section Wbs

Request Information

URI Parameters

NameDescriptionTypeAdditional information
sectionId

integer

Required

sectionVersionId

integer

Required

Body Parameters

ScopeFilter
NameDescriptionTypeAdditional information
BlockId

ItemSimpleIncludedOfString

None.

UnitId

ItemSimpleIncludedOfString

None.

SubunitId

ItemSimpleIncludedOfString

None.

DisciplineId

ItemSimpleIncludedOfString

None.

FamilyId

ItemSimpleIncludedOfString

None.

SubfamilyId

ItemSimpleIncludedOfString

None.

WorkItemCode

ItemSimpleIncludedOfString

None.

WorkItemDescription

ItemSimpleIncludedOfString

None.

ItemCode

ItemSimpleIncludedOfString

None.

ItemDescription

ItemSimpleIncludedOfString

None.

Assigned

boolean

None.

News

boolean

None.

Modified

boolean

None.

AssignationMode

ItemSimpleIncludedOfNullableOfWorkRateTypeId

None.

WorkItemRateType

integer

None.

SupplementVersionId

integer

None.

CompOriginTypeId

ItemSimpleIncludedOfNullableOfScopeCompOriginTypeId

None.

DrawingCode

ItemSimpleIncludedOfString

None.

DrawingDescription

ItemSimpleIncludedOfString

None.

SectionStatusId

SectionStatusId

None.

SectionScopeTypeId

SectionScopeTypeId

None.

McaAssignment

Assignment

None.

EsamAssignment

Assignment

None.

Request Formats

application/json, text/json

Sample:
{
  "blockId": {
    "isIncluded": true,
    "value": "sample string 2"
  },
  "unitId": {
    "isIncluded": true,
    "value": "sample string 2"
  },
  "subunitId": {
    "isIncluded": true,
    "value": "sample string 2"
  },
  "disciplineId": {
    "isIncluded": true,
    "value": "sample string 2"
  },
  "familyId": {
    "isIncluded": true,
    "value": "sample string 2"
  },
  "subfamilyId": {
    "isIncluded": true,
    "value": "sample string 2"
  },
  "workItemCode": {
    "isIncluded": true,
    "value": "sample string 2"
  },
  "workItemDescription": {
    "isIncluded": true,
    "value": "sample string 2"
  },
  "itemCode": {
    "isIncluded": true,
    "value": "sample string 2"
  },
  "itemDescription": {
    "isIncluded": true,
    "value": "sample string 2"
  },
  "assigned": true,
  "news": true,
  "modified": true,
  "assignationMode": {
    "isIncluded": true,
    "value": 0
  },
  "workItemRateType": null,
  "supplementVersionId": 1,
  "compOriginTypeId": {
    "isIncluded": true,
    "value": 1
  },
  "drawingCode": {
    "isIncluded": true,
    "value": "sample string 2"
  },
  "drawingDescription": {
    "isIncluded": true,
    "value": "sample string 2"
  },
  "sectionStatusId": 1,
  "sectionScopeTypeId": 1,
  "mcaAssignment": {
    "isIncluded": true,
    "assignationType": 1,
    "subcontractAssignedCode": "sample string 2",
    "esamSubcontractAssignedCode": "sample string 3"
  },
  "esamAssignment": {
    "isIncluded": true,
    "assignationType": 1,
    "subcontractAssignedCode": "sample string 2",
    "esamSubcontractAssignedCode": "sample string 3"
  }
}

text/html

Sample:
{"blockId":{"isIncluded":true,"value":"sample string 2"},"unitId":{"isIncluded":true,"value":"sample string 2"},"subunitId":{"isIncluded":true,"value":"sample string 2"},"disciplineId":{"isIncluded":true,"value":"sample string 2"},"familyId":{"isIncluded":true,"value":"sample string 2"},"subfamilyId":{"isIncluded":true,"value":"sample string 2"},"workItemCode":{"isIncluded":true,"value":"sample string 2"},"workItemDescription":{"isIncluded":true,"value":"sample string 2"},"itemCode":{"isIncluded":true,"value":"sample string 2"},"itemDescription":{"isIncluded":true,"value":"sample string 2"},"assigned":true,"news":true,"modified":true,"assignationMode":{"isIncluded":true,"value":0},"workItemRateType":null,"supplementVersionId":1,"compOriginTypeId":{"isIncluded":true,"value":1},"drawingCode":{"isIncluded":true,"value":"sample string 2"},"drawingDescription":{"isIncluded":true,"value":"sample string 2"},"sectionStatusId":1,"sectionScopeTypeId":1,"mcaAssignment":{"isIncluded":true,"assignationType":1,"subcontractAssignedCode":"sample string 2","esamSubcontractAssignedCode":"sample string 3"},"esamAssignment":{"isIncluded":true,"assignationType":1,"subcontractAssignedCode":"sample string 2","esamSubcontractAssignedCode":"sample string 3"}}

application/xml, text/xml

Sample:
<ScopeFilter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TR.eSAM.SubcontractModule.Application.Dtos.Dtos.SectionAgg">
  <AssignationMode xmlns:d2p1="http://schemas.datacontract.org/2004/07/TR.eSAM.SubcontractModule.Application.Dtos.Dtos.McaAgg">
    <d2p1:IsIncluded>true</d2p1:IsIncluded>
    <d2p1:Value>Default</d2p1:Value>
  </AssignationMode>
  <Assigned>true</Assigned>
  <BlockId xmlns:d2p1="http://schemas.datacontract.org/2004/07/TR.eSAM.SubcontractModule.Application.Dtos.Dtos.McaAgg">
    <d2p1:IsIncluded>true</d2p1:IsIncluded>
    <d2p1:Value>sample string 2</d2p1:Value>
  </BlockId>
  <CompOriginTypeId xmlns:d2p1="http://schemas.datacontract.org/2004/07/TR.eSAM.SubcontractModule.Application.Dtos.Dtos.McaAgg">
    <d2p1:IsIncluded>true</d2p1:IsIncluded>
    <d2p1:Value>Section</d2p1:Value>
  </CompOriginTypeId>
  <DisciplineId xmlns:d2p1="http://schemas.datacontract.org/2004/07/TR.eSAM.SubcontractModule.Application.Dtos.Dtos.McaAgg">
    <d2p1:IsIncluded>true</d2p1:IsIncluded>
    <d2p1:Value>sample string 2</d2p1:Value>
  </DisciplineId>
  <DrawingCode xmlns:d2p1="http://schemas.datacontract.org/2004/07/TR.eSAM.SubcontractModule.Application.Dtos.Dtos.McaAgg">
    <d2p1:IsIncluded>true</d2p1:IsIncluded>
    <d2p1:Value>sample string 2</d2p1:Value>
  </DrawingCode>
  <DrawingDescription xmlns:d2p1="http://schemas.datacontract.org/2004/07/TR.eSAM.SubcontractModule.Application.Dtos.Dtos.McaAgg">
    <d2p1:IsIncluded>true</d2p1:IsIncluded>
    <d2p1:Value>sample string 2</d2p1:Value>
  </DrawingDescription>
  <EsamAssignment xmlns:d2p1="http://schemas.datacontract.org/2004/07/TR.eSAM.SubcontractModule.Application.Dtos.Dtos.McaAgg">
    <d2p1:AssignationType>1</d2p1:AssignationType>
    <d2p1:EsamSubcontractAssignedCode>sample string 3</d2p1:EsamSubcontractAssignedCode>
    <d2p1:IsIncluded>true</d2p1:IsIncluded>
    <d2p1:SubcontractAssignedCode>sample string 2</d2p1:SubcontractAssignedCode>
  </EsamAssignment>
  <FamilyId xmlns:d2p1="http://schemas.datacontract.org/2004/07/TR.eSAM.SubcontractModule.Application.Dtos.Dtos.McaAgg">
    <d2p1:IsIncluded>true</d2p1:IsIncluded>
    <d2p1:Value>sample string 2</d2p1:Value>
  </FamilyId>
  <ItemCode xmlns:d2p1="http://schemas.datacontract.org/2004/07/TR.eSAM.SubcontractModule.Application.Dtos.Dtos.McaAgg">
    <d2p1:IsIncluded>true</d2p1:IsIncluded>
    <d2p1:Value>sample string 2</d2p1:Value>
  </ItemCode>
  <ItemDescription xmlns:d2p1="http://schemas.datacontract.org/2004/07/TR.eSAM.SubcontractModule.Application.Dtos.Dtos.McaAgg">
    <d2p1:IsIncluded>true</d2p1:IsIncluded>
    <d2p1:Value>sample string 2</d2p1:Value>
  </ItemDescription>
  <McaAssignment xmlns:d2p1="http://schemas.datacontract.org/2004/07/TR.eSAM.SubcontractModule.Application.Dtos.Dtos.McaAgg">
    <d2p1:AssignationType>1</d2p1:AssignationType>
    <d2p1:EsamSubcontractAssignedCode>sample string 3</d2p1:EsamSubcontractAssignedCode>
    <d2p1:IsIncluded>true</d2p1:IsIncluded>
    <d2p1:SubcontractAssignedCode>sample string 2</d2p1:SubcontractAssignedCode>
  </McaAssignment>
  <Modified>true</Modified>
  <News>true</News>
  <SectionScopeTypeId>Mca</SectionScopeTypeId>
  <SectionStatusId>Draft</SectionStatusId>
  <SubfamilyId xmlns:d2p1="http://schemas.datacontract.org/2004/07/TR.eSAM.SubcontractModule.Application.Dtos.Dtos.McaAgg">
    <d2p1:IsIncluded>true</d2p1:IsIncluded>
    <d2p1:Value>sample string 2</d2p1:Value>
  </SubfamilyId>
  <SubunitId xmlns:d2p1="http://schemas.datacontract.org/2004/07/TR.eSAM.SubcontractModule.Application.Dtos.Dtos.McaAgg">
    <d2p1:IsIncluded>true</d2p1:IsIncluded>
    <d2p1:Value>sample string 2</d2p1:Value>
  </SubunitId>
  <SupplementVersionId>1</SupplementVersionId>
  <UnitId xmlns:d2p1="http://schemas.datacontract.org/2004/07/TR.eSAM.SubcontractModule.Application.Dtos.Dtos.McaAgg">
    <d2p1:IsIncluded>true</d2p1:IsIncluded>
    <d2p1:Value>sample string 2</d2p1:Value>
  </UnitId>
  <WorkItemCode xmlns:d2p1="http://schemas.datacontract.org/2004/07/TR.eSAM.SubcontractModule.Application.Dtos.Dtos.McaAgg">
    <d2p1:IsIncluded>true</d2p1:IsIncluded>
    <d2p1:Value>sample string 2</d2p1:Value>
  </WorkItemCode>
  <WorkItemDescription xmlns:d2p1="http://schemas.datacontract.org/2004/07/TR.eSAM.SubcontractModule.Application.Dtos.Dtos.McaAgg">
    <d2p1:IsIncluded>true</d2p1:IsIncluded>
    <d2p1:Value>sample string 2</d2p1:Value>
  </WorkItemDescription>
</ScopeFilter>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Collection of SectionWbsTreeNode
NameDescriptionTypeAdditional information
Data

WbsData

None.

Expanded

boolean

None.

TotalWorkItems

integer

None.

TotalSupplementWorkItems

integer

None.

Children

Collection of SectionWbsTreeNode

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "data": {
      "id": "sample string 1",
      "text": "sample string 2",
      "description": "sample string 3",
      "type": "sample string 4",
      "path": "sample string 5"
    },
    "expanded": true,
    "totalWorkItems": 2,
    "totalSupplementWorkItems": 1,
    "children": []
  },
  {
    "data": {
      "id": "sample string 1",
      "text": "sample string 2",
      "description": "sample string 3",
      "type": "sample string 4",
      "path": "sample string 5"
    },
    "expanded": true,
    "totalWorkItems": 2,
    "totalSupplementWorkItems": 1,
    "children": []
  }
]

text/html

Sample:
[{"data":{"id":"sample string 1","text":"sample string 2","description":"sample string 3","type":"sample string 4","path":"sample string 5"},"expanded":true,"totalWorkItems":2,"totalSupplementWorkItems":1,"children":[]},{"data":{"id":"sample string 1","text":"sample string 2","description":"sample string 3","type":"sample string 4","path":"sample string 5"},"expanded":true,"totalWorkItems":2,"totalSupplementWorkItems":1,"children":[]}]

application/xml

Sample:

Sample not available.

text/xml

Sample:

Sample not available.