MaxSignatures Api Update Workflow

updateWorkflow($updateWFsRequest)

updateWorkflow should be called when a digital signature user needs to update a workflow(For example: change the order of the couterparties who have not signed, or change the owner's comment for the workflow). After call this function, the old workflow will be closed, a new workflow with the updated information will be created. It can be retrieved via a soap request using the "updateWorkflow" method to https://api.maxsignatures.com/MdDigitalSignatureUpdateWorkflowApi.php?wsdl.

updateWFsRequest:{
accountInfo:{//used to authenticate the user who upload the document
username:'',//account name, for example: abc@mdemail.md
password:'',//password
},
workflow{'',//The workflow that is going to update
workflowId:'' //the id of the workflow
signers:{//an array of counterparty infromation
signerName: //name of the counterparty
signerEmail: //email address of the counterparty
},
comment:'' //comments for the counterparties
}
}

Response

updateWFsResponse:{
code:'',//string type. A response code. This will be "000" if there is no error
message:'',//string type. A description of the response code
workflowId:''//int type. The id of the new workflow
}

Sample Code (using NuSoap) (PHP)

The xml for the WSDL can be found here