It allows you:
to get user choice history
Prerequisites:
In order to use this API Method you must have workflow setup completed!
Columns that can be used as filters:
Responsible (email) - mandatory
Date - mandatory
DocType - mandatory
Organization
IncludeApprovals
IncludeRejections
IncludeForwards
Actions can be done:
list
Available filter parameters:
IncludeApprovals - true/false
IncludeRejections - true/false
IncludeForwards - true/false
Organization
URL: https://api.socratecloud.com/webapi/rest/workflow/userchoice_history/list/{version}?startRow={0}&endRow={100}&accessToken={access_token}&Responsible={email}&Date={Date}&DocType={DocType}
Method: GET
Return: JSON object with next format:
{
"data": [
{
"Organization": "Test A SRL",
"DocType": "Referat Necesitate",
"DocumentBaseType": "Purchase Requisition",
"DocumentNo": "903535",
"DocumentUser": "Bebe G (N1)",
"TrxOrganization": null,
"Created": "2018-10-23 14:20:08+0300",
"Updated": "2018-10-23 14:20:53+0300",
"UserChoice": "Approved",
"Text": null,
"ForwardedTo": null
},
{
"Organization": "Test A SRL",
"DocType": "Referat Necesitate",
"DocumentBaseType": "Purchase Requisition",
"DocumentNo": "903534",
"DocumentUser": "Bebe G (N1)",
"TrxOrganization": null,
"Created": "2018-11-02 08:44:17+0200",
"Updated": "2018-11-02 09:32:06+0200",
"UserChoice": "Forwarded",
"Text": null,
"ForwardedTo": "TESTBEBE_User"
},
{
"Organization": "Test A SRL",
"DocType": "Referat Necesitate",
"DocumentBaseType": "Purchase Requisition",
"DocumentNo": "903537",
"DocumentUser": "Bebe G (N1)",
"TrxOrganization": null,
"Created": "2018-11-02 10:24:19+0200",
"Updated": "2018-11-02 12:30:12+0200",
"UserChoice": "Not Approved",
"Text": null,
"ForwardedTo": null
}
],
"totalRows": 3
}