https://www.domaine.com/lmsapi/provider/get
Exemple de fournisseur de services
{
"id": "BzEm1iKI2qP86aUK38RlVg%3d%3d",
"branchId": “234erw34KI2q45tRlVg%3d%3d”,
"allowUnsubscribe": false,
"nbDaysAllowUnsubscribe": 0,
"percentPartialRefund": 0.0,
"allowLimitSubscribe": false,
"nbDaysLimitSubscribe": 0,
"allowSubscribeRebate": false,
"percentSubscribeRebate": 0.0,
"nbDaysSubscribeRebate": 0,
"currencyId": 2,
"countryId": 37,
"stateId": 11,
"isDefault": false,
"name": {
"texts": [{
"text": "Fournisseur 1",
"languageId": 1
}
]
},
"shortName": {
"texts": [{
"text": "Fournisseur 1",
"languageId": 1
}
]
},
"cancellationText": {
"texts": [{
"text": "Mon annulation",
"languageId": 1
}
]
}
}
Description des champs
/provider/get (request) - Requête d'un fournisseur de services du client par identifiant
{
"id": "BzEm1iKI2qP86aUK38RlVg%3d%3d"
}
L’identifiant du fournisseur de services est obligatoire.
/provider/get (response) - Retourne un objet représentant un fournisseur de services
{
"id": "BzEm1iKI2qP86aUK38RlVg%3d%3d",
"branchId": 1,
"allowUnsubscribe": false,
"nbDaysAllowUnsubscribe": 0,
"percentPartialRefund": 0.0,
"allowLimitSubscribe": false,
"nbDaysLimitSubscribe": 0,
"allowSubscribeRebate": false,
"percentSubscribeRebate": 0.0,
"nbDaysSubscribeRebate": 0,
"currencyId": 2,
"countryId": 37,
"stateId": 11,
"name": {
"texts": [{
"text": "Fournisseur 1",
"languageId": 1
}
]
},
"shortName": {
"texts": [{
"text": "Fournisseur 1",
"languageId": 1
}
]
},
"cancellationText": {
"texts": []
}
}