POST GetLstRV

Fonction de récupération des rendez-vous à confirmer pour une journée donnée. Si Succès: Un tableau contenant la liste des rendez-vous. Si Erreur: tableau vide

Paramètres reçus

- Clé de l'API

- Date(Format yyyy-MM-dd) pour laquelle les rendez-vous à confirmer doivent être retournés

1 Returned value (string) :

If successful an Array of all the appointment for that date

if error empty Array is returned

POST: /GetLstRV

Request Information

URI Parameters

None.

Body Parameters

GetLstRVRequest
NameDescriptionTypeAdditional information
ApiCode

Clé API Opti-Pro

string

None.

DateRV

Date de la journée de Rendez-voous

string

None.

Request Formats

application/json, text/json

Exemple:
{
  "ApiCode": "sample string 1",
  "DateRV": "sample string 2"
}

application/xml, text/xml

Exemple:
<GetLstRVRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WsOptiPro">
  <ApiCode>sample string 1</ApiCode>
  <DateRV>sample string 2</DateRV>
</GetLstRVRequest>

application/x-www-form-urlencoded

Exemple:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'GetLstRVRequest'.

Response Information

Resource Description

Appointments
NameDescriptionTypeAdditional information
Appointments

Collection of Appointment

None.

Response Formats

application/json, text/json

Exemple:
{
  "Appointments": [
    {
      "AppointmentId": 1,
      "PatientDOB": "sample string 2",
      "AppointmentTime": "sample string 3",
      "PatientFirstName": "sample string 4",
      "PatientLastName": "sample string 5",
      "RessourceCode": "sample string 6"
    },
    {
      "AppointmentId": 1,
      "PatientDOB": "sample string 2",
      "AppointmentTime": "sample string 3",
      "PatientFirstName": "sample string 4",
      "PatientLastName": "sample string 5",
      "RessourceCode": "sample string 6"
    }
  ]
}

application/xml, text/xml

Exemple:
<Appointment.Appointments xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WsOptiPro">
  <Appointments>
    <Appointment>
      <AppointmentId>1</AppointmentId>
      <AppointmentTime>sample string 3</AppointmentTime>
      <PatientDOB>sample string 2</PatientDOB>
      <PatientFirstName>sample string 4</PatientFirstName>
      <PatientLastName>sample string 5</PatientLastName>
      <RessourceCode>sample string 6</RessourceCode>
    </Appointment>
    <Appointment>
      <AppointmentId>1</AppointmentId>
      <AppointmentTime>sample string 3</AppointmentTime>
      <PatientDOB>sample string 2</PatientDOB>
      <PatientFirstName>sample string 4</PatientFirstName>
      <PatientLastName>sample string 5</PatientLastName>
      <RessourceCode>sample string 6</RessourceCode>
    </Appointment>
  </Appointments>
</Appointment.Appointments>