PUT api/roller-calc/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

RollerCalcRecord
NameDescriptionTypeAdditional information
Id

integer

None.

UserId

integer

None.

IdlerModelId

integer

None.

BearingModelId

integer

None.

IdlerLengthMm

decimal number

None.

ShellThicknessMm

decimal number

None.

ShaftLengthMm

decimal number

None.

WeightKg

decimal number

None.

Price

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,
  "IdlerLengthMm": 4.0,
  "ShellThicknessMm": 5.0,
  "ShaftLengthMm": 6.0,
  "WeightKg": 1.0,
  "Price": 1.0,
  "Remark": "sample string 7",
  "CreatedAt": "2026-10-13T23:54:33.5379976+08:00",
  "UpdatedAt": "2026-10-13T23:54:33.5379976+08:00"
}

application/xml, text/xml

Sample:
<RollerCalcRecord xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EngiCompute.Models">
  <BearingModelId>3</BearingModelId>
  <CreatedAt>2026-10-13T23:54:33.5379976+08:00</CreatedAt>
  <Id>1</Id>
  <IdlerLengthMm>4</IdlerLengthMm>
  <IdlerModelId>2</IdlerModelId>
  <Price>1</Price>
  <Remark>sample string 7</Remark>
  <ShaftLengthMm>6</ShaftLengthMm>
  <ShellThicknessMm>5</ShellThicknessMm>
  <UpdatedAt>2026-10-13T23:54:33.5379976+08:00</UpdatedAt>
  <UserId>1</UserId>
  <WeightKg>1</WeightKg>
</RollerCalcRecord>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.