PUT api/idler/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

IdlerModel
NameDescriptionTypeAdditional information
Id

integer

None.

Code

string

None.

Name

string

None.

Spec

string

None.

DiameterMm

decimal number

None.

LengthMm

decimal number

None.

LoadRatingKg

decimal number

None.

Price

decimal number

None.

IsAvailable

boolean

None.

SortOrder

integer

None.

CreatedAt

date

None.

UpdatedAt

date

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Code": "sample string 2",
  "Name": "sample string 3",
  "Spec": "sample string 4",
  "DiameterMm": 5.0,
  "LengthMm": 1.0,
  "LoadRatingKg": 1.0,
  "Price": 1.0,
  "IsAvailable": true,
  "SortOrder": 7,
  "CreatedAt": "2026-10-13T23:54:33.7832764+08:00",
  "UpdatedAt": "2026-10-13T23:54:33.7832764+08:00"
}

application/xml, text/xml

Sample:
<IdlerModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EngiCompute.Models">
  <Code>sample string 2</Code>
  <CreatedAt>2026-10-13T23:54:33.7832764+08:00</CreatedAt>
  <DiameterMm>5</DiameterMm>
  <Id>1</Id>
  <IsAvailable>true</IsAvailable>
  <LengthMm>1</LengthMm>
  <LoadRatingKg>1</LoadRatingKg>
  <Name>sample string 3</Name>
  <Price>1</Price>
  <SortOrder>7</SortOrder>
  <Spec>sample string 4</Spec>
  <UpdatedAt>2026-10-13T23:54:33.7832764+08:00</UpdatedAt>
</IdlerModel>

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.