PUT api/Projects/{projectId}/Descoping/{descopingId}

Update a descopings related to a project.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
projectId

Project identifier

integer

Required

descopingId

Descoping identifier

integer

Required

Body Parameters

New descoping params.

DescopingUpdateDto
NameDescriptionTypeAdditional information
Description

string

None.

ChangesDestination

Collection of DescopingChangesDestinationDto

None.

Request Formats

application/json, text/json

Sample:
{
  "description": "sample string 1",
  "changesDestination": [
    {
      "workRateTypeId": 1,
      "subcontractId": 1,
      "subcontractCode": "sample string 1",
      "sectionId": 1,
      "sectionCode": "sample string 2"
    },
    {
      "workRateTypeId": 1,
      "subcontractId": 1,
      "subcontractCode": "sample string 1",
      "sectionId": 1,
      "sectionCode": "sample string 2"
    }
  ]
}

text/html

Sample:
{"description":"sample string 1","changesDestination":[{"workRateTypeId":1,"subcontractId":1,"subcontractCode":"sample string 1","sectionId":1,"sectionCode":"sample string 2"},{"workRateTypeId":1,"subcontractId":1,"subcontractCode":"sample string 1","sectionId":1,"sectionCode":"sample string 2"}]}

application/xml, text/xml

Sample:
<DescopingUpdateDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TR.eSAM.SubcontractModule.Application.Dtos.Dtos.DescopingAgg">
  <ChangesDestination>
    <DescopingChangesDestinationDto>
      <SectionCode>sample string 2</SectionCode>
      <SectionId>1</SectionId>
      <SubcontractCode>sample string 1</SubcontractCode>
      <SubcontractId>1</SubcontractId>
      <WorkRateTypeId>1</WorkRateTypeId>
    </DescopingChangesDestinationDto>
    <DescopingChangesDestinationDto>
      <SectionCode>sample string 2</SectionCode>
      <SectionId>1</SectionId>
      <SubcontractCode>sample string 1</SubcontractCode>
      <SubcontractId>1</SubcontractId>
      <WorkRateTypeId>1</WorkRateTypeId>
    </DescopingChangesDestinationDto>
  </ChangesDestination>
  <Description>sample string 1</Description>
</DescopingUpdateDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ApiDataResultOfBoolean
NameDescriptionTypeAdditional information
Data

boolean

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.