GetVersion

Summary

Gets the version of the service

Resource URL /api/v3/version
HTTP method GET
Content type application/json; charset=utf-8

Input parameters

Parameter name Location Type / Model Description

Responses

HTTP status code Model Comment
OK(200) GetVersionResponse GetVersion response
BadRequest (400) array of ResponseMessage Request failed. Check response model for list of Errors.
Unauthorized (401) API user is unauthorized. Make sure X-Auth-Key header is sent.
InternalServerError (500) Request failed due internal error. Retry request later.

Examples

{
  "version": "3.0.25.14426"
}
var AfterPayApi = require("./afterPay.js");
var apiKeyAuthentication = require("./api_key_filter");

var key = 'CHANGE_ME';
var client = new AfterPayApi().addFilter(apiKeyAuthentication.create(key));

client.Common.getVersion(
  function(err, response, httpRequest, httpResponse) {
  });
$LOAD_PATH.unshift File.dirname(__FILE__)
require 'after_pay.rb'
require 'json'

client = AfterPayApi::AfterPay.new(AfterPayApi::ApiKeyCredentials.new('YOUR_API_KEY'))


client.common.getVersion_async().then{|response|

}.execute.wait
var key = "CHANGE_ME";
var client = new CommonApi(new Configuration() { DefaultHeader = new Dictionary<string, string>() { { "X-Auth-Key", key} } });


var responce = client.CommonGetVersion();