POST api/Client/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

PaysDto
NameDescriptionTypeAdditional information
IdPays

decimal number

None.

Code

string

None.

Libelle

string

None.

Status

boolean

None.

CreateOn

date

None.

ModifiedOn

date

None.

CreateBy

decimal number

None.

ModifiedBy

decimal number

None.

PaysUmoa

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "IdPays": 1.0,
  "Code": "sample string 2",
  "Libelle": "sample string 3",
  "Status": true,
  "CreateOn": "2025-10-27T13:27:54.9196969+01:00",
  "ModifiedOn": "2025-10-27T13:27:54.9196969+01:00",
  "CreateBy": 1.0,
  "ModifiedBy": 1.0,
  "PaysUmoa": true
}

application/xml, text/xml

Sample:
<PaysDto 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>
  <CreateBy>1</CreateBy>
  <CreateOn>2025-10-27T13:27:54.9196969+01:00</CreateOn>
  <IdPays>1</IdPays>
  <Libelle>sample string 3</Libelle>
  <ModifiedBy>1</ModifiedBy>
  <ModifiedOn>2025-10-27T13:27:54.9196969+01:00</ModifiedOn>
  <PaysUmoa>true</PaysUmoa>
  <Status>true</Status>
</PaysDto>

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

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.