CURL Null Point When Calling Archive Process Instances (Doc ID 2281590.1)

Last updated on AUGUST 16, 2017

Applies to:

Oracle Process Cloud Service - Version N/A and later
Information in this document applies to any platform.

Goal

Attempting a POST to the archives api (Archive Process Instances) using the cURL command below. A null pointer exception while accessing resource ""archives". The Fix indicates to verify the server logs but I am unable to review the logs.

cURL command:
curl -v -u ":" -H "Content-Type:application/json" -H "Accept: application/json" -d {"composites":{compositeDN: ['default/Test_Rest_App!1.0']},"compositeStates":"Active","properties":"","deleteInstances":false,"deleteRetention":"false","autoArchiveEnabled":true} https://host/bpm/api/3.0/archives
 

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms