POST api/TypeOperation/CreateTypeOperation

Request Information

URI Parameters

None.

Body Parameters

TypeOperationDto
NameDescriptionTypeAdditional information
IdTypeOperation

decimal number

None.

Code

string

None.

Libelle

string

None.

IdJournal

decimal number

None.

Status

boolean

None.

CreateOn

date

None.

ModifiedOn

date

None.

CreateBy

decimal number

None.

ModifiedBy

decimal number

None.

CodeJournalExt

string

None.

LibelleJournalExt

string

None.

Request Formats

application/json, text/json

Sample:
{
  "IdTypeOperation": 1.0,
  "Code": "sample string 2",
  "Libelle": "sample string 3",
  "IdJournal": 4.0,
  "Status": true,
  "CreateOn": "2025-10-27T15:40:52.6583745+01:00",
  "ModifiedOn": "2025-10-27T15:40:52.6583745+01:00",
  "CreateBy": 1.0,
  "ModifiedBy": 1.0,
  "CodeJournalExt": "sample string 6",
  "LibelleJournalExt": "sample string 7"
}

application/xml, text/xml

Sample:
<TypeOperationDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Inexa.ASO.Common.Dto.Generated">
  <Code>sample string 2</Code>
  <CodeJournalExt>sample string 6</CodeJournalExt>
  <CreateBy>1</CreateBy>
  <CreateOn>2025-10-27T15:40:52.6583745+01:00</CreateOn>
  <IdJournal>4</IdJournal>
  <IdTypeOperation>1</IdTypeOperation>
  <Libelle>sample string 3</Libelle>
  <LibelleJournalExt>sample string 7</LibelleJournalExt>
  <ModifiedBy>1</ModifiedBy>
  <ModifiedOn>2025-10-27T15:40:52.6583745+01:00</ModifiedOn>
  <Status>true</Status>
</TypeOperationDto>

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

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.