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
NameDescriptionTypeAdditional 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

Exemple:
{
  "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

Exemple:
<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

Exemple:

Sample not available.

Response Information

Resource Description

InfoPlages
NameDescriptionTypeAdditional information
Validation

string

None.

Plages

Collection of clsPlage

None.

Fin

string

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"
    },
    {
      "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"
    }
  ],
  "Fin": "sample string 2"
}

application/xml, text/xml

Exemple:
<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>
      <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>
    </clsPlage>
    <clsPlage>
      <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>
    </clsPlage>
  </Plages>
  <Validation>sample string 1</Validation>
</clsData.InfoPlages>