POST api/Subcontracts/{subcontractId}/Wips/{wipId}/SectionDetail

Get all progress position children items

Request Information

URI Parameters

NameDescriptionTypeAdditional information
subcontractId

integer

Required

wipId

integer

Required

Body Parameters

WipSectionProgressFilter
NameDescriptionTypeAdditional information
SelectorTypeId

NodeLevelId

None.

BlockId

string

None.

UnitId

string

None.

SubunitId

string

None.

DisciplineId

string

None.

FamilyId

string

None.

SubFamilyId

string

None.

WorkItemCode

string

None.

WorkItemDescription

string

None.

CommodityCode

string

None.

CommodityDescription

string

None.

TotalAmountPo

Collection of decimal number

None.

LastProgressPercent

Collection of decimal number

None.

LastProgressAmountPo

Collection of decimal number

None.

Page

Page

None.

SortedColumns

Collection of Order

None.

Request Formats

application/json, text/json

Sample:
{
  "selectorTypeId": 1,
  "blockId": "sample string 1",
  "unitId": "sample string 2",
  "subunitId": "sample string 3",
  "disciplineId": "sample string 4",
  "familyId": "sample string 5",
  "subFamilyId": "sample string 6",
  "workItemCode": "sample string 7",
  "workItemDescription": "sample string 8",
  "commodityCode": "sample string 9",
  "commodityDescription": "sample string 10",
  "totalAmountPo": [
    1.0,
    2.0
  ],
  "lastProgressPercent": [
    1.0,
    2.0
  ],
  "lastProgressAmountPo": [
    1.0,
    2.0
  ],
  "page": {
    "number": 1,
    "size": 2,
    "skip": 0
  },
  "sortedColumns": [
    {
      "name": "sample string 1",
      "descending": true
    },
    {
      "name": "sample string 1",
      "descending": true
    }
  ]
}

text/html

Sample:
{"selectorTypeId":1,"blockId":"sample string 1","unitId":"sample string 2","subunitId":"sample string 3","disciplineId":"sample string 4","familyId":"sample string 5","subFamilyId":"sample string 6","workItemCode":"sample string 7","workItemDescription":"sample string 8","commodityCode":"sample string 9","commodityDescription":"sample string 10","totalAmountPo":[1.0,2.0],"lastProgressPercent":[1.0,2.0],"lastProgressAmountPo":[1.0,2.0],"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:
<WipSectionProgressFilter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TR.eSAM.SubcontractModule.Application.Dtos.Dtos.WipAgg">
  <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>
  <BlockId>sample string 1</BlockId>
  <CommodityCode>sample string 9</CommodityCode>
  <CommodityDescription>sample string 10</CommodityDescription>
  <DisciplineId>sample string 4</DisciplineId>
  <FamilyId>sample string 5</FamilyId>
  <LastProgressAmountPo xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:decimal>1</d2p1:decimal>
    <d2p1:decimal>2</d2p1:decimal>
  </LastProgressAmountPo>
  <LastProgressPercent xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:decimal>1</d2p1:decimal>
    <d2p1:decimal>2</d2p1:decimal>
  </LastProgressPercent>
  <SelectorTypeId>Block</SelectorTypeId>
  <SubFamilyId>sample string 6</SubFamilyId>
  <SubunitId>sample string 3</SubunitId>
  <TotalAmountPo xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:decimal>1</d2p1:decimal>
    <d2p1:decimal>2</d2p1:decimal>
  </TotalAmountPo>
  <UnitId>sample string 2</UnitId>
  <WorkItemCode>sample string 7</WorkItemCode>
  <WorkItemDescription>sample string 8</WorkItemDescription>
</WipSectionProgressFilter>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ApiDataResultOfIPagedListOfWipSectionProgressPositionDto
NameDescriptionTypeAdditional information
Data

IPagedListOfWipSectionProgressPositionDto

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.