PUT api/cogeo/champspecifique/{idChampSpecifique}
Met à jour un champ spécifique en fonction de son identifiant unique.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
idChampSpecifique |
Identifiant unique du champ spécifique |
integer |
Required |
Body Parameters
ApiIncomingChampSpecifiqueName | Description | Type | Additional information |
---|---|---|---|
IdChampSpecifiqueDefinition | integer |
None. |
|
IdAffaire | integer |
None. |
|
Id | integer |
None. |
|
Nom | string |
Max length: 100 |
|
Libelle | string |
Max length: 200 |
|
Actif | boolean |
None. |
|
ValeurDecimal | decimal number |
None. |
|
ValeurEntier | integer |
None. |
|
ValeurString | string |
None. |
|
ValeurBool | boolean |
None. |
|
ValeurDate | date |
None. |
|
ProprietesModifiees | Collection of string |
None. |
Request Formats
application/json, text/json
Sample:
{ "IdChampSpecifiqueDefinition": 1, "IdAffaire": 1, "Id": 1, "Nom": "sample string 1", "Libelle": "sample string 2", "Actif": true, "ValeurDecimal": 1.0, "ValeurEntier": 1, "ValeurString": "sample string 3", "ValeurBool": true, "ValeurDate": "2024-12-22T04:17:31.6177334+01:00", "ProprietesModifiees": [ "sample string 1", "sample string 2" ] }
application/xml, text/xml
Sample:
<ApiIncomingChampSpecifique xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ModuleoCommunServeur.Business.Api.Incoming"> <ProprietesModifiees xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </ProprietesModifiees> <Actif>true</Actif> <Id>1</Id> <Libelle>sample string 2</Libelle> <Nom>sample string 1</Nom> <ValeurBool>true</ValeurBool> <ValeurDate>2024-12-22T04:17:31.6177334+01:00</ValeurDate> <ValeurDecimal>1</ValeurDecimal> <ValeurEntier>1</ValeurEntier> <ValeurString>sample string 3</ValeurString> <IdAffaire>1</IdAffaire> <IdChampSpecifiqueDefinition>1</IdChampSpecifiqueDefinition> </ApiIncomingChampSpecifique>
application/x-www-form-urlencoded
Sample:
Sample not available.
multipart/form-data
Sample:
--MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="IdChampSpecifiqueDefinition" 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="IdAffaire" 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Id" 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Nom" sample string 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Libelle" sample string 2 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Actif" True --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="ValeurDecimal" 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="ValeurEntier" 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="ValeurString" sample string 3 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="ValeurBool" True --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="ValeurDate" 2024-12-22T04:17:31.6177334+01:00 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="ProprietesModifiees[0]" sample string 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="ProprietesModifiees[1]" sample string 2 --MultipartDataMediaFormatterBoundary1q2w3e--
Response Information
Resource Description
OkResultName | Description | Type | Additional information |
---|---|---|---|
Request | HttpRequestMessage |
None. |
Response Formats
application/json, text/json, multipart/form-data
Sample:
Sample not available.