ProcessWorkstepController
Click here for a complete list of operations.
AddAttachmentToWorkstepDocument_v3
Method attaches a document to a workstep document and returns new workstep information.
[string] 'workstepId': The id of the workstep.
[byte[]] 'attachmentContent': The document content.
[string] 'attachmentName': The name of the attachment.
[string] 'attachmentId': If the attachment is assigned to a task, the taskId, otherwise null.
[string] 'docRefNumber': Defines, to which document of the workstep the file is attached
[xml string] 'transactionInformation': Information about the transaction.
Test
The test form is only available for methods with primitive types as parameters.SOAP 1.1
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.
POST /WSCProcess/WorkstepController.Process.asmx HTTP/1.1
Host: demo-24lts.esignanywhere.net
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://com.xyzmo.server.workstepController.Process/AddAttachmentToWorkstepDocument_v3"
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<AddAttachmentToWorkstepDocument_v3 xmlns="http://com.xyzmo.server.workstepController.Process/">
<workstepId>string</workstepId>
<attachmentContent>base64Binary</attachmentContent>
<attachmentName>string</attachmentName>
<attachmentId>string</attachmentId>
<docRefNumber>int</docRefNumber>
<transactionInformation>string</transactionInformation>
</AddAttachmentToWorkstepDocument_v3>
</soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<AddAttachmentToWorkstepDocument_v3Response xmlns="http://com.xyzmo.server.workstepController.Process/">
<AddAttachmentToWorkstepDocument_v3Result>string</AddAttachmentToWorkstepDocument_v3Result>
</AddAttachmentToWorkstepDocument_v3Response>
</soap:Body>
</soap:Envelope>
SOAP 1.2
The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.
POST /WSCProcess/WorkstepController.Process.asmx HTTP/1.1
Host: demo-24lts.esignanywhere.net
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<AddAttachmentToWorkstepDocument_v3 xmlns="http://com.xyzmo.server.workstepController.Process/">
<workstepId>string</workstepId>
<attachmentContent>base64Binary</attachmentContent>
<attachmentName>string</attachmentName>
<attachmentId>string</attachmentId>
<docRefNumber>int</docRefNumber>
<transactionInformation>string</transactionInformation>
</AddAttachmentToWorkstepDocument_v3>
</soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<AddAttachmentToWorkstepDocument_v3Response xmlns="http://com.xyzmo.server.workstepController.Process/">
<AddAttachmentToWorkstepDocument_v3Result>string</AddAttachmentToWorkstepDocument_v3Result>
</AddAttachmentToWorkstepDocument_v3Response>
</soap12:Body>
</soap12:Envelope>
HTTP GET
The following is a sample HTTP GET request and response. The placeholders shown need to be replaced with actual values.
GET /WSCProcess/WorkstepController.Process.asmx/AddAttachmentToWorkstepDocument_v3?workstepId=string&attachmentContent=string&attachmentContent=string&attachmentName=string&attachmentId=string&docRefNumber=string&transactionInformation=string HTTP/1.1 Host: demo-24lts.esignanywhere.net
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <string xmlns="http://com.xyzmo.server.workstepController.Process/">string</string>
HTTP POST
The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.
POST /WSCProcess/WorkstepController.Process.asmx/AddAttachmentToWorkstepDocument_v3 HTTP/1.1 Host: demo-24lts.esignanywhere.net Content-Type: application/x-www-form-urlencoded Content-Length: length workstepId=string&attachmentContent=string&attachmentContent=string&attachmentName=string&attachmentId=string&docRefNumber=string&transactionInformation=string
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <string xmlns="http://com.xyzmo.server.workstepController.Process/">string</string>