ProcessWorkstepController
Click here for a complete list of operations.
GetAiAssistantResponse_v1
Method returns an AI assistant answer chunked depending on the PDF text and asked question.
[string] 'workstepId': The id of the workstep.
[string] 'configuration': The configuration for getting answer result.
[xml string] 'transactionInformation': Information about the transaction.
Test
The test form is only available for requests from the local machine.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.esignanywhere.net Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://com.xyzmo.server.workstepController.Process/GetAiAssistantResponse_v1" <?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> <GetAiAssistantResponse_v1 xmlns="http://com.xyzmo.server.workstepController.Process/"> <workstepId>string</workstepId> <configuration>string</configuration> <transactionInformation>string</transactionInformation> </GetAiAssistantResponse_v1> </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> <GetAiAssistantResponse_v1Response xmlns="http://com.xyzmo.server.workstepController.Process/"> <GetAiAssistantResponse_v1Result>string</GetAiAssistantResponse_v1Result> </GetAiAssistantResponse_v1Response> </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.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> <GetAiAssistantResponse_v1 xmlns="http://com.xyzmo.server.workstepController.Process/"> <workstepId>string</workstepId> <configuration>string</configuration> <transactionInformation>string</transactionInformation> </GetAiAssistantResponse_v1> </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> <GetAiAssistantResponse_v1Response xmlns="http://com.xyzmo.server.workstepController.Process/"> <GetAiAssistantResponse_v1Result>string</GetAiAssistantResponse_v1Result> </GetAiAssistantResponse_v1Response> </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/GetAiAssistantResponse_v1?workstepId=string&configuration=string&transactionInformation=string HTTP/1.1 Host: demo.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>