Page 1 of 1

API Enhacement Request: PatFields

Posted: Thu Oct 20, 2022 1:46 pm
by MEMikie
Hello,

I made a previous request to add POST to Referrals, and I need to make the same request to add POST to PatFields.

Again, our integrated CRM system relies on many fields to create a new patient within Open Dental, make their first appointment, and assign all the variables associated with that new patient. This makes POST necessary,

Thank you for your consideration.

Re: API Enhacement Request: PatFields

Posted: Thu Oct 20, 2022 2:27 pm
by justine
MEMikie wrote:
Thu Oct 20, 2022 1:46 pm
Hello,

I made a previous request to add POST to Referrals, and I need to make the same request to add POST to PatFields.

Again, our integrated CRM system relies on many fields to create a new patient within Open Dental, make their first appointment, and assign all the variables associated with that new patient. This makes POST necessary,

Thank you for your consideration.
Hello MEMikie,

Will PatFields PUT do what you're describing?
If a PatField already exists for the patient, it gets set to the new value, overwriting the old value. If a PatField does not yet exist for the patient, then an PatField gets inserted into the database. To delete a PatField, set the FieldValue to an empty string.
Thanks!

Re: API Enhacement Request: PatFields

Posted: Thu Oct 20, 2022 2:55 pm
by MEMikie
Yes, thank you! Not sure how I missed that PUT inserts.