Selecting an API version for your requests

We update our APIs from time to time. Make sure that your API requests use the latest version of our APIs so that you can benefit from our latest features. The following sample codes show how to select the latest version of the API in your requests.

XML
<Request>
<QueryRequestHeader>
<ApiVersion>2017-7</ApiVersion>
C#
org.apache.axis.client.Call _call = createCall();
_call.setOperation(_operations[12]);
_call.setUseSOAPAction(true);
_call.setSOAPActionURI("");
_call.setEncodingStyle(null);
_call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE);
_call.setProperty(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE);
_call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS);
_call.setOperationName(new javax.xml.namespace.QName("<WS_URL>", "<API method name>"));
_call.setProperty("ApiVersion", "2017-7");
setRequestHeaders(_call);
Java
SigningSetDetailsResponseType signingResponse = null;
AuthToken token = new AuthToken();
token.setUserName(bean.getUserName());
token.setPassword(bean.getPwd());
token.setPartnerCode(bean.getPartnerCode());
try {
SigningProxy signing = new SigningProxy();
SigningSetDetailsRequestType signingSetDetailsRequestType = new SigningSetDetailsRequestType();
signingSetDetailsRequestType.setReturnApplication(false);
signingSetDetailsRequestType.setApiVersion("2017-7");
signingSetDetailsRequestType.setAuthToken(token);
signingSetDetailsRequestType.setSigningSetID(bean.getSignSetId());
signingResponse = signing.getSigningSetDetails(signingSetDetailsRequestType);
}

We use cookies to ensure that we give you the best experience on our website. By using this site, you agree to the Terms of Service.