Forums
I've grabbed a completion report and am looping through the packages to archive them.
I've tried the following:
RestClient client;
client = new RestClient("https://apps.e-signlive.com/api");
UrlTemplate template;
template = new UrlTemplate("https://apps.e-signlive.com/api");
String path = template.urlFor(UrlTemplate.PACKAGE_ID_PATH)
.replace("{packageId}", packageCompletionReport.getId())
.build();
String json = "{\"status\":\"ARCHIVED\"}";
try {
client.put(path, json);
} catch (RequestException e) {
throw new EslSe
- Read more about Trying to archive
- 4 comments
- Log in or register to post comments
- 100 views