POST api/costunits/ModifyCostUnit

Request Information

URI Parameters

None.

Body Parameters

CostUnit
NameDescriptionTypeAdditional information
CostUnitId

string

None.

CostUnitDescription

string

None.

CostUnitSuperiorId

string

None.

CostUnitDateDue

date

None.

CostUnitSearchTag

string

None.

Active

boolean

None.

Production

boolean

None.

ProductionShare

string

None.

CostUnitNote

string

None.

InsUpdDate

date

None.

CostUnitWorkOrder

string

None.

CostUnitMark

string

None.

CostUnitDateActivation

date

None.

ExternalID

string

None.

Request Formats

application/xml, text/xml

Sample:
<CostUnit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <CostUnitId>sample string 1</CostUnitId>
  <CostUnitDescription>sample string 2</CostUnitDescription>
  <CostUnitSuperiorId>sample string 3</CostUnitSuperiorId>
  <CostUnitDateDue>2024-11-21T14:50:47.7706762+01:00</CostUnitDateDue>
  <CostUnitSearchTag>sample string 4</CostUnitSearchTag>
  <Active>true</Active>
  <Production>true</Production>
  <ProductionShare>sample string 6</ProductionShare>
  <CostUnitNote>sample string 7</CostUnitNote>
  <InsUpdDate>2024-11-21T14:50:47.7706762+01:00</InsUpdDate>
  <CostUnitWorkOrder>sample string 8</CostUnitWorkOrder>
  <CostUnitMark>sample string 9</CostUnitMark>
  <CostUnitDateActivation>2024-11-21T14:50:47.7706762+01:00</CostUnitDateActivation>
  <ExternalID>sample string 10</ExternalID>
</CostUnit>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

CreateResult
NameDescriptionTypeAdditional information
Keys

Collection of EntityKeyField

None.

ResultCode

ExternalResultCode

None.

Errors

Collection of Error

None.

Response Formats

application/xml, text/xml

Sample:
<CreateResult xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <Keys>
    <Key>
      <Name>sample string 1</Name>
      <Value>sample string 2</Value>
    </Key>
    <Key>
      <Name>sample string 1</Name>
      <Value>sample string 2</Value>
    </Key>
  </Keys>
  <ResultCode>None</ResultCode>
  <Errors>
    <Error>
      <Level>Warning</Level>
      <Message>sample string 1</Message>
    </Error>
    <Error>
      <Level>Warning</Level>
      <Message>sample string 1</Message>
    </Error>
  </Errors>
</CreateResult>