Thanks LJ for your response Thanks Fred for the first laugh of the day ☺
Mark From: Action Request System discussion list(ARSList) [mailto:[email protected]] On Behalf Of LJ LongWing Sent: Thursday, May 11, 2017 3:22 PM To: [email protected] Subject: Re: Put another way ** I would say that the main reason for that is that the SOAP interface is a client on top of the api, whereas the rest api is basically just that....a rest wrapper for the java api :) On Thu, May 11, 2017 at 1:09 PM, Grooms, Frederick W <[email protected]<mailto:[email protected]>> wrote: ** Wow … Something SOAP can do that REST can’t (Sorry just had to say it) From: Action Request System discussion list(ARSList) [mailto:[email protected]<mailto:[email protected]>] On Behalf Of LJ LongWing Sent: Thursday, May 11, 2017 11:58 AM To: [email protected]<mailto:[email protected]> Subject: Re: Put another way ** Mark, I don't believe so, the reason being is that even back in the old days of 'modify all' in the user tool, you selected the records you wanted to modify, then the user tool did a loop through a list of request id's and did the same update to all of them....from an api perspective, when doing a set entry, 'which request are you updating, on which form' is the primary information, of course it also needs to know what you are changing...but you need to know exactly which records.... So, if you are trying to do it via 'query', you'll need to write a query routine to get the request id's in question, then push an update to each one respectively.... Alternatively....you could push a query to an 'interface' form with the query as one of the inputs, then have a filter to the execution of the query and update for you :) On Thu, May 11, 2017 at 10:29 AM, Brittain, Mark wrote: ** Hi All Is there a way to do a put using a field other that the request id (1)? curl -X PUT "http://192.168.1.131:8008/api/arsys/v1/entry/<schema name>/<requestiID><http://192.168.1.131:8008/api/arsys/v1/entry/%3cschema%20name%3e/%3crequestiID%3e>" -H "accept: application/json" -H "Authorization: AR-JWT <TOKEN>" -H "content-type: application/json" -d "{ \"values\": { \"Escalation\": \"0\" }}" ARS9 ITSM 9 Thanks Mark Mark Brittain | Senior Systems Engineer | 315.634.9337<tel:(315)%20634-9337> 125 Elwood Davis Road | Syracuse NY 13212 [new_spectrum] _ARSlist: "Where the Answers Are" and have been for 20 years_ _ARSlist: "Where the Answers Are" and have been for 20 years_ _______________________________________________________________________________ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org "Where the Answers Are, and have been for 20 years"

