1

http://wiki.processmaker.com/3.0/REST_API_Designer#get_projects


this api return all projects in my workflow including that I have not involved in. Any way to get projects that I can start?

xiongjiabin
  • 313
  • 3
  • 7

2 Answers2

0

I was told "/api/1.0/workflow/light/start-case" would get the projects I involved, while "/projects" get all projects.

xiongjiabin
  • 313
  • 3
  • 7
  • The api is not supported publicly, may will not available later. – xiongjiabin Jul 14 '16 at 04:01
  • Despite the fact that is not publicly documented, is the one used by processmaker mobile app, so it should be mantained for a while. At least for all pm 3.x versions, – Pedro Teran Sep 09 '16 at 19:16
0

Well, you have to execute these steps, for example in Postman:

For Desktop

GET: {{url}}/{{workspace}}/oauth2/token

url: Your Site workspace: Your Workspace

**Headers**
Authorization: Basic eC1wbS1sb2NhbC1jbGllbnQ6MTc5YWQ0NWM2Y2UyY2I5N2NmMTAyOWUyMTIwNDZlODE=
Content-Type: application/json

{
"grant_type":"password", 
"username":"admin", 
"password":"admin"}

Now that we already have the access_token we need to try it out in the next endpoints

GET: {{url}}/api/1.0/{{workspace}}/light/start-case

url: Your Site
workspace: Your Workspace

**Headers:**
Authorization: Bearer {{access_token}}
MickyScion
  • 526
  • 2
  • 14