POST api/Subcontracts/{subcontractId}/Fewo/{fewoId}/CostDetail/WorkItems

Create fewo work item

Request Information

URI Parameters

NameDescriptionTypeAdditional information
subcontractId

Subcontract identifier.

integer

Required

fewoId

Fewo identifier.

integer

Required

Body Parameters

Work item params create.

FewoWorkItemCreateOrUpdateDto
NameDescriptionTypeAdditional information
Code

string

None.

Description

string

None.

Request Formats

application/json, text/json

Sample:
{
  "code": "sample string 1",
  "description": "sample string 2"
}

text/html

Sample:
{"code":"sample string 1","description":"sample string 2"}

application/xml, text/xml

Sample:
<FewoWorkItemCreateOrUpdateDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TR.eSAM.SubcontractModule.Application.Dtos.Dtos.FewoAgg">
  <Code>sample string 1</Code>
  <Description>sample string 2</Description>
</FewoWorkItemCreateOrUpdateDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ApiDataResultOfFewoWorkItemDto
NameDescriptionTypeAdditional information
Data

FewoWorkItemDto

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.