POST api/Parametrages/CreateObjetRelation

Request Information

URI Parameters

None.

Body Parameters

ObjetRelationDto
NameDescriptionTypeAdditional information
IdObjetRelation

decimal number

None.

Libelle

string

None.

Actif

boolean

None.

IsDeleted

boolean

None.

DateCreation

date

None.

DateMaj

date

None.

CreatedBy

integer

None.

ModifiedBy

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "IdObjetRelation": 1.0,
  "Libelle": "sample string 2",
  "Actif": true,
  "IsDeleted": true,
  "DateCreation": "2025-10-27T13:29:38.2946692+01:00",
  "DateMaj": "2025-10-27T13:29:38.2946692+01:00",
  "CreatedBy": 4,
  "ModifiedBy": 1
}

application/xml, text/xml

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

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

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.