POST GetPlagesWebDispost
Fonction d'identification d'un patient à partir de la réservation de rendez-vous en ligne.
Paramètres reçus
- Clé de l'API
- SuccCode: Code de succursale
- RessId: Id de la ressource
- DateDebutPlage: Date de début des plages à retourner
- DateFinPlage: Date de fin des plages à retourner
- JSON info plages Web disponibles
1 Valeur retournée (string) pour validation :
0 - Plages disponible
1 - Aucune plage disponible
2 - Erreur connexion à la succursale
6 - Erreur connexion à la base de donnée
7 - Dates invalide
8 - Erreur format de réception des données d'entrée
9 - Clé API invalide
POST: /GetPlagesWebDisp
Request Information
URI Parameters
None.
Body Parameters
GetPlagesWebDispRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| ApiCode |
Clé API Opti-Pro |
string |
None. |
| SuccCode |
SuccCode: Code de succursale |
string |
None. |
| RessourceId |
RessId: Id de la ressource |
integer |
None. |
| DateDebutPlage |
DateDebutPlage: Date de début des plages à retourner |
string |
None. |
| DateFinPlage |
DateFinPlage: Date de fin des plages à retourner |
string |
None. |
| CodeActPlage |
CodeActPlage |
string |
None. |
Request Formats
application/json, text/json
{
"ApiCode": "sample string 1",
"SuccCode": "sample string 2",
"RessourceId": 3,
"DateDebutPlage": "sample string 4",
"DateFinPlage": "sample string 5",
"CodeActPlage": "sample string 6"
}
application/xml, text/xml
<GetPlagesWebDispRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WsOptiPro"> <ApiCode>sample string 1</ApiCode> <CodeActPlage>sample string 6</CodeActPlage> <DateDebutPlage>sample string 4</DateDebutPlage> <DateFinPlage>sample string 5</DateFinPlage> <RessourceId>3</RessourceId> <SuccCode>sample string 2</SuccCode> </GetPlagesWebDispRequest>
application/x-www-form-urlencoded
Response Information
Resource Description
InfoPlages| Name | Description | Type | Additional information |
|---|---|---|---|
| Validation | string |
None. |
|
| Plages | Collection of clsPlage |
None. |
|
| Fin | string |
None. |
Response Formats
application/json, text/json
{
"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"
},
{
"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"
}
],
"Fin": "sample string 2"
}
application/xml, text/xml
<clsData.InfoPlages xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WsOptiPro">
<Fin>sample string 2</Fin>
<Plages>
<clsPlage>
<AppointmentDate>sample string 2</AppointmentDate>
<AppointmentId>1</AppointmentId>
<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>
</clsPlage>
<clsPlage>
<AppointmentDate>sample string 2</AppointmentDate>
<AppointmentId>1</AppointmentId>
<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>
</clsPlage>
</Plages>
<Validation>sample string 1</Validation>
</clsData.InfoPlages>