My Oracle Support Banner

How to import a project into PCS using cURL (Doc ID 2545558.1)

Last updated on FEBRUARY 08, 2020

Applies to:

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

Goal

On : 18.2.3. version, Workspace

Cannot import PCS project using rest api

Following documentation - "REST API for Oracle Process Cloud Service, Version 4.0" at "https://docs.oracle.com/en/cloud/paas/process-cloud/cprrb/op-spaces-spaceid-projects-post.html" with exported "*.exp" file. Getting error -

{"type":"HTTP://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.1","title":"BPM-0: Project file is invalid. Please use a valid project file.","status":"400","o:errorCode":"INVALID_PROJECT_FILE"}

curl command executed -

curl -X POST --header "Content-Type: multipart/form-data" --header "Accept: application/json" -u : -F "projectName=MyProject321" -F "description=This is my new project" -F "exp=D:/PCSCURL/TestLocalization.exp" "https://oiccloud.com/bpm/api/4.0/spaces/{spaceId}/projects"
 

Solution

To view full details, sign in with your My Oracle Support account.

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


In this Document
Goal
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.