PUT api/Immobilisation/UpdateImmobilisation/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
ImmobilisationDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Libelle | string |
None. |
|
| ValeurEstime | decimal number |
None. |
|
| DureVie | decimal number |
None. |
|
| TypeImmobilisation | integer |
None. |
|
| IdCompteRattache | decimal number |
None. |
|
| IdCompteAmortissement | decimal number |
None. |
|
| IdImmobilisation | decimal number |
None. |
|
| CreateOn | date |
None. |
|
| CreateBy | decimal number |
None. |
|
| ModifiedOn | date |
None. |
|
| ModifiedBy | decimal number |
None. |
|
| IsDeleted | boolean |
None. |
|
| Datedebut | date |
None. |
|
| Datefin | date |
None. |
Request Formats
application/json, text/json
Sample:
{
"Libelle": "sample string 1",
"ValeurEstime": 1.0,
"DureVie": 1.0,
"TypeImmobilisation": 1,
"IdCompteRattache": 1.0,
"IdCompteAmortissement": 1.0,
"IdImmobilisation": 2.0,
"CreateOn": "2025-10-27T13:33:52.1697174+01:00",
"CreateBy": 1.0,
"ModifiedOn": "2025-10-27T13:33:52.1697174+01:00",
"ModifiedBy": 1.0,
"IsDeleted": true,
"Datedebut": "2025-10-27T13:33:52.1697174+01:00",
"Datefin": "2025-10-27T13:33:52.1697174+01:00"
}
application/xml, text/xml
Sample:
<ImmobilisationDto 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:33:52.1697174+01:00</CreateOn> <Datedebut>2025-10-27T13:33:52.1697174+01:00</Datedebut> <Datefin>2025-10-27T13:33:52.1697174+01:00</Datefin> <DureVie>1</DureVie> <IdCompteAmortissement>1</IdCompteAmortissement> <IdCompteRattache>1</IdCompteRattache> <IdImmobilisation>2</IdImmobilisation> <IsDeleted>true</IsDeleted> <Libelle>sample string 1</Libelle> <ModifiedBy>1</ModifiedBy> <ModifiedOn>2025-10-27T13:33:52.1697174+01:00</ModifiedOn> <TypeImmobilisation>1</TypeImmobilisation> <ValeurEstime>1</ValeurEstime> </ImmobilisationDto>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |