03. Answer

Interface

It allows you:

  • to send an answer for one workflow node (approval = Y/N and optional message text)

Prerequisites:

In order to use this API Method you must have workflow setup completed!

Actions can be done:

  • update - set answer and optional text message

Columns used as mandatory parameters:

  • DocType - mandatory

  • DocumentNo - mandatory

  • Answer - mandatory (not mandatory if the activity selected have Orig_WF_Activity_ID different from null and 0)

API Methods:

Answer:

URL: https://api.socratecloud.com/webapi/rest/workflow/answer/{version}?accessToken={access_token}&Responsible={...}&DocType={...}&DocumentNo={...}&Answer={...}&Text={...}

Method: POST

Return: Ok for success or error message (start with "ERROR: ")