editer_mandat


POST  -- Modifier un mandat

Argument de recherche Description Taille max Exemple Obligatoire
rumIdentifiant unique du mandatString - 35OUI

Paramètre à modifier Description Taille max Exemple Obligatoire
statutStatut du mandatString - 2NON
patient_prenomPrénom du patientString - 70NON
patient_nomNom du patientString - 70NON
patient_adresse_numero_voieAdresse du patient : numéro sur la voieString - 16NON
patient_adresse_type_voieAdresse du patient : type de voieString - 16NON
patient_adresse_voie_nomAdresse du patient : nom de la voieString - 70NON
patient_complement_adresseComplément d'adresseString - 70NON
patient_code_postalCode postalString - 16NON
patient_villeVilleString - 35NON
patient_paysPaysString - 35NON
patient_emailEmail du patientString - 70NON
patient_numero_mobileTéléphone du patientString - 16NON
ibanIBAN du compte bancaire du patientString - 34NON


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"}
                                                
Si le mandat a été modifié avec succès

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.
Merci de remplir tous les champs obligatoires
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