Page 1 of 1

start case using API

Posted: Fri Feb 07, 2020 3:53 am
by GianYagami
Hello, I am an Fresh graduate who start career in software engineering.

our office is using processmaker workflow and I have a task to make automation case, which is triggered by another application. I am doing research that processmaker workflow has that method by creating API and Oauth2 token. So far, I already tested getting access token and then show active users by hitting endpoint API.

Now I must using API for creating new processmaker case, but in start of the case there's attachment field which is mandatory. I am not sure this API could sending binary data or abstract data or whatever it called for attachment.

Re: start case using API

Posted: Mon Apr 20, 2020 5:19 pm
by RicardoMG
Hello!

You can review the following information from the ProcessMaker documentation:
https://wiki.processmaker.com/3.3/REST_API_Cases/Cases#New_Case:_POST_.2Fcases

Best Regards, Ricardo.

Re: start case using API

Posted: Wed Apr 22, 2020 10:31 pm
by GianYagami
thanks for the reply,
but I still curious how to upload attachment by using api

Re: start case using API

Posted: Thu Apr 23, 2020 11:49 am
by RicardoMG
Hello!

If you want to upload input document using Rest Api, you can review the information about it in this link:
https://wiki.processmaker.com/3.2/REST_API_Cases/Input_Documents#Upload_Input_Document:_POST_.2Fcases.2F.7Bapp_uid.7D.2Finput-document

Best regards, Ricardo.