PUT api/Products/{id}

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
id
No documentation available.

Define this parameter in the request URI.

record
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "description": "sample string 1",
  "price": 2.0,
  "productCode": "sample string 3",
  "productId": 4,
  "productName": "sample string 5",
  "releaseDate": "2024-12-12T11:04:24.7290736-07:00",
  "hiddenField": "sample string 7",
  "id": 8
}

application/xml, text/xml

Sample:
<Product xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TPL.LIB.Models">
  <Id>8</Id>
  <Description>sample string 1</Description>
  <HiddenField>sample string 7</HiddenField>
  <Price>2</Price>
  <ProductCode>sample string 3</ProductCode>
  <ProductId>4</ProductId>
  <ProductName>sample string 5</ProductName>
  <ReleaseDate>2024-12-12T11:04:24.7290736-07:00</ReleaseDate>
</Product>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'Product'.

Response Information

No documentation available.

Response body formats

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

Sample:

Sample not available.