Important Update: Archer Community Scheduled Maintenance on November 23–24 - New Community Launching Soon! Learn More..
2019-10-15 12:42 PM
We are using Archer 6.2P5 version.
We are looking for sample Java code to call the REST API to attach the and update/link it to the record id.
2019-10-15 12:59 PM
Azmathullah Khan M B, are you talking about JAVA or JavaScript? Either, you'd write the code that would get data from an external source. For instance in JavaScript you can invoke XMLHttpRequest() [AJAX The XMLHttpRequest Object] or .ajax [https://api.jquery.com/category/ajax/].
Then decide which REST API calls you want to use after you generate a session token, RSA Archer 6.2 Platform Patch 1 REST API Reference.
For coding examples you can search the following community, https://community.rsa.com/community/products/archer-grc/archer-customer-partner-community/api-users
Advisory Consultant
2019-10-15 01:19 PM
Hi David.. It is Core Java.
I got the code to upload single/multiple attachement via REST API.
But I am still looking for sample code to link to the record. I could not find the User community.
2019-10-15 01:30 PM
Take a look at Jeff Letterman post here on how to update a record with uploaded attachments, https://community.rsa.com/thread/189861#comment-884821
Then you'd use /api/core/content to update (PUT) the record, https://community.rsa.com/docs/DOC-102092
Advisory Consultant