POST api/Convention/Post

Request Information

URI Parameters

None.

Body Parameters

ConventionDto
NameDescriptionTypeAdditional information
IdConvention

integer

None.

Libelle

string

None.

IdPrestation

integer

None.

IdFcp

integer

None.

IdIntermediaire

integer

None.

RaisonSociale

string

None.

DateValeur

date

None.

Valeur

decimal number

None.

NatureValeur

string

None.

DefinieParPallier

boolean

None.

CreateOn

date

None.

ModifiedOn

date

None.

CreateBy

integer

None.

ModifiedBy

integer

None.

IsDeleted

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "IdConvention": 1,
  "Libelle": "sample string 2",
  "IdPrestation": 3,
  "IdFcp": 4,
  "IdIntermediaire": 5,
  "RaisonSociale": "sample string 6",
  "DateValeur": "2025-10-27T13:29:28.4665771+01:00",
  "Valeur": 1.0,
  "NatureValeur": "sample string 7",
  "DefinieParPallier": true,
  "CreateOn": "2025-10-27T13:29:28.4665771+01:00",
  "ModifiedOn": "2025-10-27T13:29:28.4665771+01:00",
  "CreateBy": 1,
  "ModifiedBy": 1,
  "IsDeleted": true
}

application/xml, text/xml

Sample:
<ConventionDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Inexa.ASO.Common.Dto.Generated">
  <CreateBy>1</CreateBy>
  <CreateOn>2025-10-27T13:29:28.4665771+01:00</CreateOn>
  <DateValeur>2025-10-27T13:29:28.4665771+01:00</DateValeur>
  <DefinieParPallier>true</DefinieParPallier>
  <IdConvention>1</IdConvention>
  <IdFcp>4</IdFcp>
  <IdIntermediaire>5</IdIntermediaire>
  <IdPrestation>3</IdPrestation>
  <IsDeleted>true</IsDeleted>
  <Libelle>sample string 2</Libelle>
  <ModifiedBy>1</ModifiedBy>
  <ModifiedOn>2025-10-27T13:29:28.4665771+01:00</ModifiedOn>
  <NatureValeur>sample string 7</NatureValeur>
  <RaisonSociale>sample string 6</RaisonSociale>
  <Valeur>1</Valeur>
</ConventionDto>

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

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.