Replies: 2 comments
-
Beta Was this translation helpful? Give feedback.
0 replies
-
Thanks, Jon. Good to know about using a PUT, but do you know whether that
would work to create a new library to hold the template? I'd like to have a channel create its own
code template library with a code template, without potentially affecting any existing code templates in other code template libraries. I guess I'll give it a try, but something like 'createCodeTemplateLibrary' and 'createCodeTemplateInLibrary' would be nice.
…On Fri, Dec 8, 2023 at 10:04 AM Jon Bartels ***@***.***> wrote:
I know that other parts of Mirth (like SSL certs and channel groups) are
retrieved and posted as a complete blob instead of as individual items.
Reading the API info:
image.png (view on web)
<https://github.com/nextgenhealthcare/connect/assets/7669292/55d620b9-feae-42b5-8c2e-a1568db127d0>
It looks like libraries are fetched as a complete set. Like you're
literally updating the whole set of libraries not just one by one.
New code templates can be created by doing a PUT with a generated ID. I
don't see a POST, so I think you have to do a PUT and generate your own
UUID for the ID.
—
Reply to this email directly, view it on GitHub
<#6015 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAVPNVG6IIICLCETUIHA5STYINJENAVCNFSM6AAAAABAM5HA3OVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM3TQMBSGM2TG>
.
You are receiving this because you authored the thread.Message ID:
***@***.***
com>
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Looking at connect/server/src/com/mirth/connect/client/core/Client.java, I see Client calls to retrieve code templates and code template libraries, and calls to update existing code templates and libraries, but no call to add a new code template or code template library. Is there a way to add a new code template library and code template without using the Administrator to create or import it?
Beta Was this translation helpful? Give feedback.
All reactions