To retrieve a list of all the Design Plans created by the Clinic.
When a Clinic makes a number of Design Plans and wants to access them, they can use this API to see the list of all submitted Design Plans. Please note that the only thing this API needs is the identity of the caller which can be retrieved by sending the Principal object which is automatically extracted from the authorization token.
1- Request URL:
https://gwidev.eq.optt.ca/gateway/profile/clinic/design-plan
2- Request Method Type:
GET
A complete example of an API call:
curl -X GET "https://gwidev.eq.optt.ca/gateway/profile/clinic/design-plan" -H "accept: */*" -H "Authorization: bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjM3NTgyMDY0NDQsInVzZXJfbmFtZSI6ImxhbGVoQG9wdHQuY2EiLCJhdXRob3JpdGllcyI6WyJDTElOSUMiXSwianRpIjoiMjU5NTgwMTAtZWVkMC00MThkLTlmNzctZWU1YzA3OWU0Mzc3IiwiY2xpZW50X2lkIjoib3B0dC0wMmVlNzdkYy1hYzQ1LTQzNDQtODE3ZS0xN2NhNTJiNThiNWQiLCJzY29wZSI6WyJyZWFkIiwid3JpdGUiXX0.Qx07ooEYUh_i6p-ieR1w__IKj8AxIC7qeOXRHYRqJkh1IYo_wGmM1zv_qaiB9e9Gxk9yob8NalQsyJ5Knte08vyEg3bAF94fey1rXBjbmgwsLtz9lH2GaIqyw030vCv7fbbw1q-R2-drM31dRmhRy981gykA0Vo-F2ypOnYeu7FcJJxLGVs8Tu4bImCDNsKeqkCj81R_j3YFu1uigYjPbWzCRFG6xKATJrGU-fFhbr_m-WpiIIFZCoi12EK18C_Ikf1ClBDk78GHYEs6NFb4hH7Hmd5yQjDHwtgQb78uzWMUS7jQYtYw7W3tULCT3K_FZRJBNwMxWAbRMHQVcLoFRA" -H "offset: 1"
Response:
[
{
"id": 1,
"planName": "test",
"createdDate": "12/8/20 4:05 PM",
"appointmentTitle": "test",
"appointmentDesc": "test",
"clinicId": null,
"caregiverId": null,
"weeks": null
},
{
"id": 2,
"planName": "test 4940",
"createdDate": "12/21/20 7:01 AM",
"appointmentTitle": "est",
"appointmentDesc": "Therapy 1",
"clinicId": null,
"caregiverId": null,
"weeks": null
},
{
"id": 57,
"planName": "",
"createdDate": "2/9/21 9:55 PM",
"appointmentTitle": "",
"appointmentDesc": "",
"clinicId": null,
"caregiverId": null,
"weeks": null
},
{
"id": 58,
"planName": "test1",
"createdDate": "2/9/21 9:59 PM",
"appointmentTitle": "test1",
"appointmentDesc": "test1",
"clinicId": null,
"caregiverId": null,
"weeks": null
},
{
"id": 59,
"planName": "tets",
"createdDate": "2/9/21 11:01 PM",
"appointmentTitle": "test2",
"appointmentDesc": "test1",
"clinicId": null,
"caregiverId": null,
"weeks": null
}
]