Closed fcbaconguis closed 5 years ago
Hi there! This prop isn't exposed on /patients. The reminder_type prop is however, which can be set to one of four options: null, SMS, Email, SMS & Email. I'll follow up with the team to see if there's a reason we're not sending/accepting this property.
Cheers!
On Fri, 14 Jun 2019 at 17:55, Fritz Baconguis notifications@github.com wrote:
I have been scanning the api of where this field patient[receives_confirmation_emails] is saved, can you provide the correct name on the api? Thank you.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/redguava/cliniko-api/issues/265?email_source=notifications&email_token=ABHMHYCOIEG4KNBF5SYGQD3P2NFI5A5CNFSM4HYFNL4KYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4GZPWV5Q, or mute the thread https://github.com/notifications/unsubscribe-auth/ABHMHYEBFSHQWZSY644CSMTP2NFI5ANCNFSM4HYFNL4A .
Hi hagen,
For clarification.
Automated reminder type -> reminder_type field Agrees to receive your promotional SMS marketing -> accepted_sms_marketing field Receive booking confirmation emails -> this third field is my question, what field is this saved?
Thanks!
Fritz
We don't currently expose that property on the patients endpoint. Discussing internally whether we can add it (should be okay!) What specifically do you need it for @fcbaconguis ?
hi @hagen, I am tasked to manage the patient details, one of them is to reset the communication preferences into "None" or null or untick that setting.
Are you attempting to trigger a reset of comms preferences from another application? And how often would this need to be done? Or is this a bulk type operation?
Yes, by using the api
this will be triggered once for now and depends if tasked again to do it again in the next few months
Yes this is a bulk type operation.
I think we're good to add receives_confirmation_emails
to /patients
. Stay tuned.
@fcbaconguis this prop is now in /patients
- enjoy!
I have been scanning the api of where this field patient[receives_confirmation_emails] is saved, can you provide the correct name on the api? Thank you.