GET GetInfoRdvDepl?ApiCode={ApiCode}&SuccCode={SuccCode}&PlageId={PlageId}&PatientId={PatientId}
Fonction renvoyant de l'information sur un rendez-vous à déplacer
Paramètres reçus
- Clé de l'API
- SuccCode: Code de succursale
- PlageId: Id de la plage horaire
- PatientId: Id du patient
- JSON info de la plage horaire du rendez-vous
- Propriétés vide si aucun rdv
1 Valeur retournée (string) pour validation :
1 - Erreur de connexion à la BD
2 - Erreur connexion à la succursale
3 - Code de succursale invalide
4 - Plage passée
8 - Autre erreur
9 - Clé API invalide
POST: /GetInfoRdvDepl
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| ApiCode | string |
Required |
|
| SuccCode | string |
Required |
|
| PlageId | integer |
Required |
|
| PatientId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
InfoRDV| Name | Description | Type | Additional information |
|---|---|---|---|
| Validation | string |
None. |
|
| Plages | clsPlage |
None. |
Response Formats
application/json, text/json
Exemple:
{
"Validation": "sample string 1",
"Plages": {
"AppointmentId": 1,
"AppointmentDate": "sample string 2",
"AppointmentRessourceId": 3,
"AppointmentRessourceEmail": "sample string 4",
"AppointmentRessourceName": "sample string 5",
"AppointmentRessourceFName": "sample string 6",
"AppointmentRessourceSexe": "sample string 7",
"AppointmentRessourceSpecialite": "sample string 8",
"AppointmentDernierExamenComplet": "sample string 9",
"AppointmentDernierRDV": "sample string 10",
"AppointmentRessourceAuDossier": "sample string 11",
"AppointmentRessourceDernierRappel": "sample string 12"
}
}
application/xml, text/xml
Exemple:
<clsData.InfoRDV xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WsOptiPro">
<Plages>
<AppointmentDate>sample string 2</AppointmentDate>
<AppointmentDernierExamenComplet>sample string 9</AppointmentDernierExamenComplet>
<AppointmentDernierRDV>sample string 10</AppointmentDernierRDV>
<AppointmentId>1</AppointmentId>
<AppointmentRessourceAuDossier>sample string 11</AppointmentRessourceAuDossier>
<AppointmentRessourceDernierRappel>sample string 12</AppointmentRessourceDernierRappel>
<AppointmentRessourceEmail>sample string 4</AppointmentRessourceEmail>
<AppointmentRessourceFName>sample string 6</AppointmentRessourceFName>
<AppointmentRessourceId>3</AppointmentRessourceId>
<AppointmentRessourceName>sample string 5</AppointmentRessourceName>
<AppointmentRessourceSexe>sample string 7</AppointmentRessourceSexe>
<AppointmentRessourceSpecialite>sample string 8</AppointmentRessourceSpecialite>
</Plages>
<Validation>sample string 1</Validation>
</clsData.InfoRDV>