PUT api/{lang}/ProductCostComment/Put/{id}

Actualiza Comentarios de costos de productos 'id' con los datos recibidos en el modelo.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

Identificador ProductCost a actualizar

integer

Required

lang

string

None.

Body Parameters

Datos del ProductCost a actualizar

ProductCostCommentViewModel
NameDescriptionTypeAdditional information
ProductCostId

string

None.

ParentCommentId

integer

None.

UserId

string

None.

Date

date

None.

Comment

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ProductCostId": "sample string 1",
  "ParentCommentId": 1,
  "UserId": "sample string 2",
  "Date": "2026-11-10T16:55:19.0792951-03:00",
  "Comment": "sample string 4"
}

application/xml, text/xml

Sample:
<ProductCostCommentViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tempo.Core.WebAPI.ViewModels">
  <Comment>sample string 4</Comment>
  <Date>2026-11-10T16:55:19.0792951-03:00</Date>
  <ParentCommentId>1</ParentCommentId>
  <UserId>sample string 2</UserId>
  <ProductCostId>sample string 1</ProductCostId>
</ProductCostCommentViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

De ser exitosa la actualización retorna 200. De lo contrario retorna 400

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.