Vetspace Global Api

vauth

changePassword

Change password call -


/v2/auth/changePassword

Usage and SDK Samples


		curl -X post "https://localhost/GlobalApi/v2/auth/changePassword?uName="


		

		import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import .VauthApi;

import java.io.File;
import java.util.*;

public class VauthApiExample {

    public static void main(String[] args) {
        
        VauthApi apiInstance = new VauthApi();
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        String uName = uName_example; // String | parameter UNAME
        String password = password_example; // String | parameter PASS
        String data1 = data1_example; // String | parameter DATA1
        String apiToken = apiToken_example; // String | ApiToken
        try {
            ApiResponse result = apiInstance.changePassword(apiAccount, apiKey, uName, password, data1, apiToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VauthApi#changePassword");
            e.printStackTrace();
        }
    }
}

														  

		import .VauthApi;

public class VauthApiExample {

    public static void main(String[] args) {
        VauthApi apiInstance = new VauthApi();
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        String uName = uName_example; // String | parameter UNAME
        String password = password_example; // String | parameter PASS
        String data1 = data1_example; // String | parameter DATA1
        String apiToken = apiToken_example; // String | ApiToken
        try {
            ApiResponse result = apiInstance.changePassword(apiAccount, apiKey, uName, password, data1, apiToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VauthApi#changePassword");
            e.printStackTrace();
        }
    }
}

														  

		
String *apiAccount = apiAccount_example; // Consumer Account guid as supplied
String *apiKey = apiKey_example; // Consumer Key guid as supplied
String *uName = uName_example; // parameter UNAME
String *password = password_example; // parameter PASS
String *data1 = data1_example; // parameter DATA1
String *apiToken = apiToken_example; // ApiToken

VauthApi *apiInstance = [[VauthApi alloc] init];

// Change password
[apiInstance changePasswordWith:apiAccount
    apiKey:apiKey
    uName:uName
    password:password
    data1:data1
    apiToken:apiToken
              completionHandler: ^(ApiResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];

															

		var  = require('');

var api = new .VauthApi()

var apiAccount = apiAccount_example; // {String} Consumer Account guid as supplied

var apiKey = apiKey_example; // {String} Consumer Key guid as supplied

var uName = uName_example; // {String} parameter UNAME

var password = password_example; // {String} parameter PASS

var data1 = data1_example; // {String} parameter DATA1

var apiToken = apiToken_example; // {String} ApiToken


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.changePassword(apiAccount, apiKey, uName, password, data1, apiToken, callback);

															

		using System;
using System.Diagnostics;
using .Api;
using .Client;
using ;

namespace Example
{
    public class changePasswordExample
    {
        public void main()
        {
            
            var apiInstance = new VauthApi();
            var apiAccount = apiAccount_example;  // String | Consumer Account guid as supplied
            var apiKey = apiKey_example;  // String | Consumer Key guid as supplied
            var uName = uName_example;  // String | parameter UNAME
            var password = password_example;  // String | parameter PASS
            var data1 = data1_example;  // String | parameter DATA1
            var apiToken = apiToken_example;  // String | ApiToken

            try
            {
                // Change password
                ApiResponse result = apiInstance.changePassword(apiAccount, apiKey, uName, password, data1, apiToken);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling VauthApi.changePassword: " + e.Message );
            }
        }
    }
}

															

		require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new io.swagger.client\Api\VauthApi();
$apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
$apiKey = apiKey_example; // String | Consumer Key guid as supplied
$uName = uName_example; // String | parameter UNAME
$password = password_example; // String | parameter PASS
$data1 = data1_example; // String | parameter DATA1
$apiToken = apiToken_example; // String | ApiToken

try {
    $result = $api_instance->changePassword($apiAccount, $apiKey, $uName, $password, $data1, $apiToken);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling VauthApi->changePassword: ', $e->getMessage(), PHP_EOL;
}

														  

Parameters

Header parameters
Name Description
apiAccount*
apiKey*
apiToken*
Query parameters
Name Description
uName*

Responses

Status: 200 - successful operation


login1

Verify API credentials and get an API access token


/v2/auth/login

Usage and SDK Samples


		curl -X post "https://localhost/GlobalApi/v2/auth/login"


		

		import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import .VauthApi;

import java.io.File;
import java.util.*;

public class VauthApiExample {

    public static void main(String[] args) {
        
        VauthApi apiInstance = new VauthApi();
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        try {
            ApiResponseAccessToken result = apiInstance.login1(apiAccount, apiKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VauthApi#login1");
            e.printStackTrace();
        }
    }
}

														  

		import .VauthApi;

public class VauthApiExample {

    public static void main(String[] args) {
        VauthApi apiInstance = new VauthApi();
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        try {
            ApiResponseAccessToken result = apiInstance.login1(apiAccount, apiKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VauthApi#login1");
            e.printStackTrace();
        }
    }
}

														  

		
String *apiAccount = apiAccount_example; // Consumer Account guid as supplied
String *apiKey = apiKey_example; // Consumer Key guid as supplied

VauthApi *apiInstance = [[VauthApi alloc] init];

// Login to service
[apiInstance login1With:apiAccount
    apiKey:apiKey
              completionHandler: ^(ApiResponseAccessToken output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];

															

		var  = require('');

var api = new .VauthApi()

var apiAccount = apiAccount_example; // {String} Consumer Account guid as supplied

var apiKey = apiKey_example; // {String} Consumer Key guid as supplied


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.login1(apiAccount, apiKey, callback);

															

		using System;
using System.Diagnostics;
using .Api;
using .Client;
using ;

namespace Example
{
    public class login1Example
    {
        public void main()
        {
            
            var apiInstance = new VauthApi();
            var apiAccount = apiAccount_example;  // String | Consumer Account guid as supplied
            var apiKey = apiKey_example;  // String | Consumer Key guid as supplied

            try
            {
                // Login to service
                ApiResponseAccessToken result = apiInstance.login1(apiAccount, apiKey);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling VauthApi.login1: " + e.Message );
            }
        }
    }
}

															

		require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new io.swagger.client\Api\VauthApi();
$apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
$apiKey = apiKey_example; // String | Consumer Key guid as supplied

try {
    $result = $api_instance->login1($apiAccount, $apiKey);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling VauthApi->login1: ', $e->getMessage(), PHP_EOL;
}

														  

Parameters

Header parameters
Name Description
apiAccount*
apiKey*

Responses

Status: 200 - successful operation


verifyUser1

Verify user credentials and get a user access token


/v2/auth/verifyUser

Usage and SDK Samples


		curl -X post "https://localhost/GlobalApi/v2/auth/verifyUser"


		

		import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import .VauthApi;

import java.io.File;
import java.util.*;

public class VauthApiExample {

    public static void main(String[] args) {
        
        VauthApi apiInstance = new VauthApi();
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        String apiToken = apiToken_example; // String | ApiToken
        String uName = uName_example; // String | parameter UNAME
        String pass = pass_example; // String | parameter PASS
        try {
            ApiResponseUserVerified result = apiInstance.verifyUser1(apiAccount, apiKey, apiToken, uName, pass);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VauthApi#verifyUser1");
            e.printStackTrace();
        }
    }
}

														  

		import .VauthApi;

public class VauthApiExample {

    public static void main(String[] args) {
        VauthApi apiInstance = new VauthApi();
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        String apiToken = apiToken_example; // String | ApiToken
        String uName = uName_example; // String | parameter UNAME
        String pass = pass_example; // String | parameter PASS
        try {
            ApiResponseUserVerified result = apiInstance.verifyUser1(apiAccount, apiKey, apiToken, uName, pass);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VauthApi#verifyUser1");
            e.printStackTrace();
        }
    }
}

														  

		
String *apiAccount = apiAccount_example; // Consumer Account guid as supplied
String *apiKey = apiKey_example; // Consumer Key guid as supplied
String *apiToken = apiToken_example; // ApiToken
String *uName = uName_example; // parameter UNAME
String *pass = pass_example; // parameter PASS

VauthApi *apiInstance = [[VauthApi alloc] init];

// Verify user credentials
[apiInstance verifyUser1With:apiAccount
    apiKey:apiKey
    apiToken:apiToken
    uName:uName
    pass:pass
              completionHandler: ^(ApiResponseUserVerified output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];

															

		var  = require('');

var api = new .VauthApi()

var apiAccount = apiAccount_example; // {String} Consumer Account guid as supplied

var apiKey = apiKey_example; // {String} Consumer Key guid as supplied

var apiToken = apiToken_example; // {String} ApiToken

var uName = uName_example; // {String} parameter UNAME

var pass = pass_example; // {String} parameter PASS


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.verifyUser1(apiAccount, apiKey, apiToken, uName, pass, callback);

															

		using System;
using System.Diagnostics;
using .Api;
using .Client;
using ;

namespace Example
{
    public class verifyUser1Example
    {
        public void main()
        {
            
            var apiInstance = new VauthApi();
            var apiAccount = apiAccount_example;  // String | Consumer Account guid as supplied
            var apiKey = apiKey_example;  // String | Consumer Key guid as supplied
            var apiToken = apiToken_example;  // String | ApiToken
            var uName = uName_example;  // String | parameter UNAME
            var pass = pass_example;  // String | parameter PASS

            try
            {
                // Verify user credentials
                ApiResponseUserVerified result = apiInstance.verifyUser1(apiAccount, apiKey, apiToken, uName, pass);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling VauthApi.verifyUser1: " + e.Message );
            }
        }
    }
}

															

		require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new io.swagger.client\Api\VauthApi();
$apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
$apiKey = apiKey_example; // String | Consumer Key guid as supplied
$apiToken = apiToken_example; // String | ApiToken
$uName = uName_example; // String | parameter UNAME
$pass = pass_example; // String | parameter PASS

try {
    $result = $api_instance->verifyUser1($apiAccount, $apiKey, $apiToken, $uName, $pass);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling VauthApi->verifyUser1: ', $e->getMessage(), PHP_EOL;
}

														  

Parameters

Header parameters
Name Description
apiAccount*
apiKey*
apiToken*

Responses

Status: 200 - successful operation


vclinicalportal

cpGetAppointments

Get appointments in date range


/v2/clinical-portal/getAppointments/{groupId}/{siteId}/{startTime}/{endTime}

Usage and SDK Samples


		curl -X get "https://localhost/GlobalApi/v2/clinical-portal/getAppointments/{groupId}/{siteId}/{startTime}/{endTime}"


		

		import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import .VclinicalportalApi;

import java.io.File;
import java.util.*;

public class VclinicalportalApiExample {

    public static void main(String[] args) {
        
        VclinicalportalApi apiInstance = new VclinicalportalApi();
        Long groupId = 789; // Long | parameter GROUP
        Integer siteId = 56; // Integer | Id of the site
        Date startTime = 2013-10-20T19:20:30+01:00; // Date | Start time of range
        Date endTime = 2013-10-20T19:20:30+01:00; // Date | End time of range
        String apiToken = apiToken_example; // String | ApiToken
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        try {
            ApiResponseListAppointment result = apiInstance.cpGetAppointments(groupId, siteId, startTime, endTime, apiToken, apiAccount, apiKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VclinicalportalApi#cpGetAppointments");
            e.printStackTrace();
        }
    }
}

														  

		import .VclinicalportalApi;

public class VclinicalportalApiExample {

    public static void main(String[] args) {
        VclinicalportalApi apiInstance = new VclinicalportalApi();
        Long groupId = 789; // Long | parameter GROUP
        Integer siteId = 56; // Integer | Id of the site
        Date startTime = 2013-10-20T19:20:30+01:00; // Date | Start time of range
        Date endTime = 2013-10-20T19:20:30+01:00; // Date | End time of range
        String apiToken = apiToken_example; // String | ApiToken
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        try {
            ApiResponseListAppointment result = apiInstance.cpGetAppointments(groupId, siteId, startTime, endTime, apiToken, apiAccount, apiKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VclinicalportalApi#cpGetAppointments");
            e.printStackTrace();
        }
    }
}

														  

		
Long *groupId = 789; // parameter GROUP
Integer *siteId = 56; // Id of the site
Date *startTime = 2013-10-20T19:20:30+01:00; // Start time of range
Date *endTime = 2013-10-20T19:20:30+01:00; // End time of range
String *apiToken = apiToken_example; // ApiToken
String *apiAccount = apiAccount_example; // Consumer Account guid as supplied
String *apiKey = apiKey_example; // Consumer Key guid as supplied

VclinicalportalApi *apiInstance = [[VclinicalportalApi alloc] init];

// Get appointments in date range
[apiInstance cpGetAppointmentsWith:groupId
    siteId:siteId
    startTime:startTime
    endTime:endTime
    apiToken:apiToken
    apiAccount:apiAccount
    apiKey:apiKey
              completionHandler: ^(ApiResponseListAppointment output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];

															

		var  = require('');

var api = new .VclinicalportalApi()

var groupId = 789; // {Long} parameter GROUP

var siteId = 56; // {Integer} Id of the site

var startTime = 2013-10-20T19:20:30+01:00; // {Date} Start time of range

var endTime = 2013-10-20T19:20:30+01:00; // {Date} End time of range

var apiToken = apiToken_example; // {String} ApiToken

var apiAccount = apiAccount_example; // {String} Consumer Account guid as supplied

var apiKey = apiKey_example; // {String} Consumer Key guid as supplied


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.cpGetAppointments(groupId, siteId, startTime, endTime, apiToken, apiAccount, apiKey, callback);

															

		using System;
using System.Diagnostics;
using .Api;
using .Client;
using ;

namespace Example
{
    public class cpGetAppointmentsExample
    {
        public void main()
        {
            
            var apiInstance = new VclinicalportalApi();
            var groupId = 789;  // Long | parameter GROUP
            var siteId = 56;  // Integer | Id of the site
            var startTime = 2013-10-20T19:20:30+01:00;  // Date | Start time of range
            var endTime = 2013-10-20T19:20:30+01:00;  // Date | End time of range
            var apiToken = apiToken_example;  // String | ApiToken
            var apiAccount = apiAccount_example;  // String | Consumer Account guid as supplied
            var apiKey = apiKey_example;  // String | Consumer Key guid as supplied

            try
            {
                // Get appointments in date range
                ApiResponseListAppointment result = apiInstance.cpGetAppointments(groupId, siteId, startTime, endTime, apiToken, apiAccount, apiKey);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling VclinicalportalApi.cpGetAppointments: " + e.Message );
            }
        }
    }
}

															

		require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new io.swagger.client\Api\VclinicalportalApi();
$groupId = 789; // Long | parameter GROUP
$siteId = 56; // Integer | Id of the site
$startTime = 2013-10-20T19:20:30+01:00; // Date | Start time of range
$endTime = 2013-10-20T19:20:30+01:00; // Date | End time of range
$apiToken = apiToken_example; // String | ApiToken
$apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
$apiKey = apiKey_example; // String | Consumer Key guid as supplied

try {
    $result = $api_instance->cpGetAppointments($groupId, $siteId, $startTime, $endTime, $apiToken, $apiAccount, $apiKey);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling VclinicalportalApi->cpGetAppointments: ', $e->getMessage(), PHP_EOL;
}

														  

Parameters

Path parameters
Name Description
groupId*
siteId*
startTime*
endTime*
Header parameters
Name Description
apiToken*
apiAccount*
apiKey*

Responses

Status: 200 - successful operation


cpGetSites

Get the list of sites


/v2/clinical-portal/getSites/{groupId}

Usage and SDK Samples


		curl -X get "https://localhost/GlobalApi/v2/clinical-portal/getSites/{groupId}"


		

		import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import .VclinicalportalApi;

import java.io.File;
import java.util.*;

public class VclinicalportalApiExample {

    public static void main(String[] args) {
        
        VclinicalportalApi apiInstance = new VclinicalportalApi();
        Long groupId = 789; // Long | parameter GROUP
        String apiToken = apiToken_example; // String | ApiToken
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        try {
            ApiResponseListSite result = apiInstance.cpGetSites(groupId, apiToken, apiAccount, apiKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VclinicalportalApi#cpGetSites");
            e.printStackTrace();
        }
    }
}

														  

		import .VclinicalportalApi;

public class VclinicalportalApiExample {

    public static void main(String[] args) {
        VclinicalportalApi apiInstance = new VclinicalportalApi();
        Long groupId = 789; // Long | parameter GROUP
        String apiToken = apiToken_example; // String | ApiToken
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        try {
            ApiResponseListSite result = apiInstance.cpGetSites(groupId, apiToken, apiAccount, apiKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VclinicalportalApi#cpGetSites");
            e.printStackTrace();
        }
    }
}

														  

		
Long *groupId = 789; // parameter GROUP
String *apiToken = apiToken_example; // ApiToken
String *apiAccount = apiAccount_example; // Consumer Account guid as supplied
String *apiKey = apiKey_example; // Consumer Key guid as supplied

VclinicalportalApi *apiInstance = [[VclinicalportalApi alloc] init];

// Get the list of sites
[apiInstance cpGetSitesWith:groupId
    apiToken:apiToken
    apiAccount:apiAccount
    apiKey:apiKey
              completionHandler: ^(ApiResponseListSite output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];

															

		var  = require('');

var api = new .VclinicalportalApi()

var groupId = 789; // {Long} parameter GROUP

var apiToken = apiToken_example; // {String} ApiToken

var apiAccount = apiAccount_example; // {String} Consumer Account guid as supplied

var apiKey = apiKey_example; // {String} Consumer Key guid as supplied


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.cpGetSites(groupId, apiToken, apiAccount, apiKey, callback);

															

		using System;
using System.Diagnostics;
using .Api;
using .Client;
using ;

namespace Example
{
    public class cpGetSitesExample
    {
        public void main()
        {
            
            var apiInstance = new VclinicalportalApi();
            var groupId = 789;  // Long | parameter GROUP
            var apiToken = apiToken_example;  // String | ApiToken
            var apiAccount = apiAccount_example;  // String | Consumer Account guid as supplied
            var apiKey = apiKey_example;  // String | Consumer Key guid as supplied

            try
            {
                // Get the list of sites
                ApiResponseListSite result = apiInstance.cpGetSites(groupId, apiToken, apiAccount, apiKey);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling VclinicalportalApi.cpGetSites: " + e.Message );
            }
        }
    }
}

															

		require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new io.swagger.client\Api\VclinicalportalApi();
$groupId = 789; // Long | parameter GROUP
$apiToken = apiToken_example; // String | ApiToken
$apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
$apiKey = apiKey_example; // String | Consumer Key guid as supplied

try {
    $result = $api_instance->cpGetSites($groupId, $apiToken, $apiAccount, $apiKey);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling VclinicalportalApi->cpGetSites: ', $e->getMessage(), PHP_EOL;
}

														  

Parameters

Path parameters
Name Description
groupId*
Header parameters
Name Description
apiToken*
apiAccount*
apiKey*

Responses

Status: 200 - successful operation


createClinicalNote1

Create a clinical note


/v2/clinical-portal/createClinicalNote/{groupId}

Usage and SDK Samples


		curl -X post "https://localhost/GlobalApi/v2/clinical-portal/createClinicalNote/{groupId}"


		

		import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import .VclinicalportalApi;

import java.io.File;
import java.util.*;

public class VclinicalportalApiExample {

    public static void main(String[] args) {
        
        VclinicalportalApi apiInstance = new VclinicalportalApi();
        Long groupId = 789; // Long | parameter GROUP
        String apiToken = apiToken_example; // String | ApiToken
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        ClinicalNoteParameters body = ; // ClinicalNoteParameters | 
        try {
            ApiResponse result = apiInstance.createClinicalNote1(groupId, apiToken, apiAccount, apiKey, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VclinicalportalApi#createClinicalNote1");
            e.printStackTrace();
        }
    }
}

														  

		import .VclinicalportalApi;

public class VclinicalportalApiExample {

    public static void main(String[] args) {
        VclinicalportalApi apiInstance = new VclinicalportalApi();
        Long groupId = 789; // Long | parameter GROUP
        String apiToken = apiToken_example; // String | ApiToken
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        ClinicalNoteParameters body = ; // ClinicalNoteParameters | 
        try {
            ApiResponse result = apiInstance.createClinicalNote1(groupId, apiToken, apiAccount, apiKey, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VclinicalportalApi#createClinicalNote1");
            e.printStackTrace();
        }
    }
}

														  

		
Long *groupId = 789; // parameter GROUP
String *apiToken = apiToken_example; // ApiToken
String *apiAccount = apiAccount_example; // Consumer Account guid as supplied
String *apiKey = apiKey_example; // Consumer Key guid as supplied
ClinicalNoteParameters *body = ; //  (optional)

VclinicalportalApi *apiInstance = [[VclinicalportalApi alloc] init];

// Create a clinical note
[apiInstance createClinicalNote1With:groupId
    apiToken:apiToken
    apiAccount:apiAccount
    apiKey:apiKey
    body:body
              completionHandler: ^(ApiResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];

															

		var  = require('');

var api = new .VclinicalportalApi()

var groupId = 789; // {Long} parameter GROUP

var apiToken = apiToken_example; // {String} ApiToken

var apiAccount = apiAccount_example; // {String} Consumer Account guid as supplied

var apiKey = apiKey_example; // {String} Consumer Key guid as supplied

var opts = { 
  'body':  // {ClinicalNoteParameters} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.createClinicalNote1(groupId, apiToken, apiAccount, apiKey, opts, callback);

															

		using System;
using System.Diagnostics;
using .Api;
using .Client;
using ;

namespace Example
{
    public class createClinicalNote1Example
    {
        public void main()
        {
            
            var apiInstance = new VclinicalportalApi();
            var groupId = 789;  // Long | parameter GROUP
            var apiToken = apiToken_example;  // String | ApiToken
            var apiAccount = apiAccount_example;  // String | Consumer Account guid as supplied
            var apiKey = apiKey_example;  // String | Consumer Key guid as supplied
            var body = new ClinicalNoteParameters(); // ClinicalNoteParameters |  (optional) 

            try
            {
                // Create a clinical note
                ApiResponse result = apiInstance.createClinicalNote1(groupId, apiToken, apiAccount, apiKey, body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling VclinicalportalApi.createClinicalNote1: " + e.Message );
            }
        }
    }
}

															

		require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new io.swagger.client\Api\VclinicalportalApi();
$groupId = 789; // Long | parameter GROUP
$apiToken = apiToken_example; // String | ApiToken
$apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
$apiKey = apiKey_example; // String | Consumer Key guid as supplied
$body = ; // ClinicalNoteParameters | 

try {
    $result = $api_instance->createClinicalNote1($groupId, $apiToken, $apiAccount, $apiKey, $body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling VclinicalportalApi->createClinicalNote1: ', $e->getMessage(), PHP_EOL;
}

														  

Parameters

Path parameters
Name Description
groupId*
Header parameters
Name Description
apiToken*
apiAccount*
apiKey*
Body parameters
Name Description
body

Responses

Status: 200 - successful operation


getClient1

Get client by id


/v2/clinical-portal/getClient/{groupId}/{clientId}

Usage and SDK Samples


		curl -X get "https://localhost/GlobalApi/v2/clinical-portal/getClient/{groupId}/{clientId}"


		

		import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import .VclinicalportalApi;

import java.io.File;
import java.util.*;

public class VclinicalportalApiExample {

    public static void main(String[] args) {
        
        VclinicalportalApi apiInstance = new VclinicalportalApi();
        Long groupId = 789; // Long | parameter GROUP
        Integer clientId = 56; // Integer | Id of the client
        String apiToken = apiToken_example; // String | ApiToken
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        try {
            ApiResponseClient result = apiInstance.getClient1(groupId, clientId, apiToken, apiAccount, apiKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VclinicalportalApi#getClient1");
            e.printStackTrace();
        }
    }
}

														  

		import .VclinicalportalApi;

public class VclinicalportalApiExample {

    public static void main(String[] args) {
        VclinicalportalApi apiInstance = new VclinicalportalApi();
        Long groupId = 789; // Long | parameter GROUP
        Integer clientId = 56; // Integer | Id of the client
        String apiToken = apiToken_example; // String | ApiToken
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        try {
            ApiResponseClient result = apiInstance.getClient1(groupId, clientId, apiToken, apiAccount, apiKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VclinicalportalApi#getClient1");
            e.printStackTrace();
        }
    }
}

														  

		
Long *groupId = 789; // parameter GROUP
Integer *clientId = 56; // Id of the client
String *apiToken = apiToken_example; // ApiToken
String *apiAccount = apiAccount_example; // Consumer Account guid as supplied
String *apiKey = apiKey_example; // Consumer Key guid as supplied

VclinicalportalApi *apiInstance = [[VclinicalportalApi alloc] init];

// Get client by id
[apiInstance getClient1With:groupId
    clientId:clientId
    apiToken:apiToken
    apiAccount:apiAccount
    apiKey:apiKey
              completionHandler: ^(ApiResponseClient output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];

															

		var  = require('');

var api = new .VclinicalportalApi()

var groupId = 789; // {Long} parameter GROUP

var clientId = 56; // {Integer} Id of the client

var apiToken = apiToken_example; // {String} ApiToken

var apiAccount = apiAccount_example; // {String} Consumer Account guid as supplied

var apiKey = apiKey_example; // {String} Consumer Key guid as supplied


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getClient1(groupId, clientId, apiToken, apiAccount, apiKey, callback);

															

		using System;
using System.Diagnostics;
using .Api;
using .Client;
using ;

namespace Example
{
    public class getClient1Example
    {
        public void main()
        {
            
            var apiInstance = new VclinicalportalApi();
            var groupId = 789;  // Long | parameter GROUP
            var clientId = 56;  // Integer | Id of the client
            var apiToken = apiToken_example;  // String | ApiToken
            var apiAccount = apiAccount_example;  // String | Consumer Account guid as supplied
            var apiKey = apiKey_example;  // String | Consumer Key guid as supplied

            try
            {
                // Get client by id
                ApiResponseClient result = apiInstance.getClient1(groupId, clientId, apiToken, apiAccount, apiKey);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling VclinicalportalApi.getClient1: " + e.Message );
            }
        }
    }
}

															

		require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new io.swagger.client\Api\VclinicalportalApi();
$groupId = 789; // Long | parameter GROUP
$clientId = 56; // Integer | Id of the client
$apiToken = apiToken_example; // String | ApiToken
$apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
$apiKey = apiKey_example; // String | Consumer Key guid as supplied

try {
    $result = $api_instance->getClient1($groupId, $clientId, $apiToken, $apiAccount, $apiKey);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling VclinicalportalApi->getClient1: ', $e->getMessage(), PHP_EOL;
}

														  

Parameters

Path parameters
Name Description
groupId*
clientId*
Header parameters
Name Description
apiToken*
apiAccount*
apiKey*

Responses

Status: 200 - successful operation


getPatient1

Get patient by id


/v2/clinical-portal/getPatient/{groupId}/{patientId}

Usage and SDK Samples


		curl -X get "https://localhost/GlobalApi/v2/clinical-portal/getPatient/{groupId}/{patientId}"


		

		import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import .VclinicalportalApi;

import java.io.File;
import java.util.*;

public class VclinicalportalApiExample {

    public static void main(String[] args) {
        
        VclinicalportalApi apiInstance = new VclinicalportalApi();
        Long groupId = 789; // Long | parameter GROUP
        Integer patientId = 56; // Integer | Id of the patient
        String apiToken = apiToken_example; // String | ApiToken
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        try {
            ApiResponsePatient result = apiInstance.getPatient1(groupId, patientId, apiToken, apiAccount, apiKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VclinicalportalApi#getPatient1");
            e.printStackTrace();
        }
    }
}

														  

		import .VclinicalportalApi;

public class VclinicalportalApiExample {

    public static void main(String[] args) {
        VclinicalportalApi apiInstance = new VclinicalportalApi();
        Long groupId = 789; // Long | parameter GROUP
        Integer patientId = 56; // Integer | Id of the patient
        String apiToken = apiToken_example; // String | ApiToken
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        try {
            ApiResponsePatient result = apiInstance.getPatient1(groupId, patientId, apiToken, apiAccount, apiKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VclinicalportalApi#getPatient1");
            e.printStackTrace();
        }
    }
}

														  

		
Long *groupId = 789; // parameter GROUP
Integer *patientId = 56; // Id of the patient
String *apiToken = apiToken_example; // ApiToken
String *apiAccount = apiAccount_example; // Consumer Account guid as supplied
String *apiKey = apiKey_example; // Consumer Key guid as supplied

VclinicalportalApi *apiInstance = [[VclinicalportalApi alloc] init];

// Get patient by id
[apiInstance getPatient1With:groupId
    patientId:patientId
    apiToken:apiToken
    apiAccount:apiAccount
    apiKey:apiKey
              completionHandler: ^(ApiResponsePatient output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];

															

		var  = require('');

var api = new .VclinicalportalApi()

var groupId = 789; // {Long} parameter GROUP

var patientId = 56; // {Integer} Id of the patient

var apiToken = apiToken_example; // {String} ApiToken

var apiAccount = apiAccount_example; // {String} Consumer Account guid as supplied

var apiKey = apiKey_example; // {String} Consumer Key guid as supplied


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getPatient1(groupId, patientId, apiToken, apiAccount, apiKey, callback);

															

		using System;
using System.Diagnostics;
using .Api;
using .Client;
using ;

namespace Example
{
    public class getPatient1Example
    {
        public void main()
        {
            
            var apiInstance = new VclinicalportalApi();
            var groupId = 789;  // Long | parameter GROUP
            var patientId = 56;  // Integer | Id of the patient
            var apiToken = apiToken_example;  // String | ApiToken
            var apiAccount = apiAccount_example;  // String | Consumer Account guid as supplied
            var apiKey = apiKey_example;  // String | Consumer Key guid as supplied

            try
            {
                // Get patient by id
                ApiResponsePatient result = apiInstance.getPatient1(groupId, patientId, apiToken, apiAccount, apiKey);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling VclinicalportalApi.getPatient1: " + e.Message );
            }
        }
    }
}

															

		require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new io.swagger.client\Api\VclinicalportalApi();
$groupId = 789; // Long | parameter GROUP
$patientId = 56; // Integer | Id of the patient
$apiToken = apiToken_example; // String | ApiToken
$apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
$apiKey = apiKey_example; // String | Consumer Key guid as supplied

try {
    $result = $api_instance->getPatient1($groupId, $patientId, $apiToken, $apiAccount, $apiKey);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling VclinicalportalApi->getPatient1: ', $e->getMessage(), PHP_EOL;
}

														  

Parameters

Path parameters
Name Description
groupId*
patientId*
Header parameters
Name Description
apiToken*
apiAccount*
apiKey*

Responses

Status: 200 - successful operation


getPatientReminders1

Get reminders for patient


/v2/clinical-portal/getPatientReminders/{groupId}/{patientId}

Usage and SDK Samples


		curl -X get "https://localhost/GlobalApi/v2/clinical-portal/getPatientReminders/{groupId}/{patientId}"


		

		import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import .VclinicalportalApi;

import java.io.File;
import java.util.*;

public class VclinicalportalApiExample {

    public static void main(String[] args) {
        
        VclinicalportalApi apiInstance = new VclinicalportalApi();
        Long groupId = 789; // Long | parameter GROUP
        Integer patientId = 56; // Integer | Id of the patient
        String apiToken = apiToken_example; // String | ApiToken
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        try {
            ApiResponseListReminder result = apiInstance.getPatientReminders1(groupId, patientId, apiToken, apiAccount, apiKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VclinicalportalApi#getPatientReminders1");
            e.printStackTrace();
        }
    }
}

														  

		import .VclinicalportalApi;

public class VclinicalportalApiExample {

    public static void main(String[] args) {
        VclinicalportalApi apiInstance = new VclinicalportalApi();
        Long groupId = 789; // Long | parameter GROUP
        Integer patientId = 56; // Integer | Id of the patient
        String apiToken = apiToken_example; // String | ApiToken
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        try {
            ApiResponseListReminder result = apiInstance.getPatientReminders1(groupId, patientId, apiToken, apiAccount, apiKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VclinicalportalApi#getPatientReminders1");
            e.printStackTrace();
        }
    }
}

														  

		
Long *groupId = 789; // parameter GROUP
Integer *patientId = 56; // Id of the patient
String *apiToken = apiToken_example; // ApiToken
String *apiAccount = apiAccount_example; // Consumer Account guid as supplied
String *apiKey = apiKey_example; // Consumer Key guid as supplied

VclinicalportalApi *apiInstance = [[VclinicalportalApi alloc] init];

// Get reminders for patient
[apiInstance getPatientReminders1With:groupId
    patientId:patientId
    apiToken:apiToken
    apiAccount:apiAccount
    apiKey:apiKey
              completionHandler: ^(ApiResponseListReminder output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];

															

		var  = require('');

var api = new .VclinicalportalApi()

var groupId = 789; // {Long} parameter GROUP

var patientId = 56; // {Integer} Id of the patient

var apiToken = apiToken_example; // {String} ApiToken

var apiAccount = apiAccount_example; // {String} Consumer Account guid as supplied

var apiKey = apiKey_example; // {String} Consumer Key guid as supplied


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getPatientReminders1(groupId, patientId, apiToken, apiAccount, apiKey, callback);

															

		using System;
using System.Diagnostics;
using .Api;
using .Client;
using ;

namespace Example
{
    public class getPatientReminders1Example
    {
        public void main()
        {
            
            var apiInstance = new VclinicalportalApi();
            var groupId = 789;  // Long | parameter GROUP
            var patientId = 56;  // Integer | Id of the patient
            var apiToken = apiToken_example;  // String | ApiToken
            var apiAccount = apiAccount_example;  // String | Consumer Account guid as supplied
            var apiKey = apiKey_example;  // String | Consumer Key guid as supplied

            try
            {
                // Get reminders for patient
                ApiResponseListReminder result = apiInstance.getPatientReminders1(groupId, patientId, apiToken, apiAccount, apiKey);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling VclinicalportalApi.getPatientReminders1: " + e.Message );
            }
        }
    }
}

															

		require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new io.swagger.client\Api\VclinicalportalApi();
$groupId = 789; // Long | parameter GROUP
$patientId = 56; // Integer | Id of the patient
$apiToken = apiToken_example; // String | ApiToken
$apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
$apiKey = apiKey_example; // String | Consumer Key guid as supplied

try {
    $result = $api_instance->getPatientReminders1($groupId, $patientId, $apiToken, $apiAccount, $apiKey);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling VclinicalportalApi->getPatientReminders1: ', $e->getMessage(), PHP_EOL;
}

														  

Parameters

Path parameters
Name Description
groupId*
patientId*
Header parameters
Name Description
apiToken*
apiAccount*
apiKey*

Responses

Status: 200 - successful operation


getReminders1

Get reminders in date range


/v2/clinical-portal/getReminders/{groupId}/{siteId}/{startTime}/{endTime}

Usage and SDK Samples


		curl -X get "https://localhost/GlobalApi/v2/clinical-portal/getReminders/{groupId}/{siteId}/{startTime}/{endTime}"


		

		import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import .VclinicalportalApi;

import java.io.File;
import java.util.*;

public class VclinicalportalApiExample {

    public static void main(String[] args) {
        
        VclinicalportalApi apiInstance = new VclinicalportalApi();
        Long groupId = 789; // Long | parameter GROUP
        Integer siteId = 56; // Integer | Id of the site
        Date startTime = 2013-10-20T19:20:30+01:00; // Date | Start time of range
        Date endTime = 2013-10-20T19:20:30+01:00; // Date | End time of range
        String apiToken = apiToken_example; // String | ApiToken
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        try {
            ApiResponseListReminder result = apiInstance.getReminders1(groupId, siteId, startTime, endTime, apiToken, apiAccount, apiKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VclinicalportalApi#getReminders1");
            e.printStackTrace();
        }
    }
}

														  

		import .VclinicalportalApi;

public class VclinicalportalApiExample {

    public static void main(String[] args) {
        VclinicalportalApi apiInstance = new VclinicalportalApi();
        Long groupId = 789; // Long | parameter GROUP
        Integer siteId = 56; // Integer | Id of the site
        Date startTime = 2013-10-20T19:20:30+01:00; // Date | Start time of range
        Date endTime = 2013-10-20T19:20:30+01:00; // Date | End time of range
        String apiToken = apiToken_example; // String | ApiToken
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        try {
            ApiResponseListReminder result = apiInstance.getReminders1(groupId, siteId, startTime, endTime, apiToken, apiAccount, apiKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VclinicalportalApi#getReminders1");
            e.printStackTrace();
        }
    }
}

														  

		
Long *groupId = 789; // parameter GROUP
Integer *siteId = 56; // Id of the site
Date *startTime = 2013-10-20T19:20:30+01:00; // Start time of range
Date *endTime = 2013-10-20T19:20:30+01:00; // End time of range
String *apiToken = apiToken_example; // ApiToken
String *apiAccount = apiAccount_example; // Consumer Account guid as supplied
String *apiKey = apiKey_example; // Consumer Key guid as supplied

VclinicalportalApi *apiInstance = [[VclinicalportalApi alloc] init];

// Get reminders in date range
[apiInstance getReminders1With:groupId
    siteId:siteId
    startTime:startTime
    endTime:endTime
    apiToken:apiToken
    apiAccount:apiAccount
    apiKey:apiKey
              completionHandler: ^(ApiResponseListReminder output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];

															

		var  = require('');

var api = new .VclinicalportalApi()

var groupId = 789; // {Long} parameter GROUP

var siteId = 56; // {Integer} Id of the site

var startTime = 2013-10-20T19:20:30+01:00; // {Date} Start time of range

var endTime = 2013-10-20T19:20:30+01:00; // {Date} End time of range

var apiToken = apiToken_example; // {String} ApiToken

var apiAccount = apiAccount_example; // {String} Consumer Account guid as supplied

var apiKey = apiKey_example; // {String} Consumer Key guid as supplied


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getReminders1(groupId, siteId, startTime, endTime, apiToken, apiAccount, apiKey, callback);

															

		using System;
using System.Diagnostics;
using .Api;
using .Client;
using ;

namespace Example
{
    public class getReminders1Example
    {
        public void main()
        {
            
            var apiInstance = new VclinicalportalApi();
            var groupId = 789;  // Long | parameter GROUP
            var siteId = 56;  // Integer | Id of the site
            var startTime = 2013-10-20T19:20:30+01:00;  // Date | Start time of range
            var endTime = 2013-10-20T19:20:30+01:00;  // Date | End time of range
            var apiToken = apiToken_example;  // String | ApiToken
            var apiAccount = apiAccount_example;  // String | Consumer Account guid as supplied
            var apiKey = apiKey_example;  // String | Consumer Key guid as supplied

            try
            {
                // Get reminders in date range
                ApiResponseListReminder result = apiInstance.getReminders1(groupId, siteId, startTime, endTime, apiToken, apiAccount, apiKey);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling VclinicalportalApi.getReminders1: " + e.Message );
            }
        }
    }
}

															

		require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new io.swagger.client\Api\VclinicalportalApi();
$groupId = 789; // Long | parameter GROUP
$siteId = 56; // Integer | Id of the site
$startTime = 2013-10-20T19:20:30+01:00; // Date | Start time of range
$endTime = 2013-10-20T19:20:30+01:00; // Date | End time of range
$apiToken = apiToken_example; // String | ApiToken
$apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
$apiKey = apiKey_example; // String | Consumer Key guid as supplied

try {
    $result = $api_instance->getReminders1($groupId, $siteId, $startTime, $endTime, $apiToken, $apiAccount, $apiKey);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling VclinicalportalApi->getReminders1: ', $e->getMessage(), PHP_EOL;
}

														  

Parameters

Path parameters
Name Description
groupId*
siteId*
startTime*
endTime*
Header parameters
Name Description
apiToken*
apiAccount*
apiKey*

Responses

Status: 200 - successful operation


vglobal

getChangePassword1

Change Global Password example call - /v2/global/changePassword/abc@1234.com/password/data1/ Passwords must be at least 7 characters and contain characters from three of the following four categories: English uppercase characters (A through Z) English lowercase characters (a through z) Base 10 digits (0 through 9) Non-alphabetic characters (for example, !, $, #, %)


/v2/global/changePassword

Usage and SDK Samples


		curl -X post "https://localhost/GlobalApi/v2/global/changePassword"


		

		import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import .VglobalApi;

import java.io.File;
import java.util.*;

public class VglobalApiExample {

    public static void main(String[] args) {
        
        VglobalApi apiInstance = new VglobalApi();
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        String uName = uName_example; // String | parameter UNAME
        String pass = pass_example; // String | parameter PASS
        String data1 = data1_example; // String | parameter DATA1
        String apiToken = apiToken_example; // String | ApiToken
        try {
            ApiResponseContactTO result = apiInstance.getChangePassword1(apiAccount, apiKey, uName, pass, data1, apiToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VglobalApi#getChangePassword1");
            e.printStackTrace();
        }
    }
}

														  

		import .VglobalApi;

public class VglobalApiExample {

    public static void main(String[] args) {
        VglobalApi apiInstance = new VglobalApi();
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        String uName = uName_example; // String | parameter UNAME
        String pass = pass_example; // String | parameter PASS
        String data1 = data1_example; // String | parameter DATA1
        String apiToken = apiToken_example; // String | ApiToken
        try {
            ApiResponseContactTO result = apiInstance.getChangePassword1(apiAccount, apiKey, uName, pass, data1, apiToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VglobalApi#getChangePassword1");
            e.printStackTrace();
        }
    }
}

														  

		
String *apiAccount = apiAccount_example; // Consumer Account guid as supplied
String *apiKey = apiKey_example; // Consumer Key guid as supplied
String *uName = uName_example; // parameter UNAME
String *pass = pass_example; // parameter PASS
String *data1 = data1_example; // parameter DATA1
String *apiToken = apiToken_example; // ApiToken

VglobalApi *apiInstance = [[VglobalApi alloc] init];

// Change password
[apiInstance getChangePassword1With:apiAccount
    apiKey:apiKey
    uName:uName
    pass:pass
    data1:data1
    apiToken:apiToken
              completionHandler: ^(ApiResponseContactTO output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];

															

		var  = require('');

var api = new .VglobalApi()

var apiAccount = apiAccount_example; // {String} Consumer Account guid as supplied

var apiKey = apiKey_example; // {String} Consumer Key guid as supplied

var uName = uName_example; // {String} parameter UNAME

var pass = pass_example; // {String} parameter PASS

var data1 = data1_example; // {String} parameter DATA1

var apiToken = apiToken_example; // {String} ApiToken


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getChangePassword1(apiAccount, apiKey, uName, pass, data1, apiToken, callback);

															

		using System;
using System.Diagnostics;
using .Api;
using .Client;
using ;

namespace Example
{
    public class getChangePassword1Example
    {
        public void main()
        {
            
            var apiInstance = new VglobalApi();
            var apiAccount = apiAccount_example;  // String | Consumer Account guid as supplied
            var apiKey = apiKey_example;  // String | Consumer Key guid as supplied
            var uName = uName_example;  // String | parameter UNAME
            var pass = pass_example;  // String | parameter PASS
            var data1 = data1_example;  // String | parameter DATA1
            var apiToken = apiToken_example;  // String | ApiToken

            try
            {
                // Change password
                ApiResponseContactTO result = apiInstance.getChangePassword1(apiAccount, apiKey, uName, pass, data1, apiToken);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling VglobalApi.getChangePassword1: " + e.Message );
            }
        }
    }
}

															

		require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new io.swagger.client\Api\VglobalApi();
$apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
$apiKey = apiKey_example; // String | Consumer Key guid as supplied
$uName = uName_example; // String | parameter UNAME
$pass = pass_example; // String | parameter PASS
$data1 = data1_example; // String | parameter DATA1
$apiToken = apiToken_example; // String | ApiToken

try {
    $result = $api_instance->getChangePassword1($apiAccount, $apiKey, $uName, $pass, $data1, $apiToken);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling VglobalApi->getChangePassword1: ', $e->getMessage(), PHP_EOL;
}

														  

Parameters

Header parameters
Name Description
apiAccount*
apiKey*
apiToken*

Responses

Status: 200 - successful operation


getConnectNewUserToGroup1

Connect New User To Group example call - /v2/global/connectNewUserToGroup/5/25/


/v2/global/connectNewUserToGroup/{groupId}/{uId}

Usage and SDK Samples


		curl -X get "https://localhost/GlobalApi/v2/global/connectNewUserToGroup/{groupId}/{uId}"


		

		import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import .VglobalApi;

import java.io.File;
import java.util.*;

public class VglobalApiExample {

    public static void main(String[] args) {
        
        VglobalApi apiInstance = new VglobalApi();
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        Long groupId = 789; // Long | parameter GROUP
        Long uId = 789; // Long | parameter UID
        String apiToken = apiToken_example; // String | ApiToken
        try {
            ApiResponseApiContactTO result = apiInstance.getConnectNewUserToGroup1(apiAccount, apiKey, groupId, uId, apiToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VglobalApi#getConnectNewUserToGroup1");
            e.printStackTrace();
        }
    }
}

														  

		import .VglobalApi;

public class VglobalApiExample {

    public static void main(String[] args) {
        VglobalApi apiInstance = new VglobalApi();
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        Long groupId = 789; // Long | parameter GROUP
        Long uId = 789; // Long | parameter UID
        String apiToken = apiToken_example; // String | ApiToken
        try {
            ApiResponseApiContactTO result = apiInstance.getConnectNewUserToGroup1(apiAccount, apiKey, groupId, uId, apiToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VglobalApi#getConnectNewUserToGroup1");
            e.printStackTrace();
        }
    }
}

														  

		
String *apiAccount = apiAccount_example; // Consumer Account guid as supplied
String *apiKey = apiKey_example; // Consumer Key guid as supplied
Long *groupId = 789; // parameter GROUP
Long *uId = 789; // parameter UID
String *apiToken = apiToken_example; // ApiToken

VglobalApi *apiInstance = [[VglobalApi alloc] init];

// Connect new user to group
[apiInstance getConnectNewUserToGroup1With:apiAccount
    apiKey:apiKey
    groupId:groupId
    uId:uId
    apiToken:apiToken
              completionHandler: ^(ApiResponseApiContactTO output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];

															

		var  = require('');

var api = new .VglobalApi()

var apiAccount = apiAccount_example; // {String} Consumer Account guid as supplied

var apiKey = apiKey_example; // {String} Consumer Key guid as supplied

var groupId = 789; // {Long} parameter GROUP

var uId = 789; // {Long} parameter UID

var apiToken = apiToken_example; // {String} ApiToken


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getConnectNewUserToGroup1(apiAccount, apiKey, groupId, uId, apiToken, callback);

															

		using System;
using System.Diagnostics;
using .Api;
using .Client;
using ;

namespace Example
{
    public class getConnectNewUserToGroup1Example
    {
        public void main()
        {
            
            var apiInstance = new VglobalApi();
            var apiAccount = apiAccount_example;  // String | Consumer Account guid as supplied
            var apiKey = apiKey_example;  // String | Consumer Key guid as supplied
            var groupId = 789;  // Long | parameter GROUP
            var uId = 789;  // Long | parameter UID
            var apiToken = apiToken_example;  // String | ApiToken

            try
            {
                // Connect new user to group
                ApiResponseApiContactTO result = apiInstance.getConnectNewUserToGroup1(apiAccount, apiKey, groupId, uId, apiToken);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling VglobalApi.getConnectNewUserToGroup1: " + e.Message );
            }
        }
    }
}

															

		require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new io.swagger.client\Api\VglobalApi();
$apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
$apiKey = apiKey_example; // String | Consumer Key guid as supplied
$groupId = 789; // Long | parameter GROUP
$uId = 789; // Long | parameter UID
$apiToken = apiToken_example; // String | ApiToken

try {
    $result = $api_instance->getConnectNewUserToGroup1($apiAccount, $apiKey, $groupId, $uId, $apiToken);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling VglobalApi->getConnectNewUserToGroup1: ', $e->getMessage(), PHP_EOL;
}

														  

Parameters

Path parameters
Name Description
groupId*
uId*
Header parameters
Name Description
apiAccount*
apiKey*
apiToken*

Responses

Status: 200 - successful operation


getConnectUserToPmsGroup1

Connect new User To PMS Group example call - /v2/global/connectUserToPmsGroup/5/10034/


/v2/global/connectUserToPmsGroup/{groupId}/{uId}

Usage and SDK Samples


		curl -X get "https://localhost/GlobalApi/v2/global/connectUserToPmsGroup/{groupId}/{uId}"


		

		import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import .VglobalApi;

import java.io.File;
import java.util.*;

public class VglobalApiExample {

    public static void main(String[] args) {
        
        VglobalApi apiInstance = new VglobalApi();
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        Long groupId = 789; // Long | parameter GROUP
        Long uId = 789; // Long | parameter UID
        String apiToken = apiToken_example; // String | ApiToken
        try {
            ApiResponseApiContactTO result = apiInstance.getConnectUserToPmsGroup1(apiAccount, apiKey, groupId, uId, apiToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VglobalApi#getConnectUserToPmsGroup1");
            e.printStackTrace();
        }
    }
}

														  

		import .VglobalApi;

public class VglobalApiExample {

    public static void main(String[] args) {
        VglobalApi apiInstance = new VglobalApi();
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        Long groupId = 789; // Long | parameter GROUP
        Long uId = 789; // Long | parameter UID
        String apiToken = apiToken_example; // String | ApiToken
        try {
            ApiResponseApiContactTO result = apiInstance.getConnectUserToPmsGroup1(apiAccount, apiKey, groupId, uId, apiToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VglobalApi#getConnectUserToPmsGroup1");
            e.printStackTrace();
        }
    }
}

														  

		
String *apiAccount = apiAccount_example; // Consumer Account guid as supplied
String *apiKey = apiKey_example; // Consumer Key guid as supplied
Long *groupId = 789; // parameter GROUP
Long *uId = 789; // parameter UID
String *apiToken = apiToken_example; // ApiToken

VglobalApi *apiInstance = [[VglobalApi alloc] init];

// Connect user to group
[apiInstance getConnectUserToPmsGroup1With:apiAccount
    apiKey:apiKey
    groupId:groupId
    uId:uId
    apiToken:apiToken
              completionHandler: ^(ApiResponseApiContactTO output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];

															

		var  = require('');

var api = new .VglobalApi()

var apiAccount = apiAccount_example; // {String} Consumer Account guid as supplied

var apiKey = apiKey_example; // {String} Consumer Key guid as supplied

var groupId = 789; // {Long} parameter GROUP

var uId = 789; // {Long} parameter UID

var apiToken = apiToken_example; // {String} ApiToken


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getConnectUserToPmsGroup1(apiAccount, apiKey, groupId, uId, apiToken, callback);

															

		using System;
using System.Diagnostics;
using .Api;
using .Client;
using ;

namespace Example
{
    public class getConnectUserToPmsGroup1Example
    {
        public void main()
        {
            
            var apiInstance = new VglobalApi();
            var apiAccount = apiAccount_example;  // String | Consumer Account guid as supplied
            var apiKey = apiKey_example;  // String | Consumer Key guid as supplied
            var groupId = 789;  // Long | parameter GROUP
            var uId = 789;  // Long | parameter UID
            var apiToken = apiToken_example;  // String | ApiToken

            try
            {
                // Connect user to group
                ApiResponseApiContactTO result = apiInstance.getConnectUserToPmsGroup1(apiAccount, apiKey, groupId, uId, apiToken);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling VglobalApi.getConnectUserToPmsGroup1: " + e.Message );
            }
        }
    }
}

															

		require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new io.swagger.client\Api\VglobalApi();
$apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
$apiKey = apiKey_example; // String | Consumer Key guid as supplied
$groupId = 789; // Long | parameter GROUP
$uId = 789; // Long | parameter UID
$apiToken = apiToken_example; // String | ApiToken

try {
    $result = $api_instance->getConnectUserToPmsGroup1($apiAccount, $apiKey, $groupId, $uId, $apiToken);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling VglobalApi->getConnectUserToPmsGroup1: ', $e->getMessage(), PHP_EOL;
}

														  

Parameters

Path parameters
Name Description
groupId*
uId*
Header parameters
Name Description
apiAccount*
apiKey*
apiToken*

Responses

Status: 200 - successful operation


getFindSiteByCountry1

Find a site example call - /v2/global/findSiteByCountry/0/dou/


/v2/global/findSiteByCountry/{countryId}/{data1}

Usage and SDK Samples


		curl -X get "https://localhost/GlobalApi/v2/global/findSiteByCountry/{countryId}/{data1}"


		

		import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import .VglobalApi;

import java.io.File;
import java.util.*;

public class VglobalApiExample {

    public static void main(String[] args) {
        
        VglobalApi apiInstance = new VglobalApi();
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        Integer countryId = 56; // Integer | parameter COUNTRYID
        String data1 = data1_example; // String | parameter DATA1
        String apiToken = apiToken_example; // String | ApiToken
        try {
            ApiResponseListViewFindAsite result = apiInstance.getFindSiteByCountry1(apiAccount, apiKey, countryId, data1, apiToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VglobalApi#getFindSiteByCountry1");
            e.printStackTrace();
        }
    }
}

														  

		import .VglobalApi;

public class VglobalApiExample {

    public static void main(String[] args) {
        VglobalApi apiInstance = new VglobalApi();
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        Integer countryId = 56; // Integer | parameter COUNTRYID
        String data1 = data1_example; // String | parameter DATA1
        String apiToken = apiToken_example; // String | ApiToken
        try {
            ApiResponseListViewFindAsite result = apiInstance.getFindSiteByCountry1(apiAccount, apiKey, countryId, data1, apiToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VglobalApi#getFindSiteByCountry1");
            e.printStackTrace();
        }
    }
}

														  

		
String *apiAccount = apiAccount_example; // Consumer Account guid as supplied
String *apiKey = apiKey_example; // Consumer Key guid as supplied
Integer *countryId = 56; // parameter COUNTRYID
String *data1 = data1_example; // parameter DATA1
String *apiToken = apiToken_example; // ApiToken

VglobalApi *apiInstance = [[VglobalApi alloc] init];

// Find site by country
[apiInstance getFindSiteByCountry1With:apiAccount
    apiKey:apiKey
    countryId:countryId
    data1:data1
    apiToken:apiToken
              completionHandler: ^(ApiResponseListViewFindAsite output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];

															

		var  = require('');

var api = new .VglobalApi()

var apiAccount = apiAccount_example; // {String} Consumer Account guid as supplied

var apiKey = apiKey_example; // {String} Consumer Key guid as supplied

var countryId = 56; // {Integer} parameter COUNTRYID

var data1 = data1_example; // {String} parameter DATA1

var apiToken = apiToken_example; // {String} ApiToken


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getFindSiteByCountry1(apiAccount, apiKey, countryId, data1, apiToken, callback);

															

		using System;
using System.Diagnostics;
using .Api;
using .Client;
using ;

namespace Example
{
    public class getFindSiteByCountry1Example
    {
        public void main()
        {
            
            var apiInstance = new VglobalApi();
            var apiAccount = apiAccount_example;  // String | Consumer Account guid as supplied
            var apiKey = apiKey_example;  // String | Consumer Key guid as supplied
            var countryId = 56;  // Integer | parameter COUNTRYID
            var data1 = data1_example;  // String | parameter DATA1
            var apiToken = apiToken_example;  // String | ApiToken

            try
            {
                // Find site by country
                ApiResponseListViewFindAsite result = apiInstance.getFindSiteByCountry1(apiAccount, apiKey, countryId, data1, apiToken);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling VglobalApi.getFindSiteByCountry1: " + e.Message );
            }
        }
    }
}

															

		require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new io.swagger.client\Api\VglobalApi();
$apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
$apiKey = apiKey_example; // String | Consumer Key guid as supplied
$countryId = 56; // Integer | parameter COUNTRYID
$data1 = data1_example; // String | parameter DATA1
$apiToken = apiToken_example; // String | ApiToken

try {
    $result = $api_instance->getFindSiteByCountry1($apiAccount, $apiKey, $countryId, $data1, $apiToken);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling VglobalApi->getFindSiteByCountry1: ', $e->getMessage(), PHP_EOL;
}

														  

Parameters

Path parameters
Name Description
countryId*
data1*
Header parameters
Name Description
apiAccount*
apiKey*
apiToken*

Responses

Status: 200 - successful operation


getForgotPassword1

Forgotten Password example call - /v2/global/forgotPassword/user@domain.co.uk/


/v2/global/forgotPassword/{uName}

Usage and SDK Samples


		curl -X get "https://localhost/GlobalApi/v2/global/forgotPassword/{uName}"


		

		import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import .VglobalApi;

import java.io.File;
import java.util.*;

public class VglobalApiExample {

    public static void main(String[] args) {
        
        VglobalApi apiInstance = new VglobalApi();
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        String uName = uName_example; // String | parameter UNAME
        String apiToken = apiToken_example; // String | ApiToken
        try {
            ApiResponseContactTO result = apiInstance.getForgotPassword1(apiAccount, apiKey, uName, apiToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VglobalApi#getForgotPassword1");
            e.printStackTrace();
        }
    }
}

														  

		import .VglobalApi;

public class VglobalApiExample {

    public static void main(String[] args) {
        VglobalApi apiInstance = new VglobalApi();
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        String uName = uName_example; // String | parameter UNAME
        String apiToken = apiToken_example; // String | ApiToken
        try {
            ApiResponseContactTO result = apiInstance.getForgotPassword1(apiAccount, apiKey, uName, apiToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VglobalApi#getForgotPassword1");
            e.printStackTrace();
        }
    }
}

														  

		
String *apiAccount = apiAccount_example; // Consumer Account guid as supplied
String *apiKey = apiKey_example; // Consumer Key guid as supplied
String *uName = uName_example; // parameter UNAME
String *apiToken = apiToken_example; // ApiToken

VglobalApi *apiInstance = [[VglobalApi alloc] init];

// Forgot password
[apiInstance getForgotPassword1With:apiAccount
    apiKey:apiKey
    uName:uName
    apiToken:apiToken
              completionHandler: ^(ApiResponseContactTO output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];

															

		var  = require('');

var api = new .VglobalApi()

var apiAccount = apiAccount_example; // {String} Consumer Account guid as supplied

var apiKey = apiKey_example; // {String} Consumer Key guid as supplied

var uName = uName_example; // {String} parameter UNAME

var apiToken = apiToken_example; // {String} ApiToken


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getForgotPassword1(apiAccount, apiKey, uName, apiToken, callback);

															

		using System;
using System.Diagnostics;
using .Api;
using .Client;
using ;

namespace Example
{
    public class getForgotPassword1Example
    {
        public void main()
        {
            
            var apiInstance = new VglobalApi();
            var apiAccount = apiAccount_example;  // String | Consumer Account guid as supplied
            var apiKey = apiKey_example;  // String | Consumer Key guid as supplied
            var uName = uName_example;  // String | parameter UNAME
            var apiToken = apiToken_example;  // String | ApiToken

            try
            {
                // Forgot password
                ApiResponseContactTO result = apiInstance.getForgotPassword1(apiAccount, apiKey, uName, apiToken);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling VglobalApi.getForgotPassword1: " + e.Message );
            }
        }
    }
}

															

		require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new io.swagger.client\Api\VglobalApi();
$apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
$apiKey = apiKey_example; // String | Consumer Key guid as supplied
$uName = uName_example; // String | parameter UNAME
$apiToken = apiToken_example; // String | ApiToken

try {
    $result = $api_instance->getForgotPassword1($apiAccount, $apiKey, $uName, $apiToken);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling VglobalApi->getForgotPassword1: ', $e->getMessage(), PHP_EOL;
}

														  

Parameters

Path parameters
Name Description
uName*
Header parameters
Name Description
apiAccount*
apiKey*
apiToken*

Responses

Status: 200 - successful operation


getGroupCustomisations1

Group Customisations example call - /v2/global/groupCustomisations/1/


/v2/global/groupCustomisations/{groupId}

Usage and SDK Samples


		curl -X get "https://localhost/GlobalApi/v2/global/groupCustomisations/{groupId}"


		

		import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import .VglobalApi;

import java.io.File;
import java.util.*;

public class VglobalApiExample {

    public static void main(String[] args) {
        
        VglobalApi apiInstance = new VglobalApi();
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        Long groupId = 789; // Long | parameter GROUP
        String apiToken = apiToken_example; // String | ApiToken
        try {
            ApiResponseListViewGroupCustomisations result = apiInstance.getGroupCustomisations1(apiAccount, apiKey, groupId, apiToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VglobalApi#getGroupCustomisations1");
            e.printStackTrace();
        }
    }
}

														  

		import .VglobalApi;

public class VglobalApiExample {

    public static void main(String[] args) {
        VglobalApi apiInstance = new VglobalApi();
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        Long groupId = 789; // Long | parameter GROUP
        String apiToken = apiToken_example; // String | ApiToken
        try {
            ApiResponseListViewGroupCustomisations result = apiInstance.getGroupCustomisations1(apiAccount, apiKey, groupId, apiToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VglobalApi#getGroupCustomisations1");
            e.printStackTrace();
        }
    }
}

														  

		
String *apiAccount = apiAccount_example; // Consumer Account guid as supplied
String *apiKey = apiKey_example; // Consumer Key guid as supplied
Long *groupId = 789; // parameter GROUP
String *apiToken = apiToken_example; // ApiToken

VglobalApi *apiInstance = [[VglobalApi alloc] init];

// Get group customisations
[apiInstance getGroupCustomisations1With:apiAccount
    apiKey:apiKey
    groupId:groupId
    apiToken:apiToken
              completionHandler: ^(ApiResponseListViewGroupCustomisations output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];

															

		var  = require('');

var api = new .VglobalApi()

var apiAccount = apiAccount_example; // {String} Consumer Account guid as supplied

var apiKey = apiKey_example; // {String} Consumer Key guid as supplied

var groupId = 789; // {Long} parameter GROUP

var apiToken = apiToken_example; // {String} ApiToken


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getGroupCustomisations1(apiAccount, apiKey, groupId, apiToken, callback);

															

		using System;
using System.Diagnostics;
using .Api;
using .Client;
using ;

namespace Example
{
    public class getGroupCustomisations1Example
    {
        public void main()
        {
            
            var apiInstance = new VglobalApi();
            var apiAccount = apiAccount_example;  // String | Consumer Account guid as supplied
            var apiKey = apiKey_example;  // String | Consumer Key guid as supplied
            var groupId = 789;  // Long | parameter GROUP
            var apiToken = apiToken_example;  // String | ApiToken

            try
            {
                // Get group customisations
                ApiResponseListViewGroupCustomisations result = apiInstance.getGroupCustomisations1(apiAccount, apiKey, groupId, apiToken);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling VglobalApi.getGroupCustomisations1: " + e.Message );
            }
        }
    }
}

															

		require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new io.swagger.client\Api\VglobalApi();
$apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
$apiKey = apiKey_example; // String | Consumer Key guid as supplied
$groupId = 789; // Long | parameter GROUP
$apiToken = apiToken_example; // String | ApiToken

try {
    $result = $api_instance->getGroupCustomisations1($apiAccount, $apiKey, $groupId, $apiToken);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling VglobalApi->getGroupCustomisations1: ', $e->getMessage(), PHP_EOL;
}

														  

Parameters

Path parameters
Name Description
groupId*
Header parameters
Name Description
apiAccount*
apiKey*
apiToken*

Responses

Status: 200 - successful operation


getListAllActiveGroups1

List all of the active vet groups in global example call - /v2/global/listAllActiveGroups/


/v2/global/listAllActiveGroups

Usage and SDK Samples


		curl -X get "https://localhost/GlobalApi/v2/global/listAllActiveGroups"


		

		import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import .VglobalApi;

import java.io.File;
import java.util.*;

public class VglobalApiExample {

    public static void main(String[] args) {
        
        VglobalApi apiInstance = new VglobalApi();
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        String apiToken = apiToken_example; // String | ApiToken
        try {
            ApiResponseListVetGroupTO result = apiInstance.getListAllActiveGroups1(apiAccount, apiKey, apiToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VglobalApi#getListAllActiveGroups1");
            e.printStackTrace();
        }
    }
}

														  

		import .VglobalApi;

public class VglobalApiExample {

    public static void main(String[] args) {
        VglobalApi apiInstance = new VglobalApi();
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        String apiToken = apiToken_example; // String | ApiToken
        try {
            ApiResponseListVetGroupTO result = apiInstance.getListAllActiveGroups1(apiAccount, apiKey, apiToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VglobalApi#getListAllActiveGroups1");
            e.printStackTrace();
        }
    }
}

														  

		
String *apiAccount = apiAccount_example; // Consumer Account guid as supplied
String *apiKey = apiKey_example; // Consumer Key guid as supplied
String *apiToken = apiToken_example; // ApiToken

VglobalApi *apiInstance = [[VglobalApi alloc] init];

// Get active groups
[apiInstance getListAllActiveGroups1With:apiAccount
    apiKey:apiKey
    apiToken:apiToken
              completionHandler: ^(ApiResponseListVetGroupTO output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];

															

		var  = require('');

var api = new .VglobalApi()

var apiAccount = apiAccount_example; // {String} Consumer Account guid as supplied

var apiKey = apiKey_example; // {String} Consumer Key guid as supplied

var apiToken = apiToken_example; // {String} ApiToken


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getListAllActiveGroups1(apiAccount, apiKey, apiToken, callback);

															

		using System;
using System.Diagnostics;
using .Api;
using .Client;
using ;

namespace Example
{
    public class getListAllActiveGroups1Example
    {
        public void main()
        {
            
            var apiInstance = new VglobalApi();
            var apiAccount = apiAccount_example;  // String | Consumer Account guid as supplied
            var apiKey = apiKey_example;  // String | Consumer Key guid as supplied
            var apiToken = apiToken_example;  // String | ApiToken

            try
            {
                // Get active groups
                ApiResponseListVetGroupTO result = apiInstance.getListAllActiveGroups1(apiAccount, apiKey, apiToken);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling VglobalApi.getListAllActiveGroups1: " + e.Message );
            }
        }
    }
}

															

		require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new io.swagger.client\Api\VglobalApi();
$apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
$apiKey = apiKey_example; // String | Consumer Key guid as supplied
$apiToken = apiToken_example; // String | ApiToken

try {
    $result = $api_instance->getListAllActiveGroups1($apiAccount, $apiKey, $apiToken);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling VglobalApi->getListAllActiveGroups1: ', $e->getMessage(), PHP_EOL;
}

														  

Parameters

Header parameters
Name Description
apiAccount*
apiKey*
apiToken*

Responses

Status: 200 - successful operation


getListCities1

returns the list of cities example call -/v2/global/listCities/


/v2/global/listCities

Usage and SDK Samples


		curl -X get "https://localhost/GlobalApi/v2/global/listCities"


		

		import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import .VglobalApi;

import java.io.File;
import java.util.*;

public class VglobalApiExample {

    public static void main(String[] args) {
        
        VglobalApi apiInstance = new VglobalApi();
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        String apiToken = apiToken_example; // String | ApiToken
        try {
            ApiResponseListCityTO result = apiInstance.getListCities1(apiAccount, apiKey, apiToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VglobalApi#getListCities1");
            e.printStackTrace();
        }
    }
}

														  

		import .VglobalApi;

public class VglobalApiExample {

    public static void main(String[] args) {
        VglobalApi apiInstance = new VglobalApi();
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        String apiToken = apiToken_example; // String | ApiToken
        try {
            ApiResponseListCityTO result = apiInstance.getListCities1(apiAccount, apiKey, apiToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VglobalApi#getListCities1");
            e.printStackTrace();
        }
    }
}

														  

		
String *apiAccount = apiAccount_example; // Consumer Account guid as supplied
String *apiKey = apiKey_example; // Consumer Key guid as supplied
String *apiToken = apiToken_example; // ApiToken

VglobalApi *apiInstance = [[VglobalApi alloc] init];

// Get cities
[apiInstance getListCities1With:apiAccount
    apiKey:apiKey
    apiToken:apiToken
              completionHandler: ^(ApiResponseListCityTO output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];

															

		var  = require('');

var api = new .VglobalApi()

var apiAccount = apiAccount_example; // {String} Consumer Account guid as supplied

var apiKey = apiKey_example; // {String} Consumer Key guid as supplied

var apiToken = apiToken_example; // {String} ApiToken


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getListCities1(apiAccount, apiKey, apiToken, callback);

															

		using System;
using System.Diagnostics;
using .Api;
using .Client;
using ;

namespace Example
{
    public class getListCities1Example
    {
        public void main()
        {
            
            var apiInstance = new VglobalApi();
            var apiAccount = apiAccount_example;  // String | Consumer Account guid as supplied
            var apiKey = apiKey_example;  // String | Consumer Key guid as supplied
            var apiToken = apiToken_example;  // String | ApiToken

            try
            {
                // Get cities
                ApiResponseListCityTO result = apiInstance.getListCities1(apiAccount, apiKey, apiToken);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling VglobalApi.getListCities1: " + e.Message );
            }
        }
    }
}

															

		require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new io.swagger.client\Api\VglobalApi();
$apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
$apiKey = apiKey_example; // String | Consumer Key guid as supplied
$apiToken = apiToken_example; // String | ApiToken

try {
    $result = $api_instance->getListCities1($apiAccount, $apiKey, $apiToken);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling VglobalApi->getListCities1: ', $e->getMessage(), PHP_EOL;
}

														  

Parameters

Header parameters
Name Description
apiAccount*
apiKey*
apiToken*

Responses

Status: 200 - successful operation


getListCountiesByRegion1

returns the list of counties example call -/v2/global/listCounties/1


/v2/global/listCounties/{regionId}

Usage and SDK Samples


		curl -X get "https://localhost/GlobalApi/v2/global/listCounties/{regionId}"


		

		import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import .VglobalApi;

import java.io.File;
import java.util.*;

public class VglobalApiExample {

    public static void main(String[] args) {
        
        VglobalApi apiInstance = new VglobalApi();
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        Integer regionId = 56; // Integer | parameter REGIONID
        String apiToken = apiToken_example; // String | ApiToken
        try {
            ApiResponseListCountyTO result = apiInstance.getListCountiesByRegion1(apiAccount, apiKey, regionId, apiToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VglobalApi#getListCountiesByRegion1");
            e.printStackTrace();
        }
    }
}

														  

		import .VglobalApi;

public class VglobalApiExample {

    public static void main(String[] args) {
        VglobalApi apiInstance = new VglobalApi();
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        Integer regionId = 56; // Integer | parameter REGIONID
        String apiToken = apiToken_example; // String | ApiToken
        try {
            ApiResponseListCountyTO result = apiInstance.getListCountiesByRegion1(apiAccount, apiKey, regionId, apiToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VglobalApi#getListCountiesByRegion1");
            e.printStackTrace();
        }
    }
}

														  

		
String *apiAccount = apiAccount_example; // Consumer Account guid as supplied
String *apiKey = apiKey_example; // Consumer Key guid as supplied
Integer *regionId = 56; // parameter REGIONID
String *apiToken = apiToken_example; // ApiToken

VglobalApi *apiInstance = [[VglobalApi alloc] init];

// Get counties
[apiInstance getListCountiesByRegion1With:apiAccount
    apiKey:apiKey
    regionId:regionId
    apiToken:apiToken
              completionHandler: ^(ApiResponseListCountyTO output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];

															

		var  = require('');

var api = new .VglobalApi()

var apiAccount = apiAccount_example; // {String} Consumer Account guid as supplied

var apiKey = apiKey_example; // {String} Consumer Key guid as supplied

var regionId = 56; // {Integer} parameter REGIONID

var apiToken = apiToken_example; // {String} ApiToken


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getListCountiesByRegion1(apiAccount, apiKey, regionId, apiToken, callback);

															

		using System;
using System.Diagnostics;
using .Api;
using .Client;
using ;

namespace Example
{
    public class getListCountiesByRegion1Example
    {
        public void main()
        {
            
            var apiInstance = new VglobalApi();
            var apiAccount = apiAccount_example;  // String | Consumer Account guid as supplied
            var apiKey = apiKey_example;  // String | Consumer Key guid as supplied
            var regionId = 56;  // Integer | parameter REGIONID
            var apiToken = apiToken_example;  // String | ApiToken

            try
            {
                // Get counties
                ApiResponseListCountyTO result = apiInstance.getListCountiesByRegion1(apiAccount, apiKey, regionId, apiToken);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling VglobalApi.getListCountiesByRegion1: " + e.Message );
            }
        }
    }
}

															

		require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new io.swagger.client\Api\VglobalApi();
$apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
$apiKey = apiKey_example; // String | Consumer Key guid as supplied
$regionId = 56; // Integer | parameter REGIONID
$apiToken = apiToken_example; // String | ApiToken

try {
    $result = $api_instance->getListCountiesByRegion1($apiAccount, $apiKey, $regionId, $apiToken);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling VglobalApi->getListCountiesByRegion1: ', $e->getMessage(), PHP_EOL;
}

														  

Parameters

Path parameters
Name Description
regionId*
Header parameters
Name Description
apiAccount*
apiKey*
apiToken*

Responses

Status: 200 - successful operation


getListCountries1

returns the list of countries example call -/v2/global/listCountries/


/v2/global/listCountries

Usage and SDK Samples


		curl -X get "https://localhost/GlobalApi/v2/global/listCountries"


		

		import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import .VglobalApi;

import java.io.File;
import java.util.*;

public class VglobalApiExample {

    public static void main(String[] args) {
        
        VglobalApi apiInstance = new VglobalApi();
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        String apiToken = apiToken_example; // String | ApiToken
        try {
            ApiResponseListCountryTO result = apiInstance.getListCountries1(apiAccount, apiKey, apiToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VglobalApi#getListCountries1");
            e.printStackTrace();
        }
    }
}

														  

		import .VglobalApi;

public class VglobalApiExample {

    public static void main(String[] args) {
        VglobalApi apiInstance = new VglobalApi();
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        String apiToken = apiToken_example; // String | ApiToken
        try {
            ApiResponseListCountryTO result = apiInstance.getListCountries1(apiAccount, apiKey, apiToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VglobalApi#getListCountries1");
            e.printStackTrace();
        }
    }
}

														  

		
String *apiAccount = apiAccount_example; // Consumer Account guid as supplied
String *apiKey = apiKey_example; // Consumer Key guid as supplied
String *apiToken = apiToken_example; // ApiToken

VglobalApi *apiInstance = [[VglobalApi alloc] init];

// Get countries
[apiInstance getListCountries1With:apiAccount
    apiKey:apiKey
    apiToken:apiToken
              completionHandler: ^(ApiResponseListCountryTO output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];

															

		var  = require('');

var api = new .VglobalApi()

var apiAccount = apiAccount_example; // {String} Consumer Account guid as supplied

var apiKey = apiKey_example; // {String} Consumer Key guid as supplied

var apiToken = apiToken_example; // {String} ApiToken


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getListCountries1(apiAccount, apiKey, apiToken, callback);

															

		using System;
using System.Diagnostics;
using .Api;
using .Client;
using ;

namespace Example
{
    public class getListCountries1Example
    {
        public void main()
        {
            
            var apiInstance = new VglobalApi();
            var apiAccount = apiAccount_example;  // String | Consumer Account guid as supplied
            var apiKey = apiKey_example;  // String | Consumer Key guid as supplied
            var apiToken = apiToken_example;  // String | ApiToken

            try
            {
                // Get countries
                ApiResponseListCountryTO result = apiInstance.getListCountries1(apiAccount, apiKey, apiToken);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling VglobalApi.getListCountries1: " + e.Message );
            }
        }
    }
}

															

		require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new io.swagger.client\Api\VglobalApi();
$apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
$apiKey = apiKey_example; // String | Consumer Key guid as supplied
$apiToken = apiToken_example; // String | ApiToken

try {
    $result = $api_instance->getListCountries1($apiAccount, $apiKey, $apiToken);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling VglobalApi->getListCountries1: ', $e->getMessage(), PHP_EOL;
}

														  

Parameters

Header parameters
Name Description
apiAccount*
apiKey*
apiToken*

Responses

Status: 200 - successful operation


getListPMSGroupByCountry1

Find PMS Group example call - /v2/global/listPMSGroupsByCountry/1/


/v2/global/listPMSGroupsByCountry/{countryId}

Usage and SDK Samples


		curl -X get "https://localhost/GlobalApi/v2/global/listPMSGroupsByCountry/{countryId}"


		

		import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import .VglobalApi;

import java.io.File;
import java.util.*;

public class VglobalApiExample {

    public static void main(String[] args) {
        
        VglobalApi apiInstance = new VglobalApi();
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        Integer countryId = 56; // Integer | parameter COUNTRYID
        String apiToken = apiToken_example; // String | ApiToken
        try {
            ApiResponseListVetGroupTO result = apiInstance.getListPMSGroupByCountry1(apiAccount, apiKey, countryId, apiToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VglobalApi#getListPMSGroupByCountry1");
            e.printStackTrace();
        }
    }
}

														  

		import .VglobalApi;

public class VglobalApiExample {

    public static void main(String[] args) {
        VglobalApi apiInstance = new VglobalApi();
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        Integer countryId = 56; // Integer | parameter COUNTRYID
        String apiToken = apiToken_example; // String | ApiToken
        try {
            ApiResponseListVetGroupTO result = apiInstance.getListPMSGroupByCountry1(apiAccount, apiKey, countryId, apiToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VglobalApi#getListPMSGroupByCountry1");
            e.printStackTrace();
        }
    }
}

														  

		
String *apiAccount = apiAccount_example; // Consumer Account guid as supplied
String *apiKey = apiKey_example; // Consumer Key guid as supplied
Integer *countryId = 56; // parameter COUNTRYID
String *apiToken = apiToken_example; // ApiToken

VglobalApi *apiInstance = [[VglobalApi alloc] init];

// List groups by country
[apiInstance getListPMSGroupByCountry1With:apiAccount
    apiKey:apiKey
    countryId:countryId
    apiToken:apiToken
              completionHandler: ^(ApiResponseListVetGroupTO output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];

															

		var  = require('');

var api = new .VglobalApi()

var apiAccount = apiAccount_example; // {String} Consumer Account guid as supplied

var apiKey = apiKey_example; // {String} Consumer Key guid as supplied

var countryId = 56; // {Integer} parameter COUNTRYID

var apiToken = apiToken_example; // {String} ApiToken


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getListPMSGroupByCountry1(apiAccount, apiKey, countryId, apiToken, callback);

															

		using System;
using System.Diagnostics;
using .Api;
using .Client;
using ;

namespace Example
{
    public class getListPMSGroupByCountry1Example
    {
        public void main()
        {
            
            var apiInstance = new VglobalApi();
            var apiAccount = apiAccount_example;  // String | Consumer Account guid as supplied
            var apiKey = apiKey_example;  // String | Consumer Key guid as supplied
            var countryId = 56;  // Integer | parameter COUNTRYID
            var apiToken = apiToken_example;  // String | ApiToken

            try
            {
                // List groups by country
                ApiResponseListVetGroupTO result = apiInstance.getListPMSGroupByCountry1(apiAccount, apiKey, countryId, apiToken);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling VglobalApi.getListPMSGroupByCountry1: " + e.Message );
            }
        }
    }
}

															

		require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new io.swagger.client\Api\VglobalApi();
$apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
$apiKey = apiKey_example; // String | Consumer Key guid as supplied
$countryId = 56; // Integer | parameter COUNTRYID
$apiToken = apiToken_example; // String | ApiToken

try {
    $result = $api_instance->getListPMSGroupByCountry1($apiAccount, $apiKey, $countryId, $apiToken);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling VglobalApi->getListPMSGroupByCountry1: ', $e->getMessage(), PHP_EOL;
}

														  

Parameters

Path parameters
Name Description
countryId*
Header parameters
Name Description
apiAccount*
apiKey*
apiToken*

Responses

Status: 200 - successful operation


getListRegionsByCountry1

returns the list of regions by country example call -/v2/global/listRegionsByCountry/1


/v2/global/listRegionsByCountry/{countryId}

Usage and SDK Samples


		curl -X get "https://localhost/GlobalApi/v2/global/listRegionsByCountry/{countryId}"


		

		import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import .VglobalApi;

import java.io.File;
import java.util.*;

public class VglobalApiExample {

    public static void main(String[] args) {
        
        VglobalApi apiInstance = new VglobalApi();
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        Integer countryId = 56; // Integer | parameter COUNTRYID
        String apiToken = apiToken_example; // String | ApiToken
        try {
            ApiResponseListRegionTO result = apiInstance.getListRegionsByCountry1(apiAccount, apiKey, countryId, apiToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VglobalApi#getListRegionsByCountry1");
            e.printStackTrace();
        }
    }
}

														  

		import .VglobalApi;

public class VglobalApiExample {

    public static void main(String[] args) {
        VglobalApi apiInstance = new VglobalApi();
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        Integer countryId = 56; // Integer | parameter COUNTRYID
        String apiToken = apiToken_example; // String | ApiToken
        try {
            ApiResponseListRegionTO result = apiInstance.getListRegionsByCountry1(apiAccount, apiKey, countryId, apiToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VglobalApi#getListRegionsByCountry1");
            e.printStackTrace();
        }
    }
}

														  

		
String *apiAccount = apiAccount_example; // Consumer Account guid as supplied
String *apiKey = apiKey_example; // Consumer Key guid as supplied
Integer *countryId = 56; // parameter COUNTRYID
String *apiToken = apiToken_example; // ApiToken

VglobalApi *apiInstance = [[VglobalApi alloc] init];

// Get regions
[apiInstance getListRegionsByCountry1With:apiAccount
    apiKey:apiKey
    countryId:countryId
    apiToken:apiToken
              completionHandler: ^(ApiResponseListRegionTO output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];

															

		var  = require('');

var api = new .VglobalApi()

var apiAccount = apiAccount_example; // {String} Consumer Account guid as supplied

var apiKey = apiKey_example; // {String} Consumer Key guid as supplied

var countryId = 56; // {Integer} parameter COUNTRYID

var apiToken = apiToken_example; // {String} ApiToken


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getListRegionsByCountry1(apiAccount, apiKey, countryId, apiToken, callback);

															

		using System;
using System.Diagnostics;
using .Api;
using .Client;
using ;

namespace Example
{
    public class getListRegionsByCountry1Example
    {
        public void main()
        {
            
            var apiInstance = new VglobalApi();
            var apiAccount = apiAccount_example;  // String | Consumer Account guid as supplied
            var apiKey = apiKey_example;  // String | Consumer Key guid as supplied
            var countryId = 56;  // Integer | parameter COUNTRYID
            var apiToken = apiToken_example;  // String | ApiToken

            try
            {
                // Get regions
                ApiResponseListRegionTO result = apiInstance.getListRegionsByCountry1(apiAccount, apiKey, countryId, apiToken);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling VglobalApi.getListRegionsByCountry1: " + e.Message );
            }
        }
    }
}

															

		require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new io.swagger.client\Api\VglobalApi();
$apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
$apiKey = apiKey_example; // String | Consumer Key guid as supplied
$countryId = 56; // Integer | parameter COUNTRYID
$apiToken = apiToken_example; // String | ApiToken

try {
    $result = $api_instance->getListRegionsByCountry1($apiAccount, $apiKey, $countryId, $apiToken);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling VglobalApi->getListRegionsByCountry1: ', $e->getMessage(), PHP_EOL;
}

														  

Parameters

Path parameters
Name Description
countryId*
Header parameters
Name Description
apiAccount*
apiKey*
apiToken*

Responses

Status: 200 - successful operation


getListSitesByGroup1

List Sites By Group example call - /v2/global/listSitesByGroup/1/


/v2/global/listSitesByGroup/{groupId}

Usage and SDK Samples


		curl -X get "https://localhost/GlobalApi/v2/global/listSitesByGroup/{groupId}"


		

		import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import .VglobalApi;

import java.io.File;
import java.util.*;

public class VglobalApiExample {

    public static void main(String[] args) {
        
        VglobalApi apiInstance = new VglobalApi();
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        Long groupId = 789; // Long | parameter GROUP
        String apiToken = apiToken_example; // String | ApiToken
        try {
            ApiResponseListViewSiteByGroup result = apiInstance.getListSitesByGroup1(apiAccount, apiKey, groupId, apiToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VglobalApi#getListSitesByGroup1");
            e.printStackTrace();
        }
    }
}

														  

		import .VglobalApi;

public class VglobalApiExample {

    public static void main(String[] args) {
        VglobalApi apiInstance = new VglobalApi();
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        Long groupId = 789; // Long | parameter GROUP
        String apiToken = apiToken_example; // String | ApiToken
        try {
            ApiResponseListViewSiteByGroup result = apiInstance.getListSitesByGroup1(apiAccount, apiKey, groupId, apiToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VglobalApi#getListSitesByGroup1");
            e.printStackTrace();
        }
    }
}

														  

		
String *apiAccount = apiAccount_example; // Consumer Account guid as supplied
String *apiKey = apiKey_example; // Consumer Key guid as supplied
Long *groupId = 789; // parameter GROUP
String *apiToken = apiToken_example; // ApiToken

VglobalApi *apiInstance = [[VglobalApi alloc] init];

// Get sites
[apiInstance getListSitesByGroup1With:apiAccount
    apiKey:apiKey
    groupId:groupId
    apiToken:apiToken
              completionHandler: ^(ApiResponseListViewSiteByGroup output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];

															

		var  = require('');

var api = new .VglobalApi()

var apiAccount = apiAccount_example; // {String} Consumer Account guid as supplied

var apiKey = apiKey_example; // {String} Consumer Key guid as supplied

var groupId = 789; // {Long} parameter GROUP

var apiToken = apiToken_example; // {String} ApiToken


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getListSitesByGroup1(apiAccount, apiKey, groupId, apiToken, callback);

															

		using System;
using System.Diagnostics;
using .Api;
using .Client;
using ;

namespace Example
{
    public class getListSitesByGroup1Example
    {
        public void main()
        {
            
            var apiInstance = new VglobalApi();
            var apiAccount = apiAccount_example;  // String | Consumer Account guid as supplied
            var apiKey = apiKey_example;  // String | Consumer Key guid as supplied
            var groupId = 789;  // Long | parameter GROUP
            var apiToken = apiToken_example;  // String | ApiToken

            try
            {
                // Get sites
                ApiResponseListViewSiteByGroup result = apiInstance.getListSitesByGroup1(apiAccount, apiKey, groupId, apiToken);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling VglobalApi.getListSitesByGroup1: " + e.Message );
            }
        }
    }
}

															

		require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new io.swagger.client\Api\VglobalApi();
$apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
$apiKey = apiKey_example; // String | Consumer Key guid as supplied
$groupId = 789; // Long | parameter GROUP
$apiToken = apiToken_example; // String | ApiToken

try {
    $result = $api_instance->getListSitesByGroup1($apiAccount, $apiKey, $groupId, $apiToken);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling VglobalApi->getListSitesByGroup1: ', $e->getMessage(), PHP_EOL;
}

														  

Parameters

Path parameters
Name Description
groupId*
Header parameters
Name Description
apiAccount*
apiKey*
apiToken*

Responses

Status: 200 - successful operation


getUpdatePmsPassword1

Update PMS Password example call - /v2/global/updatePMSPassword/5/10034/password/


/v2/global/updatePMSPassword/{groupId}/{uId}/{pass}

Usage and SDK Samples


		curl -X get "https://localhost/GlobalApi/v2/global/updatePMSPassword/{groupId}/{uId}/{pass}"


		

		import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import .VglobalApi;

import java.io.File;
import java.util.*;

public class VglobalApiExample {

    public static void main(String[] args) {
        
        VglobalApi apiInstance = new VglobalApi();
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        Long groupId = 789; // Long | parameter GROUP
        Long uId = 789; // Long | parameter UID
        String pass = pass_example; // String | parameter PASS
        String apiToken = apiToken_example; // String | ApiToken
        try {
            ApiResponseContactVetUserTO result = apiInstance.getUpdatePmsPassword1(apiAccount, apiKey, groupId, uId, pass, apiToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VglobalApi#getUpdatePmsPassword1");
            e.printStackTrace();
        }
    }
}

														  

		import .VglobalApi;

public class VglobalApiExample {

    public static void main(String[] args) {
        VglobalApi apiInstance = new VglobalApi();
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        Long groupId = 789; // Long | parameter GROUP
        Long uId = 789; // Long | parameter UID
        String pass = pass_example; // String | parameter PASS
        String apiToken = apiToken_example; // String | ApiToken
        try {
            ApiResponseContactVetUserTO result = apiInstance.getUpdatePmsPassword1(apiAccount, apiKey, groupId, uId, pass, apiToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VglobalApi#getUpdatePmsPassword1");
            e.printStackTrace();
        }
    }
}

														  

		
String *apiAccount = apiAccount_example; // Consumer Account guid as supplied
String *apiKey = apiKey_example; // Consumer Key guid as supplied
Long *groupId = 789; // parameter GROUP
Long *uId = 789; // parameter UID
String *pass = pass_example; // parameter PASS
String *apiToken = apiToken_example; // ApiToken

VglobalApi *apiInstance = [[VglobalApi alloc] init];

// Update PMS password
[apiInstance getUpdatePmsPassword1With:apiAccount
    apiKey:apiKey
    groupId:groupId
    uId:uId
    pass:pass
    apiToken:apiToken
              completionHandler: ^(ApiResponseContactVetUserTO output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];

															

		var  = require('');

var api = new .VglobalApi()

var apiAccount = apiAccount_example; // {String} Consumer Account guid as supplied

var apiKey = apiKey_example; // {String} Consumer Key guid as supplied

var groupId = 789; // {Long} parameter GROUP

var uId = 789; // {Long} parameter UID

var pass = pass_example; // {String} parameter PASS

var apiToken = apiToken_example; // {String} ApiToken


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getUpdatePmsPassword1(apiAccount, apiKey, groupId, uId, pass, apiToken, callback);

															

		using System;
using System.Diagnostics;
using .Api;
using .Client;
using ;

namespace Example
{
    public class getUpdatePmsPassword1Example
    {
        public void main()
        {
            
            var apiInstance = new VglobalApi();
            var apiAccount = apiAccount_example;  // String | Consumer Account guid as supplied
            var apiKey = apiKey_example;  // String | Consumer Key guid as supplied
            var groupId = 789;  // Long | parameter GROUP
            var uId = 789;  // Long | parameter UID
            var pass = pass_example;  // String | parameter PASS
            var apiToken = apiToken_example;  // String | ApiToken

            try
            {
                // Update PMS password
                ApiResponseContactVetUserTO result = apiInstance.getUpdatePmsPassword1(apiAccount, apiKey, groupId, uId, pass, apiToken);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling VglobalApi.getUpdatePmsPassword1: " + e.Message );
            }
        }
    }
}

															

		require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new io.swagger.client\Api\VglobalApi();
$apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
$apiKey = apiKey_example; // String | Consumer Key guid as supplied
$groupId = 789; // Long | parameter GROUP
$uId = 789; // Long | parameter UID
$pass = pass_example; // String | parameter PASS
$apiToken = apiToken_example; // String | ApiToken

try {
    $result = $api_instance->getUpdatePmsPassword1($apiAccount, $apiKey, $groupId, $uId, $pass, $apiToken);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling VglobalApi->getUpdatePmsPassword1: ', $e->getMessage(), PHP_EOL;
}

														  

Parameters

Path parameters
Name Description
groupId*
uId*
pass*
Header parameters
Name Description
apiAccount*
apiKey*
apiToken*

Responses

Status: 200 - successful operation


getValidMethods1

returns the list of valid methods example call -/v2/global/validMethods/


/v2/global/validMethods

Usage and SDK Samples


		curl -X get "https://localhost/GlobalApi/v2/global/validMethods"


		

		import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import .VglobalApi;

import java.io.File;
import java.util.*;

public class VglobalApiExample {

    public static void main(String[] args) {
        
        VglobalApi apiInstance = new VglobalApi();
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        String apiToken = apiToken_example; // String | ApiToken
        try {
            ApiResponseList result = apiInstance.getValidMethods1(apiAccount, apiKey, apiToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VglobalApi#getValidMethods1");
            e.printStackTrace();
        }
    }
}

														  

		import .VglobalApi;

public class VglobalApiExample {

    public static void main(String[] args) {
        VglobalApi apiInstance = new VglobalApi();
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        String apiToken = apiToken_example; // String | ApiToken
        try {
            ApiResponseList result = apiInstance.getValidMethods1(apiAccount, apiKey, apiToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VglobalApi#getValidMethods1");
            e.printStackTrace();
        }
    }
}

														  

		
String *apiAccount = apiAccount_example; // Consumer Account guid as supplied
String *apiKey = apiKey_example; // Consumer Key guid as supplied
String *apiToken = apiToken_example; // ApiToken

VglobalApi *apiInstance = [[VglobalApi alloc] init];

// Get valid methods
[apiInstance getValidMethods1With:apiAccount
    apiKey:apiKey
    apiToken:apiToken
              completionHandler: ^(ApiResponseList output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];

															

		var  = require('');

var api = new .VglobalApi()

var apiAccount = apiAccount_example; // {String} Consumer Account guid as supplied

var apiKey = apiKey_example; // {String} Consumer Key guid as supplied

var apiToken = apiToken_example; // {String} ApiToken


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getValidMethods1(apiAccount, apiKey, apiToken, callback);

															

		using System;
using System.Diagnostics;
using .Api;
using .Client;
using ;

namespace Example
{
    public class getValidMethods1Example
    {
        public void main()
        {
            
            var apiInstance = new VglobalApi();
            var apiAccount = apiAccount_example;  // String | Consumer Account guid as supplied
            var apiKey = apiKey_example;  // String | Consumer Key guid as supplied
            var apiToken = apiToken_example;  // String | ApiToken

            try
            {
                // Get valid methods
                ApiResponseList result = apiInstance.getValidMethods1(apiAccount, apiKey, apiToken);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling VglobalApi.getValidMethods1: " + e.Message );
            }
        }
    }
}

															

		require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new io.swagger.client\Api\VglobalApi();
$apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
$apiKey = apiKey_example; // String | Consumer Key guid as supplied
$apiToken = apiToken_example; // String | ApiToken

try {
    $result = $api_instance->getValidMethods1($apiAccount, $apiKey, $apiToken);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling VglobalApi->getValidMethods1: ', $e->getMessage(), PHP_EOL;
}

														  

Parameters

Header parameters
Name Description
apiAccount*
apiKey*
apiToken*

Responses

Status: 200 - successful operation


getVetUserSitesByUsername1

Vet User Sites example call - /v2/global/vetUserSites/{uName}/user@domain.co.uk/


/v2/global/vetUserSites/{uName}

Usage and SDK Samples


		curl -X get "https://localhost/GlobalApi/v2/global/vetUserSites/{uName}"


		

		import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import .VglobalApi;

import java.io.File;
import java.util.*;

public class VglobalApiExample {

    public static void main(String[] args) {
        
        VglobalApi apiInstance = new VglobalApi();
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        String uName = uName_example; // String | parameter UNAME
        String apiToken = apiToken_example; // String | ApiToken
        try {
            ApiResponseListApiSiteTO result = apiInstance.getVetUserSitesByUsername1(apiAccount, apiKey, uName, apiToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VglobalApi#getVetUserSitesByUsername1");
            e.printStackTrace();
        }
    }
}

														  

		import .VglobalApi;

public class VglobalApiExample {

    public static void main(String[] args) {
        VglobalApi apiInstance = new VglobalApi();
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        String uName = uName_example; // String | parameter UNAME
        String apiToken = apiToken_example; // String | ApiToken
        try {
            ApiResponseListApiSiteTO result = apiInstance.getVetUserSitesByUsername1(apiAccount, apiKey, uName, apiToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VglobalApi#getVetUserSitesByUsername1");
            e.printStackTrace();
        }
    }
}

														  

		
String *apiAccount = apiAccount_example; // Consumer Account guid as supplied
String *apiKey = apiKey_example; // Consumer Key guid as supplied
String *uName = uName_example; // parameter UNAME
String *apiToken = apiToken_example; // ApiToken

VglobalApi *apiInstance = [[VglobalApi alloc] init];

// Get user sites
[apiInstance getVetUserSitesByUsername1With:apiAccount
    apiKey:apiKey
    uName:uName
    apiToken:apiToken
              completionHandler: ^(ApiResponseListApiSiteTO output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];

															

		var  = require('');

var api = new .VglobalApi()

var apiAccount = apiAccount_example; // {String} Consumer Account guid as supplied

var apiKey = apiKey_example; // {String} Consumer Key guid as supplied

var uName = uName_example; // {String} parameter UNAME

var apiToken = apiToken_example; // {String} ApiToken


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getVetUserSitesByUsername1(apiAccount, apiKey, uName, apiToken, callback);

															

		using System;
using System.Diagnostics;
using .Api;
using .Client;
using ;

namespace Example
{
    public class getVetUserSitesByUsername1Example
    {
        public void main()
        {
            
            var apiInstance = new VglobalApi();
            var apiAccount = apiAccount_example;  // String | Consumer Account guid as supplied
            var apiKey = apiKey_example;  // String | Consumer Key guid as supplied
            var uName = uName_example;  // String | parameter UNAME
            var apiToken = apiToken_example;  // String | ApiToken

            try
            {
                // Get user sites
                ApiResponseListApiSiteTO result = apiInstance.getVetUserSitesByUsername1(apiAccount, apiKey, uName, apiToken);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling VglobalApi.getVetUserSitesByUsername1: " + e.Message );
            }
        }
    }
}

															

		require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new io.swagger.client\Api\VglobalApi();
$apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
$apiKey = apiKey_example; // String | Consumer Key guid as supplied
$uName = uName_example; // String | parameter UNAME
$apiToken = apiToken_example; // String | ApiToken

try {
    $result = $api_instance->getVetUserSitesByUsername1($apiAccount, $apiKey, $uName, $apiToken);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling VglobalApi->getVetUserSitesByUsername1: ', $e->getMessage(), PHP_EOL;
}

														  

Parameters

Path parameters
Name Description
uName*
Header parameters
Name Description
apiAccount*
apiKey*
apiToken*

Responses

Status: 200 - successful operation


postCapture1

create a user account example call -/v2/global/captureUserInfo/{groupId}/{uId}/


/v2/global/captureUserInfo/{groupId}/{uId}

Usage and SDK Samples


		curl -X post "https://localhost/GlobalApi/v2/global/captureUserInfo/{groupId}/{uId}"


		

		import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import .VglobalApi;

import java.io.File;
import java.util.*;

public class VglobalApiExample {

    public static void main(String[] args) {
        
        VglobalApi apiInstance = new VglobalApi();
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        Long groupId = 789; // Long | parameter GROUP
        Long uId = 789; // Long | parameter UID
        String apiToken = apiToken_example; // String | ApiToken
        try {
            ApiResponseApiContactTO result = apiInstance.postCapture1(apiAccount, apiKey, groupId, uId, apiToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VglobalApi#postCapture1");
            e.printStackTrace();
        }
    }
}

														  

		import .VglobalApi;

public class VglobalApiExample {

    public static void main(String[] args) {
        VglobalApi apiInstance = new VglobalApi();
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        Long groupId = 789; // Long | parameter GROUP
        Long uId = 789; // Long | parameter UID
        String apiToken = apiToken_example; // String | ApiToken
        try {
            ApiResponseApiContactTO result = apiInstance.postCapture1(apiAccount, apiKey, groupId, uId, apiToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VglobalApi#postCapture1");
            e.printStackTrace();
        }
    }
}

														  

		
String *apiAccount = apiAccount_example; // Consumer Account guid as supplied
String *apiKey = apiKey_example; // Consumer Key guid as supplied
Long *groupId = 789; // parameter GROUP
Long *uId = 789; // parameter UID
String *apiToken = apiToken_example; // ApiToken

VglobalApi *apiInstance = [[VglobalApi alloc] init];

// Capture user info
[apiInstance postCapture1With:apiAccount
    apiKey:apiKey
    groupId:groupId
    uId:uId
    apiToken:apiToken
              completionHandler: ^(ApiResponseApiContactTO output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];

															

		var  = require('');

var api = new .VglobalApi()

var apiAccount = apiAccount_example; // {String} Consumer Account guid as supplied

var apiKey = apiKey_example; // {String} Consumer Key guid as supplied

var groupId = 789; // {Long} parameter GROUP

var uId = 789; // {Long} parameter UID

var apiToken = apiToken_example; // {String} ApiToken


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.postCapture1(apiAccount, apiKey, groupId, uId, apiToken, callback);

															

		using System;
using System.Diagnostics;
using .Api;
using .Client;
using ;

namespace Example
{
    public class postCapture1Example
    {
        public void main()
        {
            
            var apiInstance = new VglobalApi();
            var apiAccount = apiAccount_example;  // String | Consumer Account guid as supplied
            var apiKey = apiKey_example;  // String | Consumer Key guid as supplied
            var groupId = 789;  // Long | parameter GROUP
            var uId = 789;  // Long | parameter UID
            var apiToken = apiToken_example;  // String | ApiToken

            try
            {
                // Capture user info
                ApiResponseApiContactTO result = apiInstance.postCapture1(apiAccount, apiKey, groupId, uId, apiToken);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling VglobalApi.postCapture1: " + e.Message );
            }
        }
    }
}

															

		require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new io.swagger.client\Api\VglobalApi();
$apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
$apiKey = apiKey_example; // String | Consumer Key guid as supplied
$groupId = 789; // Long | parameter GROUP
$uId = 789; // Long | parameter UID
$apiToken = apiToken_example; // String | ApiToken

try {
    $result = $api_instance->postCapture1($apiAccount, $apiKey, $groupId, $uId, $apiToken);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling VglobalApi->postCapture1: ', $e->getMessage(), PHP_EOL;
}

														  

Parameters

Path parameters
Name Description
groupId*
uId*
Header parameters
Name Description
apiAccount*
apiKey*
apiToken*

Responses

Status: 200 - successful operation


postCreateUserAccount1

create a user account example call -/v2/global/createUserAccount/new@user.com


/v2/global/createUserAccount

Usage and SDK Samples


		curl -X post "https://localhost/GlobalApi/v2/global/createUserAccount"


		

		import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import .VglobalApi;

import java.io.File;
import java.util.*;

public class VglobalApiExample {

    public static void main(String[] args) {
        
        VglobalApi apiInstance = new VglobalApi();
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        String uName = uName_example; // String | parameter UNAME
        String apiToken = apiToken_example; // String | ApiToken
        try {
            ApiResponseContactTO result = apiInstance.postCreateUserAccount1(apiAccount, apiKey, uName, apiToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VglobalApi#postCreateUserAccount1");
            e.printStackTrace();
        }
    }
}

														  

		import .VglobalApi;

public class VglobalApiExample {

    public static void main(String[] args) {
        VglobalApi apiInstance = new VglobalApi();
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        String uName = uName_example; // String | parameter UNAME
        String apiToken = apiToken_example; // String | ApiToken
        try {
            ApiResponseContactTO result = apiInstance.postCreateUserAccount1(apiAccount, apiKey, uName, apiToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VglobalApi#postCreateUserAccount1");
            e.printStackTrace();
        }
    }
}

														  

		
String *apiAccount = apiAccount_example; // Consumer Account guid as supplied
String *apiKey = apiKey_example; // Consumer Key guid as supplied
String *uName = uName_example; // parameter UNAME
String *apiToken = apiToken_example; // ApiToken

VglobalApi *apiInstance = [[VglobalApi alloc] init];

// Create user account
[apiInstance postCreateUserAccount1With:apiAccount
    apiKey:apiKey
    uName:uName
    apiToken:apiToken
              completionHandler: ^(ApiResponseContactTO output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];

															

		var  = require('');

var api = new .VglobalApi()

var apiAccount = apiAccount_example; // {String} Consumer Account guid as supplied

var apiKey = apiKey_example; // {String} Consumer Key guid as supplied

var uName = uName_example; // {String} parameter UNAME

var apiToken = apiToken_example; // {String} ApiToken


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.postCreateUserAccount1(apiAccount, apiKey, uName, apiToken, callback);

															

		using System;
using System.Diagnostics;
using .Api;
using .Client;
using ;

namespace Example
{
    public class postCreateUserAccount1Example
    {
        public void main()
        {
            
            var apiInstance = new VglobalApi();
            var apiAccount = apiAccount_example;  // String | Consumer Account guid as supplied
            var apiKey = apiKey_example;  // String | Consumer Key guid as supplied
            var uName = uName_example;  // String | parameter UNAME
            var apiToken = apiToken_example;  // String | ApiToken

            try
            {
                // Create user account
                ApiResponseContactTO result = apiInstance.postCreateUserAccount1(apiAccount, apiKey, uName, apiToken);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling VglobalApi.postCreateUserAccount1: " + e.Message );
            }
        }
    }
}

															

		require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new io.swagger.client\Api\VglobalApi();
$apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
$apiKey = apiKey_example; // String | Consumer Key guid as supplied
$uName = uName_example; // String | parameter UNAME
$apiToken = apiToken_example; // String | ApiToken

try {
    $result = $api_instance->postCreateUserAccount1($apiAccount, $apiKey, $uName, $apiToken);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling VglobalApi->postCreateUserAccount1: ', $e->getMessage(), PHP_EOL;
}

														  

Parameters

Header parameters
Name Description
apiAccount*
apiKey*
apiToken*

Responses

Status: 200 - successful operation


postCreateUserAccountWithDetails1

create a user account example call -/v2/global/createUserAccount/new@user.com


/v2/global/createUserAccountWithDetails

Usage and SDK Samples


		curl -X post "https://localhost/GlobalApi/v2/global/createUserAccountWithDetails"


		

		import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import .VglobalApi;

import java.io.File;
import java.util.*;

public class VglobalApiExample {

    public static void main(String[] args) {
        
        VglobalApi apiInstance = new VglobalApi();
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        String uName = uName_example; // String | parameter UNAME
        String firstName = firstName_example; // String | parameter firstName
        String middleName = middleName_example; // String | Parameter middleName
        String surname = surname_example; // String | Parameter surname
        String apiToken = apiToken_example; // String | ApiToken
        try {
            ApiResponseContactTO result = apiInstance.postCreateUserAccountWithDetails1(apiAccount, apiKey, uName, firstName, middleName, surname, apiToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VglobalApi#postCreateUserAccountWithDetails1");
            e.printStackTrace();
        }
    }
}

														  

		import .VglobalApi;

public class VglobalApiExample {

    public static void main(String[] args) {
        VglobalApi apiInstance = new VglobalApi();
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        String uName = uName_example; // String | parameter UNAME
        String firstName = firstName_example; // String | parameter firstName
        String middleName = middleName_example; // String | Parameter middleName
        String surname = surname_example; // String | Parameter surname
        String apiToken = apiToken_example; // String | ApiToken
        try {
            ApiResponseContactTO result = apiInstance.postCreateUserAccountWithDetails1(apiAccount, apiKey, uName, firstName, middleName, surname, apiToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VglobalApi#postCreateUserAccountWithDetails1");
            e.printStackTrace();
        }
    }
}

														  

		
String *apiAccount = apiAccount_example; // Consumer Account guid as supplied
String *apiKey = apiKey_example; // Consumer Key guid as supplied
String *uName = uName_example; // parameter UNAME
String *firstName = firstName_example; // parameter firstName
String *middleName = middleName_example; // Parameter middleName
String *surname = surname_example; // Parameter surname
String *apiToken = apiToken_example; // ApiToken

VglobalApi *apiInstance = [[VglobalApi alloc] init];

// Create user account
[apiInstance postCreateUserAccountWithDetails1With:apiAccount
    apiKey:apiKey
    uName:uName
    firstName:firstName
    middleName:middleName
    surname:surname
    apiToken:apiToken
              completionHandler: ^(ApiResponseContactTO output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];

															

		var  = require('');

var api = new .VglobalApi()

var apiAccount = apiAccount_example; // {String} Consumer Account guid as supplied

var apiKey = apiKey_example; // {String} Consumer Key guid as supplied

var uName = uName_example; // {String} parameter UNAME

var firstName = firstName_example; // {String} parameter firstName

var middleName = middleName_example; // {String} Parameter middleName

var surname = surname_example; // {String} Parameter surname

var apiToken = apiToken_example; // {String} ApiToken


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.postCreateUserAccountWithDetails1(apiAccount, apiKey, uName, firstName, middleName, surname, apiToken, callback);

															

		using System;
using System.Diagnostics;
using .Api;
using .Client;
using ;

namespace Example
{
    public class postCreateUserAccountWithDetails1Example
    {
        public void main()
        {
            
            var apiInstance = new VglobalApi();
            var apiAccount = apiAccount_example;  // String | Consumer Account guid as supplied
            var apiKey = apiKey_example;  // String | Consumer Key guid as supplied
            var uName = uName_example;  // String | parameter UNAME
            var firstName = firstName_example;  // String | parameter firstName
            var middleName = middleName_example;  // String | Parameter middleName
            var surname = surname_example;  // String | Parameter surname
            var apiToken = apiToken_example;  // String | ApiToken

            try
            {
                // Create user account
                ApiResponseContactTO result = apiInstance.postCreateUserAccountWithDetails1(apiAccount, apiKey, uName, firstName, middleName, surname, apiToken);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling VglobalApi.postCreateUserAccountWithDetails1: " + e.Message );
            }
        }
    }
}

															

		require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new io.swagger.client\Api\VglobalApi();
$apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
$apiKey = apiKey_example; // String | Consumer Key guid as supplied
$uName = uName_example; // String | parameter UNAME
$firstName = firstName_example; // String | parameter firstName
$middleName = middleName_example; // String | Parameter middleName
$surname = surname_example; // String | Parameter surname
$apiToken = apiToken_example; // String | ApiToken

try {
    $result = $api_instance->postCreateUserAccountWithDetails1($apiAccount, $apiKey, $uName, $firstName, $middleName, $surname, $apiToken);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling VglobalApi->postCreateUserAccountWithDetails1: ', $e->getMessage(), PHP_EOL;
}

														  

Parameters

Header parameters
Name Description
apiAccount*
apiKey*
apiToken*

Responses

Status: 200 - successful operation


vmanagedbookings

bookAppointment1

Book an appointment


/v2/managed-bookings/bookAppointment/{groupId}

Usage and SDK Samples


		curl -X post "https://localhost/GlobalApi/v2/managed-bookings/bookAppointment/{groupId}"


		

		import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import .VmanagedbookingsApi;

import java.io.File;
import java.util.*;

public class VmanagedbookingsApiExample {

    public static void main(String[] args) {
        
        VmanagedbookingsApi apiInstance = new VmanagedbookingsApi();
        Long groupId = 789; // Long | parameter GROUP
        AppointmentParameters body = ; // AppointmentParameters | Appointment details
        String apiToken = apiToken_example; // String | ApiToken
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        try {
            ApiResponseAppointment result = apiInstance.bookAppointment1(groupId, body, apiToken, apiAccount, apiKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VmanagedbookingsApi#bookAppointment1");
            e.printStackTrace();
        }
    }
}

														  

		import .VmanagedbookingsApi;

public class VmanagedbookingsApiExample {

    public static void main(String[] args) {
        VmanagedbookingsApi apiInstance = new VmanagedbookingsApi();
        Long groupId = 789; // Long | parameter GROUP
        AppointmentParameters body = ; // AppointmentParameters | Appointment details
        String apiToken = apiToken_example; // String | ApiToken
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        try {
            ApiResponseAppointment result = apiInstance.bookAppointment1(groupId, body, apiToken, apiAccount, apiKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VmanagedbookingsApi#bookAppointment1");
            e.printStackTrace();
        }
    }
}

														  

		
Long *groupId = 789; // parameter GROUP
AppointmentParameters *body = ; // Appointment details
String *apiToken = apiToken_example; // ApiToken
String *apiAccount = apiAccount_example; // Consumer Account guid as supplied
String *apiKey = apiKey_example; // Consumer Key guid as supplied

VmanagedbookingsApi *apiInstance = [[VmanagedbookingsApi alloc] init];

// Book an appointment
[apiInstance bookAppointment1With:groupId
    body:body
    apiToken:apiToken
    apiAccount:apiAccount
    apiKey:apiKey
              completionHandler: ^(ApiResponseAppointment output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];

															

		var  = require('');

var api = new .VmanagedbookingsApi()

var groupId = 789; // {Long} parameter GROUP

var body = ; // {AppointmentParameters} Appointment details

var apiToken = apiToken_example; // {String} ApiToken

var apiAccount = apiAccount_example; // {String} Consumer Account guid as supplied

var apiKey = apiKey_example; // {String} Consumer Key guid as supplied


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.bookAppointment1(groupId, body, apiToken, apiAccount, apiKey, callback);

															

		using System;
using System.Diagnostics;
using .Api;
using .Client;
using ;

namespace Example
{
    public class bookAppointment1Example
    {
        public void main()
        {
            
            var apiInstance = new VmanagedbookingsApi();
            var groupId = 789;  // Long | parameter GROUP
            var body = new AppointmentParameters(); // AppointmentParameters | Appointment details
            var apiToken = apiToken_example;  // String | ApiToken
            var apiAccount = apiAccount_example;  // String | Consumer Account guid as supplied
            var apiKey = apiKey_example;  // String | Consumer Key guid as supplied

            try
            {
                // Book an appointment
                ApiResponseAppointment result = apiInstance.bookAppointment1(groupId, body, apiToken, apiAccount, apiKey);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling VmanagedbookingsApi.bookAppointment1: " + e.Message );
            }
        }
    }
}

															

		require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new io.swagger.client\Api\VmanagedbookingsApi();
$groupId = 789; // Long | parameter GROUP
$body = ; // AppointmentParameters | Appointment details
$apiToken = apiToken_example; // String | ApiToken
$apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
$apiKey = apiKey_example; // String | Consumer Key guid as supplied

try {
    $result = $api_instance->bookAppointment1($groupId, $body, $apiToken, $apiAccount, $apiKey);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling VmanagedbookingsApi->bookAppointment1: ', $e->getMessage(), PHP_EOL;
}

														  

Parameters

Path parameters
Name Description
groupId*
Header parameters
Name Description
apiToken*
apiAccount*
apiKey*
Body parameters
Name Description
body *

Responses

Status: 200 - successful operation


cancelAppointment1

Cancel an appointment


/v2/managed-bookings/cancelAppointment/{groupId}/{appointmentId}

Usage and SDK Samples


		curl -X post "https://localhost/GlobalApi/v2/managed-bookings/cancelAppointment/{groupId}/{appointmentId}"


		

		import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import .VmanagedbookingsApi;

import java.io.File;
import java.util.*;

public class VmanagedbookingsApiExample {

    public static void main(String[] args) {
        
        VmanagedbookingsApi apiInstance = new VmanagedbookingsApi();
        Long groupId = 789; // Long | parameter GROUP
        Integer appointmentId = 56; // Integer | Id of the appointment
        String apiToken = apiToken_example; // String | ApiToken
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        try {
            ApiResponseAppointment result = apiInstance.cancelAppointment1(groupId, appointmentId, apiToken, apiAccount, apiKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VmanagedbookingsApi#cancelAppointment1");
            e.printStackTrace();
        }
    }
}

														  

		import .VmanagedbookingsApi;

public class VmanagedbookingsApiExample {

    public static void main(String[] args) {
        VmanagedbookingsApi apiInstance = new VmanagedbookingsApi();
        Long groupId = 789; // Long | parameter GROUP
        Integer appointmentId = 56; // Integer | Id of the appointment
        String apiToken = apiToken_example; // String | ApiToken
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        try {
            ApiResponseAppointment result = apiInstance.cancelAppointment1(groupId, appointmentId, apiToken, apiAccount, apiKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VmanagedbookingsApi#cancelAppointment1");
            e.printStackTrace();
        }
    }
}

														  

		
Long *groupId = 789; // parameter GROUP
Integer *appointmentId = 56; // Id of the appointment
String *apiToken = apiToken_example; // ApiToken
String *apiAccount = apiAccount_example; // Consumer Account guid as supplied
String *apiKey = apiKey_example; // Consumer Key guid as supplied

VmanagedbookingsApi *apiInstance = [[VmanagedbookingsApi alloc] init];

// Cancel an appointment
[apiInstance cancelAppointment1With:groupId
    appointmentId:appointmentId
    apiToken:apiToken
    apiAccount:apiAccount
    apiKey:apiKey
              completionHandler: ^(ApiResponseAppointment output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];

															

		var  = require('');

var api = new .VmanagedbookingsApi()

var groupId = 789; // {Long} parameter GROUP

var appointmentId = 56; // {Integer} Id of the appointment

var apiToken = apiToken_example; // {String} ApiToken

var apiAccount = apiAccount_example; // {String} Consumer Account guid as supplied

var apiKey = apiKey_example; // {String} Consumer Key guid as supplied


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.cancelAppointment1(groupId, appointmentId, apiToken, apiAccount, apiKey, callback);

															

		using System;
using System.Diagnostics;
using .Api;
using .Client;
using ;

namespace Example
{
    public class cancelAppointment1Example
    {
        public void main()
        {
            
            var apiInstance = new VmanagedbookingsApi();
            var groupId = 789;  // Long | parameter GROUP
            var appointmentId = 56;  // Integer | Id of the appointment
            var apiToken = apiToken_example;  // String | ApiToken
            var apiAccount = apiAccount_example;  // String | Consumer Account guid as supplied
            var apiKey = apiKey_example;  // String | Consumer Key guid as supplied

            try
            {
                // Cancel an appointment
                ApiResponseAppointment result = apiInstance.cancelAppointment1(groupId, appointmentId, apiToken, apiAccount, apiKey);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling VmanagedbookingsApi.cancelAppointment1: " + e.Message );
            }
        }
    }
}

															

		require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new io.swagger.client\Api\VmanagedbookingsApi();
$groupId = 789; // Long | parameter GROUP
$appointmentId = 56; // Integer | Id of the appointment
$apiToken = apiToken_example; // String | ApiToken
$apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
$apiKey = apiKey_example; // String | Consumer Key guid as supplied

try {
    $result = $api_instance->cancelAppointment1($groupId, $appointmentId, $apiToken, $apiAccount, $apiKey);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling VmanagedbookingsApi->cancelAppointment1: ', $e->getMessage(), PHP_EOL;
}

														  

Parameters

Path parameters
Name Description
groupId*
appointmentId*
Header parameters
Name Description
apiToken*
apiAccount*
apiKey*

Responses

Status: 200 - successful operation


getAppointmentReasons1

Get a list of appointment reasons for a given site


/v2/managed-bookings/getAppointmentReasons/{groupId}/{siteId}

Usage and SDK Samples


		curl -X get "https://localhost/GlobalApi/v2/managed-bookings/getAppointmentReasons/{groupId}/{siteId}"


		

		import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import .VmanagedbookingsApi;

import java.io.File;
import java.util.*;

public class VmanagedbookingsApiExample {

    public static void main(String[] args) {
        
        VmanagedbookingsApi apiInstance = new VmanagedbookingsApi();
        Long groupId = 789; // Long | parameter GROUP
        Integer siteId = 56; // Integer | Id of the site
        String apiToken = apiToken_example; // String | ApiToken
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        try {
            ApiResponseListAppointmentReason result = apiInstance.getAppointmentReasons1(groupId, siteId, apiToken, apiAccount, apiKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VmanagedbookingsApi#getAppointmentReasons1");
            e.printStackTrace();
        }
    }
}

														  

		import .VmanagedbookingsApi;

public class VmanagedbookingsApiExample {

    public static void main(String[] args) {
        VmanagedbookingsApi apiInstance = new VmanagedbookingsApi();
        Long groupId = 789; // Long | parameter GROUP
        Integer siteId = 56; // Integer | Id of the site
        String apiToken = apiToken_example; // String | ApiToken
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        try {
            ApiResponseListAppointmentReason result = apiInstance.getAppointmentReasons1(groupId, siteId, apiToken, apiAccount, apiKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VmanagedbookingsApi#getAppointmentReasons1");
            e.printStackTrace();
        }
    }
}

														  

		
Long *groupId = 789; // parameter GROUP
Integer *siteId = 56; // Id of the site
String *apiToken = apiToken_example; // ApiToken
String *apiAccount = apiAccount_example; // Consumer Account guid as supplied
String *apiKey = apiKey_example; // Consumer Key guid as supplied

VmanagedbookingsApi *apiInstance = [[VmanagedbookingsApi alloc] init];

// Get appointment reasons
[apiInstance getAppointmentReasons1With:groupId
    siteId:siteId
    apiToken:apiToken
    apiAccount:apiAccount
    apiKey:apiKey
              completionHandler: ^(ApiResponseListAppointmentReason output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];

															

		var  = require('');

var api = new .VmanagedbookingsApi()

var groupId = 789; // {Long} parameter GROUP

var siteId = 56; // {Integer} Id of the site

var apiToken = apiToken_example; // {String} ApiToken

var apiAccount = apiAccount_example; // {String} Consumer Account guid as supplied

var apiKey = apiKey_example; // {String} Consumer Key guid as supplied


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getAppointmentReasons1(groupId, siteId, apiToken, apiAccount, apiKey, callback);

															

		using System;
using System.Diagnostics;
using .Api;
using .Client;
using ;

namespace Example
{
    public class getAppointmentReasons1Example
    {
        public void main()
        {
            
            var apiInstance = new VmanagedbookingsApi();
            var groupId = 789;  // Long | parameter GROUP
            var siteId = 56;  // Integer | Id of the site
            var apiToken = apiToken_example;  // String | ApiToken
            var apiAccount = apiAccount_example;  // String | Consumer Account guid as supplied
            var apiKey = apiKey_example;  // String | Consumer Key guid as supplied

            try
            {
                // Get appointment reasons
                ApiResponseListAppointmentReason result = apiInstance.getAppointmentReasons1(groupId, siteId, apiToken, apiAccount, apiKey);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling VmanagedbookingsApi.getAppointmentReasons1: " + e.Message );
            }
        }
    }
}

															

		require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new io.swagger.client\Api\VmanagedbookingsApi();
$groupId = 789; // Long | parameter GROUP
$siteId = 56; // Integer | Id of the site
$apiToken = apiToken_example; // String | ApiToken
$apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
$apiKey = apiKey_example; // String | Consumer Key guid as supplied

try {
    $result = $api_instance->getAppointmentReasons1($groupId, $siteId, $apiToken, $apiAccount, $apiKey);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling VmanagedbookingsApi->getAppointmentReasons1: ', $e->getMessage(), PHP_EOL;
}

														  

Parameters

Path parameters
Name Description
groupId*
siteId*
Header parameters
Name Description
apiToken*
apiAccount*
apiKey*

Responses

Status: 200 - successful operation


getAppointments1

Get a list of appointments for a given client


/v2/managed-bookings/getAppointments/{groupId}/{clientId}

Usage and SDK Samples


		curl -X get "https://localhost/GlobalApi/v2/managed-bookings/getAppointments/{groupId}/{clientId}"


		

		import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import .VmanagedbookingsApi;

import java.io.File;
import java.util.*;

public class VmanagedbookingsApiExample {

    public static void main(String[] args) {
        
        VmanagedbookingsApi apiInstance = new VmanagedbookingsApi();
        Long groupId = 789; // Long | parameter GROUP
        Integer clientId = 56; // Integer | Id of the client
        String apiToken = apiToken_example; // String | ApiToken
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        try {
            ApiResponseListAppointment result = apiInstance.getAppointments1(groupId, clientId, apiToken, apiAccount, apiKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VmanagedbookingsApi#getAppointments1");
            e.printStackTrace();
        }
    }
}

														  

		import .VmanagedbookingsApi;

public class VmanagedbookingsApiExample {

    public static void main(String[] args) {
        VmanagedbookingsApi apiInstance = new VmanagedbookingsApi();
        Long groupId = 789; // Long | parameter GROUP
        Integer clientId = 56; // Integer | Id of the client
        String apiToken = apiToken_example; // String | ApiToken
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        try {
            ApiResponseListAppointment result = apiInstance.getAppointments1(groupId, clientId, apiToken, apiAccount, apiKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VmanagedbookingsApi#getAppointments1");
            e.printStackTrace();
        }
    }
}

														  

		
Long *groupId = 789; // parameter GROUP
Integer *clientId = 56; // Id of the client
String *apiToken = apiToken_example; // ApiToken
String *apiAccount = apiAccount_example; // Consumer Account guid as supplied
String *apiKey = apiKey_example; // Consumer Key guid as supplied

VmanagedbookingsApi *apiInstance = [[VmanagedbookingsApi alloc] init];

// Get appointments for client
[apiInstance getAppointments1With:groupId
    clientId:clientId
    apiToken:apiToken
    apiAccount:apiAccount
    apiKey:apiKey
              completionHandler: ^(ApiResponseListAppointment output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];

															

		var  = require('');

var api = new .VmanagedbookingsApi()

var groupId = 789; // {Long} parameter GROUP

var clientId = 56; // {Integer} Id of the client

var apiToken = apiToken_example; // {String} ApiToken

var apiAccount = apiAccount_example; // {String} Consumer Account guid as supplied

var apiKey = apiKey_example; // {String} Consumer Key guid as supplied


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getAppointments1(groupId, clientId, apiToken, apiAccount, apiKey, callback);

															

		using System;
using System.Diagnostics;
using .Api;
using .Client;
using ;

namespace Example
{
    public class getAppointments1Example
    {
        public void main()
        {
            
            var apiInstance = new VmanagedbookingsApi();
            var groupId = 789;  // Long | parameter GROUP
            var clientId = 56;  // Integer | Id of the client
            var apiToken = apiToken_example;  // String | ApiToken
            var apiAccount = apiAccount_example;  // String | Consumer Account guid as supplied
            var apiKey = apiKey_example;  // String | Consumer Key guid as supplied

            try
            {
                // Get appointments for client
                ApiResponseListAppointment result = apiInstance.getAppointments1(groupId, clientId, apiToken, apiAccount, apiKey);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling VmanagedbookingsApi.getAppointments1: " + e.Message );
            }
        }
    }
}

															

		require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new io.swagger.client\Api\VmanagedbookingsApi();
$groupId = 789; // Long | parameter GROUP
$clientId = 56; // Integer | Id of the client
$apiToken = apiToken_example; // String | ApiToken
$apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
$apiKey = apiKey_example; // String | Consumer Key guid as supplied

try {
    $result = $api_instance->getAppointments1($groupId, $clientId, $apiToken, $apiAccount, $apiKey);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling VmanagedbookingsApi->getAppointments1: ', $e->getMessage(), PHP_EOL;
}

														  

Parameters

Path parameters
Name Description
groupId*
clientId*
Header parameters
Name Description
apiToken*
apiAccount*
apiKey*

Responses

Status: 200 - successful operation


getAvailableAppointments1

Get available appointments for a given period at a particular site


/v2/managed-bookings/getAvailableAppointments/{groupId}/{siteId}/{periodId}

Usage and SDK Samples


		curl -X get "https://localhost/GlobalApi/v2/managed-bookings/getAvailableAppointments/{groupId}/{siteId}/{periodId}"


		

		import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import .VmanagedbookingsApi;

import java.io.File;
import java.util.*;

public class VmanagedbookingsApiExample {

    public static void main(String[] args) {
        
        VmanagedbookingsApi apiInstance = new VmanagedbookingsApi();
        Long groupId = 789; // Long | parameter GROUP
        Integer siteId = 56; // Integer | Id of the site
        Integer periodId = 56; // Integer | periodId
        String apiToken = apiToken_example; // String | ApiToken
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        try {
            ApiResponseListAppointmentSlot result = apiInstance.getAvailableAppointments1(groupId, siteId, periodId, apiToken, apiAccount, apiKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VmanagedbookingsApi#getAvailableAppointments1");
            e.printStackTrace();
        }
    }
}

														  

		import .VmanagedbookingsApi;

public class VmanagedbookingsApiExample {

    public static void main(String[] args) {
        VmanagedbookingsApi apiInstance = new VmanagedbookingsApi();
        Long groupId = 789; // Long | parameter GROUP
        Integer siteId = 56; // Integer | Id of the site
        Integer periodId = 56; // Integer | periodId
        String apiToken = apiToken_example; // String | ApiToken
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        try {
            ApiResponseListAppointmentSlot result = apiInstance.getAvailableAppointments1(groupId, siteId, periodId, apiToken, apiAccount, apiKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VmanagedbookingsApi#getAvailableAppointments1");
            e.printStackTrace();
        }
    }
}

														  

		
Long *groupId = 789; // parameter GROUP
Integer *siteId = 56; // Id of the site
Integer *periodId = 56; // periodId
String *apiToken = apiToken_example; // ApiToken
String *apiAccount = apiAccount_example; // Consumer Account guid as supplied
String *apiKey = apiKey_example; // Consumer Key guid as supplied

VmanagedbookingsApi *apiInstance = [[VmanagedbookingsApi alloc] init];

// Get available appointment slots
[apiInstance getAvailableAppointments1With:groupId
    siteId:siteId
    periodId:periodId
    apiToken:apiToken
    apiAccount:apiAccount
    apiKey:apiKey
              completionHandler: ^(ApiResponseListAppointmentSlot output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];

															

		var  = require('');

var api = new .VmanagedbookingsApi()

var groupId = 789; // {Long} parameter GROUP

var siteId = 56; // {Integer} Id of the site

var periodId = 56; // {Integer} periodId

var apiToken = apiToken_example; // {String} ApiToken

var apiAccount = apiAccount_example; // {String} Consumer Account guid as supplied

var apiKey = apiKey_example; // {String} Consumer Key guid as supplied


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getAvailableAppointments1(groupId, siteId, periodId, apiToken, apiAccount, apiKey, callback);

															

		using System;
using System.Diagnostics;
using .Api;
using .Client;
using ;

namespace Example
{
    public class getAvailableAppointments1Example
    {
        public void main()
        {
            
            var apiInstance = new VmanagedbookingsApi();
            var groupId = 789;  // Long | parameter GROUP
            var siteId = 56;  // Integer | Id of the site
            var periodId = 56;  // Integer | periodId
            var apiToken = apiToken_example;  // String | ApiToken
            var apiAccount = apiAccount_example;  // String | Consumer Account guid as supplied
            var apiKey = apiKey_example;  // String | Consumer Key guid as supplied

            try
            {
                // Get available appointment slots
                ApiResponseListAppointmentSlot result = apiInstance.getAvailableAppointments1(groupId, siteId, periodId, apiToken, apiAccount, apiKey);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling VmanagedbookingsApi.getAvailableAppointments1: " + e.Message );
            }
        }
    }
}

															

		require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new io.swagger.client\Api\VmanagedbookingsApi();
$groupId = 789; // Long | parameter GROUP
$siteId = 56; // Integer | Id of the site
$periodId = 56; // Integer | periodId
$apiToken = apiToken_example; // String | ApiToken
$apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
$apiKey = apiKey_example; // String | Consumer Key guid as supplied

try {
    $result = $api_instance->getAvailableAppointments1($groupId, $siteId, $periodId, $apiToken, $apiAccount, $apiKey);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling VmanagedbookingsApi->getAvailableAppointments1: ', $e->getMessage(), PHP_EOL;
}

														  

Parameters

Path parameters
Name Description
groupId*
siteId*
periodId*
Header parameters
Name Description
apiToken*
apiAccount*
apiKey*

Responses

Status: 200 - successful operation


getClients1

Get a filtered list of clients


/v2/managed-bookings/getClients/{groupId}

Usage and SDK Samples


		curl -X get "https://localhost/GlobalApi/v2/managed-bookings/getClients/{groupId}?surname=&firstName=&petName=&addressNameNumber=&addressLine1=&city=&postalCode=&phoneNumber=&emailAddress="


		

		import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import .VmanagedbookingsApi;

import java.io.File;
import java.util.*;

public class VmanagedbookingsApiExample {

    public static void main(String[] args) {
        
        VmanagedbookingsApi apiInstance = new VmanagedbookingsApi();
        Long groupId = 789; // Long | parameter GROUP
        String apiToken = apiToken_example; // String | ApiToken
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        String surname = surname_example; // String | Surname to search for
        String firstName = firstName_example; // String | First name to search for
        String petName = petName_example; // String | Pet name to search for
        String addressNameNumber = addressNameNumber_example; // String | Address name or number to search for
        String addressLine1 = addressLine1_example; // String | First line of the address to search for
        String city = city_example; // String | City to search for
        String postalCode = postalCode_example; // String | Postal code to search for
        String phoneNumber = phoneNumber_example; // String | Phone number to search for
        String emailAddress = emailAddress_example; // String | Email address to search for
        try {
            ApiResponseListClient result = apiInstance.getClients1(groupId, apiToken, apiAccount, apiKey, surname, firstName, petName, addressNameNumber, addressLine1, city, postalCode, phoneNumber, emailAddress);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VmanagedbookingsApi#getClients1");
            e.printStackTrace();
        }
    }
}

														  

		import .VmanagedbookingsApi;

public class VmanagedbookingsApiExample {

    public static void main(String[] args) {
        VmanagedbookingsApi apiInstance = new VmanagedbookingsApi();
        Long groupId = 789; // Long | parameter GROUP
        String apiToken = apiToken_example; // String | ApiToken
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        String surname = surname_example; // String | Surname to search for
        String firstName = firstName_example; // String | First name to search for
        String petName = petName_example; // String | Pet name to search for
        String addressNameNumber = addressNameNumber_example; // String | Address name or number to search for
        String addressLine1 = addressLine1_example; // String | First line of the address to search for
        String city = city_example; // String | City to search for
        String postalCode = postalCode_example; // String | Postal code to search for
        String phoneNumber = phoneNumber_example; // String | Phone number to search for
        String emailAddress = emailAddress_example; // String | Email address to search for
        try {
            ApiResponseListClient result = apiInstance.getClients1(groupId, apiToken, apiAccount, apiKey, surname, firstName, petName, addressNameNumber, addressLine1, city, postalCode, phoneNumber, emailAddress);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VmanagedbookingsApi#getClients1");
            e.printStackTrace();
        }
    }
}

														  

		
Long *groupId = 789; // parameter GROUP
String *apiToken = apiToken_example; // ApiToken
String *apiAccount = apiAccount_example; // Consumer Account guid as supplied
String *apiKey = apiKey_example; // Consumer Key guid as supplied
String *surname = surname_example; // Surname to search for (optional)
String *firstName = firstName_example; // First name to search for (optional)
String *petName = petName_example; // Pet name to search for (optional)
String *addressNameNumber = addressNameNumber_example; // Address name or number to search for (optional)
String *addressLine1 = addressLine1_example; // First line of the address to search for (optional)
String *city = city_example; // City to search for (optional)
String *postalCode = postalCode_example; // Postal code to search for (optional)
String *phoneNumber = phoneNumber_example; // Phone number to search for (optional)
String *emailAddress = emailAddress_example; // Email address to search for (optional)

VmanagedbookingsApi *apiInstance = [[VmanagedbookingsApi alloc] init];

// Search clients
[apiInstance getClients1With:groupId
    apiToken:apiToken
    apiAccount:apiAccount
    apiKey:apiKey
    surname:surname
    firstName:firstName
    petName:petName
    addressNameNumber:addressNameNumber
    addressLine1:addressLine1
    city:city
    postalCode:postalCode
    phoneNumber:phoneNumber
    emailAddress:emailAddress
              completionHandler: ^(ApiResponseListClient output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];

															

		var  = require('');

var api = new .VmanagedbookingsApi()

var groupId = 789; // {Long} parameter GROUP

var apiToken = apiToken_example; // {String} ApiToken

var apiAccount = apiAccount_example; // {String} Consumer Account guid as supplied

var apiKey = apiKey_example; // {String} Consumer Key guid as supplied

var opts = { 
  'surname': surname_example, // {String} Surname to search for
  'firstName': firstName_example, // {String} First name to search for
  'petName': petName_example, // {String} Pet name to search for
  'addressNameNumber': addressNameNumber_example, // {String} Address name or number to search for
  'addressLine1': addressLine1_example, // {String} First line of the address to search for
  'city': city_example, // {String} City to search for
  'postalCode': postalCode_example, // {String} Postal code to search for
  'phoneNumber': phoneNumber_example, // {String} Phone number to search for
  'emailAddress': emailAddress_example // {String} Email address to search for
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getClients1(groupId, apiToken, apiAccount, apiKey, opts, callback);

															

		using System;
using System.Diagnostics;
using .Api;
using .Client;
using ;

namespace Example
{
    public class getClients1Example
    {
        public void main()
        {
            
            var apiInstance = new VmanagedbookingsApi();
            var groupId = 789;  // Long | parameter GROUP
            var apiToken = apiToken_example;  // String | ApiToken
            var apiAccount = apiAccount_example;  // String | Consumer Account guid as supplied
            var apiKey = apiKey_example;  // String | Consumer Key guid as supplied
            var surname = surname_example;  // String | Surname to search for (optional) 
            var firstName = firstName_example;  // String | First name to search for (optional) 
            var petName = petName_example;  // String | Pet name to search for (optional) 
            var addressNameNumber = addressNameNumber_example;  // String | Address name or number to search for (optional) 
            var addressLine1 = addressLine1_example;  // String | First line of the address to search for (optional) 
            var city = city_example;  // String | City to search for (optional) 
            var postalCode = postalCode_example;  // String | Postal code to search for (optional) 
            var phoneNumber = phoneNumber_example;  // String | Phone number to search for (optional) 
            var emailAddress = emailAddress_example;  // String | Email address to search for (optional) 

            try
            {
                // Search clients
                ApiResponseListClient result = apiInstance.getClients1(groupId, apiToken, apiAccount, apiKey, surname, firstName, petName, addressNameNumber, addressLine1, city, postalCode, phoneNumber, emailAddress);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling VmanagedbookingsApi.getClients1: " + e.Message );
            }
        }
    }
}

															

		require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new io.swagger.client\Api\VmanagedbookingsApi();
$groupId = 789; // Long | parameter GROUP
$apiToken = apiToken_example; // String | ApiToken
$apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
$apiKey = apiKey_example; // String | Consumer Key guid as supplied
$surname = surname_example; // String | Surname to search for
$firstName = firstName_example; // String | First name to search for
$petName = petName_example; // String | Pet name to search for
$addressNameNumber = addressNameNumber_example; // String | Address name or number to search for
$addressLine1 = addressLine1_example; // String | First line of the address to search for
$city = city_example; // String | City to search for
$postalCode = postalCode_example; // String | Postal code to search for
$phoneNumber = phoneNumber_example; // String | Phone number to search for
$emailAddress = emailAddress_example; // String | Email address to search for

try {
    $result = $api_instance->getClients1($groupId, $apiToken, $apiAccount, $apiKey, $surname, $firstName, $petName, $addressNameNumber, $addressLine1, $city, $postalCode, $phoneNumber, $emailAddress);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling VmanagedbookingsApi->getClients1: ', $e->getMessage(), PHP_EOL;
}

														  

Parameters

Path parameters
Name Description
groupId*
Header parameters
Name Description
apiToken*
apiAccount*
apiKey*
Query parameters
Name Description
surname
firstName
petName
addressNameNumber
addressLine1
city
postalCode
phoneNumber
emailAddress

Responses

Status: 200 - successful operation


getPets1

Get a list of pets for a given client


/v2/managed-bookings/getPets/{groupId}/{clientId}

Usage and SDK Samples


		curl -X get "https://localhost/GlobalApi/v2/managed-bookings/getPets/{groupId}/{clientId}"


		

		import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import .VmanagedbookingsApi;

import java.io.File;
import java.util.*;

public class VmanagedbookingsApiExample {

    public static void main(String[] args) {
        
        VmanagedbookingsApi apiInstance = new VmanagedbookingsApi();
        Long groupId = 789; // Long | parameter GROUP
        Integer clientId = 56; // Integer | Id of the client
        String apiToken = apiToken_example; // String | ApiToken
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        try {
            ApiResponseListPet result = apiInstance.getPets1(groupId, clientId, apiToken, apiAccount, apiKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VmanagedbookingsApi#getPets1");
            e.printStackTrace();
        }
    }
}

														  

		import .VmanagedbookingsApi;

public class VmanagedbookingsApiExample {

    public static void main(String[] args) {
        VmanagedbookingsApi apiInstance = new VmanagedbookingsApi();
        Long groupId = 789; // Long | parameter GROUP
        Integer clientId = 56; // Integer | Id of the client
        String apiToken = apiToken_example; // String | ApiToken
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        try {
            ApiResponseListPet result = apiInstance.getPets1(groupId, clientId, apiToken, apiAccount, apiKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VmanagedbookingsApi#getPets1");
            e.printStackTrace();
        }
    }
}

														  

		
Long *groupId = 789; // parameter GROUP
Integer *clientId = 56; // Id of the client
String *apiToken = apiToken_example; // ApiToken
String *apiAccount = apiAccount_example; // Consumer Account guid as supplied
String *apiKey = apiKey_example; // Consumer Key guid as supplied

VmanagedbookingsApi *apiInstance = [[VmanagedbookingsApi alloc] init];

// Get pets for client
[apiInstance getPets1With:groupId
    clientId:clientId
    apiToken:apiToken
    apiAccount:apiAccount
    apiKey:apiKey
              completionHandler: ^(ApiResponseListPet output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];

															

		var  = require('');

var api = new .VmanagedbookingsApi()

var groupId = 789; // {Long} parameter GROUP

var clientId = 56; // {Integer} Id of the client

var apiToken = apiToken_example; // {String} ApiToken

var apiAccount = apiAccount_example; // {String} Consumer Account guid as supplied

var apiKey = apiKey_example; // {String} Consumer Key guid as supplied


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getPets1(groupId, clientId, apiToken, apiAccount, apiKey, callback);

															

		using System;
using System.Diagnostics;
using .Api;
using .Client;
using ;

namespace Example
{
    public class getPets1Example
    {
        public void main()
        {
            
            var apiInstance = new VmanagedbookingsApi();
            var groupId = 789;  // Long | parameter GROUP
            var clientId = 56;  // Integer | Id of the client
            var apiToken = apiToken_example;  // String | ApiToken
            var apiAccount = apiAccount_example;  // String | Consumer Account guid as supplied
            var apiKey = apiKey_example;  // String | Consumer Key guid as supplied

            try
            {
                // Get pets for client
                ApiResponseListPet result = apiInstance.getPets1(groupId, clientId, apiToken, apiAccount, apiKey);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling VmanagedbookingsApi.getPets1: " + e.Message );
            }
        }
    }
}

															

		require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new io.swagger.client\Api\VmanagedbookingsApi();
$groupId = 789; // Long | parameter GROUP
$clientId = 56; // Integer | Id of the client
$apiToken = apiToken_example; // String | ApiToken
$apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
$apiKey = apiKey_example; // String | Consumer Key guid as supplied

try {
    $result = $api_instance->getPets1($groupId, $clientId, $apiToken, $apiAccount, $apiKey);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling VmanagedbookingsApi->getPets1: ', $e->getMessage(), PHP_EOL;
}

														  

Parameters

Path parameters
Name Description
groupId*
clientId*
Header parameters
Name Description
apiToken*
apiAccount*
apiKey*

Responses

Status: 200 - successful operation


getSites1

Get a list of sites


/v2/managed-bookings/getSites/{groupId}

Usage and SDK Samples


		curl -X get "https://localhost/GlobalApi/v2/managed-bookings/getSites/{groupId}"


		

		import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import .VmanagedbookingsApi;

import java.io.File;
import java.util.*;

public class VmanagedbookingsApiExample {

    public static void main(String[] args) {
        
        VmanagedbookingsApi apiInstance = new VmanagedbookingsApi();
        Long groupId = 789; // Long | parameter GROUP
        String apiToken = apiToken_example; // String | ApiToken
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        try {
            ApiResponseListSite result = apiInstance.getSites1(groupId, apiToken, apiAccount, apiKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VmanagedbookingsApi#getSites1");
            e.printStackTrace();
        }
    }
}

														  

		import .VmanagedbookingsApi;

public class VmanagedbookingsApiExample {

    public static void main(String[] args) {
        VmanagedbookingsApi apiInstance = new VmanagedbookingsApi();
        Long groupId = 789; // Long | parameter GROUP
        String apiToken = apiToken_example; // String | ApiToken
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        try {
            ApiResponseListSite result = apiInstance.getSites1(groupId, apiToken, apiAccount, apiKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VmanagedbookingsApi#getSites1");
            e.printStackTrace();
        }
    }
}

														  

		
Long *groupId = 789; // parameter GROUP
String *apiToken = apiToken_example; // ApiToken
String *apiAccount = apiAccount_example; // Consumer Account guid as supplied
String *apiKey = apiKey_example; // Consumer Key guid as supplied

VmanagedbookingsApi *apiInstance = [[VmanagedbookingsApi alloc] init];

// Get sites
[apiInstance getSites1With:groupId
    apiToken:apiToken
    apiAccount:apiAccount
    apiKey:apiKey
              completionHandler: ^(ApiResponseListSite output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];

															

		var  = require('');

var api = new .VmanagedbookingsApi()

var groupId = 789; // {Long} parameter GROUP

var apiToken = apiToken_example; // {String} ApiToken

var apiAccount = apiAccount_example; // {String} Consumer Account guid as supplied

var apiKey = apiKey_example; // {String} Consumer Key guid as supplied


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getSites1(groupId, apiToken, apiAccount, apiKey, callback);

															

		using System;
using System.Diagnostics;
using .Api;
using .Client;
using ;

namespace Example
{
    public class getSites1Example
    {
        public void main()
        {
            
            var apiInstance = new VmanagedbookingsApi();
            var groupId = 789;  // Long | parameter GROUP
            var apiToken = apiToken_example;  // String | ApiToken
            var apiAccount = apiAccount_example;  // String | Consumer Account guid as supplied
            var apiKey = apiKey_example;  // String | Consumer Key guid as supplied

            try
            {
                // Get sites
                ApiResponseListSite result = apiInstance.getSites1(groupId, apiToken, apiAccount, apiKey);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling VmanagedbookingsApi.getSites1: " + e.Message );
            }
        }
    }
}

															

		require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new io.swagger.client\Api\VmanagedbookingsApi();
$groupId = 789; // Long | parameter GROUP
$apiToken = apiToken_example; // String | ApiToken
$apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
$apiKey = apiKey_example; // String | Consumer Key guid as supplied

try {
    $result = $api_instance->getSites1($groupId, $apiToken, $apiAccount, $apiKey);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling VmanagedbookingsApi->getSites1: ', $e->getMessage(), PHP_EOL;
}

														  

Parameters

Path parameters
Name Description
groupId*
Header parameters
Name Description
apiToken*
apiAccount*
apiKey*

Responses

Status: 200 - successful operation


updateAppointment1

Update an appointment


/v2/managed-bookings/updateAppointment/{groupId}/{appointmentId}

Usage and SDK Samples


		curl -X post "https://localhost/GlobalApi/v2/managed-bookings/updateAppointment/{groupId}/{appointmentId}"


		

		import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import .VmanagedbookingsApi;

import java.io.File;
import java.util.*;

public class VmanagedbookingsApiExample {

    public static void main(String[] args) {
        
        VmanagedbookingsApi apiInstance = new VmanagedbookingsApi();
        Long groupId = 789; // Long | parameter GROUP
        Integer appointmentId = 56; // Integer | Id of the appointment
        AppointmentParameters body = ; // AppointmentParameters | Appointment details
        String apiToken = apiToken_example; // String | ApiToken
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        try {
            ApiResponseAppointment result = apiInstance.updateAppointment1(groupId, appointmentId, body, apiToken, apiAccount, apiKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VmanagedbookingsApi#updateAppointment1");
            e.printStackTrace();
        }
    }
}

														  

		import .VmanagedbookingsApi;

public class VmanagedbookingsApiExample {

    public static void main(String[] args) {
        VmanagedbookingsApi apiInstance = new VmanagedbookingsApi();
        Long groupId = 789; // Long | parameter GROUP
        Integer appointmentId = 56; // Integer | Id of the appointment
        AppointmentParameters body = ; // AppointmentParameters | Appointment details
        String apiToken = apiToken_example; // String | ApiToken
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        try {
            ApiResponseAppointment result = apiInstance.updateAppointment1(groupId, appointmentId, body, apiToken, apiAccount, apiKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VmanagedbookingsApi#updateAppointment1");
            e.printStackTrace();
        }
    }
}

														  

		
Long *groupId = 789; // parameter GROUP
Integer *appointmentId = 56; // Id of the appointment
AppointmentParameters *body = ; // Appointment details
String *apiToken = apiToken_example; // ApiToken
String *apiAccount = apiAccount_example; // Consumer Account guid as supplied
String *apiKey = apiKey_example; // Consumer Key guid as supplied

VmanagedbookingsApi *apiInstance = [[VmanagedbookingsApi alloc] init];

// Update and appointment
[apiInstance updateAppointment1With:groupId
    appointmentId:appointmentId
    body:body
    apiToken:apiToken
    apiAccount:apiAccount
    apiKey:apiKey
              completionHandler: ^(ApiResponseAppointment output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];

															

		var  = require('');

var api = new .VmanagedbookingsApi()

var groupId = 789; // {Long} parameter GROUP

var appointmentId = 56; // {Integer} Id of the appointment

var body = ; // {AppointmentParameters} Appointment details

var apiToken = apiToken_example; // {String} ApiToken

var apiAccount = apiAccount_example; // {String} Consumer Account guid as supplied

var apiKey = apiKey_example; // {String} Consumer Key guid as supplied


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.updateAppointment1(groupId, appointmentId, body, apiToken, apiAccount, apiKey, callback);

															

		using System;
using System.Diagnostics;
using .Api;
using .Client;
using ;

namespace Example
{
    public class updateAppointment1Example
    {
        public void main()
        {
            
            var apiInstance = new VmanagedbookingsApi();
            var groupId = 789;  // Long | parameter GROUP
            var appointmentId = 56;  // Integer | Id of the appointment
            var body = new AppointmentParameters(); // AppointmentParameters | Appointment details
            var apiToken = apiToken_example;  // String | ApiToken
            var apiAccount = apiAccount_example;  // String | Consumer Account guid as supplied
            var apiKey = apiKey_example;  // String | Consumer Key guid as supplied

            try
            {
                // Update and appointment
                ApiResponseAppointment result = apiInstance.updateAppointment1(groupId, appointmentId, body, apiToken, apiAccount, apiKey);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling VmanagedbookingsApi.updateAppointment1: " + e.Message );
            }
        }
    }
}

															

		require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new io.swagger.client\Api\VmanagedbookingsApi();
$groupId = 789; // Long | parameter GROUP
$appointmentId = 56; // Integer | Id of the appointment
$body = ; // AppointmentParameters | Appointment details
$apiToken = apiToken_example; // String | ApiToken
$apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
$apiKey = apiKey_example; // String | Consumer Key guid as supplied

try {
    $result = $api_instance->updateAppointment1($groupId, $appointmentId, $body, $apiToken, $apiAccount, $apiKey);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling VmanagedbookingsApi->updateAppointment1: ', $e->getMessage(), PHP_EOL;
}

														  

Parameters

Path parameters
Name Description
groupId*
appointmentId*
Header parameters
Name Description
apiToken*
apiAccount*
apiKey*
Body parameters
Name Description
body *

Responses

Status: 200 - successful operation


vmobile

appendDocs

append url of a doc for a treatment id -


/v2/mobile/appendDocs/{groupId}/{siteId}

Usage and SDK Samples


		curl -X put "https://localhost/GlobalApi/v2/mobile/appendDocs/{groupId}/{siteId}"


		

		import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import .VmobileApi;

import java.io.File;
import java.util.*;

public class VmobileApiExample {

    public static void main(String[] args) {
        
        VmobileApi apiInstance = new VmobileApi();
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        Long groupId = 789; // Long | parameter GROUP
        Integer siteId = 56; // Integer | parameter SITEID
        Integer appointmentId = 56; // Integer | Id of the appointment
        Integer treatmentId = 56; // Integer | parameter treatmentId
        String documentUrl = documentUrl_example; // String | parameter url
        String apiToken = apiToken_example; // String | ApiToken
        String apiUserToken = apiUserToken_example; // String | ApiUserToken
        try {
            ApiResponse result = apiInstance.appendDocs(apiAccount, apiKey, groupId, siteId, appointmentId, treatmentId, documentUrl, apiToken, apiUserToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VmobileApi#appendDocs");
            e.printStackTrace();
        }
    }
}

														  

		import .VmobileApi;

public class VmobileApiExample {

    public static void main(String[] args) {
        VmobileApi apiInstance = new VmobileApi();
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        Long groupId = 789; // Long | parameter GROUP
        Integer siteId = 56; // Integer | parameter SITEID
        Integer appointmentId = 56; // Integer | Id of the appointment
        Integer treatmentId = 56; // Integer | parameter treatmentId
        String documentUrl = documentUrl_example; // String | parameter url
        String apiToken = apiToken_example; // String | ApiToken
        String apiUserToken = apiUserToken_example; // String | ApiUserToken
        try {
            ApiResponse result = apiInstance.appendDocs(apiAccount, apiKey, groupId, siteId, appointmentId, treatmentId, documentUrl, apiToken, apiUserToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VmobileApi#appendDocs");
            e.printStackTrace();
        }
    }
}

														  

		
String *apiAccount = apiAccount_example; // Consumer Account guid as supplied
String *apiKey = apiKey_example; // Consumer Key guid as supplied
Long *groupId = 789; // parameter GROUP
Integer *siteId = 56; // parameter SITEID
Integer *appointmentId = 56; // Id of the appointment
Integer *treatmentId = 56; // parameter treatmentId
String *documentUrl = documentUrl_example; // parameter url
String *apiToken = apiToken_example; // ApiToken
String *apiUserToken = apiUserToken_example; // ApiUserToken

VmobileApi *apiInstance = [[VmobileApi alloc] init];

// Append documents
[apiInstance appendDocsWith:apiAccount
    apiKey:apiKey
    groupId:groupId
    siteId:siteId
    appointmentId:appointmentId
    treatmentId:treatmentId
    documentUrl:documentUrl
    apiToken:apiToken
    apiUserToken:apiUserToken
              completionHandler: ^(ApiResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];

															

		var  = require('');

var api = new .VmobileApi()

var apiAccount = apiAccount_example; // {String} Consumer Account guid as supplied

var apiKey = apiKey_example; // {String} Consumer Key guid as supplied

var groupId = 789; // {Long} parameter GROUP

var siteId = 56; // {Integer} parameter SITEID

var appointmentId = 56; // {Integer} Id of the appointment

var treatmentId = 56; // {Integer} parameter treatmentId

var documentUrl = documentUrl_example; // {String} parameter url

var apiToken = apiToken_example; // {String} ApiToken

var apiUserToken = apiUserToken_example; // {String} ApiUserToken


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.appendDocs(apiAccount, apiKey, groupId, siteId, appointmentId, treatmentId, documentUrl, apiToken, apiUserToken, callback);

															

		using System;
using System.Diagnostics;
using .Api;
using .Client;
using ;

namespace Example
{
    public class appendDocsExample
    {
        public void main()
        {
            
            var apiInstance = new VmobileApi();
            var apiAccount = apiAccount_example;  // String | Consumer Account guid as supplied
            var apiKey = apiKey_example;  // String | Consumer Key guid as supplied
            var groupId = 789;  // Long | parameter GROUP
            var siteId = 56;  // Integer | parameter SITEID
            var appointmentId = 56;  // Integer | Id of the appointment
            var treatmentId = 56;  // Integer | parameter treatmentId
            var documentUrl = documentUrl_example;  // String | parameter url
            var apiToken = apiToken_example;  // String | ApiToken
            var apiUserToken = apiUserToken_example;  // String | ApiUserToken

            try
            {
                // Append documents
                ApiResponse result = apiInstance.appendDocs(apiAccount, apiKey, groupId, siteId, appointmentId, treatmentId, documentUrl, apiToken, apiUserToken);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling VmobileApi.appendDocs: " + e.Message );
            }
        }
    }
}

															

		require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new io.swagger.client\Api\VmobileApi();
$apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
$apiKey = apiKey_example; // String | Consumer Key guid as supplied
$groupId = 789; // Long | parameter GROUP
$siteId = 56; // Integer | parameter SITEID
$appointmentId = 56; // Integer | Id of the appointment
$treatmentId = 56; // Integer | parameter treatmentId
$documentUrl = documentUrl_example; // String | parameter url
$apiToken = apiToken_example; // String | ApiToken
$apiUserToken = apiUserToken_example; // String | ApiUserToken

try {
    $result = $api_instance->appendDocs($apiAccount, $apiKey, $groupId, $siteId, $appointmentId, $treatmentId, $documentUrl, $apiToken, $apiUserToken);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling VmobileApi->appendDocs: ', $e->getMessage(), PHP_EOL;
}

														  

Parameters

Path parameters
Name Description
groupId*
siteId*
Header parameters
Name Description
apiAccount*
apiKey*
appointmentId*
treatmentId*
documentUrl*
apiToken*
apiUserToken*

Responses

Status: 200 - successful operation


barCodes

Bar codes retrieval - /retrieveBarCodes/{groupId}/{siteId}/


/v2/mobile/retrieveBarCodes/{groupId}/{siteId}

Usage and SDK Samples


		curl -X get "https://localhost/GlobalApi/v2/mobile/retrieveBarCodes/{groupId}/{siteId}"


		

		import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import .VmobileApi;

import java.io.File;
import java.util.*;

public class VmobileApiExample {

    public static void main(String[] args) {
        
        VmobileApi apiInstance = new VmobileApi();
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        Long groupId = 789; // Long | parameter GROUP
        Integer siteId = 56; // Integer | parameter SITEID
        String apiToken = apiToken_example; // String | ApiToken
        String apiUserToken = apiUserToken_example; // String | ApiUserToken
        try {
            ApiResponseListBarcodeMO result = apiInstance.barCodes(apiAccount, apiKey, groupId, siteId, apiToken, apiUserToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VmobileApi#barCodes");
            e.printStackTrace();
        }
    }
}

														  

		import .VmobileApi;

public class VmobileApiExample {

    public static void main(String[] args) {
        VmobileApi apiInstance = new VmobileApi();
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        Long groupId = 789; // Long | parameter GROUP
        Integer siteId = 56; // Integer | parameter SITEID
        String apiToken = apiToken_example; // String | ApiToken
        String apiUserToken = apiUserToken_example; // String | ApiUserToken
        try {
            ApiResponseListBarcodeMO result = apiInstance.barCodes(apiAccount, apiKey, groupId, siteId, apiToken, apiUserToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VmobileApi#barCodes");
            e.printStackTrace();
        }
    }
}

														  

		
String *apiAccount = apiAccount_example; // Consumer Account guid as supplied
String *apiKey = apiKey_example; // Consumer Key guid as supplied
Long *groupId = 789; // parameter GROUP
Integer *siteId = 56; // parameter SITEID
String *apiToken = apiToken_example; // ApiToken
String *apiUserToken = apiUserToken_example; // ApiUserToken

VmobileApi *apiInstance = [[VmobileApi alloc] init];

// Get barcodes
[apiInstance barCodesWith:apiAccount
    apiKey:apiKey
    groupId:groupId
    siteId:siteId
    apiToken:apiToken
    apiUserToken:apiUserToken
              completionHandler: ^(ApiResponseListBarcodeMO output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];

															

		var  = require('');

var api = new .VmobileApi()

var apiAccount = apiAccount_example; // {String} Consumer Account guid as supplied

var apiKey = apiKey_example; // {String} Consumer Key guid as supplied

var groupId = 789; // {Long} parameter GROUP

var siteId = 56; // {Integer} parameter SITEID

var apiToken = apiToken_example; // {String} ApiToken

var apiUserToken = apiUserToken_example; // {String} ApiUserToken


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.barCodes(apiAccount, apiKey, groupId, siteId, apiToken, apiUserToken, callback);

															

		using System;
using System.Diagnostics;
using .Api;
using .Client;
using ;

namespace Example
{
    public class barCodesExample
    {
        public void main()
        {
            
            var apiInstance = new VmobileApi();
            var apiAccount = apiAccount_example;  // String | Consumer Account guid as supplied
            var apiKey = apiKey_example;  // String | Consumer Key guid as supplied
            var groupId = 789;  // Long | parameter GROUP
            var siteId = 56;  // Integer | parameter SITEID
            var apiToken = apiToken_example;  // String | ApiToken
            var apiUserToken = apiUserToken_example;  // String | ApiUserToken

            try
            {
                // Get barcodes
                ApiResponseListBarcodeMO result = apiInstance.barCodes(apiAccount, apiKey, groupId, siteId, apiToken, apiUserToken);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling VmobileApi.barCodes: " + e.Message );
            }
        }
    }
}

															

		require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new io.swagger.client\Api\VmobileApi();
$apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
$apiKey = apiKey_example; // String | Consumer Key guid as supplied
$groupId = 789; // Long | parameter GROUP
$siteId = 56; // Integer | parameter SITEID
$apiToken = apiToken_example; // String | ApiToken
$apiUserToken = apiUserToken_example; // String | ApiUserToken

try {
    $result = $api_instance->barCodes($apiAccount, $apiKey, $groupId, $siteId, $apiToken, $apiUserToken);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling VmobileApi->barCodes: ', $e->getMessage(), PHP_EOL;
}

														  

Parameters

Path parameters
Name Description
groupId*
siteId*
Header parameters
Name Description
apiAccount*
apiKey*
apiToken*
apiUserToken*

Responses

Status: 200 - successful operation


cancelAppointmentMobile

Cancel Appointment call -


/v2/mobile/cancelAppointment/{groupId}/{apptId}

Usage and SDK Samples


		curl -X get "https://localhost/GlobalApi/v2/mobile/cancelAppointment/{groupId}/{apptId}"


		

		import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import .VmobileApi;

import java.io.File;
import java.util.*;

public class VmobileApiExample {

    public static void main(String[] args) {
        
        VmobileApi apiInstance = new VmobileApi();
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        Long groupId = 789; // Long | parameter GROUP
        String apptId = apptId_example; // String | parameter APPTID
        String apiToken = apiToken_example; // String | ApiToken
        String apiUserToken = apiUserToken_example; // String | ApiUserToken
        try {
            ApiResponse result = apiInstance.cancelAppointmentMobile(apiAccount, apiKey, groupId, apptId, apiToken, apiUserToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VmobileApi#cancelAppointmentMobile");
            e.printStackTrace();
        }
    }
}

														  

		import .VmobileApi;

public class VmobileApiExample {

    public static void main(String[] args) {
        VmobileApi apiInstance = new VmobileApi();
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        Long groupId = 789; // Long | parameter GROUP
        String apptId = apptId_example; // String | parameter APPTID
        String apiToken = apiToken_example; // String | ApiToken
        String apiUserToken = apiUserToken_example; // String | ApiUserToken
        try {
            ApiResponse result = apiInstance.cancelAppointmentMobile(apiAccount, apiKey, groupId, apptId, apiToken, apiUserToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VmobileApi#cancelAppointmentMobile");
            e.printStackTrace();
        }
    }
}

														  

		
String *apiAccount = apiAccount_example; // Consumer Account guid as supplied
String *apiKey = apiKey_example; // Consumer Key guid as supplied
Long *groupId = 789; // parameter GROUP
String *apptId = apptId_example; // parameter APPTID
String *apiToken = apiToken_example; // ApiToken
String *apiUserToken = apiUserToken_example; // ApiUserToken

VmobileApi *apiInstance = [[VmobileApi alloc] init];

// Cancel an appointment
[apiInstance cancelAppointmentMobileWith:apiAccount
    apiKey:apiKey
    groupId:groupId
    apptId:apptId
    apiToken:apiToken
    apiUserToken:apiUserToken
              completionHandler: ^(ApiResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];

															

		var  = require('');

var api = new .VmobileApi()

var apiAccount = apiAccount_example; // {String} Consumer Account guid as supplied

var apiKey = apiKey_example; // {String} Consumer Key guid as supplied

var groupId = 789; // {Long} parameter GROUP

var apptId = apptId_example; // {String} parameter APPTID

var apiToken = apiToken_example; // {String} ApiToken

var apiUserToken = apiUserToken_example; // {String} ApiUserToken


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.cancelAppointmentMobile(apiAccount, apiKey, groupId, apptId, apiToken, apiUserToken, callback);

															

		using System;
using System.Diagnostics;
using .Api;
using .Client;
using ;

namespace Example
{
    public class cancelAppointmentMobileExample
    {
        public void main()
        {
            
            var apiInstance = new VmobileApi();
            var apiAccount = apiAccount_example;  // String | Consumer Account guid as supplied
            var apiKey = apiKey_example;  // String | Consumer Key guid as supplied
            var groupId = 789;  // Long | parameter GROUP
            var apptId = apptId_example;  // String | parameter APPTID
            var apiToken = apiToken_example;  // String | ApiToken
            var apiUserToken = apiUserToken_example;  // String | ApiUserToken

            try
            {
                // Cancel an appointment
                ApiResponse result = apiInstance.cancelAppointmentMobile(apiAccount, apiKey, groupId, apptId, apiToken, apiUserToken);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling VmobileApi.cancelAppointmentMobile: " + e.Message );
            }
        }
    }
}

															

		require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new io.swagger.client\Api\VmobileApi();
$apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
$apiKey = apiKey_example; // String | Consumer Key guid as supplied
$groupId = 789; // Long | parameter GROUP
$apptId = apptId_example; // String | parameter APPTID
$apiToken = apiToken_example; // String | ApiToken
$apiUserToken = apiUserToken_example; // String | ApiUserToken

try {
    $result = $api_instance->cancelAppointmentMobile($apiAccount, $apiKey, $groupId, $apptId, $apiToken, $apiUserToken);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling VmobileApi->cancelAppointmentMobile: ', $e->getMessage(), PHP_EOL;
}

														  

Parameters

Path parameters
Name Description
groupId*
apptId*
Header parameters
Name Description
apiAccount*
apiKey*
apiToken*
apiUserToken*

Responses

Status: 200 - successful operation


clientSearch

search clients -


/v2/mobile/clientSearch/{groupId}/{searchTerm}

Usage and SDK Samples


		curl -X get "https://localhost/GlobalApi/v2/mobile/clientSearch/{groupId}/{searchTerm}"


		

		import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import .VmobileApi;

import java.io.File;
import java.util.*;

public class VmobileApiExample {

    public static void main(String[] args) {
        
        VmobileApi apiInstance = new VmobileApi();
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        Long groupId = 789; // Long | parameter GROUP
        String searchTerm = searchTerm_example; // String | 
        String apiToken = apiToken_example; // String | ApiToken
        String apiUserToken = apiUserToken_example; // String | ApiUserToken
        try {
            ApiResponseListClientMO result = apiInstance.clientSearch(apiAccount, apiKey, groupId, searchTerm, apiToken, apiUserToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VmobileApi#clientSearch");
            e.printStackTrace();
        }
    }
}

														  

		import .VmobileApi;

public class VmobileApiExample {

    public static void main(String[] args) {
        VmobileApi apiInstance = new VmobileApi();
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        Long groupId = 789; // Long | parameter GROUP
        String searchTerm = searchTerm_example; // String | 
        String apiToken = apiToken_example; // String | ApiToken
        String apiUserToken = apiUserToken_example; // String | ApiUserToken
        try {
            ApiResponseListClientMO result = apiInstance.clientSearch(apiAccount, apiKey, groupId, searchTerm, apiToken, apiUserToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VmobileApi#clientSearch");
            e.printStackTrace();
        }
    }
}

														  

		
String *apiAccount = apiAccount_example; // Consumer Account guid as supplied
String *apiKey = apiKey_example; // Consumer Key guid as supplied
Long *groupId = 789; // parameter GROUP
String *searchTerm = searchTerm_example; // 
String *apiToken = apiToken_example; // ApiToken
String *apiUserToken = apiUserToken_example; // ApiUserToken

VmobileApi *apiInstance = [[VmobileApi alloc] init];

// Client search
[apiInstance clientSearchWith:apiAccount
    apiKey:apiKey
    groupId:groupId
    searchTerm:searchTerm
    apiToken:apiToken
    apiUserToken:apiUserToken
              completionHandler: ^(ApiResponseListClientMO output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];

															

		var  = require('');

var api = new .VmobileApi()

var apiAccount = apiAccount_example; // {String} Consumer Account guid as supplied

var apiKey = apiKey_example; // {String} Consumer Key guid as supplied

var groupId = 789; // {Long} parameter GROUP

var searchTerm = searchTerm_example; // {String} 

var apiToken = apiToken_example; // {String} ApiToken

var apiUserToken = apiUserToken_example; // {String} ApiUserToken


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.clientSearch(apiAccount, apiKey, groupId, searchTerm, apiToken, apiUserToken, callback);

															

		using System;
using System.Diagnostics;
using .Api;
using .Client;
using ;

namespace Example
{
    public class clientSearchExample
    {
        public void main()
        {
            
            var apiInstance = new VmobileApi();
            var apiAccount = apiAccount_example;  // String | Consumer Account guid as supplied
            var apiKey = apiKey_example;  // String | Consumer Key guid as supplied
            var groupId = 789;  // Long | parameter GROUP
            var searchTerm = searchTerm_example;  // String | 
            var apiToken = apiToken_example;  // String | ApiToken
            var apiUserToken = apiUserToken_example;  // String | ApiUserToken

            try
            {
                // Client search
                ApiResponseListClientMO result = apiInstance.clientSearch(apiAccount, apiKey, groupId, searchTerm, apiToken, apiUserToken);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling VmobileApi.clientSearch: " + e.Message );
            }
        }
    }
}

															

		require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new io.swagger.client\Api\VmobileApi();
$apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
$apiKey = apiKey_example; // String | Consumer Key guid as supplied
$groupId = 789; // Long | parameter GROUP
$searchTerm = searchTerm_example; // String | 
$apiToken = apiToken_example; // String | ApiToken
$apiUserToken = apiUserToken_example; // String | ApiUserToken

try {
    $result = $api_instance->clientSearch($apiAccount, $apiKey, $groupId, $searchTerm, $apiToken, $apiUserToken);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling VmobileApi->clientSearch: ', $e->getMessage(), PHP_EOL;
}

														  

Parameters

Path parameters
Name Description
groupId*
searchTerm*
Header parameters
Name Description
apiAccount*
apiKey*
apiToken*
apiUserToken*

Responses

Status: 200 - successful operation


connectUserToPmsGroup

Connect user to PMS group -


/v2/mobile/connectUserToPmsGroup/{groupId}/{userId}

Usage and SDK Samples


		curl -X get "https://localhost/GlobalApi/v2/mobile/connectUserToPmsGroup/{groupId}/{userId}"


		

		import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import .VmobileApi;

import java.io.File;
import java.util.*;

public class VmobileApiExample {

    public static void main(String[] args) {
        
        VmobileApi apiInstance = new VmobileApi();
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        Long groupId = 789; // Long | parameter GROUP
        Long userId = 789; // Long | parameter UID
        String apiToken = apiToken_example; // String | ApiToken
        String apiUserToken = apiUserToken_example; // String | ApiUserToken
        try {
            ApiResponse result = apiInstance.connectUserToPmsGroup(apiAccount, apiKey, groupId, userId, apiToken, apiUserToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VmobileApi#connectUserToPmsGroup");
            e.printStackTrace();
        }
    }
}

														  

		import .VmobileApi;

public class VmobileApiExample {

    public static void main(String[] args) {
        VmobileApi apiInstance = new VmobileApi();
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        Long groupId = 789; // Long | parameter GROUP
        Long userId = 789; // Long | parameter UID
        String apiToken = apiToken_example; // String | ApiToken
        String apiUserToken = apiUserToken_example; // String | ApiUserToken
        try {
            ApiResponse result = apiInstance.connectUserToPmsGroup(apiAccount, apiKey, groupId, userId, apiToken, apiUserToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VmobileApi#connectUserToPmsGroup");
            e.printStackTrace();
        }
    }
}

														  

		
String *apiAccount = apiAccount_example; // Consumer Account guid as supplied
String *apiKey = apiKey_example; // Consumer Key guid as supplied
Long *groupId = 789; // parameter GROUP
Long *userId = 789; // parameter UID
String *apiToken = apiToken_example; // ApiToken
String *apiUserToken = apiUserToken_example; // ApiUserToken

VmobileApi *apiInstance = [[VmobileApi alloc] init];

// Connect user to group
[apiInstance connectUserToPmsGroupWith:apiAccount
    apiKey:apiKey
    groupId:groupId
    userId:userId
    apiToken:apiToken
    apiUserToken:apiUserToken
              completionHandler: ^(ApiResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];

															

		var  = require('');

var api = new .VmobileApi()

var apiAccount = apiAccount_example; // {String} Consumer Account guid as supplied

var apiKey = apiKey_example; // {String} Consumer Key guid as supplied

var groupId = 789; // {Long} parameter GROUP

var userId = 789; // {Long} parameter UID

var apiToken = apiToken_example; // {String} ApiToken

var apiUserToken = apiUserToken_example; // {String} ApiUserToken


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.connectUserToPmsGroup(apiAccount, apiKey, groupId, userId, apiToken, apiUserToken, callback);

															

		using System;
using System.Diagnostics;
using .Api;
using .Client;
using ;

namespace Example
{
    public class connectUserToPmsGroupExample
    {
        public void main()
        {
            
            var apiInstance = new VmobileApi();
            var apiAccount = apiAccount_example;  // String | Consumer Account guid as supplied
            var apiKey = apiKey_example;  // String | Consumer Key guid as supplied
            var groupId = 789;  // Long | parameter GROUP
            var userId = 789;  // Long | parameter UID
            var apiToken = apiToken_example;  // String | ApiToken
            var apiUserToken = apiUserToken_example;  // String | ApiUserToken

            try
            {
                // Connect user to group
                ApiResponse result = apiInstance.connectUserToPmsGroup(apiAccount, apiKey, groupId, userId, apiToken, apiUserToken);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling VmobileApi.connectUserToPmsGroup: " + e.Message );
            }
        }
    }
}

															

		require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new io.swagger.client\Api\VmobileApi();
$apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
$apiKey = apiKey_example; // String | Consumer Key guid as supplied
$groupId = 789; // Long | parameter GROUP
$userId = 789; // Long | parameter UID
$apiToken = apiToken_example; // String | ApiToken
$apiUserToken = apiUserToken_example; // String | ApiUserToken

try {
    $result = $api_instance->connectUserToPmsGroup($apiAccount, $apiKey, $groupId, $userId, $apiToken, $apiUserToken);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling VmobileApi->connectUserToPmsGroup: ', $e->getMessage(), PHP_EOL;
}

														  

Parameters

Path parameters
Name Description
groupId*
userId*
Header parameters
Name Description
apiAccount*
apiKey*
apiToken*
apiUserToken*

Responses

Status: 200 - successful operation


getAvailableAppointmentsmobile

Get available appointments for a given period at a particular site.


/v2/mobile/getAvailableAppointments/{groupId}/{siteId}/{periodId}/{practitionerId}

Usage and SDK Samples


		curl -X get "https://localhost/GlobalApi/v2/mobile/getAvailableAppointments/{groupId}/{siteId}/{periodId}/{practitionerId}"


		

		import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import .VmobileApi;

import java.io.File;
import java.util.*;

public class VmobileApiExample {

    public static void main(String[] args) {
        
        VmobileApi apiInstance = new VmobileApi();
        Long groupId = 789; // Long | parameter GROUP
        Integer siteId = 56; // Integer | Id of the site
        Integer periodId = 56; // Integer | periodId
        Integer practitionerId = 56; // Integer | practitionerId
        String apiToken = apiToken_example; // String | ApiToken
        String apiUserToken = apiUserToken_example; // String | ApiUserToken
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        try {
            ApiResponseListAppointmentSlot result = apiInstance.getAvailableAppointmentsmobile(groupId, siteId, periodId, practitionerId, apiToken, apiUserToken, apiAccount, apiKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VmobileApi#getAvailableAppointmentsmobile");
            e.printStackTrace();
        }
    }
}

														  

		import .VmobileApi;

public class VmobileApiExample {

    public static void main(String[] args) {
        VmobileApi apiInstance = new VmobileApi();
        Long groupId = 789; // Long | parameter GROUP
        Integer siteId = 56; // Integer | Id of the site
        Integer periodId = 56; // Integer | periodId
        Integer practitionerId = 56; // Integer | practitionerId
        String apiToken = apiToken_example; // String | ApiToken
        String apiUserToken = apiUserToken_example; // String | ApiUserToken
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        try {
            ApiResponseListAppointmentSlot result = apiInstance.getAvailableAppointmentsmobile(groupId, siteId, periodId, practitionerId, apiToken, apiUserToken, apiAccount, apiKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VmobileApi#getAvailableAppointmentsmobile");
            e.printStackTrace();
        }
    }
}

														  

		
Long *groupId = 789; // parameter GROUP
Integer *siteId = 56; // Id of the site
Integer *periodId = 56; // periodId
Integer *practitionerId = 56; // practitionerId
String *apiToken = apiToken_example; // ApiToken
String *apiUserToken = apiUserToken_example; // ApiUserToken
String *apiAccount = apiAccount_example; // Consumer Account guid as supplied
String *apiKey = apiKey_example; // Consumer Key guid as supplied

VmobileApi *apiInstance = [[VmobileApi alloc] init];

// Get available appointments
[apiInstance getAvailableAppointmentsmobileWith:groupId
    siteId:siteId
    periodId:periodId
    practitionerId:practitionerId
    apiToken:apiToken
    apiUserToken:apiUserToken
    apiAccount:apiAccount
    apiKey:apiKey
              completionHandler: ^(ApiResponseListAppointmentSlot output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];

															

		var  = require('');

var api = new .VmobileApi()

var groupId = 789; // {Long} parameter GROUP

var siteId = 56; // {Integer} Id of the site

var periodId = 56; // {Integer} periodId

var practitionerId = 56; // {Integer} practitionerId

var apiToken = apiToken_example; // {String} ApiToken

var apiUserToken = apiUserToken_example; // {String} ApiUserToken

var apiAccount = apiAccount_example; // {String} Consumer Account guid as supplied

var apiKey = apiKey_example; // {String} Consumer Key guid as supplied


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getAvailableAppointmentsmobile(groupId, siteId, periodId, practitionerId, apiToken, apiUserToken, apiAccount, apiKey, callback);

															

		using System;
using System.Diagnostics;
using .Api;
using .Client;
using ;

namespace Example
{
    public class getAvailableAppointmentsmobileExample
    {
        public void main()
        {
            
            var apiInstance = new VmobileApi();
            var groupId = 789;  // Long | parameter GROUP
            var siteId = 56;  // Integer | Id of the site
            var periodId = 56;  // Integer | periodId
            var practitionerId = 56;  // Integer | practitionerId
            var apiToken = apiToken_example;  // String | ApiToken
            var apiUserToken = apiUserToken_example;  // String | ApiUserToken
            var apiAccount = apiAccount_example;  // String | Consumer Account guid as supplied
            var apiKey = apiKey_example;  // String | Consumer Key guid as supplied

            try
            {
                // Get available appointments
                ApiResponseListAppointmentSlot result = apiInstance.getAvailableAppointmentsmobile(groupId, siteId, periodId, practitionerId, apiToken, apiUserToken, apiAccount, apiKey);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling VmobileApi.getAvailableAppointmentsmobile: " + e.Message );
            }
        }
    }
}

															

		require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new io.swagger.client\Api\VmobileApi();
$groupId = 789; // Long | parameter GROUP
$siteId = 56; // Integer | Id of the site
$periodId = 56; // Integer | periodId
$practitionerId = 56; // Integer | practitionerId
$apiToken = apiToken_example; // String | ApiToken
$apiUserToken = apiUserToken_example; // String | ApiUserToken
$apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
$apiKey = apiKey_example; // String | Consumer Key guid as supplied

try {
    $result = $api_instance->getAvailableAppointmentsmobile($groupId, $siteId, $periodId, $practitionerId, $apiToken, $apiUserToken, $apiAccount, $apiKey);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling VmobileApi->getAvailableAppointmentsmobile: ', $e->getMessage(), PHP_EOL;
}

														  

Parameters

Path parameters
Name Description
groupId*
siteId*
periodId*
practitionerId*
Header parameters
Name Description
apiToken*
apiUserToken*
apiAccount*
apiKey*

Responses

Status: 200 - successful operation


getComposites

Get list of composite treatments -


/v2/mobile/retrieveComposites/{groupId}/{stockCentreId}

Usage and SDK Samples


		curl -X get "https://localhost/GlobalApi/v2/mobile/retrieveComposites/{groupId}/{stockCentreId}"


		

		import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import .VmobileApi;

import java.io.File;
import java.util.*;

public class VmobileApiExample {

    public static void main(String[] args) {
        
        VmobileApi apiInstance = new VmobileApi();
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        Long groupId = 789; // Long | parameter GROUP
        Integer stockCentreId = 56; // Integer | Parameter stockCentreId
        String apiToken = apiToken_example; // String | ApiToken
        String apiUserToken = apiUserToken_example; // String | ApiUserToken
        try {
            ApiResponseListCompositeMO result = apiInstance.getComposites(apiAccount, apiKey, groupId, stockCentreId, apiToken, apiUserToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VmobileApi#getComposites");
            e.printStackTrace();
        }
    }
}

														  

		import .VmobileApi;

public class VmobileApiExample {

    public static void main(String[] args) {
        VmobileApi apiInstance = new VmobileApi();
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        Long groupId = 789; // Long | parameter GROUP
        Integer stockCentreId = 56; // Integer | Parameter stockCentreId
        String apiToken = apiToken_example; // String | ApiToken
        String apiUserToken = apiUserToken_example; // String | ApiUserToken
        try {
            ApiResponseListCompositeMO result = apiInstance.getComposites(apiAccount, apiKey, groupId, stockCentreId, apiToken, apiUserToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VmobileApi#getComposites");
            e.printStackTrace();
        }
    }
}

														  

		
String *apiAccount = apiAccount_example; // Consumer Account guid as supplied
String *apiKey = apiKey_example; // Consumer Key guid as supplied
Long *groupId = 789; // parameter GROUP
Integer *stockCentreId = 56; // Parameter stockCentreId
String *apiToken = apiToken_example; // ApiToken
String *apiUserToken = apiUserToken_example; // ApiUserToken

VmobileApi *apiInstance = [[VmobileApi alloc] init];

// Get composites
[apiInstance getCompositesWith:apiAccount
    apiKey:apiKey
    groupId:groupId
    stockCentreId:stockCentreId
    apiToken:apiToken
    apiUserToken:apiUserToken
              completionHandler: ^(ApiResponseListCompositeMO output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];

															

		var  = require('');

var api = new .VmobileApi()

var apiAccount = apiAccount_example; // {String} Consumer Account guid as supplied

var apiKey = apiKey_example; // {String} Consumer Key guid as supplied

var groupId = 789; // {Long} parameter GROUP

var stockCentreId = 56; // {Integer} Parameter stockCentreId

var apiToken = apiToken_example; // {String} ApiToken

var apiUserToken = apiUserToken_example; // {String} ApiUserToken


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getComposites(apiAccount, apiKey, groupId, stockCentreId, apiToken, apiUserToken, callback);

															

		using System;
using System.Diagnostics;
using .Api;
using .Client;
using ;

namespace Example
{
    public class getCompositesExample
    {
        public void main()
        {
            
            var apiInstance = new VmobileApi();
            var apiAccount = apiAccount_example;  // String | Consumer Account guid as supplied
            var apiKey = apiKey_example;  // String | Consumer Key guid as supplied
            var groupId = 789;  // Long | parameter GROUP
            var stockCentreId = 56;  // Integer | Parameter stockCentreId
            var apiToken = apiToken_example;  // String | ApiToken
            var apiUserToken = apiUserToken_example;  // String | ApiUserToken

            try
            {
                // Get composites
                ApiResponseListCompositeMO result = apiInstance.getComposites(apiAccount, apiKey, groupId, stockCentreId, apiToken, apiUserToken);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling VmobileApi.getComposites: " + e.Message );
            }
        }
    }
}

															

		require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new io.swagger.client\Api\VmobileApi();
$apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
$apiKey = apiKey_example; // String | Consumer Key guid as supplied
$groupId = 789; // Long | parameter GROUP
$stockCentreId = 56; // Integer | Parameter stockCentreId
$apiToken = apiToken_example; // String | ApiToken
$apiUserToken = apiUserToken_example; // String | ApiUserToken

try {
    $result = $api_instance->getComposites($apiAccount, $apiKey, $groupId, $stockCentreId, $apiToken, $apiUserToken);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling VmobileApi->getComposites: ', $e->getMessage(), PHP_EOL;
}

														  

Parameters

Path parameters
Name Description
groupId*
stockCentreId*
Header parameters
Name Description
apiAccount*
apiKey*
apiToken*
apiUserToken*

Responses

Status: 200 - successful operation


getDefaultNotes

get full list since last update -


/v2/mobile/retrieveDefaultNotes/{groupId}/{siteId}

Usage and SDK Samples


		curl -X get "https://localhost/GlobalApi/v2/mobile/retrieveDefaultNotes/{groupId}/{siteId}"


		

		import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import .VmobileApi;

import java.io.File;
import java.util.*;

public class VmobileApiExample {

    public static void main(String[] args) {
        
        VmobileApi apiInstance = new VmobileApi();
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        Long groupId = 789; // Long | parameter GROUP
        Integer siteId = 56; // Integer | parameter SITEID
        String apiToken = apiToken_example; // String | ApiToken
        String apiUserToken = apiUserToken_example; // String | ApiUserToken
        try {
            ApiResponseListDefaultNoteMO result = apiInstance.getDefaultNotes(apiAccount, apiKey, groupId, siteId, apiToken, apiUserToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VmobileApi#getDefaultNotes");
            e.printStackTrace();
        }
    }
}

														  

		import .VmobileApi;

public class VmobileApiExample {

    public static void main(String[] args) {
        VmobileApi apiInstance = new VmobileApi();
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        Long groupId = 789; // Long | parameter GROUP
        Integer siteId = 56; // Integer | parameter SITEID
        String apiToken = apiToken_example; // String | ApiToken
        String apiUserToken = apiUserToken_example; // String | ApiUserToken
        try {
            ApiResponseListDefaultNoteMO result = apiInstance.getDefaultNotes(apiAccount, apiKey, groupId, siteId, apiToken, apiUserToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VmobileApi#getDefaultNotes");
            e.printStackTrace();
        }
    }
}

														  

		
String *apiAccount = apiAccount_example; // Consumer Account guid as supplied
String *apiKey = apiKey_example; // Consumer Key guid as supplied
Long *groupId = 789; // parameter GROUP
Integer *siteId = 56; // parameter SITEID
String *apiToken = apiToken_example; // ApiToken
String *apiUserToken = apiUserToken_example; // ApiUserToken

VmobileApi *apiInstance = [[VmobileApi alloc] init];

// Get default notes
[apiInstance getDefaultNotesWith:apiAccount
    apiKey:apiKey
    groupId:groupId
    siteId:siteId
    apiToken:apiToken
    apiUserToken:apiUserToken
              completionHandler: ^(ApiResponseListDefaultNoteMO output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];

															

		var  = require('');

var api = new .VmobileApi()

var apiAccount = apiAccount_example; // {String} Consumer Account guid as supplied

var apiKey = apiKey_example; // {String} Consumer Key guid as supplied

var groupId = 789; // {Long} parameter GROUP

var siteId = 56; // {Integer} parameter SITEID

var apiToken = apiToken_example; // {String} ApiToken

var apiUserToken = apiUserToken_example; // {String} ApiUserToken


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getDefaultNotes(apiAccount, apiKey, groupId, siteId, apiToken, apiUserToken, callback);

															

		using System;
using System.Diagnostics;
using .Api;
using .Client;
using ;

namespace Example
{
    public class getDefaultNotesExample
    {
        public void main()
        {
            
            var apiInstance = new VmobileApi();
            var apiAccount = apiAccount_example;  // String | Consumer Account guid as supplied
            var apiKey = apiKey_example;  // String | Consumer Key guid as supplied
            var groupId = 789;  // Long | parameter GROUP
            var siteId = 56;  // Integer | parameter SITEID
            var apiToken = apiToken_example;  // String | ApiToken
            var apiUserToken = apiUserToken_example;  // String | ApiUserToken

            try
            {
                // Get default notes
                ApiResponseListDefaultNoteMO result = apiInstance.getDefaultNotes(apiAccount, apiKey, groupId, siteId, apiToken, apiUserToken);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling VmobileApi.getDefaultNotes: " + e.Message );
            }
        }
    }
}

															

		require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new io.swagger.client\Api\VmobileApi();
$apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
$apiKey = apiKey_example; // String | Consumer Key guid as supplied
$groupId = 789; // Long | parameter GROUP
$siteId = 56; // Integer | parameter SITEID
$apiToken = apiToken_example; // String | ApiToken
$apiUserToken = apiUserToken_example; // String | ApiUserToken

try {
    $result = $api_instance->getDefaultNotes($apiAccount, $apiKey, $groupId, $siteId, $apiToken, $apiUserToken);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling VmobileApi->getDefaultNotes: ', $e->getMessage(), PHP_EOL;
}

														  

Parameters

Path parameters
Name Description
groupId*
siteId*
Header parameters
Name Description
apiAccount*
apiKey*
apiToken*
apiUserToken*

Responses

Status: 200 - successful operation


getDiaries

get diaries -


/v2/mobile/retrieveDiaries/{groupId}/{siteId}/{periodId}

Usage and SDK Samples


		curl -X get "https://localhost/GlobalApi/v2/mobile/retrieveDiaries/{groupId}/{siteId}/{periodId}"


		

		import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import .VmobileApi;

import java.io.File;
import java.util.*;

public class VmobileApiExample {

    public static void main(String[] args) {
        
        VmobileApi apiInstance = new VmobileApi();
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        Long groupId = 789; // Long | parameter GROUP
        Integer siteId = 56; // Integer | parameter SITEID
        Long periodId = 789; // Long | parameter PERIODID
        String apiToken = apiToken_example; // String | ApiToken
        String apiUserToken = apiUserToken_example; // String | ApiUserToken
        try {
            ApiResponseListAppointmentSlot result = apiInstance.getDiaries(apiAccount, apiKey, groupId, siteId, periodId, apiToken, apiUserToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VmobileApi#getDiaries");
            e.printStackTrace();
        }
    }
}

														  

		import .VmobileApi;

public class VmobileApiExample {

    public static void main(String[] args) {
        VmobileApi apiInstance = new VmobileApi();
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        Long groupId = 789; // Long | parameter GROUP
        Integer siteId = 56; // Integer | parameter SITEID
        Long periodId = 789; // Long | parameter PERIODID
        String apiToken = apiToken_example; // String | ApiToken
        String apiUserToken = apiUserToken_example; // String | ApiUserToken
        try {
            ApiResponseListAppointmentSlot result = apiInstance.getDiaries(apiAccount, apiKey, groupId, siteId, periodId, apiToken, apiUserToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VmobileApi#getDiaries");
            e.printStackTrace();
        }
    }
}

														  

		
String *apiAccount = apiAccount_example; // Consumer Account guid as supplied
String *apiKey = apiKey_example; // Consumer Key guid as supplied
Long *groupId = 789; // parameter GROUP
Integer *siteId = 56; // parameter SITEID
Long *periodId = 789; // parameter PERIODID
String *apiToken = apiToken_example; // ApiToken
String *apiUserToken = apiUserToken_example; // ApiUserToken

VmobileApi *apiInstance = [[VmobileApi alloc] init];

// Get diaries
[apiInstance getDiariesWith:apiAccount
    apiKey:apiKey
    groupId:groupId
    siteId:siteId
    periodId:periodId
    apiToken:apiToken
    apiUserToken:apiUserToken
              completionHandler: ^(ApiResponseListAppointmentSlot output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];

															

		var  = require('');

var api = new .VmobileApi()

var apiAccount = apiAccount_example; // {String} Consumer Account guid as supplied

var apiKey = apiKey_example; // {String} Consumer Key guid as supplied

var groupId = 789; // {Long} parameter GROUP

var siteId = 56; // {Integer} parameter SITEID

var periodId = 789; // {Long} parameter PERIODID

var apiToken = apiToken_example; // {String} ApiToken

var apiUserToken = apiUserToken_example; // {String} ApiUserToken


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getDiaries(apiAccount, apiKey, groupId, siteId, periodId, apiToken, apiUserToken, callback);

															

		using System;
using System.Diagnostics;
using .Api;
using .Client;
using ;

namespace Example
{
    public class getDiariesExample
    {
        public void main()
        {
            
            var apiInstance = new VmobileApi();
            var apiAccount = apiAccount_example;  // String | Consumer Account guid as supplied
            var apiKey = apiKey_example;  // String | Consumer Key guid as supplied
            var groupId = 789;  // Long | parameter GROUP
            var siteId = 56;  // Integer | parameter SITEID
            var periodId = 789;  // Long | parameter PERIODID
            var apiToken = apiToken_example;  // String | ApiToken
            var apiUserToken = apiUserToken_example;  // String | ApiUserToken

            try
            {
                // Get diaries
                ApiResponseListAppointmentSlot result = apiInstance.getDiaries(apiAccount, apiKey, groupId, siteId, periodId, apiToken, apiUserToken);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling VmobileApi.getDiaries: " + e.Message );
            }
        }
    }
}

															

		require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new io.swagger.client\Api\VmobileApi();
$apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
$apiKey = apiKey_example; // String | Consumer Key guid as supplied
$groupId = 789; // Long | parameter GROUP
$siteId = 56; // Integer | parameter SITEID
$periodId = 789; // Long | parameter PERIODID
$apiToken = apiToken_example; // String | ApiToken
$apiUserToken = apiUserToken_example; // String | ApiUserToken

try {
    $result = $api_instance->getDiaries($apiAccount, $apiKey, $groupId, $siteId, $periodId, $apiToken, $apiUserToken);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling VmobileApi->getDiaries: ', $e->getMessage(), PHP_EOL;
}

														  

Parameters

Path parameters
Name Description
groupId*
siteId*
periodId*
Header parameters
Name Description
apiAccount*
apiKey*
apiToken*
apiUserToken*

Responses

Status: 200 - successful operation


getFullList

get full list -


/v2/mobile/retrieveFullList/{groupId}/{time}/{siteId}

Usage and SDK Samples


		curl -X get "https://localhost/GlobalApi/v2/mobile/retrieveFullList/{groupId}/{time}/{siteId}"


		

		import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import .VmobileApi;

import java.io.File;
import java.util.*;

public class VmobileApiExample {

    public static void main(String[] args) {
        
        VmobileApi apiInstance = new VmobileApi();
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        Long groupId = 789; // Long | parameter GROUP
        Long time = 789; // Long | Parameter time
        Integer siteId = 56; // Integer | parameter SITEID
        String apiToken = apiToken_example; // String | ApiToken
        String apiUserToken = apiUserToken_example; // String | ApiUserToken
        try {
            ApiResponseListDaylistMO result = apiInstance.getFullList(apiAccount, apiKey, groupId, time, siteId, apiToken, apiUserToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VmobileApi#getFullList");
            e.printStackTrace();
        }
    }
}

														  

		import .VmobileApi;

public class VmobileApiExample {

    public static void main(String[] args) {
        VmobileApi apiInstance = new VmobileApi();
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        Long groupId = 789; // Long | parameter GROUP
        Long time = 789; // Long | Parameter time
        Integer siteId = 56; // Integer | parameter SITEID
        String apiToken = apiToken_example; // String | ApiToken
        String apiUserToken = apiUserToken_example; // String | ApiUserToken
        try {
            ApiResponseListDaylistMO result = apiInstance.getFullList(apiAccount, apiKey, groupId, time, siteId, apiToken, apiUserToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VmobileApi#getFullList");
            e.printStackTrace();
        }
    }
}

														  

		
String *apiAccount = apiAccount_example; // Consumer Account guid as supplied
String *apiKey = apiKey_example; // Consumer Key guid as supplied
Long *groupId = 789; // parameter GROUP
Long *time = 789; // Parameter time
Integer *siteId = 56; // parameter SITEID
String *apiToken = apiToken_example; // ApiToken
String *apiUserToken = apiUserToken_example; // ApiUserToken

VmobileApi *apiInstance = [[VmobileApi alloc] init];

// Get full list
[apiInstance getFullListWith:apiAccount
    apiKey:apiKey
    groupId:groupId
    time:time
    siteId:siteId
    apiToken:apiToken
    apiUserToken:apiUserToken
              completionHandler: ^(ApiResponseListDaylistMO output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];

															

		var  = require('');

var api = new .VmobileApi()

var apiAccount = apiAccount_example; // {String} Consumer Account guid as supplied

var apiKey = apiKey_example; // {String} Consumer Key guid as supplied

var groupId = 789; // {Long} parameter GROUP

var time = 789; // {Long} Parameter time

var siteId = 56; // {Integer} parameter SITEID

var apiToken = apiToken_example; // {String} ApiToken

var apiUserToken = apiUserToken_example; // {String} ApiUserToken


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getFullList(apiAccount, apiKey, groupId, time, siteId, apiToken, apiUserToken, callback);

															

		using System;
using System.Diagnostics;
using .Api;
using .Client;
using ;

namespace Example
{
    public class getFullListExample
    {
        public void main()
        {
            
            var apiInstance = new VmobileApi();
            var apiAccount = apiAccount_example;  // String | Consumer Account guid as supplied
            var apiKey = apiKey_example;  // String | Consumer Key guid as supplied
            var groupId = 789;  // Long | parameter GROUP
            var time = 789;  // Long | Parameter time
            var siteId = 56;  // Integer | parameter SITEID
            var apiToken = apiToken_example;  // String | ApiToken
            var apiUserToken = apiUserToken_example;  // String | ApiUserToken

            try
            {
                // Get full list
                ApiResponseListDaylistMO result = apiInstance.getFullList(apiAccount, apiKey, groupId, time, siteId, apiToken, apiUserToken);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling VmobileApi.getFullList: " + e.Message );
            }
        }
    }
}

															

		require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new io.swagger.client\Api\VmobileApi();
$apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
$apiKey = apiKey_example; // String | Consumer Key guid as supplied
$groupId = 789; // Long | parameter GROUP
$time = 789; // Long | Parameter time
$siteId = 56; // Integer | parameter SITEID
$apiToken = apiToken_example; // String | ApiToken
$apiUserToken = apiUserToken_example; // String | ApiUserToken

try {
    $result = $api_instance->getFullList($apiAccount, $apiKey, $groupId, $time, $siteId, $apiToken, $apiUserToken);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling VmobileApi->getFullList: ', $e->getMessage(), PHP_EOL;
}

														  

Parameters

Path parameters
Name Description
groupId*
time*
siteId*
Header parameters
Name Description
apiAccount*
apiKey*
apiToken*
apiUserToken*

Responses

Status: 200 - successful operation


getFullListSince

get full list since last update -


/v2/mobile/retrieveFullListSinceTimestamp/{groupId}/{siteId}/{dateFor}/{lastSyncDate}

Usage and SDK Samples


		curl -X get "https://localhost/GlobalApi/v2/mobile/retrieveFullListSinceTimestamp/{groupId}/{siteId}/{dateFor}/{lastSyncDate}"


		

		import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import .VmobileApi;

import java.io.File;
import java.util.*;

public class VmobileApiExample {

    public static void main(String[] args) {
        
        VmobileApi apiInstance = new VmobileApi();
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        Long groupId = 789; // Long | parameter GROUP
        Integer siteId = 56; // Integer | parameter SITEID
        String dateFor = dateFor_example; // String | parameter dateFor
        String lastSyncDate = lastSyncDate_example; // String | parameter lastSyncDate
        String apiToken = apiToken_example; // String | ApiToken
        String apiUserToken = apiUserToken_example; // String | ApiUserToken
        try {
            ApiResponseListDaylistMO result = apiInstance.getFullListSince(apiAccount, apiKey, groupId, siteId, dateFor, lastSyncDate, apiToken, apiUserToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VmobileApi#getFullListSince");
            e.printStackTrace();
        }
    }
}

														  

		import .VmobileApi;

public class VmobileApiExample {

    public static void main(String[] args) {
        VmobileApi apiInstance = new VmobileApi();
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        Long groupId = 789; // Long | parameter GROUP
        Integer siteId = 56; // Integer | parameter SITEID
        String dateFor = dateFor_example; // String | parameter dateFor
        String lastSyncDate = lastSyncDate_example; // String | parameter lastSyncDate
        String apiToken = apiToken_example; // String | ApiToken
        String apiUserToken = apiUserToken_example; // String | ApiUserToken
        try {
            ApiResponseListDaylistMO result = apiInstance.getFullListSince(apiAccount, apiKey, groupId, siteId, dateFor, lastSyncDate, apiToken, apiUserToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VmobileApi#getFullListSince");
            e.printStackTrace();
        }
    }
}

														  

		
String *apiAccount = apiAccount_example; // Consumer Account guid as supplied
String *apiKey = apiKey_example; // Consumer Key guid as supplied
Long *groupId = 789; // parameter GROUP
Integer *siteId = 56; // parameter SITEID
String *dateFor = dateFor_example; // parameter dateFor
String *lastSyncDate = lastSyncDate_example; // parameter lastSyncDate
String *apiToken = apiToken_example; // ApiToken
String *apiUserToken = apiUserToken_example; // ApiUserToken

VmobileApi *apiInstance = [[VmobileApi alloc] init];

// Get full list since
[apiInstance getFullListSinceWith:apiAccount
    apiKey:apiKey
    groupId:groupId
    siteId:siteId
    dateFor:dateFor
    lastSyncDate:lastSyncDate
    apiToken:apiToken
    apiUserToken:apiUserToken
              completionHandler: ^(ApiResponseListDaylistMO output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];

															

		var  = require('');

var api = new .VmobileApi()

var apiAccount = apiAccount_example; // {String} Consumer Account guid as supplied

var apiKey = apiKey_example; // {String} Consumer Key guid as supplied

var groupId = 789; // {Long} parameter GROUP

var siteId = 56; // {Integer} parameter SITEID

var dateFor = dateFor_example; // {String} parameter dateFor

var lastSyncDate = lastSyncDate_example; // {String} parameter lastSyncDate

var apiToken = apiToken_example; // {String} ApiToken

var apiUserToken = apiUserToken_example; // {String} ApiUserToken


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getFullListSince(apiAccount, apiKey, groupId, siteId, dateFor, lastSyncDate, apiToken, apiUserToken, callback);

															

		using System;
using System.Diagnostics;
using .Api;
using .Client;
using ;

namespace Example
{
    public class getFullListSinceExample
    {
        public void main()
        {
            
            var apiInstance = new VmobileApi();
            var apiAccount = apiAccount_example;  // String | Consumer Account guid as supplied
            var apiKey = apiKey_example;  // String | Consumer Key guid as supplied
            var groupId = 789;  // Long | parameter GROUP
            var siteId = 56;  // Integer | parameter SITEID
            var dateFor = dateFor_example;  // String | parameter dateFor
            var lastSyncDate = lastSyncDate_example;  // String | parameter lastSyncDate
            var apiToken = apiToken_example;  // String | ApiToken
            var apiUserToken = apiUserToken_example;  // String | ApiUserToken

            try
            {
                // Get full list since
                ApiResponseListDaylistMO result = apiInstance.getFullListSince(apiAccount, apiKey, groupId, siteId, dateFor, lastSyncDate, apiToken, apiUserToken);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling VmobileApi.getFullListSince: " + e.Message );
            }
        }
    }
}

															

		require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new io.swagger.client\Api\VmobileApi();
$apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
$apiKey = apiKey_example; // String | Consumer Key guid as supplied
$groupId = 789; // Long | parameter GROUP
$siteId = 56; // Integer | parameter SITEID
$dateFor = dateFor_example; // String | parameter dateFor
$lastSyncDate = lastSyncDate_example; // String | parameter lastSyncDate
$apiToken = apiToken_example; // String | ApiToken
$apiUserToken = apiUserToken_example; // String | ApiUserToken

try {
    $result = $api_instance->getFullListSince($apiAccount, $apiKey, $groupId, $siteId, $dateFor, $lastSyncDate, $apiToken, $apiUserToken);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling VmobileApi->getFullListSince: ', $e->getMessage(), PHP_EOL;
}

														  

Parameters

Path parameters
Name Description
groupId*
siteId*
dateFor*
lastSyncDate*
Header parameters
Name Description
apiAccount*
apiKey*
apiToken*
apiUserToken*

Responses

Status: 200 - successful operation


getPatients

search clients -


/v2/mobile/retrievePatients/{groupId}

Usage and SDK Samples


		curl -X post "https://localhost/GlobalApi/v2/mobile/retrievePatients/{groupId}"


		

		import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import .VmobileApi;

import java.io.File;
import java.util.*;

public class VmobileApiExample {

    public static void main(String[] args) {
        
        VmobileApi apiInstance = new VmobileApi();
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        Long groupId = 789; // Long | parameter GROUP
        String apiToken = apiToken_example; // String | ApiToken
        String apiUserToken = apiUserToken_example; // String | ApiUserToken
        ListPatientIds body = ; // ListPatientIds | 
        try {
            ApiResponseListPatientMO result = apiInstance.getPatients(apiAccount, apiKey, groupId, apiToken, apiUserToken, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VmobileApi#getPatients");
            e.printStackTrace();
        }
    }
}

														  

		import .VmobileApi;

public class VmobileApiExample {

    public static void main(String[] args) {
        VmobileApi apiInstance = new VmobileApi();
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        Long groupId = 789; // Long | parameter GROUP
        String apiToken = apiToken_example; // String | ApiToken
        String apiUserToken = apiUserToken_example; // String | ApiUserToken
        ListPatientIds body = ; // ListPatientIds | 
        try {
            ApiResponseListPatientMO result = apiInstance.getPatients(apiAccount, apiKey, groupId, apiToken, apiUserToken, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VmobileApi#getPatients");
            e.printStackTrace();
        }
    }
}

														  

		
String *apiAccount = apiAccount_example; // Consumer Account guid as supplied
String *apiKey = apiKey_example; // Consumer Key guid as supplied
Long *groupId = 789; // parameter GROUP
String *apiToken = apiToken_example; // ApiToken
String *apiUserToken = apiUserToken_example; // ApiUserToken
ListPatientIds *body = ; //  (optional)

VmobileApi *apiInstance = [[VmobileApi alloc] init];

// Get patients
[apiInstance getPatientsWith:apiAccount
    apiKey:apiKey
    groupId:groupId
    apiToken:apiToken
    apiUserToken:apiUserToken
    body:body
              completionHandler: ^(ApiResponseListPatientMO output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];

															

		var  = require('');

var api = new .VmobileApi()

var apiAccount = apiAccount_example; // {String} Consumer Account guid as supplied

var apiKey = apiKey_example; // {String} Consumer Key guid as supplied

var groupId = 789; // {Long} parameter GROUP

var apiToken = apiToken_example; // {String} ApiToken

var apiUserToken = apiUserToken_example; // {String} ApiUserToken

var opts = { 
  'body':  // {ListPatientIds} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getPatients(apiAccount, apiKey, groupId, apiToken, apiUserToken, opts, callback);

															

		using System;
using System.Diagnostics;
using .Api;
using .Client;
using ;

namespace Example
{
    public class getPatientsExample
    {
        public void main()
        {
            
            var apiInstance = new VmobileApi();
            var apiAccount = apiAccount_example;  // String | Consumer Account guid as supplied
            var apiKey = apiKey_example;  // String | Consumer Key guid as supplied
            var groupId = 789;  // Long | parameter GROUP
            var apiToken = apiToken_example;  // String | ApiToken
            var apiUserToken = apiUserToken_example;  // String | ApiUserToken
            var body = new ListPatientIds(); // ListPatientIds |  (optional) 

            try
            {
                // Get patients
                ApiResponseListPatientMO result = apiInstance.getPatients(apiAccount, apiKey, groupId, apiToken, apiUserToken, body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling VmobileApi.getPatients: " + e.Message );
            }
        }
    }
}

															

		require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new io.swagger.client\Api\VmobileApi();
$apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
$apiKey = apiKey_example; // String | Consumer Key guid as supplied
$groupId = 789; // Long | parameter GROUP
$apiToken = apiToken_example; // String | ApiToken
$apiUserToken = apiUserToken_example; // String | ApiUserToken
$body = ; // ListPatientIds | 

try {
    $result = $api_instance->getPatients($apiAccount, $apiKey, $groupId, $apiToken, $apiUserToken, $body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling VmobileApi->getPatients: ', $e->getMessage(), PHP_EOL;
}

														  

Parameters

Path parameters
Name Description
groupId*
Header parameters
Name Description
apiAccount*
apiKey*
apiToken*
apiUserToken*
Body parameters
Name Description
body

Responses

Status: 200 - successful operation


getPaymentMethods

search clients -


/v2/mobile/retrievePaymentMethods/{groupId}

Usage and SDK Samples


		curl -X get "https://localhost/GlobalApi/v2/mobile/retrievePaymentMethods/{groupId}"


		

		import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import .VmobileApi;

import java.io.File;
import java.util.*;

public class VmobileApiExample {

    public static void main(String[] args) {
        
        VmobileApi apiInstance = new VmobileApi();
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        Long groupId = 789; // Long | parameter GROUP
        String apiToken = apiToken_example; // String | ApiToken
        String apiUserToken = apiUserToken_example; // String | ApiUserToken
        try {
            ApiResponseListPaymentMethodMO result = apiInstance.getPaymentMethods(apiAccount, apiKey, groupId, apiToken, apiUserToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VmobileApi#getPaymentMethods");
            e.printStackTrace();
        }
    }
}

														  

		import .VmobileApi;

public class VmobileApiExample {

    public static void main(String[] args) {
        VmobileApi apiInstance = new VmobileApi();
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        Long groupId = 789; // Long | parameter GROUP
        String apiToken = apiToken_example; // String | ApiToken
        String apiUserToken = apiUserToken_example; // String | ApiUserToken
        try {
            ApiResponseListPaymentMethodMO result = apiInstance.getPaymentMethods(apiAccount, apiKey, groupId, apiToken, apiUserToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VmobileApi#getPaymentMethods");
            e.printStackTrace();
        }
    }
}

														  

		
String *apiAccount = apiAccount_example; // Consumer Account guid as supplied
String *apiKey = apiKey_example; // Consumer Key guid as supplied
Long *groupId = 789; // parameter GROUP
String *apiToken = apiToken_example; // ApiToken
String *apiUserToken = apiUserToken_example; // ApiUserToken

VmobileApi *apiInstance = [[VmobileApi alloc] init];

// Get payment methods
[apiInstance getPaymentMethodsWith:apiAccount
    apiKey:apiKey
    groupId:groupId
    apiToken:apiToken
    apiUserToken:apiUserToken
              completionHandler: ^(ApiResponseListPaymentMethodMO output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];

															

		var  = require('');

var api = new .VmobileApi()

var apiAccount = apiAccount_example; // {String} Consumer Account guid as supplied

var apiKey = apiKey_example; // {String} Consumer Key guid as supplied

var groupId = 789; // {Long} parameter GROUP

var apiToken = apiToken_example; // {String} ApiToken

var apiUserToken = apiUserToken_example; // {String} ApiUserToken


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getPaymentMethods(apiAccount, apiKey, groupId, apiToken, apiUserToken, callback);

															

		using System;
using System.Diagnostics;
using .Api;
using .Client;
using ;

namespace Example
{
    public class getPaymentMethodsExample
    {
        public void main()
        {
            
            var apiInstance = new VmobileApi();
            var apiAccount = apiAccount_example;  // String | Consumer Account guid as supplied
            var apiKey = apiKey_example;  // String | Consumer Key guid as supplied
            var groupId = 789;  // Long | parameter GROUP
            var apiToken = apiToken_example;  // String | ApiToken
            var apiUserToken = apiUserToken_example;  // String | ApiUserToken

            try
            {
                // Get payment methods
                ApiResponseListPaymentMethodMO result = apiInstance.getPaymentMethods(apiAccount, apiKey, groupId, apiToken, apiUserToken);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling VmobileApi.getPaymentMethods: " + e.Message );
            }
        }
    }
}

															

		require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new io.swagger.client\Api\VmobileApi();
$apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
$apiKey = apiKey_example; // String | Consumer Key guid as supplied
$groupId = 789; // Long | parameter GROUP
$apiToken = apiToken_example; // String | ApiToken
$apiUserToken = apiUserToken_example; // String | ApiUserToken

try {
    $result = $api_instance->getPaymentMethods($apiAccount, $apiKey, $groupId, $apiToken, $apiUserToken);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling VmobileApi->getPaymentMethods: ', $e->getMessage(), PHP_EOL;
}

														  

Parameters

Path parameters
Name Description
groupId*
Header parameters
Name Description
apiAccount*
apiKey*
apiToken*
apiUserToken*

Responses

Status: 200 - successful operation


getPetWeights

Pet Weights example call - /petWeights/{groupId}/{uId}/{aniId}/


/v2/mobile/petWeights/{groupId}/{uId}/{aniId}

Usage and SDK Samples


		curl -X get "https://localhost/GlobalApi/v2/mobile/petWeights/{groupId}/{uId}/{aniId}"


		

		import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import .VmobileApi;

import java.io.File;
import java.util.*;

public class VmobileApiExample {

    public static void main(String[] args) {
        
        VmobileApi apiInstance = new VmobileApi();
        String apiAccount = apiAccount_example; // String | Parameter Account
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        Long groupId = 789; // Long | parameter GROUP
        Long uId = 789; // Long | parameter UID
        String aniId = aniId_example; // String | parameter ANIID
        String apiToken = apiToken_example; // String | ApiToken
        String apiUserToken = apiUserToken_example; // String | ApiUserToken
        try {
            ApiResponseList result = apiInstance.getPetWeights(apiAccount, apiKey, groupId, uId, aniId, apiToken, apiUserToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VmobileApi#getPetWeights");
            e.printStackTrace();
        }
    }
}

														  

		import .VmobileApi;

public class VmobileApiExample {

    public static void main(String[] args) {
        VmobileApi apiInstance = new VmobileApi();
        String apiAccount = apiAccount_example; // String | Parameter Account
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        Long groupId = 789; // Long | parameter GROUP
        Long uId = 789; // Long | parameter UID
        String aniId = aniId_example; // String | parameter ANIID
        String apiToken = apiToken_example; // String | ApiToken
        String apiUserToken = apiUserToken_example; // String | ApiUserToken
        try {
            ApiResponseList result = apiInstance.getPetWeights(apiAccount, apiKey, groupId, uId, aniId, apiToken, apiUserToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VmobileApi#getPetWeights");
            e.printStackTrace();
        }
    }
}

														  

		
String *apiAccount = apiAccount_example; // Parameter Account
String *apiKey = apiKey_example; // Consumer Key guid as supplied
Long *groupId = 789; // parameter GROUP
Long *uId = 789; // parameter UID
String *aniId = aniId_example; // parameter ANIID
String *apiToken = apiToken_example; // ApiToken
String *apiUserToken = apiUserToken_example; // ApiUserToken

VmobileApi *apiInstance = [[VmobileApi alloc] init];

// Get pet weights
[apiInstance getPetWeightsWith:apiAccount
    apiKey:apiKey
    groupId:groupId
    uId:uId
    aniId:aniId
    apiToken:apiToken
    apiUserToken:apiUserToken
              completionHandler: ^(ApiResponseList output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];

															

		var  = require('');

var api = new .VmobileApi()

var apiAccount = apiAccount_example; // {String} Parameter Account

var apiKey = apiKey_example; // {String} Consumer Key guid as supplied

var groupId = 789; // {Long} parameter GROUP

var uId = 789; // {Long} parameter UID

var aniId = aniId_example; // {String} parameter ANIID

var apiToken = apiToken_example; // {String} ApiToken

var apiUserToken = apiUserToken_example; // {String} ApiUserToken


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getPetWeights(apiAccount, apiKey, groupId, uId, aniId, apiToken, apiUserToken, callback);

															

		using System;
using System.Diagnostics;
using .Api;
using .Client;
using ;

namespace Example
{
    public class getPetWeightsExample
    {
        public void main()
        {
            
            var apiInstance = new VmobileApi();
            var apiAccount = apiAccount_example;  // String | Parameter Account
            var apiKey = apiKey_example;  // String | Consumer Key guid as supplied
            var groupId = 789;  // Long | parameter GROUP
            var uId = 789;  // Long | parameter UID
            var aniId = aniId_example;  // String | parameter ANIID
            var apiToken = apiToken_example;  // String | ApiToken
            var apiUserToken = apiUserToken_example;  // String | ApiUserToken

            try
            {
                // Get pet weights
                ApiResponseList result = apiInstance.getPetWeights(apiAccount, apiKey, groupId, uId, aniId, apiToken, apiUserToken);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling VmobileApi.getPetWeights: " + e.Message );
            }
        }
    }
}

															

		require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new io.swagger.client\Api\VmobileApi();
$apiAccount = apiAccount_example; // String | Parameter Account
$apiKey = apiKey_example; // String | Consumer Key guid as supplied
$groupId = 789; // Long | parameter GROUP
$uId = 789; // Long | parameter UID
$aniId = aniId_example; // String | parameter ANIID
$apiToken = apiToken_example; // String | ApiToken
$apiUserToken = apiUserToken_example; // String | ApiUserToken

try {
    $result = $api_instance->getPetWeights($apiAccount, $apiKey, $groupId, $uId, $aniId, $apiToken, $apiUserToken);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling VmobileApi->getPetWeights: ', $e->getMessage(), PHP_EOL;
}

														  

Parameters

Path parameters
Name Description
groupId*
uId*
aniId*
Header parameters
Name Description
apiAccount*
apiKey*
apiToken*
apiUserToken*

Responses

Status: 200 - successful operation


getSites

get sites -


/v2/mobile/retrieveSites/{groupId}

Usage and SDK Samples


		curl -X get "https://localhost/GlobalApi/v2/mobile/retrieveSites/{groupId}"


		

		import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import .VmobileApi;

import java.io.File;
import java.util.*;

public class VmobileApiExample {

    public static void main(String[] args) {
        
        VmobileApi apiInstance = new VmobileApi();
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        Long groupId = 789; // Long | parameter GROUP
        String apiToken = apiToken_example; // String | ApiToken
        String apiUserToken = apiUserToken_example; // String | ApiUserToken
        try {
            ApiResponseListSiteMO result = apiInstance.getSites(apiAccount, apiKey, groupId, apiToken, apiUserToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VmobileApi#getSites");
            e.printStackTrace();
        }
    }
}

														  

		import .VmobileApi;

public class VmobileApiExample {

    public static void main(String[] args) {
        VmobileApi apiInstance = new VmobileApi();
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        Long groupId = 789; // Long | parameter GROUP
        String apiToken = apiToken_example; // String | ApiToken
        String apiUserToken = apiUserToken_example; // String | ApiUserToken
        try {
            ApiResponseListSiteMO result = apiInstance.getSites(apiAccount, apiKey, groupId, apiToken, apiUserToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VmobileApi#getSites");
            e.printStackTrace();
        }
    }
}

														  

		
String *apiAccount = apiAccount_example; // Consumer Account guid as supplied
String *apiKey = apiKey_example; // Consumer Key guid as supplied
Long *groupId = 789; // parameter GROUP
String *apiToken = apiToken_example; // ApiToken
String *apiUserToken = apiUserToken_example; // ApiUserToken

VmobileApi *apiInstance = [[VmobileApi alloc] init];

// Get sites
[apiInstance getSitesWith:apiAccount
    apiKey:apiKey
    groupId:groupId
    apiToken:apiToken
    apiUserToken:apiUserToken
              completionHandler: ^(ApiResponseListSiteMO output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];

															

		var  = require('');

var api = new .VmobileApi()

var apiAccount = apiAccount_example; // {String} Consumer Account guid as supplied

var apiKey = apiKey_example; // {String} Consumer Key guid as supplied

var groupId = 789; // {Long} parameter GROUP

var apiToken = apiToken_example; // {String} ApiToken

var apiUserToken = apiUserToken_example; // {String} ApiUserToken


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getSites(apiAccount, apiKey, groupId, apiToken, apiUserToken, callback);

															

		using System;
using System.Diagnostics;
using .Api;
using .Client;
using ;

namespace Example
{
    public class getSitesExample
    {
        public void main()
        {
            
            var apiInstance = new VmobileApi();
            var apiAccount = apiAccount_example;  // String | Consumer Account guid as supplied
            var apiKey = apiKey_example;  // String | Consumer Key guid as supplied
            var groupId = 789;  // Long | parameter GROUP
            var apiToken = apiToken_example;  // String | ApiToken
            var apiUserToken = apiUserToken_example;  // String | ApiUserToken

            try
            {
                // Get sites
                ApiResponseListSiteMO result = apiInstance.getSites(apiAccount, apiKey, groupId, apiToken, apiUserToken);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling VmobileApi.getSites: " + e.Message );
            }
        }
    }
}

															

		require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new io.swagger.client\Api\VmobileApi();
$apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
$apiKey = apiKey_example; // String | Consumer Key guid as supplied
$groupId = 789; // Long | parameter GROUP
$apiToken = apiToken_example; // String | ApiToken
$apiUserToken = apiUserToken_example; // String | ApiUserToken

try {
    $result = $api_instance->getSites($apiAccount, $apiKey, $groupId, $apiToken, $apiUserToken);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling VmobileApi->getSites: ', $e->getMessage(), PHP_EOL;
}

														  

Parameters

Path parameters
Name Description
groupId*
Header parameters
Name Description
apiAccount*
apiKey*
apiToken*
apiUserToken*

Responses

Status: 200 - successful operation


getStockCentres

get stock centres -


/v2/mobile/retrieveStockCentres/{groupId}/{siteId}

Usage and SDK Samples


		curl -X get "https://localhost/GlobalApi/v2/mobile/retrieveStockCentres/{groupId}/{siteId}"


		

		import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import .VmobileApi;

import java.io.File;
import java.util.*;

public class VmobileApiExample {

    public static void main(String[] args) {
        
        VmobileApi apiInstance = new VmobileApi();
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        Long groupId = 789; // Long | parameter GROUP
        Integer siteId = 56; // Integer | parameter SITEID
        String apiToken = apiToken_example; // String | ApiToken
        String apiUserToken = apiUserToken_example; // String | ApiUserToken
        try {
            ApiResponseListStockCentreMO result = apiInstance.getStockCentres(apiAccount, apiKey, groupId, siteId, apiToken, apiUserToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VmobileApi#getStockCentres");
            e.printStackTrace();
        }
    }
}

														  

		import .VmobileApi;

public class VmobileApiExample {

    public static void main(String[] args) {
        VmobileApi apiInstance = new VmobileApi();
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        Long groupId = 789; // Long | parameter GROUP
        Integer siteId = 56; // Integer | parameter SITEID
        String apiToken = apiToken_example; // String | ApiToken
        String apiUserToken = apiUserToken_example; // String | ApiUserToken
        try {
            ApiResponseListStockCentreMO result = apiInstance.getStockCentres(apiAccount, apiKey, groupId, siteId, apiToken, apiUserToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VmobileApi#getStockCentres");
            e.printStackTrace();
        }
    }
}

														  

		
String *apiAccount = apiAccount_example; // Consumer Account guid as supplied
String *apiKey = apiKey_example; // Consumer Key guid as supplied
Long *groupId = 789; // parameter GROUP
Integer *siteId = 56; // parameter SITEID
String *apiToken = apiToken_example; // ApiToken
String *apiUserToken = apiUserToken_example; // ApiUserToken

VmobileApi *apiInstance = [[VmobileApi alloc] init];

// Get stock centres
[apiInstance getStockCentresWith:apiAccount
    apiKey:apiKey
    groupId:groupId
    siteId:siteId
    apiToken:apiToken
    apiUserToken:apiUserToken
              completionHandler: ^(ApiResponseListStockCentreMO output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];

															

		var  = require('');

var api = new .VmobileApi()

var apiAccount = apiAccount_example; // {String} Consumer Account guid as supplied

var apiKey = apiKey_example; // {String} Consumer Key guid as supplied

var groupId = 789; // {Long} parameter GROUP

var siteId = 56; // {Integer} parameter SITEID

var apiToken = apiToken_example; // {String} ApiToken

var apiUserToken = apiUserToken_example; // {String} ApiUserToken


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getStockCentres(apiAccount, apiKey, groupId, siteId, apiToken, apiUserToken, callback);

															

		using System;
using System.Diagnostics;
using .Api;
using .Client;
using ;

namespace Example
{
    public class getStockCentresExample
    {
        public void main()
        {
            
            var apiInstance = new VmobileApi();
            var apiAccount = apiAccount_example;  // String | Consumer Account guid as supplied
            var apiKey = apiKey_example;  // String | Consumer Key guid as supplied
            var groupId = 789;  // Long | parameter GROUP
            var siteId = 56;  // Integer | parameter SITEID
            var apiToken = apiToken_example;  // String | ApiToken
            var apiUserToken = apiUserToken_example;  // String | ApiUserToken

            try
            {
                // Get stock centres
                ApiResponseListStockCentreMO result = apiInstance.getStockCentres(apiAccount, apiKey, groupId, siteId, apiToken, apiUserToken);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling VmobileApi.getStockCentres: " + e.Message );
            }
        }
    }
}

															

		require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new io.swagger.client\Api\VmobileApi();
$apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
$apiKey = apiKey_example; // String | Consumer Key guid as supplied
$groupId = 789; // Long | parameter GROUP
$siteId = 56; // Integer | parameter SITEID
$apiToken = apiToken_example; // String | ApiToken
$apiUserToken = apiUserToken_example; // String | ApiUserToken

try {
    $result = $api_instance->getStockCentres($apiAccount, $apiKey, $groupId, $siteId, $apiToken, $apiUserToken);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling VmobileApi->getStockCentres: ', $e->getMessage(), PHP_EOL;
}

														  

Parameters

Path parameters
Name Description
groupId*
siteId*
Header parameters
Name Description
apiAccount*
apiKey*
apiToken*
apiUserToken*

Responses

Status: 200 - successful operation


getSurgeons

get surgeons -


/v2/mobile/retrieveSurgeons/{groupId}/{siteId}

Usage and SDK Samples


		curl -X get "https://localhost/GlobalApi/v2/mobile/retrieveSurgeons/{groupId}/{siteId}"


		

		import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import .VmobileApi;

import java.io.File;
import java.util.*;

public class VmobileApiExample {

    public static void main(String[] args) {
        
        VmobileApi apiInstance = new VmobileApi();
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        Long groupId = 789; // Long | parameter GROUP
        Integer siteId = 56; // Integer | parameter SITEID
        String apiToken = apiToken_example; // String | ApiToken
        String apiUserToken = apiUserToken_example; // String | ApiUserToken
        try {
            ApiResponseListSurgeonMO result = apiInstance.getSurgeons(apiAccount, apiKey, groupId, siteId, apiToken, apiUserToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VmobileApi#getSurgeons");
            e.printStackTrace();
        }
    }
}

														  

		import .VmobileApi;

public class VmobileApiExample {

    public static void main(String[] args) {
        VmobileApi apiInstance = new VmobileApi();
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        Long groupId = 789; // Long | parameter GROUP
        Integer siteId = 56; // Integer | parameter SITEID
        String apiToken = apiToken_example; // String | ApiToken
        String apiUserToken = apiUserToken_example; // String | ApiUserToken
        try {
            ApiResponseListSurgeonMO result = apiInstance.getSurgeons(apiAccount, apiKey, groupId, siteId, apiToken, apiUserToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VmobileApi#getSurgeons");
            e.printStackTrace();
        }
    }
}

														  

		
String *apiAccount = apiAccount_example; // Consumer Account guid as supplied
String *apiKey = apiKey_example; // Consumer Key guid as supplied
Long *groupId = 789; // parameter GROUP
Integer *siteId = 56; // parameter SITEID
String *apiToken = apiToken_example; // ApiToken
String *apiUserToken = apiUserToken_example; // ApiUserToken

VmobileApi *apiInstance = [[VmobileApi alloc] init];

// Get surgeons
[apiInstance getSurgeonsWith:apiAccount
    apiKey:apiKey
    groupId:groupId
    siteId:siteId
    apiToken:apiToken
    apiUserToken:apiUserToken
              completionHandler: ^(ApiResponseListSurgeonMO output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];

															

		var  = require('');

var api = new .VmobileApi()

var apiAccount = apiAccount_example; // {String} Consumer Account guid as supplied

var apiKey = apiKey_example; // {String} Consumer Key guid as supplied

var groupId = 789; // {Long} parameter GROUP

var siteId = 56; // {Integer} parameter SITEID

var apiToken = apiToken_example; // {String} ApiToken

var apiUserToken = apiUserToken_example; // {String} ApiUserToken


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getSurgeons(apiAccount, apiKey, groupId, siteId, apiToken, apiUserToken, callback);

															

		using System;
using System.Diagnostics;
using .Api;
using .Client;
using ;

namespace Example
{
    public class getSurgeonsExample
    {
        public void main()
        {
            
            var apiInstance = new VmobileApi();
            var apiAccount = apiAccount_example;  // String | Consumer Account guid as supplied
            var apiKey = apiKey_example;  // String | Consumer Key guid as supplied
            var groupId = 789;  // Long | parameter GROUP
            var siteId = 56;  // Integer | parameter SITEID
            var apiToken = apiToken_example;  // String | ApiToken
            var apiUserToken = apiUserToken_example;  // String | ApiUserToken

            try
            {
                // Get surgeons
                ApiResponseListSurgeonMO result = apiInstance.getSurgeons(apiAccount, apiKey, groupId, siteId, apiToken, apiUserToken);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling VmobileApi.getSurgeons: " + e.Message );
            }
        }
    }
}

															

		require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new io.swagger.client\Api\VmobileApi();
$apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
$apiKey = apiKey_example; // String | Consumer Key guid as supplied
$groupId = 789; // Long | parameter GROUP
$siteId = 56; // Integer | parameter SITEID
$apiToken = apiToken_example; // String | ApiToken
$apiUserToken = apiUserToken_example; // String | ApiUserToken

try {
    $result = $api_instance->getSurgeons($apiAccount, $apiKey, $groupId, $siteId, $apiToken, $apiUserToken);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling VmobileApi->getSurgeons: ', $e->getMessage(), PHP_EOL;
}

														  

Parameters

Path parameters
Name Description
groupId*
siteId*
Header parameters
Name Description
apiAccount*
apiKey*
apiToken*
apiUserToken*

Responses

Status: 200 - successful operation


getTaxes

get taxes -


/v2/mobile/retrieveTaxes/{groupId}/{siteId}

Usage and SDK Samples


		curl -X get "https://localhost/GlobalApi/v2/mobile/retrieveTaxes/{groupId}/{siteId}"


		

		import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import .VmobileApi;

import java.io.File;
import java.util.*;

public class VmobileApiExample {

    public static void main(String[] args) {
        
        VmobileApi apiInstance = new VmobileApi();
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        Long groupId = 789; // Long | parameter GROUP
        Integer siteId = 56; // Integer | parameter SITEID
        String apiToken = apiToken_example; // String | ApiToken
        String apiUserToken = apiUserToken_example; // String | ApiUserToken
        try {
            ApiResponseListTaxMO result = apiInstance.getTaxes(apiAccount, apiKey, groupId, siteId, apiToken, apiUserToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VmobileApi#getTaxes");
            e.printStackTrace();
        }
    }
}

														  

		import .VmobileApi;

public class VmobileApiExample {

    public static void main(String[] args) {
        VmobileApi apiInstance = new VmobileApi();
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        Long groupId = 789; // Long | parameter GROUP
        Integer siteId = 56; // Integer | parameter SITEID
        String apiToken = apiToken_example; // String | ApiToken
        String apiUserToken = apiUserToken_example; // String | ApiUserToken
        try {
            ApiResponseListTaxMO result = apiInstance.getTaxes(apiAccount, apiKey, groupId, siteId, apiToken, apiUserToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VmobileApi#getTaxes");
            e.printStackTrace();
        }
    }
}

														  

		
String *apiAccount = apiAccount_example; // Consumer Account guid as supplied
String *apiKey = apiKey_example; // Consumer Key guid as supplied
Long *groupId = 789; // parameter GROUP
Integer *siteId = 56; // parameter SITEID
String *apiToken = apiToken_example; // ApiToken
String *apiUserToken = apiUserToken_example; // ApiUserToken

VmobileApi *apiInstance = [[VmobileApi alloc] init];

// Get taxes
[apiInstance getTaxesWith:apiAccount
    apiKey:apiKey
    groupId:groupId
    siteId:siteId
    apiToken:apiToken
    apiUserToken:apiUserToken
              completionHandler: ^(ApiResponseListTaxMO output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];

															

		var  = require('');

var api = new .VmobileApi()

var apiAccount = apiAccount_example; // {String} Consumer Account guid as supplied

var apiKey = apiKey_example; // {String} Consumer Key guid as supplied

var groupId = 789; // {Long} parameter GROUP

var siteId = 56; // {Integer} parameter SITEID

var apiToken = apiToken_example; // {String} ApiToken

var apiUserToken = apiUserToken_example; // {String} ApiUserToken


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getTaxes(apiAccount, apiKey, groupId, siteId, apiToken, apiUserToken, callback);

															

		using System;
using System.Diagnostics;
using .Api;
using .Client;
using ;

namespace Example
{
    public class getTaxesExample
    {
        public void main()
        {
            
            var apiInstance = new VmobileApi();
            var apiAccount = apiAccount_example;  // String | Consumer Account guid as supplied
            var apiKey = apiKey_example;  // String | Consumer Key guid as supplied
            var groupId = 789;  // Long | parameter GROUP
            var siteId = 56;  // Integer | parameter SITEID
            var apiToken = apiToken_example;  // String | ApiToken
            var apiUserToken = apiUserToken_example;  // String | ApiUserToken

            try
            {
                // Get taxes
                ApiResponseListTaxMO result = apiInstance.getTaxes(apiAccount, apiKey, groupId, siteId, apiToken, apiUserToken);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling VmobileApi.getTaxes: " + e.Message );
            }
        }
    }
}

															

		require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new io.swagger.client\Api\VmobileApi();
$apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
$apiKey = apiKey_example; // String | Consumer Key guid as supplied
$groupId = 789; // Long | parameter GROUP
$siteId = 56; // Integer | parameter SITEID
$apiToken = apiToken_example; // String | ApiToken
$apiUserToken = apiUserToken_example; // String | ApiUserToken

try {
    $result = $api_instance->getTaxes($apiAccount, $apiKey, $groupId, $siteId, $apiToken, $apiUserToken);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling VmobileApi->getTaxes: ', $e->getMessage(), PHP_EOL;
}

														  

Parameters

Path parameters
Name Description
groupId*
siteId*
Header parameters
Name Description
apiAccount*
apiKey*
apiToken*
apiUserToken*

Responses

Status: 200 - successful operation


getTreatCodeTypes

get treat code types -


/v2/mobile/retrieveTreatmentCodeTypes/{groupId}

Usage and SDK Samples


		curl -X get "https://localhost/GlobalApi/v2/mobile/retrieveTreatmentCodeTypes/{groupId}"


		

		import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import .VmobileApi;

import java.io.File;
import java.util.*;

public class VmobileApiExample {

    public static void main(String[] args) {
        
        VmobileApi apiInstance = new VmobileApi();
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        Long groupId = 789; // Long | parameter GROUP
        String apiToken = apiToken_example; // String | ApiToken
        String apiUserToken = apiUserToken_example; // String | ApiUserToken
        try {
            ApiResponseListTreatCodeTypeMO result = apiInstance.getTreatCodeTypes(apiAccount, apiKey, groupId, apiToken, apiUserToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VmobileApi#getTreatCodeTypes");
            e.printStackTrace();
        }
    }
}

														  

		import .VmobileApi;

public class VmobileApiExample {

    public static void main(String[] args) {
        VmobileApi apiInstance = new VmobileApi();
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        Long groupId = 789; // Long | parameter GROUP
        String apiToken = apiToken_example; // String | ApiToken
        String apiUserToken = apiUserToken_example; // String | ApiUserToken
        try {
            ApiResponseListTreatCodeTypeMO result = apiInstance.getTreatCodeTypes(apiAccount, apiKey, groupId, apiToken, apiUserToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VmobileApi#getTreatCodeTypes");
            e.printStackTrace();
        }
    }
}

														  

		
String *apiAccount = apiAccount_example; // Consumer Account guid as supplied
String *apiKey = apiKey_example; // Consumer Key guid as supplied
Long *groupId = 789; // parameter GROUP
String *apiToken = apiToken_example; // ApiToken
String *apiUserToken = apiUserToken_example; // ApiUserToken

VmobileApi *apiInstance = [[VmobileApi alloc] init];

// Get treatment code types
[apiInstance getTreatCodeTypesWith:apiAccount
    apiKey:apiKey
    groupId:groupId
    apiToken:apiToken
    apiUserToken:apiUserToken
              completionHandler: ^(ApiResponseListTreatCodeTypeMO output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];

															

		var  = require('');

var api = new .VmobileApi()

var apiAccount = apiAccount_example; // {String} Consumer Account guid as supplied

var apiKey = apiKey_example; // {String} Consumer Key guid as supplied

var groupId = 789; // {Long} parameter GROUP

var apiToken = apiToken_example; // {String} ApiToken

var apiUserToken = apiUserToken_example; // {String} ApiUserToken


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getTreatCodeTypes(apiAccount, apiKey, groupId, apiToken, apiUserToken, callback);

															

		using System;
using System.Diagnostics;
using .Api;
using .Client;
using ;

namespace Example
{
    public class getTreatCodeTypesExample
    {
        public void main()
        {
            
            var apiInstance = new VmobileApi();
            var apiAccount = apiAccount_example;  // String | Consumer Account guid as supplied
            var apiKey = apiKey_example;  // String | Consumer Key guid as supplied
            var groupId = 789;  // Long | parameter GROUP
            var apiToken = apiToken_example;  // String | ApiToken
            var apiUserToken = apiUserToken_example;  // String | ApiUserToken

            try
            {
                // Get treatment code types
                ApiResponseListTreatCodeTypeMO result = apiInstance.getTreatCodeTypes(apiAccount, apiKey, groupId, apiToken, apiUserToken);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling VmobileApi.getTreatCodeTypes: " + e.Message );
            }
        }
    }
}

															

		require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new io.swagger.client\Api\VmobileApi();
$apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
$apiKey = apiKey_example; // String | Consumer Key guid as supplied
$groupId = 789; // Long | parameter GROUP
$apiToken = apiToken_example; // String | ApiToken
$apiUserToken = apiUserToken_example; // String | ApiUserToken

try {
    $result = $api_instance->getTreatCodeTypes($apiAccount, $apiKey, $groupId, $apiToken, $apiUserToken);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling VmobileApi->getTreatCodeTypes: ', $e->getMessage(), PHP_EOL;
}

														  

Parameters

Path parameters
Name Description
groupId*
Header parameters
Name Description
apiAccount*
apiKey*
apiToken*
apiUserToken*

Responses

Status: 200 - successful operation


getTreatCodes

get treat codes -


/v2/mobile/retrieveTreatmentCodes/{groupId}/{siteId}

Usage and SDK Samples


		curl -X get "https://localhost/GlobalApi/v2/mobile/retrieveTreatmentCodes/{groupId}/{siteId}"


		

		import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import .VmobileApi;

import java.io.File;
import java.util.*;

public class VmobileApiExample {

    public static void main(String[] args) {
        
        VmobileApi apiInstance = new VmobileApi();
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        Long groupId = 789; // Long | parameter GROUP
        Integer siteId = 56; // Integer | parameter SITEID
        String apiToken = apiToken_example; // String | ApiToken
        String apiUserToken = apiUserToken_example; // String | ApiUserToken
        try {
            ApiResponseListTreatCodeMO result = apiInstance.getTreatCodes(apiAccount, apiKey, groupId, siteId, apiToken, apiUserToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VmobileApi#getTreatCodes");
            e.printStackTrace();
        }
    }
}

														  

		import .VmobileApi;

public class VmobileApiExample {

    public static void main(String[] args) {
        VmobileApi apiInstance = new VmobileApi();
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        Long groupId = 789; // Long | parameter GROUP
        Integer siteId = 56; // Integer | parameter SITEID
        String apiToken = apiToken_example; // String | ApiToken
        String apiUserToken = apiUserToken_example; // String | ApiUserToken
        try {
            ApiResponseListTreatCodeMO result = apiInstance.getTreatCodes(apiAccount, apiKey, groupId, siteId, apiToken, apiUserToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VmobileApi#getTreatCodes");
            e.printStackTrace();
        }
    }
}

														  

		
String *apiAccount = apiAccount_example; // Consumer Account guid as supplied
String *apiKey = apiKey_example; // Consumer Key guid as supplied
Long *groupId = 789; // parameter GROUP
Integer *siteId = 56; // parameter SITEID
String *apiToken = apiToken_example; // ApiToken
String *apiUserToken = apiUserToken_example; // ApiUserToken

VmobileApi *apiInstance = [[VmobileApi alloc] init];

// Get treatment codes
[apiInstance getTreatCodesWith:apiAccount
    apiKey:apiKey
    groupId:groupId
    siteId:siteId
    apiToken:apiToken
    apiUserToken:apiUserToken
              completionHandler: ^(ApiResponseListTreatCodeMO output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];

															

		var  = require('');

var api = new .VmobileApi()

var apiAccount = apiAccount_example; // {String} Consumer Account guid as supplied

var apiKey = apiKey_example; // {String} Consumer Key guid as supplied

var groupId = 789; // {Long} parameter GROUP

var siteId = 56; // {Integer} parameter SITEID

var apiToken = apiToken_example; // {String} ApiToken

var apiUserToken = apiUserToken_example; // {String} ApiUserToken


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getTreatCodes(apiAccount, apiKey, groupId, siteId, apiToken, apiUserToken, callback);

															

		using System;
using System.Diagnostics;
using .Api;
using .Client;
using ;

namespace Example
{
    public class getTreatCodesExample
    {
        public void main()
        {
            
            var apiInstance = new VmobileApi();
            var apiAccount = apiAccount_example;  // String | Consumer Account guid as supplied
            var apiKey = apiKey_example;  // String | Consumer Key guid as supplied
            var groupId = 789;  // Long | parameter GROUP
            var siteId = 56;  // Integer | parameter SITEID
            var apiToken = apiToken_example;  // String | ApiToken
            var apiUserToken = apiUserToken_example;  // String | ApiUserToken

            try
            {
                // Get treatment codes
                ApiResponseListTreatCodeMO result = apiInstance.getTreatCodes(apiAccount, apiKey, groupId, siteId, apiToken, apiUserToken);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling VmobileApi.getTreatCodes: " + e.Message );
            }
        }
    }
}

															

		require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new io.swagger.client\Api\VmobileApi();
$apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
$apiKey = apiKey_example; // String | Consumer Key guid as supplied
$groupId = 789; // Long | parameter GROUP
$siteId = 56; // Integer | parameter SITEID
$apiToken = apiToken_example; // String | ApiToken
$apiUserToken = apiUserToken_example; // String | ApiUserToken

try {
    $result = $api_instance->getTreatCodes($apiAccount, $apiKey, $groupId, $siteId, $apiToken, $apiUserToken);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling VmobileApi->getTreatCodes: ', $e->getMessage(), PHP_EOL;
}

														  

Parameters

Path parameters
Name Description
groupId*
siteId*
Header parameters
Name Description
apiAccount*
apiKey*
apiToken*
apiUserToken*

Responses

Status: 200 - successful operation


getTreatGroups

get treat groups -


/v2/mobile/retrieveTreatmentGroups/{groupId}/{siteId}

Usage and SDK Samples


		curl -X get "https://localhost/GlobalApi/v2/mobile/retrieveTreatmentGroups/{groupId}/{siteId}"


		

		import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import .VmobileApi;

import java.io.File;
import java.util.*;

public class VmobileApiExample {

    public static void main(String[] args) {
        
        VmobileApi apiInstance = new VmobileApi();
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        Long groupId = 789; // Long | parameter GROUP
        Integer siteId = 56; // Integer | parameter SITEID
        String apiToken = apiToken_example; // String | ApiToken
        String apiUserToken = apiUserToken_example; // String | ApiUserToken
        try {
            ApiResponseListTreatGroupMO result = apiInstance.getTreatGroups(apiAccount, apiKey, groupId, siteId, apiToken, apiUserToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VmobileApi#getTreatGroups");
            e.printStackTrace();
        }
    }
}

														  

		import .VmobileApi;

public class VmobileApiExample {

    public static void main(String[] args) {
        VmobileApi apiInstance = new VmobileApi();
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        Long groupId = 789; // Long | parameter GROUP
        Integer siteId = 56; // Integer | parameter SITEID
        String apiToken = apiToken_example; // String | ApiToken
        String apiUserToken = apiUserToken_example; // String | ApiUserToken
        try {
            ApiResponseListTreatGroupMO result = apiInstance.getTreatGroups(apiAccount, apiKey, groupId, siteId, apiToken, apiUserToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VmobileApi#getTreatGroups");
            e.printStackTrace();
        }
    }
}

														  

		
String *apiAccount = apiAccount_example; // Consumer Account guid as supplied
String *apiKey = apiKey_example; // Consumer Key guid as supplied
Long *groupId = 789; // parameter GROUP
Integer *siteId = 56; // parameter SITEID
String *apiToken = apiToken_example; // ApiToken
String *apiUserToken = apiUserToken_example; // ApiUserToken

VmobileApi *apiInstance = [[VmobileApi alloc] init];

// Get treatment groups
[apiInstance getTreatGroupsWith:apiAccount
    apiKey:apiKey
    groupId:groupId
    siteId:siteId
    apiToken:apiToken
    apiUserToken:apiUserToken
              completionHandler: ^(ApiResponseListTreatGroupMO output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];

															

		var  = require('');

var api = new .VmobileApi()

var apiAccount = apiAccount_example; // {String} Consumer Account guid as supplied

var apiKey = apiKey_example; // {String} Consumer Key guid as supplied

var groupId = 789; // {Long} parameter GROUP

var siteId = 56; // {Integer} parameter SITEID

var apiToken = apiToken_example; // {String} ApiToken

var apiUserToken = apiUserToken_example; // {String} ApiUserToken


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getTreatGroups(apiAccount, apiKey, groupId, siteId, apiToken, apiUserToken, callback);

															

		using System;
using System.Diagnostics;
using .Api;
using .Client;
using ;

namespace Example
{
    public class getTreatGroupsExample
    {
        public void main()
        {
            
            var apiInstance = new VmobileApi();
            var apiAccount = apiAccount_example;  // String | Consumer Account guid as supplied
            var apiKey = apiKey_example;  // String | Consumer Key guid as supplied
            var groupId = 789;  // Long | parameter GROUP
            var siteId = 56;  // Integer | parameter SITEID
            var apiToken = apiToken_example;  // String | ApiToken
            var apiUserToken = apiUserToken_example;  // String | ApiUserToken

            try
            {
                // Get treatment groups
                ApiResponseListTreatGroupMO result = apiInstance.getTreatGroups(apiAccount, apiKey, groupId, siteId, apiToken, apiUserToken);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling VmobileApi.getTreatGroups: " + e.Message );
            }
        }
    }
}

															

		require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new io.swagger.client\Api\VmobileApi();
$apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
$apiKey = apiKey_example; // String | Consumer Key guid as supplied
$groupId = 789; // Long | parameter GROUP
$siteId = 56; // Integer | parameter SITEID
$apiToken = apiToken_example; // String | ApiToken
$apiUserToken = apiUserToken_example; // String | ApiUserToken

try {
    $result = $api_instance->getTreatGroups($apiAccount, $apiKey, $groupId, $siteId, $apiToken, $apiUserToken);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling VmobileApi->getTreatGroups: ', $e->getMessage(), PHP_EOL;
}

														  

Parameters

Path parameters
Name Description
groupId*
siteId*
Header parameters
Name Description
apiAccount*
apiKey*
apiToken*
apiUserToken*

Responses

Status: 200 - successful operation


getTreatHistories

get treat codes -


/v2/mobile/retrieveTreatmentHistories/{groupId}/{date}

Usage and SDK Samples


		curl -X post "https://localhost/GlobalApi/v2/mobile/retrieveTreatmentHistories/{groupId}/{date}"


		

		import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import .VmobileApi;

import java.io.File;
import java.util.*;

public class VmobileApiExample {

    public static void main(String[] args) {
        
        VmobileApi apiInstance = new VmobileApi();
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        Long groupId = 789; // Long | parameter GROUP
        String date = date_example; // String | parameter DATE
        String apiToken = apiToken_example; // String | ApiToken
        String apiUserToken = apiUserToken_example; // String | ApiUserToken
        ClientIdMapHolder body = ; // ClientIdMapHolder | 
        try {
            ApiResponseList result = apiInstance.getTreatHistories(apiAccount, apiKey, groupId, date, apiToken, apiUserToken, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VmobileApi#getTreatHistories");
            e.printStackTrace();
        }
    }
}

														  

		import .VmobileApi;

public class VmobileApiExample {

    public static void main(String[] args) {
        VmobileApi apiInstance = new VmobileApi();
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        Long groupId = 789; // Long | parameter GROUP
        String date = date_example; // String | parameter DATE
        String apiToken = apiToken_example; // String | ApiToken
        String apiUserToken = apiUserToken_example; // String | ApiUserToken
        ClientIdMapHolder body = ; // ClientIdMapHolder | 
        try {
            ApiResponseList result = apiInstance.getTreatHistories(apiAccount, apiKey, groupId, date, apiToken, apiUserToken, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VmobileApi#getTreatHistories");
            e.printStackTrace();
        }
    }
}

														  

		
String *apiAccount = apiAccount_example; // Consumer Account guid as supplied
String *apiKey = apiKey_example; // Consumer Key guid as supplied
Long *groupId = 789; // parameter GROUP
String *date = date_example; // parameter DATE
String *apiToken = apiToken_example; // ApiToken
String *apiUserToken = apiUserToken_example; // ApiUserToken
ClientIdMapHolder *body = ; //  (optional)

VmobileApi *apiInstance = [[VmobileApi alloc] init];

// Get treatment histories
[apiInstance getTreatHistoriesWith:apiAccount
    apiKey:apiKey
    groupId:groupId
    date:date
    apiToken:apiToken
    apiUserToken:apiUserToken
    body:body
              completionHandler: ^(ApiResponseList output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];

															

		var  = require('');

var api = new .VmobileApi()

var apiAccount = apiAccount_example; // {String} Consumer Account guid as supplied

var apiKey = apiKey_example; // {String} Consumer Key guid as supplied

var groupId = 789; // {Long} parameter GROUP

var date = date_example; // {String} parameter DATE

var apiToken = apiToken_example; // {String} ApiToken

var apiUserToken = apiUserToken_example; // {String} ApiUserToken

var opts = { 
  'body':  // {ClientIdMapHolder} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getTreatHistories(apiAccount, apiKey, groupId, date, apiToken, apiUserToken, opts, callback);

															

		using System;
using System.Diagnostics;
using .Api;
using .Client;
using ;

namespace Example
{
    public class getTreatHistoriesExample
    {
        public void main()
        {
            
            var apiInstance = new VmobileApi();
            var apiAccount = apiAccount_example;  // String | Consumer Account guid as supplied
            var apiKey = apiKey_example;  // String | Consumer Key guid as supplied
            var groupId = 789;  // Long | parameter GROUP
            var date = date_example;  // String | parameter DATE
            var apiToken = apiToken_example;  // String | ApiToken
            var apiUserToken = apiUserToken_example;  // String | ApiUserToken
            var body = new ClientIdMapHolder(); // ClientIdMapHolder |  (optional) 

            try
            {
                // Get treatment histories
                ApiResponseList result = apiInstance.getTreatHistories(apiAccount, apiKey, groupId, date, apiToken, apiUserToken, body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling VmobileApi.getTreatHistories: " + e.Message );
            }
        }
    }
}

															

		require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new io.swagger.client\Api\VmobileApi();
$apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
$apiKey = apiKey_example; // String | Consumer Key guid as supplied
$groupId = 789; // Long | parameter GROUP
$date = date_example; // String | parameter DATE
$apiToken = apiToken_example; // String | ApiToken
$apiUserToken = apiUserToken_example; // String | ApiUserToken
$body = ; // ClientIdMapHolder | 

try {
    $result = $api_instance->getTreatHistories($apiAccount, $apiKey, $groupId, $date, $apiToken, $apiUserToken, $body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling VmobileApi->getTreatHistories: ', $e->getMessage(), PHP_EOL;
}

														  

Parameters

Path parameters
Name Description
groupId*
date*
Header parameters
Name Description
apiAccount*
apiKey*
apiToken*
apiUserToken*
Body parameters
Name Description
body

Responses

Status: 200 - successful operation


listAllActiveGroups

get active groups -


/v2/mobile/listAllActiveGroups

Usage and SDK Samples


		curl -X get "https://localhost/GlobalApi/v2/mobile/listAllActiveGroups"


		

		import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import .VmobileApi;

import java.io.File;
import java.util.*;

public class VmobileApiExample {

    public static void main(String[] args) {
        
        VmobileApi apiInstance = new VmobileApi();
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        String apiToken = apiToken_example; // String | ApiToken
        String apiUserToken = apiUserToken_example; // String | ApiUserToken
        try {
            ApiResponseList result = apiInstance.listAllActiveGroups(apiAccount, apiKey, apiToken, apiUserToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VmobileApi#listAllActiveGroups");
            e.printStackTrace();
        }
    }
}

														  

		import .VmobileApi;

public class VmobileApiExample {

    public static void main(String[] args) {
        VmobileApi apiInstance = new VmobileApi();
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        String apiToken = apiToken_example; // String | ApiToken
        String apiUserToken = apiUserToken_example; // String | ApiUserToken
        try {
            ApiResponseList result = apiInstance.listAllActiveGroups(apiAccount, apiKey, apiToken, apiUserToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VmobileApi#listAllActiveGroups");
            e.printStackTrace();
        }
    }
}

														  

		
String *apiAccount = apiAccount_example; // Consumer Account guid as supplied
String *apiKey = apiKey_example; // Consumer Key guid as supplied
String *apiToken = apiToken_example; // ApiToken
String *apiUserToken = apiUserToken_example; // ApiUserToken

VmobileApi *apiInstance = [[VmobileApi alloc] init];

// List all active groups
[apiInstance listAllActiveGroupsWith:apiAccount
    apiKey:apiKey
    apiToken:apiToken
    apiUserToken:apiUserToken
              completionHandler: ^(ApiResponseList output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];

															

		var  = require('');

var api = new .VmobileApi()

var apiAccount = apiAccount_example; // {String} Consumer Account guid as supplied

var apiKey = apiKey_example; // {String} Consumer Key guid as supplied

var apiToken = apiToken_example; // {String} ApiToken

var apiUserToken = apiUserToken_example; // {String} ApiUserToken


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.listAllActiveGroups(apiAccount, apiKey, apiToken, apiUserToken, callback);

															

		using System;
using System.Diagnostics;
using .Api;
using .Client;
using ;

namespace Example
{
    public class listAllActiveGroupsExample
    {
        public void main()
        {
            
            var apiInstance = new VmobileApi();
            var apiAccount = apiAccount_example;  // String | Consumer Account guid as supplied
            var apiKey = apiKey_example;  // String | Consumer Key guid as supplied
            var apiToken = apiToken_example;  // String | ApiToken
            var apiUserToken = apiUserToken_example;  // String | ApiUserToken

            try
            {
                // List all active groups
                ApiResponseList result = apiInstance.listAllActiveGroups(apiAccount, apiKey, apiToken, apiUserToken);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling VmobileApi.listAllActiveGroups: " + e.Message );
            }
        }
    }
}

															

		require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new io.swagger.client\Api\VmobileApi();
$apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
$apiKey = apiKey_example; // String | Consumer Key guid as supplied
$apiToken = apiToken_example; // String | ApiToken
$apiUserToken = apiUserToken_example; // String | ApiUserToken

try {
    $result = $api_instance->listAllActiveGroups($apiAccount, $apiKey, $apiToken, $apiUserToken);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling VmobileApi->listAllActiveGroups: ', $e->getMessage(), PHP_EOL;
}

														  

Parameters

Header parameters
Name Description
apiAccount*
apiKey*
apiToken*
apiUserToken*

Responses

Status: 200 - successful operation


listAllSitesForGroup

get sites for group -


/v2/mobile/listAllSitesForGroup/{groupId}

Usage and SDK Samples


		curl -X get "https://localhost/GlobalApi/v2/mobile/listAllSitesForGroup/{groupId}"


		

		import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import .VmobileApi;

import java.io.File;
import java.util.*;

public class VmobileApiExample {

    public static void main(String[] args) {
        
        VmobileApi apiInstance = new VmobileApi();
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        Long groupId = 789; // Long | parameter GROUP
        String apiToken = apiToken_example; // String | ApiToken
        String apiUserToken = apiUserToken_example; // String | ApiUserToken
        try {
            ApiResponseList result = apiInstance.listAllSitesForGroup(apiAccount, apiKey, groupId, apiToken, apiUserToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VmobileApi#listAllSitesForGroup");
            e.printStackTrace();
        }
    }
}

														  

		import .VmobileApi;

public class VmobileApiExample {

    public static void main(String[] args) {
        VmobileApi apiInstance = new VmobileApi();
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        Long groupId = 789; // Long | parameter GROUP
        String apiToken = apiToken_example; // String | ApiToken
        String apiUserToken = apiUserToken_example; // String | ApiUserToken
        try {
            ApiResponseList result = apiInstance.listAllSitesForGroup(apiAccount, apiKey, groupId, apiToken, apiUserToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VmobileApi#listAllSitesForGroup");
            e.printStackTrace();
        }
    }
}

														  

		
String *apiAccount = apiAccount_example; // Consumer Account guid as supplied
String *apiKey = apiKey_example; // Consumer Key guid as supplied
Long *groupId = 789; // parameter GROUP
String *apiToken = apiToken_example; // ApiToken
String *apiUserToken = apiUserToken_example; // ApiUserToken

VmobileApi *apiInstance = [[VmobileApi alloc] init];

// List all sites for group
[apiInstance listAllSitesForGroupWith:apiAccount
    apiKey:apiKey
    groupId:groupId
    apiToken:apiToken
    apiUserToken:apiUserToken
              completionHandler: ^(ApiResponseList output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];

															

		var  = require('');

var api = new .VmobileApi()

var apiAccount = apiAccount_example; // {String} Consumer Account guid as supplied

var apiKey = apiKey_example; // {String} Consumer Key guid as supplied

var groupId = 789; // {Long} parameter GROUP

var apiToken = apiToken_example; // {String} ApiToken

var apiUserToken = apiUserToken_example; // {String} ApiUserToken


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.listAllSitesForGroup(apiAccount, apiKey, groupId, apiToken, apiUserToken, callback);

															

		using System;
using System.Diagnostics;
using .Api;
using .Client;
using ;

namespace Example
{
    public class listAllSitesForGroupExample
    {
        public void main()
        {
            
            var apiInstance = new VmobileApi();
            var apiAccount = apiAccount_example;  // String | Consumer Account guid as supplied
            var apiKey = apiKey_example;  // String | Consumer Key guid as supplied
            var groupId = 789;  // Long | parameter GROUP
            var apiToken = apiToken_example;  // String | ApiToken
            var apiUserToken = apiUserToken_example;  // String | ApiUserToken

            try
            {
                // List all sites for group
                ApiResponseList result = apiInstance.listAllSitesForGroup(apiAccount, apiKey, groupId, apiToken, apiUserToken);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling VmobileApi.listAllSitesForGroup: " + e.Message );
            }
        }
    }
}

															

		require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new io.swagger.client\Api\VmobileApi();
$apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
$apiKey = apiKey_example; // String | Consumer Key guid as supplied
$groupId = 789; // Long | parameter GROUP
$apiToken = apiToken_example; // String | ApiToken
$apiUserToken = apiUserToken_example; // String | ApiUserToken

try {
    $result = $api_instance->listAllSitesForGroup($apiAccount, $apiKey, $groupId, $apiToken, $apiUserToken);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling VmobileApi->listAllSitesForGroup: ', $e->getMessage(), PHP_EOL;
}

														  

Parameters

Path parameters
Name Description
groupId*
Header parameters
Name Description
apiAccount*
apiKey*
apiToken*
apiUserToken*

Responses

Status: 200 - successful operation


retrieveAppendedDocs

Get a full list of all appended docs that have been appended for treatments etc


/v2/mobile/retrieveAppendedDocs

Usage and SDK Samples


		curl -X get "https://localhost/GlobalApi/v2/mobile/retrieveAppendedDocs"


		

		import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import .VmobileApi;

import java.io.File;
import java.util.*;

public class VmobileApiExample {

    public static void main(String[] args) {
        
        VmobileApi apiInstance = new VmobileApi();
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        String apiToken = apiToken_example; // String | ApiToken
        String apiUserToken = apiUserToken_example; // String | ApiUserToken
        try {
            ApiResponseListUploadedMobileDocuments result = apiInstance.retrieveAppendedDocs(apiAccount, apiKey, apiToken, apiUserToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VmobileApi#retrieveAppendedDocs");
            e.printStackTrace();
        }
    }
}

														  

		import .VmobileApi;

public class VmobileApiExample {

    public static void main(String[] args) {
        VmobileApi apiInstance = new VmobileApi();
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        String apiToken = apiToken_example; // String | ApiToken
        String apiUserToken = apiUserToken_example; // String | ApiUserToken
        try {
            ApiResponseListUploadedMobileDocuments result = apiInstance.retrieveAppendedDocs(apiAccount, apiKey, apiToken, apiUserToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VmobileApi#retrieveAppendedDocs");
            e.printStackTrace();
        }
    }
}

														  

		
String *apiAccount = apiAccount_example; // Consumer Account guid as supplied
String *apiKey = apiKey_example; // Consumer Key guid as supplied
String *apiToken = apiToken_example; // ApiToken
String *apiUserToken = apiUserToken_example; // ApiUserToken

VmobileApi *apiInstance = [[VmobileApi alloc] init];

// Get list of uploaded documents
[apiInstance retrieveAppendedDocsWith:apiAccount
    apiKey:apiKey
    apiToken:apiToken
    apiUserToken:apiUserToken
              completionHandler: ^(ApiResponseListUploadedMobileDocuments output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];

															

		var  = require('');

var api = new .VmobileApi()

var apiAccount = apiAccount_example; // {String} Consumer Account guid as supplied

var apiKey = apiKey_example; // {String} Consumer Key guid as supplied

var apiToken = apiToken_example; // {String} ApiToken

var apiUserToken = apiUserToken_example; // {String} ApiUserToken


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.retrieveAppendedDocs(apiAccount, apiKey, apiToken, apiUserToken, callback);

															

		using System;
using System.Diagnostics;
using .Api;
using .Client;
using ;

namespace Example
{
    public class retrieveAppendedDocsExample
    {
        public void main()
        {
            
            var apiInstance = new VmobileApi();
            var apiAccount = apiAccount_example;  // String | Consumer Account guid as supplied
            var apiKey = apiKey_example;  // String | Consumer Key guid as supplied
            var apiToken = apiToken_example;  // String | ApiToken
            var apiUserToken = apiUserToken_example;  // String | ApiUserToken

            try
            {
                // Get list of uploaded documents
                ApiResponseListUploadedMobileDocuments result = apiInstance.retrieveAppendedDocs(apiAccount, apiKey, apiToken, apiUserToken);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling VmobileApi.retrieveAppendedDocs: " + e.Message );
            }
        }
    }
}

															

		require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new io.swagger.client\Api\VmobileApi();
$apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
$apiKey = apiKey_example; // String | Consumer Key guid as supplied
$apiToken = apiToken_example; // String | ApiToken
$apiUserToken = apiUserToken_example; // String | ApiUserToken

try {
    $result = $api_instance->retrieveAppendedDocs($apiAccount, $apiKey, $apiToken, $apiUserToken);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling VmobileApi->retrieveAppendedDocs: ', $e->getMessage(), PHP_EOL;
}

														  

Parameters

Header parameters
Name Description
apiAccount*
apiKey*
apiToken*
apiUserToken*

Responses

Status: 200 - successful operation


retrieveAppendedDocsForSite

Get a full list of all appended docs that have been appended for treatments for a site and group etc


/v2/mobile/retrieveAppendedDocsForSite/{groupId}/{siteId}

Usage and SDK Samples


		curl -X get "https://localhost/GlobalApi/v2/mobile/retrieveAppendedDocsForSite/{groupId}/{siteId}"


		

		import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import .VmobileApi;

import java.io.File;
import java.util.*;

public class VmobileApiExample {

    public static void main(String[] args) {
        
        VmobileApi apiInstance = new VmobileApi();
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        Long groupId = 789; // Long | parameter GROUP
        Integer siteId = 56; // Integer | parameter SITEID
        String apiToken = apiToken_example; // String | ApiToken
        String apiUserToken = apiUserToken_example; // String | ApiUserToken
        try {
            ApiResponseListUploadedMobileDocuments result = apiInstance.retrieveAppendedDocsForSite(apiAccount, apiKey, groupId, siteId, apiToken, apiUserToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VmobileApi#retrieveAppendedDocsForSite");
            e.printStackTrace();
        }
    }
}

														  

		import .VmobileApi;

public class VmobileApiExample {

    public static void main(String[] args) {
        VmobileApi apiInstance = new VmobileApi();
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        Long groupId = 789; // Long | parameter GROUP
        Integer siteId = 56; // Integer | parameter SITEID
        String apiToken = apiToken_example; // String | ApiToken
        String apiUserToken = apiUserToken_example; // String | ApiUserToken
        try {
            ApiResponseListUploadedMobileDocuments result = apiInstance.retrieveAppendedDocsForSite(apiAccount, apiKey, groupId, siteId, apiToken, apiUserToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VmobileApi#retrieveAppendedDocsForSite");
            e.printStackTrace();
        }
    }
}

														  

		
String *apiAccount = apiAccount_example; // Consumer Account guid as supplied
String *apiKey = apiKey_example; // Consumer Key guid as supplied
Long *groupId = 789; // parameter GROUP
Integer *siteId = 56; // parameter SITEID
String *apiToken = apiToken_example; // ApiToken
String *apiUserToken = apiUserToken_example; // ApiUserToken

VmobileApi *apiInstance = [[VmobileApi alloc] init];

// Get list of uploaded documents for a site and group
[apiInstance retrieveAppendedDocsForSiteWith:apiAccount
    apiKey:apiKey
    groupId:groupId
    siteId:siteId
    apiToken:apiToken
    apiUserToken:apiUserToken
              completionHandler: ^(ApiResponseListUploadedMobileDocuments output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];

															

		var  = require('');

var api = new .VmobileApi()

var apiAccount = apiAccount_example; // {String} Consumer Account guid as supplied

var apiKey = apiKey_example; // {String} Consumer Key guid as supplied

var groupId = 789; // {Long} parameter GROUP

var siteId = 56; // {Integer} parameter SITEID

var apiToken = apiToken_example; // {String} ApiToken

var apiUserToken = apiUserToken_example; // {String} ApiUserToken


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.retrieveAppendedDocsForSite(apiAccount, apiKey, groupId, siteId, apiToken, apiUserToken, callback);

															

		using System;
using System.Diagnostics;
using .Api;
using .Client;
using ;

namespace Example
{
    public class retrieveAppendedDocsForSiteExample
    {
        public void main()
        {
            
            var apiInstance = new VmobileApi();
            var apiAccount = apiAccount_example;  // String | Consumer Account guid as supplied
            var apiKey = apiKey_example;  // String | Consumer Key guid as supplied
            var groupId = 789;  // Long | parameter GROUP
            var siteId = 56;  // Integer | parameter SITEID
            var apiToken = apiToken_example;  // String | ApiToken
            var apiUserToken = apiUserToken_example;  // String | ApiUserToken

            try
            {
                // Get list of uploaded documents for a site and group
                ApiResponseListUploadedMobileDocuments result = apiInstance.retrieveAppendedDocsForSite(apiAccount, apiKey, groupId, siteId, apiToken, apiUserToken);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling VmobileApi.retrieveAppendedDocsForSite: " + e.Message );
            }
        }
    }
}

															

		require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new io.swagger.client\Api\VmobileApi();
$apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
$apiKey = apiKey_example; // String | Consumer Key guid as supplied
$groupId = 789; // Long | parameter GROUP
$siteId = 56; // Integer | parameter SITEID
$apiToken = apiToken_example; // String | ApiToken
$apiUserToken = apiUserToken_example; // String | ApiUserToken

try {
    $result = $api_instance->retrieveAppendedDocsForSite($apiAccount, $apiKey, $groupId, $siteId, $apiToken, $apiUserToken);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling VmobileApi->retrieveAppendedDocsForSite: ', $e->getMessage(), PHP_EOL;
}

														  

Parameters

Path parameters
Name Description
groupId*
siteId*
Header parameters
Name Description
apiAccount*
apiKey*
apiToken*
apiUserToken*

Responses

Status: 200 - successful operation


retrieveAppointmentReasons

get appointment reasons


/v2/mobile/retrieveAppointmentReasons/{groupId}/{siteId}

Usage and SDK Samples


		curl -X get "https://localhost/GlobalApi/v2/mobile/retrieveAppointmentReasons/{groupId}/{siteId}"


		

		import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import .VmobileApi;

import java.io.File;
import java.util.*;

public class VmobileApiExample {

    public static void main(String[] args) {
        
        VmobileApi apiInstance = new VmobileApi();
        Long groupId = 789; // Long | parameter GROUP
        Integer siteId = 56; // Integer | Id of the site
        String apiToken = apiToken_example; // String | ApiToken
        String apiUserToken = apiUserToken_example; // String | ApiUserToken
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        try {
            ApiResponseListAppointmentReason result = apiInstance.retrieveAppointmentReasons(groupId, siteId, apiToken, apiUserToken, apiAccount, apiKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VmobileApi#retrieveAppointmentReasons");
            e.printStackTrace();
        }
    }
}

														  

		import .VmobileApi;

public class VmobileApiExample {

    public static void main(String[] args) {
        VmobileApi apiInstance = new VmobileApi();
        Long groupId = 789; // Long | parameter GROUP
        Integer siteId = 56; // Integer | Id of the site
        String apiToken = apiToken_example; // String | ApiToken
        String apiUserToken = apiUserToken_example; // String | ApiUserToken
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        try {
            ApiResponseListAppointmentReason result = apiInstance.retrieveAppointmentReasons(groupId, siteId, apiToken, apiUserToken, apiAccount, apiKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VmobileApi#retrieveAppointmentReasons");
            e.printStackTrace();
        }
    }
}

														  

		
Long *groupId = 789; // parameter GROUP
Integer *siteId = 56; // Id of the site
String *apiToken = apiToken_example; // ApiToken
String *apiUserToken = apiUserToken_example; // ApiUserToken
String *apiAccount = apiAccount_example; // Consumer Account guid as supplied
String *apiKey = apiKey_example; // Consumer Key guid as supplied

VmobileApi *apiInstance = [[VmobileApi alloc] init];

// get appointment reasons
[apiInstance retrieveAppointmentReasonsWith:groupId
    siteId:siteId
    apiToken:apiToken
    apiUserToken:apiUserToken
    apiAccount:apiAccount
    apiKey:apiKey
              completionHandler: ^(ApiResponseListAppointmentReason output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];

															

		var  = require('');

var api = new .VmobileApi()

var groupId = 789; // {Long} parameter GROUP

var siteId = 56; // {Integer} Id of the site

var apiToken = apiToken_example; // {String} ApiToken

var apiUserToken = apiUserToken_example; // {String} ApiUserToken

var apiAccount = apiAccount_example; // {String} Consumer Account guid as supplied

var apiKey = apiKey_example; // {String} Consumer Key guid as supplied


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.retrieveAppointmentReasons(groupId, siteId, apiToken, apiUserToken, apiAccount, apiKey, callback);

															

		using System;
using System.Diagnostics;
using .Api;
using .Client;
using ;

namespace Example
{
    public class retrieveAppointmentReasonsExample
    {
        public void main()
        {
            
            var apiInstance = new VmobileApi();
            var groupId = 789;  // Long | parameter GROUP
            var siteId = 56;  // Integer | Id of the site
            var apiToken = apiToken_example;  // String | ApiToken
            var apiUserToken = apiUserToken_example;  // String | ApiUserToken
            var apiAccount = apiAccount_example;  // String | Consumer Account guid as supplied
            var apiKey = apiKey_example;  // String | Consumer Key guid as supplied

            try
            {
                // get appointment reasons
                ApiResponseListAppointmentReason result = apiInstance.retrieveAppointmentReasons(groupId, siteId, apiToken, apiUserToken, apiAccount, apiKey);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling VmobileApi.retrieveAppointmentReasons: " + e.Message );
            }
        }
    }
}

															

		require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new io.swagger.client\Api\VmobileApi();
$groupId = 789; // Long | parameter GROUP
$siteId = 56; // Integer | Id of the site
$apiToken = apiToken_example; // String | ApiToken
$apiUserToken = apiUserToken_example; // String | ApiUserToken
$apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
$apiKey = apiKey_example; // String | Consumer Key guid as supplied

try {
    $result = $api_instance->retrieveAppointmentReasons($groupId, $siteId, $apiToken, $apiUserToken, $apiAccount, $apiKey);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling VmobileApi->retrieveAppointmentReasons: ', $e->getMessage(), PHP_EOL;
}

														  

Parameters

Path parameters
Name Description
groupId*
siteId*
Header parameters
Name Description
apiToken*
apiUserToken*
apiAccount*
apiKey*

Responses

Status: 200 - successful operation


retrieveClientsMobile

Get clients -


/v2/mobile/retrieveClients/{groupId}

Usage and SDK Samples


		curl -X post "https://localhost/GlobalApi/v2/mobile/retrieveClients/{groupId}"


		

		import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import .VmobileApi;

import java.io.File;
import java.util.*;

public class VmobileApiExample {

    public static void main(String[] args) {
        
        VmobileApi apiInstance = new VmobileApi();
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        Long groupId = 789; // Long | parameter GROUP
        String apiToken = apiToken_example; // String | ApiToken
        String apiUserToken = apiUserToken_example; // String | ApiUserToken
        ListClientIds body = ; // ListClientIds | 
        try {
            ApiResponseListClientMO result = apiInstance.retrieveClientsMobile(apiAccount, apiKey, groupId, apiToken, apiUserToken, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VmobileApi#retrieveClientsMobile");
            e.printStackTrace();
        }
    }
}

														  

		import .VmobileApi;

public class VmobileApiExample {

    public static void main(String[] args) {
        VmobileApi apiInstance = new VmobileApi();
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        Long groupId = 789; // Long | parameter GROUP
        String apiToken = apiToken_example; // String | ApiToken
        String apiUserToken = apiUserToken_example; // String | ApiUserToken
        ListClientIds body = ; // ListClientIds | 
        try {
            ApiResponseListClientMO result = apiInstance.retrieveClientsMobile(apiAccount, apiKey, groupId, apiToken, apiUserToken, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VmobileApi#retrieveClientsMobile");
            e.printStackTrace();
        }
    }
}

														  

		
String *apiAccount = apiAccount_example; // Consumer Account guid as supplied
String *apiKey = apiKey_example; // Consumer Key guid as supplied
Long *groupId = 789; // parameter GROUP
String *apiToken = apiToken_example; // ApiToken
String *apiUserToken = apiUserToken_example; // ApiUserToken
ListClientIds *body = ; //  (optional)

VmobileApi *apiInstance = [[VmobileApi alloc] init];

// Get clients
[apiInstance retrieveClientsMobileWith:apiAccount
    apiKey:apiKey
    groupId:groupId
    apiToken:apiToken
    apiUserToken:apiUserToken
    body:body
              completionHandler: ^(ApiResponseListClientMO output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];

															

		var  = require('');

var api = new .VmobileApi()

var apiAccount = apiAccount_example; // {String} Consumer Account guid as supplied

var apiKey = apiKey_example; // {String} Consumer Key guid as supplied

var groupId = 789; // {Long} parameter GROUP

var apiToken = apiToken_example; // {String} ApiToken

var apiUserToken = apiUserToken_example; // {String} ApiUserToken

var opts = { 
  'body':  // {ListClientIds} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.retrieveClientsMobile(apiAccount, apiKey, groupId, apiToken, apiUserToken, opts, callback);

															

		using System;
using System.Diagnostics;
using .Api;
using .Client;
using ;

namespace Example
{
    public class retrieveClientsMobileExample
    {
        public void main()
        {
            
            var apiInstance = new VmobileApi();
            var apiAccount = apiAccount_example;  // String | Consumer Account guid as supplied
            var apiKey = apiKey_example;  // String | Consumer Key guid as supplied
            var groupId = 789;  // Long | parameter GROUP
            var apiToken = apiToken_example;  // String | ApiToken
            var apiUserToken = apiUserToken_example;  // String | ApiUserToken
            var body = new ListClientIds(); // ListClientIds |  (optional) 

            try
            {
                // Get clients
                ApiResponseListClientMO result = apiInstance.retrieveClientsMobile(apiAccount, apiKey, groupId, apiToken, apiUserToken, body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling VmobileApi.retrieveClientsMobile: " + e.Message );
            }
        }
    }
}

															

		require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new io.swagger.client\Api\VmobileApi();
$apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
$apiKey = apiKey_example; // String | Consumer Key guid as supplied
$groupId = 789; // Long | parameter GROUP
$apiToken = apiToken_example; // String | ApiToken
$apiUserToken = apiUserToken_example; // String | ApiUserToken
$body = ; // ListClientIds | 

try {
    $result = $api_instance->retrieveClientsMobile($apiAccount, $apiKey, $groupId, $apiToken, $apiUserToken, $body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling VmobileApi->retrieveClientsMobile: ', $e->getMessage(), PHP_EOL;
}

														  

Parameters

Path parameters
Name Description
groupId*
Header parameters
Name Description
apiAccount*
apiKey*
apiToken*
apiUserToken*
Body parameters
Name Description
body

Responses

Status: 200 - successful operation


retrievePatientReminders

Retrieve patient reminders for a patientId


/v2/mobile/retrievePatientReminders/{groupId}/{siteId}

Usage and SDK Samples


		curl -X post "https://localhost/GlobalApi/v2/mobile/retrievePatientReminders/{groupId}/{siteId}"


		

		import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import .VmobileApi;

import java.io.File;
import java.util.*;

public class VmobileApiExample {

    public static void main(String[] args) {
        
        VmobileApi apiInstance = new VmobileApi();
        Long groupId = 789; // Long | parameter GROUP
        Integer siteId = 56; // Integer | Id of the site
        String apiToken = apiToken_example; // String | ApiToken
        String apiUserToken = apiUserToken_example; // String | ApiUserToken
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        ListPatientIds body = ; // ListPatientIds | 
        try {
            ApiResponseListPatientReminderSetMO result = apiInstance.retrievePatientReminders(groupId, siteId, apiToken, apiUserToken, apiAccount, apiKey, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VmobileApi#retrievePatientReminders");
            e.printStackTrace();
        }
    }
}

														  

		import .VmobileApi;

public class VmobileApiExample {

    public static void main(String[] args) {
        VmobileApi apiInstance = new VmobileApi();
        Long groupId = 789; // Long | parameter GROUP
        Integer siteId = 56; // Integer | Id of the site
        String apiToken = apiToken_example; // String | ApiToken
        String apiUserToken = apiUserToken_example; // String | ApiUserToken
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        ListPatientIds body = ; // ListPatientIds | 
        try {
            ApiResponseListPatientReminderSetMO result = apiInstance.retrievePatientReminders(groupId, siteId, apiToken, apiUserToken, apiAccount, apiKey, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VmobileApi#retrievePatientReminders");
            e.printStackTrace();
        }
    }
}

														  

		
Long *groupId = 789; // parameter GROUP
Integer *siteId = 56; // Id of the site
String *apiToken = apiToken_example; // ApiToken
String *apiUserToken = apiUserToken_example; // ApiUserToken
String *apiAccount = apiAccount_example; // Consumer Account guid as supplied
String *apiKey = apiKey_example; // Consumer Key guid as supplied
ListPatientIds *body = ; //  (optional)

VmobileApi *apiInstance = [[VmobileApi alloc] init];

// /retrievePatientReminders/{groupId}/{siteId}
[apiInstance retrievePatientRemindersWith:groupId
    siteId:siteId
    apiToken:apiToken
    apiUserToken:apiUserToken
    apiAccount:apiAccount
    apiKey:apiKey
    body:body
              completionHandler: ^(ApiResponseListPatientReminderSetMO output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];

															

		var  = require('');

var api = new .VmobileApi()

var groupId = 789; // {Long} parameter GROUP

var siteId = 56; // {Integer} Id of the site

var apiToken = apiToken_example; // {String} ApiToken

var apiUserToken = apiUserToken_example; // {String} ApiUserToken

var apiAccount = apiAccount_example; // {String} Consumer Account guid as supplied

var apiKey = apiKey_example; // {String} Consumer Key guid as supplied

var opts = { 
  'body':  // {ListPatientIds} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.retrievePatientReminders(groupId, siteId, apiToken, apiUserToken, apiAccount, apiKey, opts, callback);

															

		using System;
using System.Diagnostics;
using .Api;
using .Client;
using ;

namespace Example
{
    public class retrievePatientRemindersExample
    {
        public void main()
        {
            
            var apiInstance = new VmobileApi();
            var groupId = 789;  // Long | parameter GROUP
            var siteId = 56;  // Integer | Id of the site
            var apiToken = apiToken_example;  // String | ApiToken
            var apiUserToken = apiUserToken_example;  // String | ApiUserToken
            var apiAccount = apiAccount_example;  // String | Consumer Account guid as supplied
            var apiKey = apiKey_example;  // String | Consumer Key guid as supplied
            var body = new ListPatientIds(); // ListPatientIds |  (optional) 

            try
            {
                // /retrievePatientReminders/{groupId}/{siteId}
                ApiResponseListPatientReminderSetMO result = apiInstance.retrievePatientReminders(groupId, siteId, apiToken, apiUserToken, apiAccount, apiKey, body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling VmobileApi.retrievePatientReminders: " + e.Message );
            }
        }
    }
}

															

		require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new io.swagger.client\Api\VmobileApi();
$groupId = 789; // Long | parameter GROUP
$siteId = 56; // Integer | Id of the site
$apiToken = apiToken_example; // String | ApiToken
$apiUserToken = apiUserToken_example; // String | ApiUserToken
$apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
$apiKey = apiKey_example; // String | Consumer Key guid as supplied
$body = ; // ListPatientIds | 

try {
    $result = $api_instance->retrievePatientReminders($groupId, $siteId, $apiToken, $apiUserToken, $apiAccount, $apiKey, $body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling VmobileApi->retrievePatientReminders: ', $e->getMessage(), PHP_EOL;
}

														  

Parameters

Path parameters
Name Description
groupId*
siteId*
Header parameters
Name Description
apiToken*
apiUserToken*
apiAccount*
apiKey*
Body parameters
Name Description
body

Responses

Status: 200 - successful operation


retrieveStockLevels

Retrieve a list of stock centres for a stock centreid


/v2/mobile/retrieveStockLevels/{groupId}/{siteId}/{stockCentreId}/{codeTypeId}

Usage and SDK Samples


		curl -X get "https://localhost/GlobalApi/v2/mobile/retrieveStockLevels/{groupId}/{siteId}/{stockCentreId}/{codeTypeId}"


		

		import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import .VmobileApi;

import java.io.File;
import java.util.*;

public class VmobileApiExample {

    public static void main(String[] args) {
        
        VmobileApi apiInstance = new VmobileApi();
        Long groupId = 789; // Long | parameter GROUP
        Integer siteId = 56; // Integer | Id of the site
        Integer stockCentreId = 56; // Integer | Parameter stock centre id
        Integer codeTypeId = 56; // Integer | The Parameter codeTypeId
        String apiToken = apiToken_example; // String | ApiToken
        String apiUserToken = apiUserToken_example; // String | ApiUserToken
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        try {
            ApiResponseListStockLevelsMO result = apiInstance.retrieveStockLevels(groupId, siteId, stockCentreId, codeTypeId, apiToken, apiUserToken, apiAccount, apiKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VmobileApi#retrieveStockLevels");
            e.printStackTrace();
        }
    }
}

														  

		import .VmobileApi;

public class VmobileApiExample {

    public static void main(String[] args) {
        VmobileApi apiInstance = new VmobileApi();
        Long groupId = 789; // Long | parameter GROUP
        Integer siteId = 56; // Integer | Id of the site
        Integer stockCentreId = 56; // Integer | Parameter stock centre id
        Integer codeTypeId = 56; // Integer | The Parameter codeTypeId
        String apiToken = apiToken_example; // String | ApiToken
        String apiUserToken = apiUserToken_example; // String | ApiUserToken
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        try {
            ApiResponseListStockLevelsMO result = apiInstance.retrieveStockLevels(groupId, siteId, stockCentreId, codeTypeId, apiToken, apiUserToken, apiAccount, apiKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VmobileApi#retrieveStockLevels");
            e.printStackTrace();
        }
    }
}

														  

		
Long *groupId = 789; // parameter GROUP
Integer *siteId = 56; // Id of the site
Integer *stockCentreId = 56; // Parameter stock centre id
Integer *codeTypeId = 56; // The Parameter codeTypeId
String *apiToken = apiToken_example; // ApiToken
String *apiUserToken = apiUserToken_example; // ApiUserToken
String *apiAccount = apiAccount_example; // Consumer Account guid as supplied
String *apiKey = apiKey_example; // Consumer Key guid as supplied

VmobileApi *apiInstance = [[VmobileApi alloc] init];

// /retrieveStockLevels/{groupId}/{siteId}/{stockCentreId}/{codeTypeId}
[apiInstance retrieveStockLevelsWith:groupId
    siteId:siteId
    stockCentreId:stockCentreId
    codeTypeId:codeTypeId
    apiToken:apiToken
    apiUserToken:apiUserToken
    apiAccount:apiAccount
    apiKey:apiKey
              completionHandler: ^(ApiResponseListStockLevelsMO output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];

															

		var  = require('');

var api = new .VmobileApi()

var groupId = 789; // {Long} parameter GROUP

var siteId = 56; // {Integer} Id of the site

var stockCentreId = 56; // {Integer} Parameter stock centre id

var codeTypeId = 56; // {Integer} The Parameter codeTypeId

var apiToken = apiToken_example; // {String} ApiToken

var apiUserToken = apiUserToken_example; // {String} ApiUserToken

var apiAccount = apiAccount_example; // {String} Consumer Account guid as supplied

var apiKey = apiKey_example; // {String} Consumer Key guid as supplied


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.retrieveStockLevels(groupId, siteId, stockCentreId, codeTypeId, apiToken, apiUserToken, apiAccount, apiKey, callback);

															

		using System;
using System.Diagnostics;
using .Api;
using .Client;
using ;

namespace Example
{
    public class retrieveStockLevelsExample
    {
        public void main()
        {
            
            var apiInstance = new VmobileApi();
            var groupId = 789;  // Long | parameter GROUP
            var siteId = 56;  // Integer | Id of the site
            var stockCentreId = 56;  // Integer | Parameter stock centre id
            var codeTypeId = 56;  // Integer | The Parameter codeTypeId
            var apiToken = apiToken_example;  // String | ApiToken
            var apiUserToken = apiUserToken_example;  // String | ApiUserToken
            var apiAccount = apiAccount_example;  // String | Consumer Account guid as supplied
            var apiKey = apiKey_example;  // String | Consumer Key guid as supplied

            try
            {
                // /retrieveStockLevels/{groupId}/{siteId}/{stockCentreId}/{codeTypeId}
                ApiResponseListStockLevelsMO result = apiInstance.retrieveStockLevels(groupId, siteId, stockCentreId, codeTypeId, apiToken, apiUserToken, apiAccount, apiKey);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling VmobileApi.retrieveStockLevels: " + e.Message );
            }
        }
    }
}

															

		require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new io.swagger.client\Api\VmobileApi();
$groupId = 789; // Long | parameter GROUP
$siteId = 56; // Integer | Id of the site
$stockCentreId = 56; // Integer | Parameter stock centre id
$codeTypeId = 56; // Integer | The Parameter codeTypeId
$apiToken = apiToken_example; // String | ApiToken
$apiUserToken = apiUserToken_example; // String | ApiUserToken
$apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
$apiKey = apiKey_example; // String | Consumer Key guid as supplied

try {
    $result = $api_instance->retrieveStockLevels($groupId, $siteId, $stockCentreId, $codeTypeId, $apiToken, $apiUserToken, $apiAccount, $apiKey);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling VmobileApi->retrieveStockLevels: ', $e->getMessage(), PHP_EOL;
}

														  

Parameters

Path parameters
Name Description
groupId*
siteId*
stockCentreId*
codeTypeId*
Header parameters
Name Description
apiToken*
apiUserToken*
apiAccount*
apiKey*

Responses

Status: 200 - successful operation


startAppointment

start appt -


/v2/mobile/startAppointment/{groupId}/{apptId}

Usage and SDK Samples


		curl -X get "https://localhost/GlobalApi/v2/mobile/startAppointment/{groupId}/{apptId}"


		

		import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import .VmobileApi;

import java.io.File;
import java.util.*;

public class VmobileApiExample {

    public static void main(String[] args) {
        
        VmobileApi apiInstance = new VmobileApi();
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        Long groupId = 789; // Long | parameter GROUP
        String apptId = apptId_example; // String | parameter APPTID
        String apiToken = apiToken_example; // String | ApiToken
        String apiUserToken = apiUserToken_example; // String | ApiUserToken
        try {
            ApiResponse result = apiInstance.startAppointment(apiAccount, apiKey, groupId, apptId, apiToken, apiUserToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VmobileApi#startAppointment");
            e.printStackTrace();
        }
    }
}

														  

		import .VmobileApi;

public class VmobileApiExample {

    public static void main(String[] args) {
        VmobileApi apiInstance = new VmobileApi();
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        Long groupId = 789; // Long | parameter GROUP
        String apptId = apptId_example; // String | parameter APPTID
        String apiToken = apiToken_example; // String | ApiToken
        String apiUserToken = apiUserToken_example; // String | ApiUserToken
        try {
            ApiResponse result = apiInstance.startAppointment(apiAccount, apiKey, groupId, apptId, apiToken, apiUserToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VmobileApi#startAppointment");
            e.printStackTrace();
        }
    }
}

														  

		
String *apiAccount = apiAccount_example; // Consumer Account guid as supplied
String *apiKey = apiKey_example; // Consumer Key guid as supplied
Long *groupId = 789; // parameter GROUP
String *apptId = apptId_example; // parameter APPTID
String *apiToken = apiToken_example; // ApiToken
String *apiUserToken = apiUserToken_example; // ApiUserToken

VmobileApi *apiInstance = [[VmobileApi alloc] init];

// Start appointment
[apiInstance startAppointmentWith:apiAccount
    apiKey:apiKey
    groupId:groupId
    apptId:apptId
    apiToken:apiToken
    apiUserToken:apiUserToken
              completionHandler: ^(ApiResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];

															

		var  = require('');

var api = new .VmobileApi()

var apiAccount = apiAccount_example; // {String} Consumer Account guid as supplied

var apiKey = apiKey_example; // {String} Consumer Key guid as supplied

var groupId = 789; // {Long} parameter GROUP

var apptId = apptId_example; // {String} parameter APPTID

var apiToken = apiToken_example; // {String} ApiToken

var apiUserToken = apiUserToken_example; // {String} ApiUserToken


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.startAppointment(apiAccount, apiKey, groupId, apptId, apiToken, apiUserToken, callback);

															

		using System;
using System.Diagnostics;
using .Api;
using .Client;
using ;

namespace Example
{
    public class startAppointmentExample
    {
        public void main()
        {
            
            var apiInstance = new VmobileApi();
            var apiAccount = apiAccount_example;  // String | Consumer Account guid as supplied
            var apiKey = apiKey_example;  // String | Consumer Key guid as supplied
            var groupId = 789;  // Long | parameter GROUP
            var apptId = apptId_example;  // String | parameter APPTID
            var apiToken = apiToken_example;  // String | ApiToken
            var apiUserToken = apiUserToken_example;  // String | ApiUserToken

            try
            {
                // Start appointment
                ApiResponse result = apiInstance.startAppointment(apiAccount, apiKey, groupId, apptId, apiToken, apiUserToken);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling VmobileApi.startAppointment: " + e.Message );
            }
        }
    }
}

															

		require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new io.swagger.client\Api\VmobileApi();
$apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
$apiKey = apiKey_example; // String | Consumer Key guid as supplied
$groupId = 789; // Long | parameter GROUP
$apptId = apptId_example; // String | parameter APPTID
$apiToken = apiToken_example; // String | ApiToken
$apiUserToken = apiUserToken_example; // String | ApiUserToken

try {
    $result = $api_instance->startAppointment($apiAccount, $apiKey, $groupId, $apptId, $apiToken, $apiUserToken);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling VmobileApi->startAppointment: ', $e->getMessage(), PHP_EOL;
}

														  

Parameters

Path parameters
Name Description
groupId*
apptId*
Header parameters
Name Description
apiAccount*
apiKey*
apiToken*
apiUserToken*

Responses

Status: 200 - successful operation


updateAppendedDocProcessedStatus

Update the processed status of an uploaded document by Id - 0=non processed, 1=processed


/v2/mobile/updateAppendedDocProcessedStatus/{docId}/{docStatus}

Usage and SDK Samples


		curl -X put "https://localhost/GlobalApi/v2/mobile/updateAppendedDocProcessedStatus/{docId}/{docStatus}"


		

		import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import .VmobileApi;

import java.io.File;
import java.util.*;

public class VmobileApiExample {

    public static void main(String[] args) {
        
        VmobileApi apiInstance = new VmobileApi();
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        Long docId = 789; // Long | Parameter docId
        Integer docStatus = 56; // Integer | Parameter docStatus
        String apiToken = apiToken_example; // String | ApiToken
        String apiUserToken = apiUserToken_example; // String | ApiUserToken
        try {
            ApiResponse result = apiInstance.updateAppendedDocProcessedStatus(apiAccount, apiKey, docId, docStatus, apiToken, apiUserToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VmobileApi#updateAppendedDocProcessedStatus");
            e.printStackTrace();
        }
    }
}

														  

		import .VmobileApi;

public class VmobileApiExample {

    public static void main(String[] args) {
        VmobileApi apiInstance = new VmobileApi();
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        Long docId = 789; // Long | Parameter docId
        Integer docStatus = 56; // Integer | Parameter docStatus
        String apiToken = apiToken_example; // String | ApiToken
        String apiUserToken = apiUserToken_example; // String | ApiUserToken
        try {
            ApiResponse result = apiInstance.updateAppendedDocProcessedStatus(apiAccount, apiKey, docId, docStatus, apiToken, apiUserToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VmobileApi#updateAppendedDocProcessedStatus");
            e.printStackTrace();
        }
    }
}

														  

		
String *apiAccount = apiAccount_example; // Consumer Account guid as supplied
String *apiKey = apiKey_example; // Consumer Key guid as supplied
Long *docId = 789; // Parameter docId
Integer *docStatus = 56; // Parameter docStatus
String *apiToken = apiToken_example; // ApiToken
String *apiUserToken = apiUserToken_example; // ApiUserToken

VmobileApi *apiInstance = [[VmobileApi alloc] init];

// Update the processed status
[apiInstance updateAppendedDocProcessedStatusWith:apiAccount
    apiKey:apiKey
    docId:docId
    docStatus:docStatus
    apiToken:apiToken
    apiUserToken:apiUserToken
              completionHandler: ^(ApiResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];

															

		var  = require('');

var api = new .VmobileApi()

var apiAccount = apiAccount_example; // {String} Consumer Account guid as supplied

var apiKey = apiKey_example; // {String} Consumer Key guid as supplied

var docId = 789; // {Long} Parameter docId

var docStatus = 56; // {Integer} Parameter docStatus

var apiToken = apiToken_example; // {String} ApiToken

var apiUserToken = apiUserToken_example; // {String} ApiUserToken


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.updateAppendedDocProcessedStatus(apiAccount, apiKey, docId, docStatus, apiToken, apiUserToken, callback);

															

		using System;
using System.Diagnostics;
using .Api;
using .Client;
using ;

namespace Example
{
    public class updateAppendedDocProcessedStatusExample
    {
        public void main()
        {
            
            var apiInstance = new VmobileApi();
            var apiAccount = apiAccount_example;  // String | Consumer Account guid as supplied
            var apiKey = apiKey_example;  // String | Consumer Key guid as supplied
            var docId = 789;  // Long | Parameter docId
            var docStatus = 56;  // Integer | Parameter docStatus
            var apiToken = apiToken_example;  // String | ApiToken
            var apiUserToken = apiUserToken_example;  // String | ApiUserToken

            try
            {
                // Update the processed status
                ApiResponse result = apiInstance.updateAppendedDocProcessedStatus(apiAccount, apiKey, docId, docStatus, apiToken, apiUserToken);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling VmobileApi.updateAppendedDocProcessedStatus: " + e.Message );
            }
        }
    }
}

															

		require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new io.swagger.client\Api\VmobileApi();
$apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
$apiKey = apiKey_example; // String | Consumer Key guid as supplied
$docId = 789; // Long | Parameter docId
$docStatus = 56; // Integer | Parameter docStatus
$apiToken = apiToken_example; // String | ApiToken
$apiUserToken = apiUserToken_example; // String | ApiUserToken

try {
    $result = $api_instance->updateAppendedDocProcessedStatus($apiAccount, $apiKey, $docId, $docStatus, $apiToken, $apiUserToken);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling VmobileApi->updateAppendedDocProcessedStatus: ', $e->getMessage(), PHP_EOL;
}

														  

Parameters

Path parameters
Name Description
docId*
docStatus*
Header parameters
Name Description
apiAccount*
apiKey*
apiToken*
apiUserToken*

Responses

Status: 200 - successful operation


uploadAppointmentItems

upload appt -


/v2/mobile/uploadAppointmentItems/{groupId}/{siteId}

Usage and SDK Samples


		curl -X post "https://localhost/GlobalApi/v2/mobile/uploadAppointmentItems/{groupId}/{siteId}"


		

		import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import .VmobileApi;

import java.io.File;
import java.util.*;

public class VmobileApiExample {

    public static void main(String[] args) {
        
        VmobileApi apiInstance = new VmobileApi();
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        Long groupId = 789; // Long | parameter GROUP
        Integer siteId = 56; // Integer | parameter SITEID
        String apiToken = apiToken_example; // String | ApiToken
        String apiUserToken = apiUserToken_example; // String | ApiUserToken
        ListAppointment body = ; // ListAppointment | 
        try {
            ApiResponseAppointmentReport result = apiInstance.uploadAppointmentItems(apiAccount, apiKey, groupId, siteId, apiToken, apiUserToken, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VmobileApi#uploadAppointmentItems");
            e.printStackTrace();
        }
    }
}

														  

		import .VmobileApi;

public class VmobileApiExample {

    public static void main(String[] args) {
        VmobileApi apiInstance = new VmobileApi();
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        Long groupId = 789; // Long | parameter GROUP
        Integer siteId = 56; // Integer | parameter SITEID
        String apiToken = apiToken_example; // String | ApiToken
        String apiUserToken = apiUserToken_example; // String | ApiUserToken
        ListAppointment body = ; // ListAppointment | 
        try {
            ApiResponseAppointmentReport result = apiInstance.uploadAppointmentItems(apiAccount, apiKey, groupId, siteId, apiToken, apiUserToken, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VmobileApi#uploadAppointmentItems");
            e.printStackTrace();
        }
    }
}

														  

		
String *apiAccount = apiAccount_example; // Consumer Account guid as supplied
String *apiKey = apiKey_example; // Consumer Key guid as supplied
Long *groupId = 789; // parameter GROUP
Integer *siteId = 56; // parameter SITEID
String *apiToken = apiToken_example; // ApiToken
String *apiUserToken = apiUserToken_example; // ApiUserToken
ListAppointment *body = ; //  (optional)

VmobileApi *apiInstance = [[VmobileApi alloc] init];

// Upload appointment items
[apiInstance uploadAppointmentItemsWith:apiAccount
    apiKey:apiKey
    groupId:groupId
    siteId:siteId
    apiToken:apiToken
    apiUserToken:apiUserToken
    body:body
              completionHandler: ^(ApiResponseAppointmentReport output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];

															

		var  = require('');

var api = new .VmobileApi()

var apiAccount = apiAccount_example; // {String} Consumer Account guid as supplied

var apiKey = apiKey_example; // {String} Consumer Key guid as supplied

var groupId = 789; // {Long} parameter GROUP

var siteId = 56; // {Integer} parameter SITEID

var apiToken = apiToken_example; // {String} ApiToken

var apiUserToken = apiUserToken_example; // {String} ApiUserToken

var opts = { 
  'body':  // {ListAppointment} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.uploadAppointmentItems(apiAccount, apiKey, groupId, siteId, apiToken, apiUserToken, opts, callback);

															

		using System;
using System.Diagnostics;
using .Api;
using .Client;
using ;

namespace Example
{
    public class uploadAppointmentItemsExample
    {
        public void main()
        {
            
            var apiInstance = new VmobileApi();
            var apiAccount = apiAccount_example;  // String | Consumer Account guid as supplied
            var apiKey = apiKey_example;  // String | Consumer Key guid as supplied
            var groupId = 789;  // Long | parameter GROUP
            var siteId = 56;  // Integer | parameter SITEID
            var apiToken = apiToken_example;  // String | ApiToken
            var apiUserToken = apiUserToken_example;  // String | ApiUserToken
            var body = new ListAppointment(); // ListAppointment |  (optional) 

            try
            {
                // Upload appointment items
                ApiResponseAppointmentReport result = apiInstance.uploadAppointmentItems(apiAccount, apiKey, groupId, siteId, apiToken, apiUserToken, body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling VmobileApi.uploadAppointmentItems: " + e.Message );
            }
        }
    }
}

															

		require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new io.swagger.client\Api\VmobileApi();
$apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
$apiKey = apiKey_example; // String | Consumer Key guid as supplied
$groupId = 789; // Long | parameter GROUP
$siteId = 56; // Integer | parameter SITEID
$apiToken = apiToken_example; // String | ApiToken
$apiUserToken = apiUserToken_example; // String | ApiUserToken
$body = ; // ListAppointment | 

try {
    $result = $api_instance->uploadAppointmentItems($apiAccount, $apiKey, $groupId, $siteId, $apiToken, $apiUserToken, $body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling VmobileApi->uploadAppointmentItems: ', $e->getMessage(), PHP_EOL;
}

														  

Parameters

Path parameters
Name Description
groupId*
siteId*
Header parameters
Name Description
apiAccount*
apiKey*
apiToken*
apiUserToken*
Body parameters
Name Description
body

Responses

Status: 200 - successful operation


uploadPaymentItems

upload payment items -


/v2/mobile/uploadPaymentItems/{groupId}/{siteId}

Usage and SDK Samples


		curl -X post "https://localhost/GlobalApi/v2/mobile/uploadPaymentItems/{groupId}/{siteId}"


		

		import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import .VmobileApi;

import java.io.File;
import java.util.*;

public class VmobileApiExample {

    public static void main(String[] args) {
        
        VmobileApi apiInstance = new VmobileApi();
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        Long groupId = 789; // Long | parameter GROUP
        Integer siteId = 56; // Integer | parameter SITEID
        String apiToken = apiToken_example; // String | ApiToken
        String apiUserToken = apiUserToken_example; // String | ApiUserToken
        ListPaymentItemsMO body = ; // ListPaymentItemsMO | 
        try {
            ApiResponseList result = apiInstance.uploadPaymentItems(apiAccount, apiKey, groupId, siteId, apiToken, apiUserToken, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VmobileApi#uploadPaymentItems");
            e.printStackTrace();
        }
    }
}

														  

		import .VmobileApi;

public class VmobileApiExample {

    public static void main(String[] args) {
        VmobileApi apiInstance = new VmobileApi();
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        Long groupId = 789; // Long | parameter GROUP
        Integer siteId = 56; // Integer | parameter SITEID
        String apiToken = apiToken_example; // String | ApiToken
        String apiUserToken = apiUserToken_example; // String | ApiUserToken
        ListPaymentItemsMO body = ; // ListPaymentItemsMO | 
        try {
            ApiResponseList result = apiInstance.uploadPaymentItems(apiAccount, apiKey, groupId, siteId, apiToken, apiUserToken, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VmobileApi#uploadPaymentItems");
            e.printStackTrace();
        }
    }
}

														  

		
String *apiAccount = apiAccount_example; // Consumer Account guid as supplied
String *apiKey = apiKey_example; // Consumer Key guid as supplied
Long *groupId = 789; // parameter GROUP
Integer *siteId = 56; // parameter SITEID
String *apiToken = apiToken_example; // ApiToken
String *apiUserToken = apiUserToken_example; // ApiUserToken
ListPaymentItemsMO *body = ; //  (optional)

VmobileApi *apiInstance = [[VmobileApi alloc] init];

// Upload payment items
[apiInstance uploadPaymentItemsWith:apiAccount
    apiKey:apiKey
    groupId:groupId
    siteId:siteId
    apiToken:apiToken
    apiUserToken:apiUserToken
    body:body
              completionHandler: ^(ApiResponseList output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];

															

		var  = require('');

var api = new .VmobileApi()

var apiAccount = apiAccount_example; // {String} Consumer Account guid as supplied

var apiKey = apiKey_example; // {String} Consumer Key guid as supplied

var groupId = 789; // {Long} parameter GROUP

var siteId = 56; // {Integer} parameter SITEID

var apiToken = apiToken_example; // {String} ApiToken

var apiUserToken = apiUserToken_example; // {String} ApiUserToken

var opts = { 
  'body':  // {ListPaymentItemsMO} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.uploadPaymentItems(apiAccount, apiKey, groupId, siteId, apiToken, apiUserToken, opts, callback);

															

		using System;
using System.Diagnostics;
using .Api;
using .Client;
using ;

namespace Example
{
    public class uploadPaymentItemsExample
    {
        public void main()
        {
            
            var apiInstance = new VmobileApi();
            var apiAccount = apiAccount_example;  // String | Consumer Account guid as supplied
            var apiKey = apiKey_example;  // String | Consumer Key guid as supplied
            var groupId = 789;  // Long | parameter GROUP
            var siteId = 56;  // Integer | parameter SITEID
            var apiToken = apiToken_example;  // String | ApiToken
            var apiUserToken = apiUserToken_example;  // String | ApiUserToken
            var body = new ListPaymentItemsMO(); // ListPaymentItemsMO |  (optional) 

            try
            {
                // Upload payment items
                ApiResponseList result = apiInstance.uploadPaymentItems(apiAccount, apiKey, groupId, siteId, apiToken, apiUserToken, body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling VmobileApi.uploadPaymentItems: " + e.Message );
            }
        }
    }
}

															

		require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new io.swagger.client\Api\VmobileApi();
$apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
$apiKey = apiKey_example; // String | Consumer Key guid as supplied
$groupId = 789; // Long | parameter GROUP
$siteId = 56; // Integer | parameter SITEID
$apiToken = apiToken_example; // String | ApiToken
$apiUserToken = apiUserToken_example; // String | ApiUserToken
$body = ; // ListPaymentItemsMO | 

try {
    $result = $api_instance->uploadPaymentItems($apiAccount, $apiKey, $groupId, $siteId, $apiToken, $apiUserToken, $body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling VmobileApi->uploadPaymentItems: ', $e->getMessage(), PHP_EOL;
}

														  

Parameters

Path parameters
Name Description
groupId*
siteId*
Header parameters
Name Description
apiAccount*
apiKey*
apiToken*
apiUserToken*
Body parameters
Name Description
body

Responses

Status: 200 - successful operation


uploadTreatmentItems

upload treatment items -


/v2/mobile/uploadTreatmentItems/{groupId}/{siteId}

Usage and SDK Samples


		curl -X post "https://localhost/GlobalApi/v2/mobile/uploadTreatmentItems/{groupId}/{siteId}"


		

		import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import .VmobileApi;

import java.io.File;
import java.util.*;

public class VmobileApiExample {

    public static void main(String[] args) {
        
        VmobileApi apiInstance = new VmobileApi();
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        Long groupId = 789; // Long | parameter GROUP
        Integer siteId = 56; // Integer | parameter SITEID
        String apiToken = apiToken_example; // String | ApiToken
        String apiUserToken = apiUserToken_example; // String | ApiUserToken
        ListTreatmentItemMO body = ; // ListTreatmentItemMO | 
        try {
            ApiResponseList result = apiInstance.uploadTreatmentItems(apiAccount, apiKey, groupId, siteId, apiToken, apiUserToken, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VmobileApi#uploadTreatmentItems");
            e.printStackTrace();
        }
    }
}

														  

		import .VmobileApi;

public class VmobileApiExample {

    public static void main(String[] args) {
        VmobileApi apiInstance = new VmobileApi();
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        Long groupId = 789; // Long | parameter GROUP
        Integer siteId = 56; // Integer | parameter SITEID
        String apiToken = apiToken_example; // String | ApiToken
        String apiUserToken = apiUserToken_example; // String | ApiUserToken
        ListTreatmentItemMO body = ; // ListTreatmentItemMO | 
        try {
            ApiResponseList result = apiInstance.uploadTreatmentItems(apiAccount, apiKey, groupId, siteId, apiToken, apiUserToken, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VmobileApi#uploadTreatmentItems");
            e.printStackTrace();
        }
    }
}

														  

		
String *apiAccount = apiAccount_example; // Consumer Account guid as supplied
String *apiKey = apiKey_example; // Consumer Key guid as supplied
Long *groupId = 789; // parameter GROUP
Integer *siteId = 56; // parameter SITEID
String *apiToken = apiToken_example; // ApiToken
String *apiUserToken = apiUserToken_example; // ApiUserToken
ListTreatmentItemMO *body = ; //  (optional)

VmobileApi *apiInstance = [[VmobileApi alloc] init];

// Upload treatment items
[apiInstance uploadTreatmentItemsWith:apiAccount
    apiKey:apiKey
    groupId:groupId
    siteId:siteId
    apiToken:apiToken
    apiUserToken:apiUserToken
    body:body
              completionHandler: ^(ApiResponseList output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];

															

		var  = require('');

var api = new .VmobileApi()

var apiAccount = apiAccount_example; // {String} Consumer Account guid as supplied

var apiKey = apiKey_example; // {String} Consumer Key guid as supplied

var groupId = 789; // {Long} parameter GROUP

var siteId = 56; // {Integer} parameter SITEID

var apiToken = apiToken_example; // {String} ApiToken

var apiUserToken = apiUserToken_example; // {String} ApiUserToken

var opts = { 
  'body':  // {ListTreatmentItemMO} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.uploadTreatmentItems(apiAccount, apiKey, groupId, siteId, apiToken, apiUserToken, opts, callback);

															

		using System;
using System.Diagnostics;
using .Api;
using .Client;
using ;

namespace Example
{
    public class uploadTreatmentItemsExample
    {
        public void main()
        {
            
            var apiInstance = new VmobileApi();
            var apiAccount = apiAccount_example;  // String | Consumer Account guid as supplied
            var apiKey = apiKey_example;  // String | Consumer Key guid as supplied
            var groupId = 789;  // Long | parameter GROUP
            var siteId = 56;  // Integer | parameter SITEID
            var apiToken = apiToken_example;  // String | ApiToken
            var apiUserToken = apiUserToken_example;  // String | ApiUserToken
            var body = new ListTreatmentItemMO(); // ListTreatmentItemMO |  (optional) 

            try
            {
                // Upload treatment items
                ApiResponseList result = apiInstance.uploadTreatmentItems(apiAccount, apiKey, groupId, siteId, apiToken, apiUserToken, body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling VmobileApi.uploadTreatmentItems: " + e.Message );
            }
        }
    }
}

															

		require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new io.swagger.client\Api\VmobileApi();
$apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
$apiKey = apiKey_example; // String | Consumer Key guid as supplied
$groupId = 789; // Long | parameter GROUP
$siteId = 56; // Integer | parameter SITEID
$apiToken = apiToken_example; // String | ApiToken
$apiUserToken = apiUserToken_example; // String | ApiUserToken
$body = ; // ListTreatmentItemMO | 

try {
    $result = $api_instance->uploadTreatmentItems($apiAccount, $apiKey, $groupId, $siteId, $apiToken, $apiUserToken, $body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling VmobileApi->uploadTreatmentItems: ', $e->getMessage(), PHP_EOL;
}

														  

Parameters

Path parameters
Name Description
groupId*
siteId*
Header parameters
Name Description
apiAccount*
apiKey*
apiToken*
apiUserToken*
Body parameters
Name Description
body

Responses

Status: 200 - successful operation


vetUserSitesMobile

get sites for user -


/v2/mobile/vetUserSites/{uName}

Usage and SDK Samples


		curl -X get "https://localhost/GlobalApi/v2/mobile/vetUserSites/{uName}"


		

		import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import .VmobileApi;

import java.io.File;
import java.util.*;

public class VmobileApiExample {

    public static void main(String[] args) {
        
        VmobileApi apiInstance = new VmobileApi();
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        String uName = uName_example; // String | parameter UNAME
        String apiToken = apiToken_example; // String | ApiToken
        String apiUserToken = apiUserToken_example; // String | ApiUserToken
        try {
            ApiResponseList result = apiInstance.vetUserSitesMobile(apiAccount, apiKey, uName, apiToken, apiUserToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VmobileApi#vetUserSitesMobile");
            e.printStackTrace();
        }
    }
}

														  

		import .VmobileApi;

public class VmobileApiExample {

    public static void main(String[] args) {
        VmobileApi apiInstance = new VmobileApi();
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        String uName = uName_example; // String | parameter UNAME
        String apiToken = apiToken_example; // String | ApiToken
        String apiUserToken = apiUserToken_example; // String | ApiUserToken
        try {
            ApiResponseList result = apiInstance.vetUserSitesMobile(apiAccount, apiKey, uName, apiToken, apiUserToken);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VmobileApi#vetUserSitesMobile");
            e.printStackTrace();
        }
    }
}

														  

		
String *apiAccount = apiAccount_example; // Consumer Account guid as supplied
String *apiKey = apiKey_example; // Consumer Key guid as supplied
String *uName = uName_example; // parameter UNAME
String *apiToken = apiToken_example; // ApiToken
String *apiUserToken = apiUserToken_example; // ApiUserToken

VmobileApi *apiInstance = [[VmobileApi alloc] init];

// Get user sites
[apiInstance vetUserSitesMobileWith:apiAccount
    apiKey:apiKey
    uName:uName
    apiToken:apiToken
    apiUserToken:apiUserToken
              completionHandler: ^(ApiResponseList output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];

															

		var  = require('');

var api = new .VmobileApi()

var apiAccount = apiAccount_example; // {String} Consumer Account guid as supplied

var apiKey = apiKey_example; // {String} Consumer Key guid as supplied

var uName = uName_example; // {String} parameter UNAME

var apiToken = apiToken_example; // {String} ApiToken

var apiUserToken = apiUserToken_example; // {String} ApiUserToken


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.vetUserSitesMobile(apiAccount, apiKey, uName, apiToken, apiUserToken, callback);

															

		using System;
using System.Diagnostics;
using .Api;
using .Client;
using ;

namespace Example
{
    public class vetUserSitesMobileExample
    {
        public void main()
        {
            
            var apiInstance = new VmobileApi();
            var apiAccount = apiAccount_example;  // String | Consumer Account guid as supplied
            var apiKey = apiKey_example;  // String | Consumer Key guid as supplied
            var uName = uName_example;  // String | parameter UNAME
            var apiToken = apiToken_example;  // String | ApiToken
            var apiUserToken = apiUserToken_example;  // String | ApiUserToken

            try
            {
                // Get user sites
                ApiResponseList result = apiInstance.vetUserSitesMobile(apiAccount, apiKey, uName, apiToken, apiUserToken);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling VmobileApi.vetUserSitesMobile: " + e.Message );
            }
        }
    }
}

															

		require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new io.swagger.client\Api\VmobileApi();
$apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
$apiKey = apiKey_example; // String | Consumer Key guid as supplied
$uName = uName_example; // String | parameter UNAME
$apiToken = apiToken_example; // String | ApiToken
$apiUserToken = apiUserToken_example; // String | ApiUserToken

try {
    $result = $api_instance->vetUserSitesMobile($apiAccount, $apiKey, $uName, $apiToken, $apiUserToken);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling VmobileApi->vetUserSitesMobile: ', $e->getMessage(), PHP_EOL;
}

														  

Parameters

Path parameters
Name Description
uName*
Header parameters
Name Description
apiAccount*
apiKey*
apiToken*
apiUserToken*

Responses

Status: 200 - successful operation


vregistrations

getListCitiesRegistrations1

returns the list of cities example call -/v2/registrations/listCities/{groupId}//


/v2/registrations/listCities/{groupId}

Usage and SDK Samples


		curl -X get "https://localhost/GlobalApi/v2/registrations/listCities/{groupId}"


		

		import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import .VregistrationsApi;

import java.io.File;
import java.util.*;

public class VregistrationsApiExample {

    public static void main(String[] args) {
        
        VregistrationsApi apiInstance = new VregistrationsApi();
        Long groupId = 789; // Long | parameter GROUP
        String apiToken = apiToken_example; // String | ApiToken
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        try {
            ApiResponseListCity result = apiInstance.getListCitiesRegistrations1(groupId, apiToken, apiAccount, apiKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VregistrationsApi#getListCitiesRegistrations1");
            e.printStackTrace();
        }
    }
}

														  

		import .VregistrationsApi;

public class VregistrationsApiExample {

    public static void main(String[] args) {
        VregistrationsApi apiInstance = new VregistrationsApi();
        Long groupId = 789; // Long | parameter GROUP
        String apiToken = apiToken_example; // String | ApiToken
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        try {
            ApiResponseListCity result = apiInstance.getListCitiesRegistrations1(groupId, apiToken, apiAccount, apiKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VregistrationsApi#getListCitiesRegistrations1");
            e.printStackTrace();
        }
    }
}

														  

		
Long *groupId = 789; // parameter GROUP
String *apiToken = apiToken_example; // ApiToken
String *apiAccount = apiAccount_example; // Consumer Account guid as supplied
String *apiKey = apiKey_example; // Consumer Key guid as supplied

VregistrationsApi *apiInstance = [[VregistrationsApi alloc] init];

// Get list of cities
[apiInstance getListCitiesRegistrations1With:groupId
    apiToken:apiToken
    apiAccount:apiAccount
    apiKey:apiKey
              completionHandler: ^(ApiResponseListCity output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];

															

		var  = require('');

var api = new .VregistrationsApi()

var groupId = 789; // {Long} parameter GROUP

var apiToken = apiToken_example; // {String} ApiToken

var apiAccount = apiAccount_example; // {String} Consumer Account guid as supplied

var apiKey = apiKey_example; // {String} Consumer Key guid as supplied


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getListCitiesRegistrations1(groupId, apiToken, apiAccount, apiKey, callback);

															

		using System;
using System.Diagnostics;
using .Api;
using .Client;
using ;

namespace Example
{
    public class getListCitiesRegistrations1Example
    {
        public void main()
        {
            
            var apiInstance = new VregistrationsApi();
            var groupId = 789;  // Long | parameter GROUP
            var apiToken = apiToken_example;  // String | ApiToken
            var apiAccount = apiAccount_example;  // String | Consumer Account guid as supplied
            var apiKey = apiKey_example;  // String | Consumer Key guid as supplied

            try
            {
                // Get list of cities
                ApiResponseListCity result = apiInstance.getListCitiesRegistrations1(groupId, apiToken, apiAccount, apiKey);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling VregistrationsApi.getListCitiesRegistrations1: " + e.Message );
            }
        }
    }
}

															

		require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new io.swagger.client\Api\VregistrationsApi();
$groupId = 789; // Long | parameter GROUP
$apiToken = apiToken_example; // String | ApiToken
$apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
$apiKey = apiKey_example; // String | Consumer Key guid as supplied

try {
    $result = $api_instance->getListCitiesRegistrations1($groupId, $apiToken, $apiAccount, $apiKey);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling VregistrationsApi->getListCitiesRegistrations1: ', $e->getMessage(), PHP_EOL;
}

														  

Parameters

Path parameters
Name Description
groupId*
Header parameters
Name Description
apiToken*
apiAccount*
apiKey*

Responses

Status: 200 - successful operation


getPmsSitesByGroupIdRegistrations1

returns the list of sites for group: example call -/v2/registrations/pmsSitesByGroup/{groupId}/


/v2/registrations/pmsSitesByGroup/{groupId}

Usage and SDK Samples


		curl -X get "https://localhost/GlobalApi/v2/registrations/pmsSitesByGroup/{groupId}"


		

		import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import .VregistrationsApi;

import java.io.File;
import java.util.*;

public class VregistrationsApiExample {

    public static void main(String[] args) {
        
        VregistrationsApi apiInstance = new VregistrationsApi();
        Long groupId = 789; // Long | parameter GROUP
        String apiToken = apiToken_example; // String | ApiToken
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        try {
            ApiResponseListSite result = apiInstance.getPmsSitesByGroupIdRegistrations1(groupId, apiToken, apiAccount, apiKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VregistrationsApi#getPmsSitesByGroupIdRegistrations1");
            e.printStackTrace();
        }
    }
}

														  

		import .VregistrationsApi;

public class VregistrationsApiExample {

    public static void main(String[] args) {
        VregistrationsApi apiInstance = new VregistrationsApi();
        Long groupId = 789; // Long | parameter GROUP
        String apiToken = apiToken_example; // String | ApiToken
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        try {
            ApiResponseListSite result = apiInstance.getPmsSitesByGroupIdRegistrations1(groupId, apiToken, apiAccount, apiKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VregistrationsApi#getPmsSitesByGroupIdRegistrations1");
            e.printStackTrace();
        }
    }
}

														  

		
Long *groupId = 789; // parameter GROUP
String *apiToken = apiToken_example; // ApiToken
String *apiAccount = apiAccount_example; // Consumer Account guid as supplied
String *apiKey = apiKey_example; // Consumer Key guid as supplied

VregistrationsApi *apiInstance = [[VregistrationsApi alloc] init];

// Get list of sites
[apiInstance getPmsSitesByGroupIdRegistrations1With:groupId
    apiToken:apiToken
    apiAccount:apiAccount
    apiKey:apiKey
              completionHandler: ^(ApiResponseListSite output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];

															

		var  = require('');

var api = new .VregistrationsApi()

var groupId = 789; // {Long} parameter GROUP

var apiToken = apiToken_example; // {String} ApiToken

var apiAccount = apiAccount_example; // {String} Consumer Account guid as supplied

var apiKey = apiKey_example; // {String} Consumer Key guid as supplied


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getPmsSitesByGroupIdRegistrations1(groupId, apiToken, apiAccount, apiKey, callback);

															

		using System;
using System.Diagnostics;
using .Api;
using .Client;
using ;

namespace Example
{
    public class getPmsSitesByGroupIdRegistrations1Example
    {
        public void main()
        {
            
            var apiInstance = new VregistrationsApi();
            var groupId = 789;  // Long | parameter GROUP
            var apiToken = apiToken_example;  // String | ApiToken
            var apiAccount = apiAccount_example;  // String | Consumer Account guid as supplied
            var apiKey = apiKey_example;  // String | Consumer Key guid as supplied

            try
            {
                // Get list of sites
                ApiResponseListSite result = apiInstance.getPmsSitesByGroupIdRegistrations1(groupId, apiToken, apiAccount, apiKey);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling VregistrationsApi.getPmsSitesByGroupIdRegistrations1: " + e.Message );
            }
        }
    }
}

															

		require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new io.swagger.client\Api\VregistrationsApi();
$groupId = 789; // Long | parameter GROUP
$apiToken = apiToken_example; // String | ApiToken
$apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
$apiKey = apiKey_example; // String | Consumer Key guid as supplied

try {
    $result = $api_instance->getPmsSitesByGroupIdRegistrations1($groupId, $apiToken, $apiAccount, $apiKey);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling VregistrationsApi->getPmsSitesByGroupIdRegistrations1: ', $e->getMessage(), PHP_EOL;
}

														  

Parameters

Path parameters
Name Description
groupId*
Header parameters
Name Description
apiToken*
apiAccount*
apiKey*

Responses

Status: 200 - successful operation


getTitlesByGroupIdRegistrations1

returns the list of titles: example call -/v2/registrations/titlesByGroup/{groupId}/


/v2/registrations/titlesByGroup/{groupId}

Usage and SDK Samples


		curl -X get "https://localhost/GlobalApi/v2/registrations/titlesByGroup/{groupId}"


		

		import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import .VregistrationsApi;

import java.io.File;
import java.util.*;

public class VregistrationsApiExample {

    public static void main(String[] args) {
        
        VregistrationsApi apiInstance = new VregistrationsApi();
        Long groupId = 789; // Long | parameter GROUP
        String apiToken = apiToken_example; // String | ApiToken
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        try {
            ApiResponseListTitle result = apiInstance.getTitlesByGroupIdRegistrations1(groupId, apiToken, apiAccount, apiKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VregistrationsApi#getTitlesByGroupIdRegistrations1");
            e.printStackTrace();
        }
    }
}

														  

		import .VregistrationsApi;

public class VregistrationsApiExample {

    public static void main(String[] args) {
        VregistrationsApi apiInstance = new VregistrationsApi();
        Long groupId = 789; // Long | parameter GROUP
        String apiToken = apiToken_example; // String | ApiToken
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        try {
            ApiResponseListTitle result = apiInstance.getTitlesByGroupIdRegistrations1(groupId, apiToken, apiAccount, apiKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VregistrationsApi#getTitlesByGroupIdRegistrations1");
            e.printStackTrace();
        }
    }
}

														  

		
Long *groupId = 789; // parameter GROUP
String *apiToken = apiToken_example; // ApiToken
String *apiAccount = apiAccount_example; // Consumer Account guid as supplied
String *apiKey = apiKey_example; // Consumer Key guid as supplied

VregistrationsApi *apiInstance = [[VregistrationsApi alloc] init];

// Get list of titles
[apiInstance getTitlesByGroupIdRegistrations1With:groupId
    apiToken:apiToken
    apiAccount:apiAccount
    apiKey:apiKey
              completionHandler: ^(ApiResponseListTitle output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];

															

		var  = require('');

var api = new .VregistrationsApi()

var groupId = 789; // {Long} parameter GROUP

var apiToken = apiToken_example; // {String} ApiToken

var apiAccount = apiAccount_example; // {String} Consumer Account guid as supplied

var apiKey = apiKey_example; // {String} Consumer Key guid as supplied


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getTitlesByGroupIdRegistrations1(groupId, apiToken, apiAccount, apiKey, callback);

															

		using System;
using System.Diagnostics;
using .Api;
using .Client;
using ;

namespace Example
{
    public class getTitlesByGroupIdRegistrations1Example
    {
        public void main()
        {
            
            var apiInstance = new VregistrationsApi();
            var groupId = 789;  // Long | parameter GROUP
            var apiToken = apiToken_example;  // String | ApiToken
            var apiAccount = apiAccount_example;  // String | Consumer Account guid as supplied
            var apiKey = apiKey_example;  // String | Consumer Key guid as supplied

            try
            {
                // Get list of titles
                ApiResponseListTitle result = apiInstance.getTitlesByGroupIdRegistrations1(groupId, apiToken, apiAccount, apiKey);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling VregistrationsApi.getTitlesByGroupIdRegistrations1: " + e.Message );
            }
        }
    }
}

															

		require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new io.swagger.client\Api\VregistrationsApi();
$groupId = 789; // Long | parameter GROUP
$apiToken = apiToken_example; // String | ApiToken
$apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
$apiKey = apiKey_example; // String | Consumer Key guid as supplied

try {
    $result = $api_instance->getTitlesByGroupIdRegistrations1($groupId, $apiToken, $apiAccount, $apiKey);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling VregistrationsApi->getTitlesByGroupIdRegistrations1: ', $e->getMessage(), PHP_EOL;
}

														  

Parameters

Path parameters
Name Description
groupId*
Header parameters
Name Description
apiToken*
apiAccount*
apiKey*

Responses

Status: 200 - successful operation


isClientRegistered1

Checks if a client is already registered


/v2/registrations/isClientRegistered/{groupId}

Usage and SDK Samples


		curl -X get "https://localhost/GlobalApi/v2/registrations/isClientRegistered/{groupId}?emailAddress=&phoneNumber="


		

		import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import .VregistrationsApi;

import java.io.File;
import java.util.*;

public class VregistrationsApiExample {

    public static void main(String[] args) {
        
        VregistrationsApi apiInstance = new VregistrationsApi();
        Long groupId = 789; // Long | parameter GROUP
        String emailAddress = emailAddress_example; // String | Email address to search for
        String phoneNumber = phoneNumber_example; // String | Phone number to search for
        String apiToken = apiToken_example; // String | ApiToken
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        try {
            ApiResponseBoolean result = apiInstance.isClientRegistered1(groupId, emailAddress, phoneNumber, apiToken, apiAccount, apiKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VregistrationsApi#isClientRegistered1");
            e.printStackTrace();
        }
    }
}

														  

		import .VregistrationsApi;

public class VregistrationsApiExample {

    public static void main(String[] args) {
        VregistrationsApi apiInstance = new VregistrationsApi();
        Long groupId = 789; // Long | parameter GROUP
        String emailAddress = emailAddress_example; // String | Email address to search for
        String phoneNumber = phoneNumber_example; // String | Phone number to search for
        String apiToken = apiToken_example; // String | ApiToken
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        try {
            ApiResponseBoolean result = apiInstance.isClientRegistered1(groupId, emailAddress, phoneNumber, apiToken, apiAccount, apiKey);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VregistrationsApi#isClientRegistered1");
            e.printStackTrace();
        }
    }
}

														  

		
Long *groupId = 789; // parameter GROUP
String *emailAddress = emailAddress_example; // Email address to search for
String *phoneNumber = phoneNumber_example; // Phone number to search for
String *apiToken = apiToken_example; // ApiToken
String *apiAccount = apiAccount_example; // Consumer Account guid as supplied
String *apiKey = apiKey_example; // Consumer Key guid as supplied

VregistrationsApi *apiInstance = [[VregistrationsApi alloc] init];

// Check if client is registered
[apiInstance isClientRegistered1With:groupId
    emailAddress:emailAddress
    phoneNumber:phoneNumber
    apiToken:apiToken
    apiAccount:apiAccount
    apiKey:apiKey
              completionHandler: ^(ApiResponseBoolean output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];

															

		var  = require('');

var api = new .VregistrationsApi()

var groupId = 789; // {Long} parameter GROUP

var emailAddress = emailAddress_example; // {String} Email address to search for

var phoneNumber = phoneNumber_example; // {String} Phone number to search for

var apiToken = apiToken_example; // {String} ApiToken

var apiAccount = apiAccount_example; // {String} Consumer Account guid as supplied

var apiKey = apiKey_example; // {String} Consumer Key guid as supplied


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.isClientRegistered1(groupId, emailAddress, phoneNumber, apiToken, apiAccount, apiKey, callback);

															

		using System;
using System.Diagnostics;
using .Api;
using .Client;
using ;

namespace Example
{
    public class isClientRegistered1Example
    {
        public void main()
        {
            
            var apiInstance = new VregistrationsApi();
            var groupId = 789;  // Long | parameter GROUP
            var emailAddress = emailAddress_example;  // String | Email address to search for
            var phoneNumber = phoneNumber_example;  // String | Phone number to search for
            var apiToken = apiToken_example;  // String | ApiToken
            var apiAccount = apiAccount_example;  // String | Consumer Account guid as supplied
            var apiKey = apiKey_example;  // String | Consumer Key guid as supplied

            try
            {
                // Check if client is registered
                ApiResponseBoolean result = apiInstance.isClientRegistered1(groupId, emailAddress, phoneNumber, apiToken, apiAccount, apiKey);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling VregistrationsApi.isClientRegistered1: " + e.Message );
            }
        }
    }
}

															

		require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new io.swagger.client\Api\VregistrationsApi();
$groupId = 789; // Long | parameter GROUP
$emailAddress = emailAddress_example; // String | Email address to search for
$phoneNumber = phoneNumber_example; // String | Phone number to search for
$apiToken = apiToken_example; // String | ApiToken
$apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
$apiKey = apiKey_example; // String | Consumer Key guid as supplied

try {
    $result = $api_instance->isClientRegistered1($groupId, $emailAddress, $phoneNumber, $apiToken, $apiAccount, $apiKey);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling VregistrationsApi->isClientRegistered1: ', $e->getMessage(), PHP_EOL;
}

														  

Parameters

Path parameters
Name Description
groupId*
Header parameters
Name Description
apiToken*
apiAccount*
apiKey*
Query parameters
Name Description
emailAddress*
phoneNumber*

Responses

Status: 200 - successful operation


postCaptureRegistrations1

create a user account example call -/v2/registrations/postCapture/{groupId}/{siteId}/


/v2/registrations/postCapture/{groupId}/{siteId}

Usage and SDK Samples


		curl -X post "https://localhost/GlobalApi/v2/registrations/postCapture/{groupId}/{siteId}"


		

		import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import .VregistrationsApi;

import java.io.File;
import java.util.*;

public class VregistrationsApiExample {

    public static void main(String[] args) {
        
        VregistrationsApi apiInstance = new VregistrationsApi();
        Long groupId = 789; // Long | parameter GROUP
        Integer siteId = 56; // Integer | parameter SITEID
        String apiToken = apiToken_example; // String | ApiToken
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        RegistrationsUserDetails body = ; // RegistrationsUserDetails | 
        try {
            ApiResponseClient result = apiInstance.postCaptureRegistrations1(groupId, siteId, apiToken, apiAccount, apiKey, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VregistrationsApi#postCaptureRegistrations1");
            e.printStackTrace();
        }
    }
}

														  

		import .VregistrationsApi;

public class VregistrationsApiExample {

    public static void main(String[] args) {
        VregistrationsApi apiInstance = new VregistrationsApi();
        Long groupId = 789; // Long | parameter GROUP
        Integer siteId = 56; // Integer | parameter SITEID
        String apiToken = apiToken_example; // String | ApiToken
        String apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
        String apiKey = apiKey_example; // String | Consumer Key guid as supplied
        RegistrationsUserDetails body = ; // RegistrationsUserDetails | 
        try {
            ApiResponseClient result = apiInstance.postCaptureRegistrations1(groupId, siteId, apiToken, apiAccount, apiKey, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling VregistrationsApi#postCaptureRegistrations1");
            e.printStackTrace();
        }
    }
}

														  

		
Long *groupId = 789; // parameter GROUP
Integer *siteId = 56; // parameter SITEID
String *apiToken = apiToken_example; // ApiToken
String *apiAccount = apiAccount_example; // Consumer Account guid as supplied
String *apiKey = apiKey_example; // Consumer Key guid as supplied
RegistrationsUserDetails *body = ; //  (optional)

VregistrationsApi *apiInstance = [[VregistrationsApi alloc] init];

// Register client
[apiInstance postCaptureRegistrations1With:groupId
    siteId:siteId
    apiToken:apiToken
    apiAccount:apiAccount
    apiKey:apiKey
    body:body
              completionHandler: ^(ApiResponseClient output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];

															

		var  = require('');

var api = new .VregistrationsApi()

var groupId = 789; // {Long} parameter GROUP

var siteId = 56; // {Integer} parameter SITEID

var apiToken = apiToken_example; // {String} ApiToken

var apiAccount = apiAccount_example; // {String} Consumer Account guid as supplied

var apiKey = apiKey_example; // {String} Consumer Key guid as supplied

var opts = { 
  'body':  // {RegistrationsUserDetails} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.postCaptureRegistrations1(groupId, siteId, apiToken, apiAccount, apiKey, opts, callback);

															

		using System;
using System.Diagnostics;
using .Api;
using .Client;
using ;

namespace Example
{
    public class postCaptureRegistrations1Example
    {
        public void main()
        {
            
            var apiInstance = new VregistrationsApi();
            var groupId = 789;  // Long | parameter GROUP
            var siteId = 56;  // Integer | parameter SITEID
            var apiToken = apiToken_example;  // String | ApiToken
            var apiAccount = apiAccount_example;  // String | Consumer Account guid as supplied
            var apiKey = apiKey_example;  // String | Consumer Key guid as supplied
            var body = new RegistrationsUserDetails(); // RegistrationsUserDetails |  (optional) 

            try
            {
                // Register client
                ApiResponseClient result = apiInstance.postCaptureRegistrations1(groupId, siteId, apiToken, apiAccount, apiKey, body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling VregistrationsApi.postCaptureRegistrations1: " + e.Message );
            }
        }
    }
}

															

		require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new io.swagger.client\Api\VregistrationsApi();
$groupId = 789; // Long | parameter GROUP
$siteId = 56; // Integer | parameter SITEID
$apiToken = apiToken_example; // String | ApiToken
$apiAccount = apiAccount_example; // String | Consumer Account guid as supplied
$apiKey = apiKey_example; // String | Consumer Key guid as supplied
$body = ; // RegistrationsUserDetails | 

try {
    $result = $api_instance->postCaptureRegistrations1($groupId, $siteId, $apiToken, $apiAccount, $apiKey, $body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling VregistrationsApi->postCaptureRegistrations1: ', $e->getMessage(), PHP_EOL;
}

														  

Parameters

Path parameters
Name Description
groupId*
siteId*
Header parameters
Name Description
apiToken*
apiAccount*
apiKey*
Body parameters
Name Description
body

Responses

Status: 200 - successful operation


Error Responses

Status: 400 - The Request failed

Status: 403 - No Permission To Access Resource

Status: 500 - Application Error - invalid call

Generated 2018-04-30T15:53:00.987+01:00