POST api/Permis

Request Information

URI Parameters

None.

Body Parameters

sp_Permis_Insert_ResultDto
NameDescriptionTypeAdditional information
IdPermis

integer

None.

Libelle

string

None.

DateDebut

date

None.

DateFin

date

None.

SansExpiration

boolean

None.

IdCandidat

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "IdPermis": 1,
  "Libelle": "sample string 2",
  "DateDebut": "2025-04-05T06:10:16.2044461+02:00",
  "DateFin": "2025-04-05T06:10:16.2044461+02:00",
  "SansExpiration": true,
  "IdCandidat": 1.0
}

application/xml, text/xml

Sample:
<sp_Permis_Insert_ResultDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BLL.DTO">
  <DateDebut>2025-04-05T06:10:16.2044461+02:00</DateDebut>
  <DateFin>2025-04-05T06:10:16.2044461+02:00</DateFin>
  <IdCandidat>1</IdCandidat>
  <IdPermis>1</IdPermis>
  <Libelle>sample string 2</Libelle>
  <SansExpiration>true</SansExpiration>
</sp_Permis_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_Permis_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.