PUT api/cogeo/frais/{idFrais}
Met à jour un frais en fonction de son identifiant unique.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
idFrais |
Identifiant unique du frais |
integer |
Required |
Body Parameters
ApiIncomingFraisName | Description | Type | Additional information |
---|---|---|---|
IdFrais | integer |
None. |
|
MontantHT | decimal number |
None. |
|
MontantTTC | decimal number |
None. |
|
Objet | string |
None. |
|
Reference | string |
None. |
|
IdFacture | integer |
None. |
|
IdAffaire | integer |
None. |
|
Date | date |
None. |
|
DateCloture | date |
None. |
|
IdPhase | integer |
None. |
|
IdUtilisateur | integer |
None. |
|
IdTempsPasse | integer |
None. |
|
IdTypeFrais | integer |
None. |
|
IdFournisseur | integer |
None. |
|
PrixUnitaireHT | decimal number |
None. |
|
PrixUnitaireTTC | decimal number |
None. |
|
Quantite | decimal number |
None. |
|
ProprietesModifiees | Collection of string |
None. |
Request Formats
application/json, text/json
Sample:
{ "IdFrais": 1, "MontantHT": 2.0, "MontantTTC": 3.0, "Objet": "sample string 4", "Reference": "sample string 5", "IdFacture": 1, "IdAffaire": 1, "Date": "2024-12-22T03:46:50.9298615+01:00", "DateCloture": "2024-12-22T03:46:50.9298615+01:00", "IdPhase": 1, "IdUtilisateur": 1, "IdTempsPasse": 1, "IdTypeFrais": 1, "IdFournisseur": 1, "PrixUnitaireHT": 8.0, "PrixUnitaireTTC": 9.0, "Quantite": 10.0, "ProprietesModifiees": [ "sample string 1", "sample string 2" ] }
application/xml, text/xml
Sample:
<ApiIncomingFrais 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> <Date>2024-12-22T03:46:50.9298615+01:00</Date> <DateCloture>2024-12-22T03:46:50.9298615+01:00</DateCloture> <IdAffaire>1</IdAffaire> <IdFacture>1</IdFacture> <IdFournisseur>1</IdFournisseur> <IdFrais>1</IdFrais> <IdPhase>1</IdPhase> <IdTempsPasse>1</IdTempsPasse> <IdTypeFrais>1</IdTypeFrais> <IdUtilisateur>1</IdUtilisateur> <MontantHT>2</MontantHT> <MontantTTC>3</MontantTTC> <Objet>sample string 4</Objet> <PrixUnitaireHT>8</PrixUnitaireHT> <PrixUnitaireTTC>9</PrixUnitaireTTC> <Quantite>10</Quantite> <Reference>sample string 5</Reference> </ApiIncomingFrais>
application/x-www-form-urlencoded
Sample:
Sample not available.
multipart/form-data
Sample:
--MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="IdFrais" 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="MontantHT" 2 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="MontantTTC" 3 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Objet" sample string 4 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Reference" sample string 5 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="IdFacture" 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="IdAffaire" 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Date" 2024-12-22T03:46:50.9298615+01:00 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="DateCloture" 2024-12-22T03:46:50.9298615+01:00 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="IdPhase" 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="IdUtilisateur" 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="IdTempsPasse" 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="IdTypeFrais" 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="IdFournisseur" 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="PrixUnitaireHT" 8 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="PrixUnitaireTTC" 9 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Quantite" 10 --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.