PUT api/Parametrages/UpdateAversionRisque/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

AversionRisqueDto
NameDescriptionTypeAdditional information
IdAversionRisque

integer

None.

Libelle

string

None.

IsDeleted

boolean

None.

DateCreation

date

None.

DateMaj

date

None.

CreatedBy

integer

None.

ModifiedBy

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "IdAversionRisque": 1,
  "Libelle": "sample string 2",
  "IsDeleted": true,
  "DateCreation": "2025-10-27T13:36:17.6071834+01:00",
  "DateMaj": "2025-10-27T13:36:17.6071834+01:00",
  "CreatedBy": 5,
  "ModifiedBy": 1
}

application/xml, text/xml

Sample:
<AversionRisqueDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Inexa.ASO.Common.Dto.Generated">
  <CreatedBy>5</CreatedBy>
  <DateCreation>2025-10-27T13:36:17.6071834+01:00</DateCreation>
  <DateMaj>2025-10-27T13:36:17.6071834+01:00</DateMaj>
  <IdAversionRisque>1</IdAversionRisque>
  <IsDeleted>true</IsDeleted>
  <Libelle>sample string 2</Libelle>
  <ModifiedBy>1</ModifiedBy>
</AversionRisqueDto>

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 'AversionRisqueDto'.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.