Invoke POST WebAPI


I have created a!writeToDataStore in webAPI which is writing to DB when I test through API,to invoke this API I created an integration of Method POST and URL accepting ri! as parameters.

I am unable to write to DB when I test through integration.Can someone please help where I am going wrong.

Later I want to use this integration in my interface.

Thanks in advance!

  Discussion posts and replies are publicly visible

Parents Reply
  • 0
    Appian Employee
    in reply to priyas0007

    When you say interface are you referring to an Appian Interface? You shouldn't use Web APIs in your interface since you can call smart services directly. Simply place them into the saveInto field of a dynamicLink() or buttonWidget()

    To test this, make an interface with a simple a!linkField(links: {a!dynamicLink( saveInto: {})}) and try to write to the database using this link.