Hi
I am trying to call an API according to the following documentation: https://www.cirrnet.ch/service.asmx. However, I am not sure how to embed this in an according form or via which Addon (e.g. Comfiforms) since the Post is being blocked. Does anyone have an idea on how API can be directly reached?
BR
Hi @n_travaglini
Are you trying to set up a ConfiForms form that will do a web-request to one of your services?
That is possible. ConfiForms offers a way to call any service via https://wiki.vertuna.com/display/CONFIFORMS/Configuring+ConfiForms+IFTTT+actions+and+rules#ConfiguringConfiFormsIFTTTactionsandrules-WebServiceRequest
Alex
Hi Alex
Thanks a lot for your response and the link. I actually found that documentation before but had troubles with setting it up. Therefore I alternatively tried an html form, from which the request got blocked by the server.
Are you familiar with the correct setup?
Thanks a lot an br
If you try to do it via HTML and browser request you quickly end up with cross-domain requests that quickly get blocked
What was not working for you with ConfiForms webservice request?
Hey @n_travaglini
Welcome to Atlassian Community.
The option to embed Confluence content outside our products is not currently available, due to the same-origin policy (set through the X-Frame-Options HTTP response header).
In case you opt to use the ConfiForms to achieve the desired results, we would suggest reaching them through their support channels:
Based on the details you shared, it might be possible to integrate your requirements developing your own app to use inside Confluence. Our Developer Support team would be the best channel to further clarify your doubts on this matter. You can reach them on the channel below:
Cheers,
Luis Pellacani
Actually all the configuration is clear, but when I try to adjust the Body Storage format, it does not get saved properly. In my opinion, it should be something like this (I configured the fields the same way as given by the definition in https://www.cirrnet.ch/service.asmx):<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:web="http://tempuri.org/"><soapenv:Header/><soapenv:Body><web:ImportCirrnet><web:IdFachbereich><ac:structured-macro ac:name="confiform-field"><ac:parameter ac:name="fieldName">IdFachbereich</ac:parameter></ac:structured-macro></web:IdFachbereich><web:MassngepO><ac:structured-macro ac:name="confiform-field"><ac:parameter ac:name="fieldName">MassngepO</ac:parameter></ac:structured-macro></web:MassngepO><web:MassngetO><ac:structured-macro ac:name="confiform-field"><ac:parameter ac:name="fieldName">MassngetO</ac:parameter></ac:structured-macro></web:MassngetO><web:EreignisO><ac:structured-macro ac:name="confiform-field"><ac:parameter ac:name="fieldName">EreignisO</ac:parameter></ac:structured-macro></web:EreignisO><web:DatEreignis><ac:structured-macro ac:name="confiform-field"><ac:parameter ac:name="fieldName">DatEreignis</ac:parameter></ac:structured-macro></web:DatEreignis><web:aldLogin><ac:structured-macro ac:name="confiform-field"><ac:parameter ac:name="fieldName">aldLogin</ac:parameter></ac:structured-macro></web:aldLogin><web:aPwd><ac:structured-macro ac:name="confiform-field"><ac:parameter ac:name="fieldName">aPwd</ac:parameter></ac:structured-macro></web:aPwd></web:ImportCirrnet></soapenv:Body></soapenv:Envelope>
However, this is overwritten by confiforms. Here is the configuration of the IFTTT, do you see a potential error?
Hi Luis
Okey, great I will gladly reach out, if @Alex Medved _ConfiForms_would not know how to solve it with the provided details.
Thank you guys a lot!
It looks like you're new here. Sign in or register to get started.