update approvals
Monday, January 9, 2017 at 02:21amHi, I have a package with status draft, Now I want to update an approval using this route
PUT /packages/{packageId}/documents/{documentId} /approvals/{approvalId}
Here I am updating multiple field values.
var options = {
method: 'PUT',
url: '/packages/{packageId}/documents/{documentId} /approvals/{approvalId},
headers: {'Authorization': APIKey},
body: JSON.stringify({approvals: approvaljson})
};
request(options, callback);
But all the time I am getting this error.
{
"messageKey": "error.internal.default",
"message": "Unexpected error. We apologize for any inconvenience this may have caused you, please try again. If the problem persists, please contact our support team.",
"code": 500,
"name": "Unhandled Server Error"
}
I am using REST API and Nodejs.
Thanks.
Reply to: update approvals
Monday, January 9, 2017 at 04:02amReply to: update approvals
Monday, January 9, 2017 at 04:28amReply to: update approvals
Monday, January 9, 2017 at 05:07amReply to: update approvals
Monday, January 9, 2017 at 06:48pmReply to: update approvals
Tuesday, January 10, 2017 at 04:16amReply to: update approvals
Wednesday, April 26, 2017 at 12:55pmReply to: update approvals
Wednesday, April 26, 2017 at 01:20pmI attempted the suggestion in this thread (https://community.onespan.com/forum/multiple-signature-fields-showing-one) but get an error response. My package has those roles (see info) so I'm not sure what else I am missing.
Request Body
Package Information
Reply to: update approvals
Wednesday, April 26, 2017 at 07:19pmReply to: update approvals
Thursday, April 27, 2017 at 08:37amReply to: update approvals
Thursday, April 27, 2017 at 08:51am