POST api/Item/ModifyStandardCost
Request Information
URI Parameters
None.
Body Parameters
StandardCostsName | Description | Type | Additional information |
---|---|---|---|
ItemID | string |
None. |
|
WarehouseType | string |
None. |
|
StandardCost | decimal number |
None. |
|
MaterialCost | decimal number |
None. |
|
WorkCost | decimal number |
None. |
|
MachineWorkCost | decimal number |
None. |
|
CooperationCost | decimal number |
None. |
|
InputDate | date |
None. |
|
InsUpdDate | date |
None. |
Request Formats
application/xml, text/xml
Sample:
<StandardCosts xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <ItemID>sample string 1</ItemID> <WarehouseType>sample string 2</WarehouseType> <StandardCost>1</StandardCost> <MaterialCost>1</MaterialCost> <WorkCost>1</WorkCost> <MachineWorkCost>1</MachineWorkCost> <CooperationCost>1</CooperationCost> <InputDate>2024-11-21T08:56:00.4019495+01:00</InputDate> <InsUpdDate>2024-11-21T08:56:00.4019495+01:00</InsUpdDate> </StandardCosts>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
CreateResultName | Description | Type | Additional 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>