PUT api/ClientDAB/{clt}/updateRemises
Mise à jour des remises
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| clt |
code du client |
string |
Required |
Body Parameters
informations
ClientDabTarifs| Name | Description | Type | Additional information |
|---|---|---|---|
| tarif | string |
None. |
|
| remise_facture | string |
None. |
|
| rfa_pct_ca_hb | string |
None. |
|
| rfa_valeur_vins | decimal number |
None. |
|
| rfa_valeur_hl_biere | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{
"tarif": "sample string 1",
"remise_facture": "sample string 2",
"rfa_pct_ca_hb": "sample string 3",
"rfa_valeur_vins": 4.1,
"rfa_valeur_hl_biere": 5.1
}
application/xml, text/xml
Sample:
<ClientDabTarifs xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SAGACore"> <remise_facture>sample string 2</remise_facture> <rfa_pct_ca_hb>sample string 3</rfa_pct_ca_hb> <rfa_valeur_hl_biere>5.1</rfa_valeur_hl_biere> <rfa_valeur_vins>4.1</rfa_valeur_vins> <tarif>sample string 1</tarif> </ClientDabTarifs>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ReturnJsonFormat| Name | Description | Type | Additional information |
|---|---|---|---|
| ServiceName | string |
None. |
|
| Parameters | string |
None. |
|
| Status | ReturnErrorStatus |
None. |
|
| ErrorMessage | string |
None. |
|
| Error | jsonExceptionIES |
None. |
Response Formats
application/json, text/json
Sample:
{
"ServiceName": "sample string 1",
"Parameters": "sample string 2",
"Status": 0,
"ErrorMessage": "sample string 3",
"Error": {
"Code": "sample string 1",
"Details": "sample string 2",
"Message": "sample string 3",
"Level": 1
}
}
application/xml, text/xml
Sample:
<ReturnJsonFormat xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ForSagaMiddleware">
<Error>
<Code>sample string 1</Code>
<Details>sample string 2</Details>
<Level>Info</Level>
<Message>sample string 3</Message>
</Error>
<ErrorMessage>sample string 3</ErrorMessage>
<Parameters>sample string 2</Parameters>
<ServiceName>sample string 1</ServiceName>
<Status>Error</Status>
</ReturnJsonFormat>