GET api/libellesRemise?IDTypeProfil={IDTypeProfil}&IDPlaque={IDPlaque}
Retourne les Libellés pré-définis pour les remises (table LibelleRemise)
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| IDTypeProfil |
Filtre sur le type de profil. Seuls les plafonds de remise concernant ce type de profil seront retournés |
IDDRProfileType |
None. |
| IDPlaque |
Filtre sur la société. Seuls les plafonds de remise concernant la société seront retournés |
integer |
None. |
Body Parameters
None.
Response Information
Resource Description
Collection of LibelleRemise| Name | Description | Type | Additional information |
|---|---|---|---|
| IDLibelleRemise | integer |
None. |
|
| Libelle | string |
None. |
|
| InclureOptions |
Si true et si la remise est saisie en %, alors le calcul du montant prend en compte le prix des options |
boolean |
None. |
| Plafonds |
Plafonds configurés sur cette remise |
Collection of PlafondRemise |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"IDLibelleRemise": 1,
"Libelle": "sample string 2",
"InclureOptions": true,
"Plafonds": [
{
"IDPlafondRemise": 1,
"TypeProfilLead": "BDC",
"IDPlaque": 1,
"Plafond": 1.0,
"IDLibelleRemise": 1
},
{
"IDPlafondRemise": 1,
"TypeProfilLead": "BDC",
"IDPlaque": 1,
"Plafond": 1.0,
"IDLibelleRemise": 1
}
]
},
{
"IDLibelleRemise": 1,
"Libelle": "sample string 2",
"InclureOptions": true,
"Plafonds": [
{
"IDPlafondRemise": 1,
"TypeProfilLead": "BDC",
"IDPlaque": 1,
"Plafond": 1.0,
"IDLibelleRemise": 1
},
{
"IDPlafondRemise": 1,
"TypeProfilLead": "BDC",
"IDPlaque": 1,
"Plafond": 1.0,
"IDLibelleRemise": 1
}
]
}
]
application/xml, text/xml
Sample:
<ArrayOfLibelleRemise xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SelectUp.APIeSellerREST.Models">
<LibelleRemise>
<IDLibelleRemise>1</IDLibelleRemise>
<InclureOptions>true</InclureOptions>
<Libelle>sample string 2</Libelle>
<Plafonds>
<PlafondRemise>
<IDLibelleRemise>1</IDLibelleRemise>
<IDPlafondRemise>1</IDPlafondRemise>
<IDPlaque>1</IDPlaque>
<Plafond>1</Plafond>
<TypeProfilLead>BDC</TypeProfilLead>
</PlafondRemise>
<PlafondRemise>
<IDLibelleRemise>1</IDLibelleRemise>
<IDPlafondRemise>1</IDPlafondRemise>
<IDPlaque>1</IDPlaque>
<Plafond>1</Plafond>
<TypeProfilLead>BDC</TypeProfilLead>
</PlafondRemise>
</Plafonds>
</LibelleRemise>
<LibelleRemise>
<IDLibelleRemise>1</IDLibelleRemise>
<InclureOptions>true</InclureOptions>
<Libelle>sample string 2</Libelle>
<Plafonds>
<PlafondRemise>
<IDLibelleRemise>1</IDLibelleRemise>
<IDPlafondRemise>1</IDPlafondRemise>
<IDPlaque>1</IDPlaque>
<Plafond>1</Plafond>
<TypeProfilLead>BDC</TypeProfilLead>
</PlafondRemise>
<PlafondRemise>
<IDLibelleRemise>1</IDLibelleRemise>
<IDPlafondRemise>1</IDPlafondRemise>
<IDPlaque>1</IDPlaque>
<Plafond>1</Plafond>
<TypeProfilLead>BDC</TypeProfilLead>
</PlafondRemise>
</Plafonds>
</LibelleRemise>
</ArrayOfLibelleRemise>