POST GetInfoRdvDeplPost
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
None.
Body Parameters
GetInfoRdvDeplRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| ApiCode |
Clé API Opti-Pro |
string |
None. |
| SuccCode |
SuccCode: Code de succursale |
string |
None. |
| PlageId |
PlageId: Id de la plage |
integer |
None. |
| PatientId |
PatientId: Id de la plage |
integer |
None. |
Request Formats
application/json, text/json
Exemple:
{
"ApiCode": "sample string 1",
"SuccCode": "sample string 2",
"PlageId": 3,
"PatientId": 4
}
application/xml, text/xml
Exemple:
<GetInfoRdvDeplRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WsOptiPro"> <ApiCode>sample string 1</ApiCode> <PatientId>4</PatientId> <PlageId>3</PlageId> <SuccCode>sample string 2</SuccCode> </GetInfoRdvDeplRequest>
application/x-www-form-urlencoded
Exemple:
Sample not available.
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>