I need to perform a PUT method to update the desired selected record.
The URL to post to is the $url value in the response or it’s always http://my.webservice/test/{123456789}/accountrecord with $uid enclosed in brackets.
Am I missing something here?
If I set up a PUT Server Action to http://my.webservice/test/{123456789}/accountrecord
and surround the $uid with () in a variable can I add the (1dfc-4dba-8cac) to the URL path?
Sorry to be a pain…
I GET all the records using an Authenticated URL http://my.webservice/test/{123456789}/accountlist
In a repeat these are listed on my page and working fine.
I then have an dmx-on:click that sets a couple of variables to the selected records $uid surrounded in brackets dmx-bind:value="'('+varuid.value+')'" and the $url which is the endpoint for that records update. http://my.webservice/test/{123456789}/accountrecord(1dfc-4dba-8cac)
I have a form with an input to set the credit value.
I need to send a PUT to the endpoint returned in the query/repeat http://my.webservice/test/{123456789}/accountrecord($uid)
or $url
But I am not sure how I can set the Server API connect path to the dynamic value?