POST api/Tarif/{codeClient}/RFAClient
Set la remise arriere pour ce client
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| codeClient |
Code client |
string |
Required |
Body Parameters
data
db_RFA_Client| Name | Description | Type | Additional information |
|---|---|---|---|
| client | string |
None. |
|
| date | string |
None. |
|
| rfa_periode | string |
None. |
|
| rfa_valeur_hl_biere | decimal number |
None. |
|
| rfa_pct_ca_hb | decimal number |
None. |
|
| rfa_valeur_vins | decimal number |
None. |
|
| rfa_pct_ca_total | decimal number |
None. |
|
| rfa_pct_spirit | decimal number |
None. |
|
| commentaire | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"client": "sample string 1",
"date": "sample string 2",
"rfa_periode": "sample string 3",
"rfa_valeur_hl_biere": 4.0,
"rfa_pct_ca_hb": 5.0,
"rfa_valeur_vins": 6.0,
"rfa_pct_ca_total": 7.0,
"rfa_pct_spirit": 8.0,
"commentaire": "sample string 9"
}
application/xml, text/xml
Sample:
<db_RFA_Client xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SAGACore.Model.DataBase"> <client>sample string 1</client> <commentaire>sample string 9</commentaire> <date>sample string 2</date> <rfa_pct_ca_hb>5</rfa_pct_ca_hb> <rfa_pct_ca_total>7</rfa_pct_ca_total> <rfa_pct_spirit>8</rfa_pct_spirit> <rfa_periode>sample string 3</rfa_periode> <rfa_valeur_hl_biere>4</rfa_valeur_hl_biere> <rfa_valeur_vins>6</rfa_valeur_vins> </db_RFA_Client>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
JSonGenericOfdb_RFA_Client| Name | Description | Type | Additional information |
|---|---|---|---|
| Response | db_RFA_Client |
None. |
|
| Datas | db_RFA_Client |
None. |
|
| ServiceName | string |
None. |
|
| Parameters | string |
None. |
|
| Status | ReturnErrorStatus |
None. |
|
| ErrorMessage | string |
None. |
|
| Error | jsonExceptionIES |
None. |
Response Formats
application/json, text/json
Sample:
{
"Response": {
"client": "sample string 1",
"date": "sample string 2",
"rfa_periode": "sample string 3",
"rfa_valeur_hl_biere": 4.0,
"rfa_pct_ca_hb": 5.0,
"rfa_valeur_vins": 6.0,
"rfa_pct_ca_total": 7.0,
"rfa_pct_spirit": 8.0,
"commentaire": "sample string 9"
},
"Datas": {
"client": "sample string 1",
"date": "sample string 2",
"rfa_periode": "sample string 3",
"rfa_valeur_hl_biere": 4.0,
"rfa_pct_ca_hb": 5.0,
"rfa_valeur_vins": 6.0,
"rfa_pct_ca_total": 7.0,
"rfa_pct_spirit": 8.0,
"commentaire": "sample string 9"
},
"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:
<JSonGenericOfdb_RFA_ClientNO3w4qvB 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>
<Datas xmlns:d2p1="http://schemas.datacontract.org/2004/07/SAGACore.Model.DataBase">
<d2p1:client>sample string 1</d2p1:client>
<d2p1:commentaire>sample string 9</d2p1:commentaire>
<d2p1:date>sample string 2</d2p1:date>
<d2p1:rfa_pct_ca_hb>5</d2p1:rfa_pct_ca_hb>
<d2p1:rfa_pct_ca_total>7</d2p1:rfa_pct_ca_total>
<d2p1:rfa_pct_spirit>8</d2p1:rfa_pct_spirit>
<d2p1:rfa_periode>sample string 3</d2p1:rfa_periode>
<d2p1:rfa_valeur_hl_biere>4</d2p1:rfa_valeur_hl_biere>
<d2p1:rfa_valeur_vins>6</d2p1:rfa_valeur_vins>
</Datas>
<Response xmlns:d2p1="http://schemas.datacontract.org/2004/07/SAGACore.Model.DataBase">
<d2p1:client>sample string 1</d2p1:client>
<d2p1:commentaire>sample string 9</d2p1:commentaire>
<d2p1:date>sample string 2</d2p1:date>
<d2p1:rfa_pct_ca_hb>5</d2p1:rfa_pct_ca_hb>
<d2p1:rfa_pct_ca_total>7</d2p1:rfa_pct_ca_total>
<d2p1:rfa_pct_spirit>8</d2p1:rfa_pct_spirit>
<d2p1:rfa_periode>sample string 3</d2p1:rfa_periode>
<d2p1:rfa_valeur_hl_biere>4</d2p1:rfa_valeur_hl_biere>
<d2p1:rfa_valeur_vins>6</d2p1:rfa_valeur_vins>
</Response>
</JSonGenericOfdb_RFA_ClientNO3w4qvB>