PUT api/roller-cost-calc/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
RollerCostCalcRecord| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| UserId | integer |
None. |
|
| IdlerModelId | integer |
None. |
|
| BearingModelId | integer |
None. |
|
| TubePrice | decimal number |
None. |
|
| ShaftPrice | decimal number |
None. |
|
| ShaftLengthMm | decimal number |
None. |
|
| RollerLengthMm | decimal number |
None. |
|
| ShellThicknessMm | decimal number |
None. |
|
| BearingPrice | decimal number |
None. |
|
| PackageFee | decimal number |
None. |
|
| Coefficient | decimal number |
None. |
|
| ShaftRemainderMm | decimal number |
None. |
|
| RollerWeightKg | decimal number |
None. |
|
| UnitPrice | decimal number |
None. |
|
| TotalCost | decimal number |
None. |
|
| Remark | string |
None. |
|
| CreatedAt | date |
None. |
|
| UpdatedAt | date |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"UserId": 1,
"IdlerModelId": 2,
"BearingModelId": 3,
"TubePrice": 4.0,
"ShaftPrice": 5.0,
"ShaftLengthMm": 1.0,
"RollerLengthMm": 1.0,
"ShellThicknessMm": 1.0,
"BearingPrice": 1.0,
"PackageFee": 1.0,
"Coefficient": 6.0,
"ShaftRemainderMm": 1.0,
"RollerWeightKg": 1.0,
"UnitPrice": 1.0,
"TotalCost": 1.0,
"Remark": "sample string 7",
"CreatedAt": "2026-10-13T23:54:34.2348622+08:00",
"UpdatedAt": "2026-10-13T23:54:34.2348622+08:00"
}
application/xml, text/xml
Sample:
<RollerCostCalcRecord xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EngiCompute.Models"> <BearingModelId>3</BearingModelId> <BearingPrice>1</BearingPrice> <Coefficient>6</Coefficient> <CreatedAt>2026-10-13T23:54:34.2348622+08:00</CreatedAt> <Id>1</Id> <IdlerModelId>2</IdlerModelId> <PackageFee>1</PackageFee> <Remark>sample string 7</Remark> <RollerLengthMm>1</RollerLengthMm> <RollerWeightKg>1</RollerWeightKg> <ShaftLengthMm>1</ShaftLengthMm> <ShaftPrice>5</ShaftPrice> <ShaftRemainderMm>1</ShaftRemainderMm> <ShellThicknessMm>1</ShellThicknessMm> <TotalCost>1</TotalCost> <TubePrice>4</TubePrice> <UnitPrice>1</UnitPrice> <UpdatedAt>2026-10-13T23:54:34.2348622+08:00</UpdatedAt> <UserId>1</UserId> </RollerCostCalcRecord>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.