GET GetPlagesAgenda?ApiCode={ApiCode}&SuccCode={SuccCode}&RessCode={RessCode}&DateDebutPlage={DateDebutPlage}&DateFinPlage={DateFinPlage}
Fonction renvoyant de l'information sur les catégories de plage horaire avec critère d'age
Paramètres reçus
- Clé de l'API
- SuccCode: Code de succursale
- RessCode: Code de la ressource
- DateDebutPlage: Date de début des plages à retourner (obligatoire)
- DateFinPlage: Date de fin des plages à retourner (obligatoire)
- JSON info plages horaires
1 - Erreur de connexion à la BD
2 - Erreur connexion à la succursale
3 - Code de succursale invalide
4 - dates invalide
9 - Autre erreur
10 - Clé API invalide
GET: /GetPlagesAgenda
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| ApiCode | string |
Required |
|
| SuccCode | string |
Required |
|
| RessCode | string |
Required |
|
| DateDebutPlage | string |
Required |
|
| DateFinPlage | string |
Required |
Body Parameters
None.
Response Information
Resource Description
InfoPlageAgenda| Name | Description | Type | Additional information |
|---|---|---|---|
| Validation | string |
None. |
|
| PlagesAgenda | Collection of clsPlageAgenda |
None. |
Response Formats
application/json, text/json
Exemple:
{
"Validation": "sample string 1",
"PlagesAgenda": [
{
"PlageId": 1,
"PlageDate": "2026-07-01T15:37:49.6781126-04:00",
"PlageExamCode": "sample string 3",
"PlageDone": "sample string 4",
"PlageDisp": "sample string 5",
"PlageConf": "sample string 6",
"PlageNote": "sample string 7",
"PlagePrio": "sample string 8",
"PlageDuree": 9,
"PlageCategDesc": "sample string 10",
"PlageCategCouleur": "sample string 11",
"PatientId": 12,
"ResourceId": 13,
"ResourceCode": "sample string 14",
"PatientFname": "sample string 15",
"PatientName": "sample string 16",
"PatientAge": 17,
"PatientSex": "sample string 18",
"PatientPhoneRes": "sample string 19",
"PatientPhoneCell": "sample string 20",
"PlageComment": "sample string 21"
},
{
"PlageId": 1,
"PlageDate": "2026-07-01T15:37:49.6781126-04:00",
"PlageExamCode": "sample string 3",
"PlageDone": "sample string 4",
"PlageDisp": "sample string 5",
"PlageConf": "sample string 6",
"PlageNote": "sample string 7",
"PlagePrio": "sample string 8",
"PlageDuree": 9,
"PlageCategDesc": "sample string 10",
"PlageCategCouleur": "sample string 11",
"PatientId": 12,
"ResourceId": 13,
"ResourceCode": "sample string 14",
"PatientFname": "sample string 15",
"PatientName": "sample string 16",
"PatientAge": 17,
"PatientSex": "sample string 18",
"PatientPhoneRes": "sample string 19",
"PatientPhoneCell": "sample string 20",
"PlageComment": "sample string 21"
}
]
}
application/xml, text/xml
Exemple:
<clsData.InfoPlageAgenda xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WsOptiPro">
<PlagesAgenda>
<clsPlageAgenda>
<PatientAge>17</PatientAge>
<PatientFname>sample string 15</PatientFname>
<PatientId>12</PatientId>
<PatientName>sample string 16</PatientName>
<PatientPhoneCell>sample string 20</PatientPhoneCell>
<PatientPhoneRes>sample string 19</PatientPhoneRes>
<PatientSex>sample string 18</PatientSex>
<PlageCategCouleur>sample string 11</PlageCategCouleur>
<PlageCategDesc>sample string 10</PlageCategDesc>
<PlageComment>sample string 21</PlageComment>
<PlageConf>sample string 6</PlageConf>
<PlageDate>2026-07-01T15:37:49.6781126-04:00</PlageDate>
<PlageDisp>sample string 5</PlageDisp>
<PlageDone>sample string 4</PlageDone>
<PlageDuree>9</PlageDuree>
<PlageExamCode>sample string 3</PlageExamCode>
<PlageId>1</PlageId>
<PlageNote>sample string 7</PlageNote>
<PlagePrio>sample string 8</PlagePrio>
<ResourceCode>sample string 14</ResourceCode>
<ResourceId>13</ResourceId>
</clsPlageAgenda>
<clsPlageAgenda>
<PatientAge>17</PatientAge>
<PatientFname>sample string 15</PatientFname>
<PatientId>12</PatientId>
<PatientName>sample string 16</PatientName>
<PatientPhoneCell>sample string 20</PatientPhoneCell>
<PatientPhoneRes>sample string 19</PatientPhoneRes>
<PatientSex>sample string 18</PatientSex>
<PlageCategCouleur>sample string 11</PlageCategCouleur>
<PlageCategDesc>sample string 10</PlageCategDesc>
<PlageComment>sample string 21</PlageComment>
<PlageConf>sample string 6</PlageConf>
<PlageDate>2026-07-01T15:37:49.6781126-04:00</PlageDate>
<PlageDisp>sample string 5</PlageDisp>
<PlageDone>sample string 4</PlageDone>
<PlageDuree>9</PlageDuree>
<PlageExamCode>sample string 3</PlageExamCode>
<PlageId>1</PlageId>
<PlageNote>sample string 7</PlageNote>
<PlagePrio>sample string 8</PlagePrio>
<ResourceCode>sample string 14</ResourceCode>
<ResourceId>13</ResourceId>
</clsPlageAgenda>
</PlagesAgenda>
<Validation>sample string 1</Validation>
</clsData.InfoPlageAgenda>