modifier_info_patient
POST  -- Modifier un patient
| Argument de recherche | Description | Taille max |
|---|---|---|
| safedebit_reference_patient | Référence Safedebit du patient | String - 35 |
| Paramètre à modifier | Description | Type - Taille | Exemple |
|---|---|---|---|
| patient_genre | Genre du patient | Char- 1 | M : masculin F : féminin |
| patient_prenom | Nom du patient | String - 70 | |
| patient_nom_usage | Nom d'usage | String - 70 | |
| patient_pseudonyme | Pseudonyme | String - 70 | |
| patient_nom | Prénom du patient | String - 70 | |
| patient_autre_nom | Autres prénoms | String - 70 | |
| type_piece_identite | Type de la pièce d'identité | Char - 1 | 1 : CNI 2 : permis 3 : passeport 4 : carte résident 5 : carte de séjour |
| numero_id | Numéro de la pièce d'identité | String - 18 | |
| date_emission | Date d'émission de la pièce | String - 10 | DD/MM/YYYY |
| date_expiration | Date d'expiration de la pièce | String - 10 | DD/MM/YYYY |
| patient_date_naissance | Date de naissance | String - 10 | DD/MM/YYYY |
| patient_ville_naissance | Ville de naissance | String - 35 | |
| patient_nationalite | Nationalité du patient | String - 3 | FR,ES,IT... |
| patient_adresse_numero_voie | Adresse du patient : numéro sur la voie | String - 16 | |
| patient_adresse_type_voie | Adresse du patient : type de voie | String - 16 | |
| patient_adresse_voie_nom | Adresse du patient : nom de la voie | String - 70 | |
| patient_complement_adresse | Complément d'adresse | String - 70 | |
| patient_code_postal | Code postal | String - 16 | |
| patient_ville | Ville | String - 35 | |
| patient_pays | Pays | String - 35 | |
| patient_email | Email du patient | String - 70 | |
| patient_numero_mobile | Téléphone du patient | String - 16 | |
| patient_ip | Adresse IP du patient | String - 16 | |
| iban | IBAN du compte bancaire du patient | String - 34 | |
| raison_sociale | Raison sociale | String - 32 | |
| siren | SIREN de la société | String - 9 | |
| nic | NIC de la société | String - 5 | |
| naf | NAF de la société | String - 32 | |
| tva_interco | TVA inter communautaire de la société | String - 32 | |
| waldec | Numéro national unique de l'association | String - 16 |
Requête
POST /xxxx/modifier_info_patient HTTP/1.1
Host: xxx.xxxxxxxx.fr
Authorization: Basic JQheySHkalSNuakkmSmm==
Content-Type: application/json
Accept: application/json
{
"safedebit_reference_patient": "REF_XXX",
"id_patient": "123456",
"patient_genre": "M",
"patient_nom": "famille",
"patient_prenom": "claude",
"patient_autre_nom": "Jean, Michel",
"patient_date_naissance": "30/05/1996",
"patient_ville_naissance": "Lyon",
"patient_nationalite": "FR",
"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": "email@boite.com",
"patient_numero_mobile": "0600000000",
"patient_ip": "127.0.0.1",
"type_piece_identite": "1",
"numero_id": "123456789",
"date_emission": "30/05/2020",
"date_expiration": "30/05/2021",
"patient_type": "1",
"iban": "FRXXXXXXXXX",
"raison_sociale": "Raison",
"siren": "XXXXXXXXX",
"nic": "044",
"naf": "6810Z",
"tva_interco": "FRXXXXXX",
"waldec": "W784000090"}
Réponse
HTTP/1.1 200 OK
Content-Type: application/json
{
"result" : true
}
Si la modification du patient 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/edit_consumer HTTP/1.1
Host: xxx.safedebit.fr
Authorization: Basic JQheySHkalSNuakkmSmm==
Content-Type: application/json
Accept: application/json