PUT api/Formation

Request Information

URI Parameters

None.

Body Parameters

sp_Formation_Insert_ResultDto
NameDescriptionTypeAdditional information
IdFormation

integer

None.

TitreFormation

string

None.

Description

string

None.

DateDebut

date

None.

DateFin

date

None.

DiplomeOptenu

string

None.

DateDiplomeOptenu

date

None.

IdCandidat

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "IdFormation": 1,
  "TitreFormation": "sample string 2",
  "Description": "sample string 3",
  "DateDebut": "2025-04-05T06:05:29.8697726+02:00",
  "DateFin": "2025-04-05T06:05:29.8697726+02:00",
  "DiplomeOptenu": "sample string 4",
  "DateDiplomeOptenu": "2025-04-05T06:05:29.8697726+02:00",
  "IdCandidat": 1.0
}

application/xml, text/xml

Sample:
<sp_Formation_Insert_ResultDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BLL.DTO">
  <DateDebut>2025-04-05T06:05:29.8697726+02:00</DateDebut>
  <DateDiplomeOptenu>2025-04-05T06:05:29.8697726+02:00</DateDiplomeOptenu>
  <DateFin>2025-04-05T06:05:29.8697726+02:00</DateFin>
  <Description>sample string 3</Description>
  <DiplomeOptenu>sample string 4</DiplomeOptenu>
  <IdCandidat>1</IdCandidat>
  <IdFormation>1</IdFormation>
  <TitreFormation>sample string 2</TitreFormation>
</sp_Formation_Insert_ResultDto>

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

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.