editer_mandat
POST  -- Modifier un mandat
| Argument de recherche | Description | Taille max | Exemple | Obligatoire |
|---|---|---|---|---|
| rum | Identifiant unique du mandat | String - 35 | OUI |
| Paramètre à modifier | Description | Taille max | Exemple | Obligatoire |
|---|---|---|---|---|
| statut | Statut du mandat | String - 2 | NON | |
| patient_prenom | Prénom du patient | String - 70 | NON | |
| patient_nom | Nom du patient | String - 70 | NON | |
| patient_adresse_numero_voie | Adresse du patient : numéro sur la voie | String - 16 | NON | |
| patient_adresse_type_voie | Adresse du patient : type de voie | String - 16 | NON | |
| patient_adresse_voie_nom | Adresse du patient : nom de la voie | String - 70 | NON | |
| patient_complement_adresse | Complément d'adresse | String - 70 | NON | |
| patient_code_postal | Code postal | String - 16 | NON | |
| patient_ville | Ville | String - 35 | NON | |
| patient_pays | Pays | String - 35 | NON | |
| patient_email | Email du patient | String - 70 | NON | |
| patient_numero_mobile | Téléphone du patient | String - 16 | NON | |
| iban | IBAN du compte bancaire du patient | String - 34 | NON |
Requête
POST /xxxx/editer_mandat HTTP/1.1
Host: xxx.xxxxxxxx.fr
Authorization: Basic JQheySHkalSNuakkmSmm==
Content-Type: application/json
Accept: application/json
{
"rum": "REF_XXX",
"statut": "1",
"patient_nom": "famille",
"patient_prenom": "claude",
"patient_adresse_numero_voie": "7",
"patient_adresse_type_voie": "rue",
"patient_adresse_voie_nom": "laurent vibert",
"patient_complement_adresse": "5ème étage",
"patient_code_postal": "69006",
"patient_ville": "Lyon",
"patient_pays": "FR",
"patient_email": "newemail@xxx.com",
"patient_numero_mobile": "0600000000",
"iban": "FRXXXXXXXXX"}
Réponse
HTTP/1.1 200 OK
Content-Type: application/json
{
"result" : true
}
Si la modification du mandat a échoué
Réponse
HTTP/1.1 200 OK
Content-Type: application/json
{
"result" : false,
"code" : "XXXX"
}
| Argument | Description |
|---|---|
| result | true ou false : true : action réalisée avec succès false : action échouée |
| code | Voir codes d'erreur en annexe. |
Requête
HTTP/1.1 200 OK
POST /ssp/editer_mandat HTTP/1.1
Host: xxx.safedebit.fr
Authorization: Basic JQheySHkalSNuakkmSmm==
Content-Type: application/json
Accept: application/json