AS Server - API - Account

Default

accountAuthorise2SA

Account_Authorise2SA


/Account/Authorise2SA

Usage and SDK Samples

curl -X POST \
 -H "Accept: application/json,text/json,application/xml,text/xml" \
 -H "Content-Type: application/json,text/json,application/xml,text/xml,application/x-www-form-urlencoded" \
 "https://api.dev.spenda.co/api/Account/Authorise2SA" \
 -d '{
  "IsRelax" : true,
  "DeviceID" : "DeviceID",
  "MFATypeID" : 0,
  "Code" : "Code"
}' \
 -d 'Custom MIME type example not yet supported: text/json' \
 -d '<MFARequest>
  <MFATypeID>123</MFATypeID>
  <Code>aeiou</Code>
  <IsRelax>true</IsRelax>
  <DeviceID>aeiou</DeviceID>
</MFARequest>' \
 -d 'Custom MIME type example not yet supported: text/xml' \
 -d 'Custom MIME type example not yet supported: application/x-www-form-urlencoded'
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

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

public class DefaultApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        MFARequest mFARequest = {"MFATypeID":0,"Code":"string","IsRelax":true,"DeviceID":"string"}; // MFARequest | 

        try {
            ActionResults_TokenLoginResponse_ result = apiInstance.accountAuthorise2SA(mFARequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#accountAuthorise2SA");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final MFARequest mFARequest = new MFARequest(); // MFARequest | 

try {
    final result = await api_instance.accountAuthorise2SA(mFARequest);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->accountAuthorise2SA: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        MFARequest mFARequest = {"MFATypeID":0,"Code":"string","IsRelax":true,"DeviceID":"string"}; // MFARequest | 

        try {
            ActionResults_TokenLoginResponse_ result = apiInstance.accountAuthorise2SA(mFARequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#accountAuthorise2SA");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
MFARequest *mFARequest = {"MFATypeID":0,"Code":"string","IsRelax":true,"DeviceID":"string"}; //  (optional)

// Account_Authorise2SA
[apiInstance accountAuthorise2SAWith:mFARequest
              completionHandler: ^(ActionResults_TokenLoginResponse_ output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var AsServerApiAccount = require('as_server_api_account');

// Create an instance of the API class
var api = new AsServerApiAccount.DefaultApi()
var opts = {
  'mFARequest': {"MFATypeID":0,"Code":"string","IsRelax":true,"DeviceID":"string"} // {MFARequest} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.accountAuthorise2SA(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class accountAuthorise2SAExample
    {
        public void main()
        {

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var mFARequest = new MFARequest(); // MFARequest |  (optional) 

            try {
                // Account_Authorise2SA
                ActionResults_TokenLoginResponse_ result = apiInstance.accountAuthorise2SA(mFARequest);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.accountAuthorise2SA: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$mFARequest = {"MFATypeID":0,"Code":"string","IsRelax":true,"DeviceID":"string"}; // MFARequest | 

try {
    $result = $api_instance->accountAuthorise2SA($mFARequest);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->accountAuthorise2SA: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $mFARequest = WWW::OPenAPIClient::Object::MFARequest->new(); # MFARequest | 

eval {
    my $result = $api_instance->accountAuthorise2SA(mFARequest => $mFARequest);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->accountAuthorise2SA: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
mFARequest = {"MFATypeID":0,"Code":"string","IsRelax":true,"DeviceID":"string"} # MFARequest |  (optional)

try:
    # Account_Authorise2SA
    api_response = api_instance.account_authorise2_sa(mFARequest=mFARequest)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->accountAuthorise2SA: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let mFARequest = {"MFATypeID":0,"Code":"string","IsRelax":true,"DeviceID":"string"}; // MFARequest

    let mut context = DefaultApi::Context::default();
    let result = client.accountAuthorise2SA(mFARequest, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Body parameters
Name Description
mFARequest

Responses


accountChangePassword

Account_ChangePassword


/Account/ChangePassword

Usage and SDK Samples

curl -X POST \
 -H "Accept: application/json,text/json,application/xml,text/xml" \
 -H "Content-Type: application/json,text/json,application/xml,text/xml,application/x-www-form-urlencoded" \
 "https://api.dev.spenda.co/api/Account/ChangePassword" \
 -d '{
  "NewPassword" : "NewPassword",
  "WebsiteID" : 6,
  "TenantID" : 0,
  "UserID" : 1,
  "Token" : "Token",
  "OldPassword" : "OldPassword"
}' \
 -d 'Custom MIME type example not yet supported: text/json' \
 -d '<ChangePasswordRequest>
  <OldPassword>aeiou</OldPassword>
  <NewPassword>aeiou</NewPassword>
  <Token>aeiou</Token>
  <TenantID>123</TenantID>
  <WebsiteID>123</WebsiteID>
  <UserID>123</UserID>
</ChangePasswordRequest>' \
 -d 'Custom MIME type example not yet supported: text/xml' \
 -d 'Custom MIME type example not yet supported: application/x-www-form-urlencoded'
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

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

public class DefaultApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        ChangePasswordRequest changePasswordRequest = {"OldPassword":"string","NewPassword":"string","Token":"string","TenantID":0,"WebsiteID":0,"UserID":0}; // ChangePasswordRequest | 

        try {
            Object result = apiInstance.accountChangePassword(changePasswordRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#accountChangePassword");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final ChangePasswordRequest changePasswordRequest = new ChangePasswordRequest(); // ChangePasswordRequest | 

try {
    final result = await api_instance.accountChangePassword(changePasswordRequest);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->accountChangePassword: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        ChangePasswordRequest changePasswordRequest = {"OldPassword":"string","NewPassword":"string","Token":"string","TenantID":0,"WebsiteID":0,"UserID":0}; // ChangePasswordRequest | 

        try {
            Object result = apiInstance.accountChangePassword(changePasswordRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#accountChangePassword");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
ChangePasswordRequest *changePasswordRequest = {"OldPassword":"string","NewPassword":"string","Token":"string","TenantID":0,"WebsiteID":0,"UserID":0}; //  (optional)

// Account_ChangePassword
[apiInstance accountChangePasswordWith:changePasswordRequest
              completionHandler: ^(Object output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var AsServerApiAccount = require('as_server_api_account');

// Create an instance of the API class
var api = new AsServerApiAccount.DefaultApi()
var opts = {
  'changePasswordRequest': {"OldPassword":"string","NewPassword":"string","Token":"string","TenantID":0,"WebsiteID":0,"UserID":0} // {ChangePasswordRequest} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.accountChangePassword(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class accountChangePasswordExample
    {
        public void main()
        {

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var changePasswordRequest = new ChangePasswordRequest(); // ChangePasswordRequest |  (optional) 

            try {
                // Account_ChangePassword
                Object result = apiInstance.accountChangePassword(changePasswordRequest);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.accountChangePassword: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$changePasswordRequest = {"OldPassword":"string","NewPassword":"string","Token":"string","TenantID":0,"WebsiteID":0,"UserID":0}; // ChangePasswordRequest | 

try {
    $result = $api_instance->accountChangePassword($changePasswordRequest);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->accountChangePassword: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $changePasswordRequest = WWW::OPenAPIClient::Object::ChangePasswordRequest->new(); # ChangePasswordRequest | 

eval {
    my $result = $api_instance->accountChangePassword(changePasswordRequest => $changePasswordRequest);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->accountChangePassword: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
changePasswordRequest = {"OldPassword":"string","NewPassword":"string","Token":"string","TenantID":0,"WebsiteID":0,"UserID":0} # ChangePasswordRequest |  (optional)

try:
    # Account_ChangePassword
    api_response = api_instance.account_change_password(changePasswordRequest=changePasswordRequest)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->accountChangePassword: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let changePasswordRequest = {"OldPassword":"string","NewPassword":"string","Token":"string","TenantID":0,"WebsiteID":0,"UserID":0}; // ChangePasswordRequest

    let mut context = DefaultApi::Context::default();
    let result = client.accountChangePassword(changePasswordRequest, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Body parameters
Name Description
changePasswordRequest

Responses


accountConfirmResetPassword

Account_ConfirmResetPassword


/Account/ConfirmResetPassword

Usage and SDK Samples

curl -X POST \
 -H "Accept: application/json,text/json,application/xml,text/xml" \
 -H "Content-Type: application/json,text/json,application/xml,text/xml,application/x-www-form-urlencoded" \
 "https://api.dev.spenda.co/api/Account/ConfirmResetPassword" \
 -d '{
  "WebsiteID" : 6,
  "TenantID" : 0,
  "UserID" : 1,
  "EmailAddress" : "EmailAddress"
}' \
 -d 'Custom MIME type example not yet supported: text/json' \
 -d '<ConfirmResetPasswordRequest>
  <EmailAddress>aeiou</EmailAddress>
  <TenantID>123</TenantID>
  <WebsiteID>123</WebsiteID>
  <UserID>123</UserID>
</ConfirmResetPasswordRequest>' \
 -d 'Custom MIME type example not yet supported: text/xml' \
 -d 'Custom MIME type example not yet supported: application/x-www-form-urlencoded'
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

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

public class DefaultApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        ConfirmResetPasswordRequest confirmResetPasswordRequest = {"EmailAddress":"string","TenantID":0,"WebsiteID":0,"UserID":0}; // ConfirmResetPasswordRequest | 

        try {
            Object result = apiInstance.accountConfirmResetPassword(confirmResetPasswordRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#accountConfirmResetPassword");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final ConfirmResetPasswordRequest confirmResetPasswordRequest = new ConfirmResetPasswordRequest(); // ConfirmResetPasswordRequest | 

try {
    final result = await api_instance.accountConfirmResetPassword(confirmResetPasswordRequest);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->accountConfirmResetPassword: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        ConfirmResetPasswordRequest confirmResetPasswordRequest = {"EmailAddress":"string","TenantID":0,"WebsiteID":0,"UserID":0}; // ConfirmResetPasswordRequest | 

        try {
            Object result = apiInstance.accountConfirmResetPassword(confirmResetPasswordRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#accountConfirmResetPassword");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
ConfirmResetPasswordRequest *confirmResetPasswordRequest = {"EmailAddress":"string","TenantID":0,"WebsiteID":0,"UserID":0}; //  (optional)

// Account_ConfirmResetPassword
[apiInstance accountConfirmResetPasswordWith:confirmResetPasswordRequest
              completionHandler: ^(Object output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var AsServerApiAccount = require('as_server_api_account');

// Create an instance of the API class
var api = new AsServerApiAccount.DefaultApi()
var opts = {
  'confirmResetPasswordRequest': {"EmailAddress":"string","TenantID":0,"WebsiteID":0,"UserID":0} // {ConfirmResetPasswordRequest} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.accountConfirmResetPassword(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class accountConfirmResetPasswordExample
    {
        public void main()
        {

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var confirmResetPasswordRequest = new ConfirmResetPasswordRequest(); // ConfirmResetPasswordRequest |  (optional) 

            try {
                // Account_ConfirmResetPassword
                Object result = apiInstance.accountConfirmResetPassword(confirmResetPasswordRequest);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.accountConfirmResetPassword: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$confirmResetPasswordRequest = {"EmailAddress":"string","TenantID":0,"WebsiteID":0,"UserID":0}; // ConfirmResetPasswordRequest | 

try {
    $result = $api_instance->accountConfirmResetPassword($confirmResetPasswordRequest);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->accountConfirmResetPassword: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $confirmResetPasswordRequest = WWW::OPenAPIClient::Object::ConfirmResetPasswordRequest->new(); # ConfirmResetPasswordRequest | 

eval {
    my $result = $api_instance->accountConfirmResetPassword(confirmResetPasswordRequest => $confirmResetPasswordRequest);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->accountConfirmResetPassword: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
confirmResetPasswordRequest = {"EmailAddress":"string","TenantID":0,"WebsiteID":0,"UserID":0} # ConfirmResetPasswordRequest |  (optional)

try:
    # Account_ConfirmResetPassword
    api_response = api_instance.account_confirm_reset_password(confirmResetPasswordRequest=confirmResetPasswordRequest)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->accountConfirmResetPassword: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let confirmResetPasswordRequest = {"EmailAddress":"string","TenantID":0,"WebsiteID":0,"UserID":0}; // ConfirmResetPasswordRequest

    let mut context = DefaultApi::Context::default();
    let result = client.accountConfirmResetPassword(confirmResetPasswordRequest, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Body parameters
Name Description
confirmResetPasswordRequest

Responses


accountGetAvailableTenantsForSwitching

Account_GetAvailableTenantsForSwitching


/Account/UserTenant

Usage and SDK Samples

curl -X GET \
 -H "Accept: application/json,text/json,application/xml,text/xml" \
 "https://api.dev.spenda.co/api/Account/UserTenant"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

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

public class DefaultApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();

        try {
            ActionResults_List_UserTenant__ result = apiInstance.accountGetAvailableTenantsForSwitching();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#accountGetAvailableTenantsForSwitching");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();


try {
    final result = await api_instance.accountGetAvailableTenantsForSwitching();
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->accountGetAvailableTenantsForSwitching: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();

        try {
            ActionResults_List_UserTenant__ result = apiInstance.accountGetAvailableTenantsForSwitching();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#accountGetAvailableTenantsForSwitching");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Account_GetAvailableTenantsForSwitching
[apiInstance accountGetAvailableTenantsForSwitchingWithCompletionHandler: 
              ^(ActionResults_List_UserTenant__ output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var AsServerApiAccount = require('as_server_api_account');

// Create an instance of the API class
var api = new AsServerApiAccount.DefaultApi()
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.accountGetAvailableTenantsForSwitching(callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class accountGetAvailableTenantsForSwitchingExample
    {
        public void main()
        {

            // Create an instance of the API class
            var apiInstance = new DefaultApi();

            try {
                // Account_GetAvailableTenantsForSwitching
                ActionResults_List_UserTenant__ result = apiInstance.accountGetAvailableTenantsForSwitching();
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.accountGetAvailableTenantsForSwitching: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();

try {
    $result = $api_instance->accountGetAvailableTenantsForSwitching();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->accountGetAvailableTenantsForSwitching: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();

eval {
    my $result = $api_instance->accountGetAvailableTenantsForSwitching();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->accountGetAvailableTenantsForSwitching: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()

try:
    # Account_GetAvailableTenantsForSwitching
    api_response = api_instance.account_get_available_tenants_for_switching()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->accountGetAvailableTenantsForSwitching: %s\n" % e)
extern crate DefaultApi;

pub fn main() {

    let mut context = DefaultApi::Context::default();
    let result = client.accountGetAvailableTenantsForSwitching(&context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Responses


accountLogout

Account_Logout


/Account/Logout

Usage and SDK Samples

curl -X POST \
 -H "Accept: application/json,text/json,application/xml,text/xml" \
 "https://api.dev.spenda.co/api/Account/Logout"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

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

public class DefaultApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();

        try {
            ActionResults result = apiInstance.accountLogout();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#accountLogout");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();


try {
    final result = await api_instance.accountLogout();
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->accountLogout: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();

        try {
            ActionResults result = apiInstance.accountLogout();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#accountLogout");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Account_Logout
[apiInstance accountLogoutWithCompletionHandler: 
              ^(ActionResults output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var AsServerApiAccount = require('as_server_api_account');

// Create an instance of the API class
var api = new AsServerApiAccount.DefaultApi()
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.accountLogout(callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class accountLogoutExample
    {
        public void main()
        {

            // Create an instance of the API class
            var apiInstance = new DefaultApi();

            try {
                // Account_Logout
                ActionResults result = apiInstance.accountLogout();
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.accountLogout: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();

try {
    $result = $api_instance->accountLogout();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->accountLogout: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();

eval {
    my $result = $api_instance->accountLogout();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->accountLogout: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()

try:
    # Account_Logout
    api_response = api_instance.account_logout()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->accountLogout: %s\n" % e)
extern crate DefaultApi;

pub fn main() {

    let mut context = DefaultApi::Context::default();
    let result = client.accountLogout(&context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Responses


accountRegister

Account_Register


/Account/Register

Usage and SDK Samples

curl -X POST \
 -H "Accept: application/json,text/json,application/xml,text/xml" \
 -H "Content-Type: application/json,text/json,application/xml,text/xml,application/x-www-form-urlencoded" \
 "https://api.dev.spenda.co/api/Account/Register" \
 -d '{
  "WebsiteID" : 5,
  "UserName" : "UserName",
  "Customer" : {
    "AvgPayDays" : 5,
    "CountOfLinkedCustomers" : 4,
    "IsApprovedForWeb" : true,
    "IsApprovedForPOS" : true,
    "AccountCustomerClassName" : "AccountCustomerClassName",
    "CustomerID" : 8,
    "DefaultLocation" : {
      "IsActive" : true,
      "TimeZoneName" : "TimeZoneName",
      "GUID" : "00000000-0000-0000-0000-000000000000",
      "EmailAddress" : "EmailAddress",
      "Name" : "Name",
      "LocationName" : "LocationName",
      "GUIDstring" : "GUIDstring",
      "Addresses" : [ {
        "FullAddress" : "FullAddress",
        "IsDefaultDeliverTo" : true,
        "IsActive" : true,
        "LocationID" : 5,
        "Latitude" : 6.778324963048013,
        "GUIDstring" : "GUIDstring",
        "IsPostalAddress" : true,
        "AddressDescription" : "AddressDescription",
        "ID" : 2,
        "Notes" : "Notes",
        "IsDeliverTo" : true,
        "IsSelectedBilling" : true,
        "IsSelectedDelivery" : true,
        "GUID" : "00000000-0000-0000-0000-000000000000",
        "City" : "City",
        "Longitude" : 6.878052220127876,
        "StreetAddress" : "StreetAddress",
        "IsMailTo" : true,
        "IsServiceTo" : true,
        "State" : "State",
        "IsDefaultServiceTo" : true,
        "IsOfficeOrShop" : true,
        "Country" : "Country",
        "IsSystem" : true,
        "AddressType" : 6,
        "PostCode" : "PostCode",
        "IsDefaultBilling" : true
      }, {
        "FullAddress" : "FullAddress",
        "IsDefaultDeliverTo" : true,
        "IsActive" : true,
        "LocationID" : 5,
        "Latitude" : 6.778324963048013,
        "GUIDstring" : "GUIDstring",
        "IsPostalAddress" : true,
        "AddressDescription" : "AddressDescription",
        "ID" : 2,
        "Notes" : "Notes",
        "IsDeliverTo" : true,
        "IsSelectedBilling" : true,
        "IsSelectedDelivery" : true,
        "GUID" : "00000000-0000-0000-0000-000000000000",
        "City" : "City",
        "Longitude" : 6.878052220127876,
        "StreetAddress" : "StreetAddress",
        "IsMailTo" : true,
        "IsServiceTo" : true,
        "State" : "State",
        "IsDefaultServiceTo" : true,
        "IsOfficeOrShop" : true,
        "Country" : "Country",
        "IsSystem" : true,
        "AddressType" : 6,
        "PostCode" : "PostCode",
        "IsDefaultBilling" : true
      } ],
      "UtcOffset" : 4,
      "IsVisibleToPublic" : true,
      "Contacts" : [ {
        "BusinessName" : "BusinessName",
        "FirstName" : "FirstName",
        "IsActive" : true,
        "GUID" : "00000000-0000-0000-0000-000000000000",
        "Title" : "Title",
        "BusinessLocationGuid" : "00000000-0000-0000-0000-000000000000",
        "Birthday" : "2000-01-23T04:56:07.000+00:00",
        "Gender" : "Gender",
        "PositionOrOccupation" : "PositionOrOccupation",
        "IsIncludeInEmails" : true,
        "EmailAddress" : "EmailAddress",
        "ContactRole" : "ContactRole",
        "LinkedUserGlobalIDstring" : "LinkedUserGlobalIDstring",
        "BusinessContactID" : 7,
        "GUIDstring" : "GUIDstring",
        "PhoneMobile" : "PhoneMobile",
        "IsPrimaryContact" : true,
        "Phone1" : "Phone1",
        "IsSystem" : true,
        "ID" : 3,
        "LastName" : "LastName",
        "BusinessID" : 0
      }, {
        "BusinessName" : "BusinessName",
        "FirstName" : "FirstName",
        "IsActive" : true,
        "GUID" : "00000000-0000-0000-0000-000000000000",
        "Title" : "Title",
        "BusinessLocationGuid" : "00000000-0000-0000-0000-000000000000",
        "Birthday" : "2000-01-23T04:56:07.000+00:00",
        "Gender" : "Gender",
        "PositionOrOccupation" : "PositionOrOccupation",
        "IsIncludeInEmails" : true,
        "EmailAddress" : "EmailAddress",
        "ContactRole" : "ContactRole",
        "LinkedUserGlobalIDstring" : "LinkedUserGlobalIDstring",
        "BusinessContactID" : 7,
        "GUIDstring" : "GUIDstring",
        "PhoneMobile" : "PhoneMobile",
        "IsPrimaryContact" : true,
        "Phone1" : "Phone1",
        "IsSystem" : true,
        "ID" : 3,
        "LastName" : "LastName",
        "BusinessID" : 0
      } ],
      "Phone" : "Phone",
      "IsSystem" : true,
      "ID" : 6,
      "Fax" : "Fax",
      "IsDefaultLocation" : true
    },
    "IsPrimaryContact" : true,
    "SearchFieldMatches" : [ "SearchFieldMatches", "SearchFieldMatches" ],
    "AnnualTurnOver" : 9,
    "LinkedTenantGlobalID" : "00000000-0000-0000-0000-000000000000",
    "SyncLogs" : [ {
      "Status" : "Status",
      "LastImportDateTime" : "2000-01-23T04:56:07.000+00:00",
      "AdaptorID" : 2,
      "LastImportDateTime_offset" : 9,
      "LastExportDateTime_offset" : 0,
      "LastModifiedDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
      "LastExportDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
      "BSID" : "BSID",
      "Details" : "Details",
      "SyncCode" : "SyncCode",
      "LastExportDateTime" : "2000-01-23T04:56:07.000+00:00",
      "LastModifiedDateTime_offset" : 2,
      "ID" : 4,
      "LastImportDateTime_utc" : "2000-01-23T04:56:07.000+00:00"
    }, {
      "Status" : "Status",
      "LastImportDateTime" : "2000-01-23T04:56:07.000+00:00",
      "AdaptorID" : 2,
      "LastImportDateTime_offset" : 9,
      "LastExportDateTime_offset" : 0,
      "LastModifiedDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
      "LastExportDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
      "BSID" : "BSID",
      "Details" : "Details",
      "SyncCode" : "SyncCode",
      "LastExportDateTime" : "2000-01-23T04:56:07.000+00:00",
      "LastModifiedDateTime_offset" : 2,
      "ID" : 4,
      "LastImportDateTime_utc" : "2000-01-23T04:56:07.000+00:00"
    } ],
    "PrimaryContactEmailAddress" : "PrimaryContactEmailAddress",
    "Currency" : "Currency",
    "LastInvoice" : {
      "Status" : "Status",
      "AppliedDate" : "2000-01-23T04:56:07.000+00:00",
      "DatTypeString" : "DatTypeString",
      "ShortDatTypeString" : "ShortDatTypeString",
      "Description" : "Description",
      "Issues" : "Issues",
      "RefNumber" : "RefNumber",
      "AppliedAmount" : 4.145608029883936,
      "DatTypeID" : 2,
      "TotalInc" : 7.061401241503109,
      "LineCount" : 9,
      "TransSubType" : "TransSubType",
      "QuantityCount" : 3.616076749251911,
      "GUIDstring" : "GUIDstring",
      "TotalEx" : 2.027123023002322,
      "RecipientName" : "RecipientName",
      "ID" : 5
    },
    "CreditStopSetting" : 5,
    "ID" : 1,
    "IsReadOnly" : true,
    "Status" : "Status",
    "SupplierRefNumber" : "SupplierRefNumber",
    "BillingAddressString" : "BillingAddressString",
    "IsUpdateLinkedTenant" : true,
    "PointsBalance" : 9.505836306729838,
    "AccountLastUpdatedDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
    "PriceBandInfo" : {
      "DiscountPercentage" : 7.386281948385884,
      "Price" : 1.2315135367772556,
      "Name" : "Name"
    },
    "Locations" : [ {
      "IsActive" : true,
      "TimeZoneName" : "TimeZoneName",
      "GUID" : "00000000-0000-0000-0000-000000000000",
      "EmailAddress" : "EmailAddress",
      "Name" : "Name",
      "LocationName" : "LocationName",
      "GUIDstring" : "GUIDstring",
      "Addresses" : [ {
        "FullAddress" : "FullAddress",
        "IsDefaultDeliverTo" : true,
        "IsActive" : true,
        "LocationID" : 5,
        "Latitude" : 6.778324963048013,
        "GUIDstring" : "GUIDstring",
        "IsPostalAddress" : true,
        "AddressDescription" : "AddressDescription",
        "ID" : 2,
        "Notes" : "Notes",
        "IsDeliverTo" : true,
        "IsSelectedBilling" : true,
        "IsSelectedDelivery" : true,
        "GUID" : "00000000-0000-0000-0000-000000000000",
        "City" : "City",
        "Longitude" : 6.878052220127876,
        "StreetAddress" : "StreetAddress",
        "IsMailTo" : true,
        "IsServiceTo" : true,
        "State" : "State",
        "IsDefaultServiceTo" : true,
        "IsOfficeOrShop" : true,
        "Country" : "Country",
        "IsSystem" : true,
        "AddressType" : 6,
        "PostCode" : "PostCode",
        "IsDefaultBilling" : true
      }, {
        "FullAddress" : "FullAddress",
        "IsDefaultDeliverTo" : true,
        "IsActive" : true,
        "LocationID" : 5,
        "Latitude" : 6.778324963048013,
        "GUIDstring" : "GUIDstring",
        "IsPostalAddress" : true,
        "AddressDescription" : "AddressDescription",
        "ID" : 2,
        "Notes" : "Notes",
        "IsDeliverTo" : true,
        "IsSelectedBilling" : true,
        "IsSelectedDelivery" : true,
        "GUID" : "00000000-0000-0000-0000-000000000000",
        "City" : "City",
        "Longitude" : 6.878052220127876,
        "StreetAddress" : "StreetAddress",
        "IsMailTo" : true,
        "IsServiceTo" : true,
        "State" : "State",
        "IsDefaultServiceTo" : true,
        "IsOfficeOrShop" : true,
        "Country" : "Country",
        "IsSystem" : true,
        "AddressType" : 6,
        "PostCode" : "PostCode",
        "IsDefaultBilling" : true
      } ],
      "UtcOffset" : 4,
      "IsVisibleToPublic" : true,
      "Contacts" : [ {
        "BusinessName" : "BusinessName",
        "FirstName" : "FirstName",
        "IsActive" : true,
        "GUID" : "00000000-0000-0000-0000-000000000000",
        "Title" : "Title",
        "BusinessLocationGuid" : "00000000-0000-0000-0000-000000000000",
        "Birthday" : "2000-01-23T04:56:07.000+00:00",
        "Gender" : "Gender",
        "PositionOrOccupation" : "PositionOrOccupation",
        "IsIncludeInEmails" : true,
        "EmailAddress" : "EmailAddress",
        "ContactRole" : "ContactRole",
        "LinkedUserGlobalIDstring" : "LinkedUserGlobalIDstring",
        "BusinessContactID" : 7,
        "GUIDstring" : "GUIDstring",
        "PhoneMobile" : "PhoneMobile",
        "IsPrimaryContact" : true,
        "Phone1" : "Phone1",
        "IsSystem" : true,
        "ID" : 3,
        "LastName" : "LastName",
        "BusinessID" : 0
      }, {
        "BusinessName" : "BusinessName",
        "FirstName" : "FirstName",
        "IsActive" : true,
        "GUID" : "00000000-0000-0000-0000-000000000000",
        "Title" : "Title",
        "BusinessLocationGuid" : "00000000-0000-0000-0000-000000000000",
        "Birthday" : "2000-01-23T04:56:07.000+00:00",
        "Gender" : "Gender",
        "PositionOrOccupation" : "PositionOrOccupation",
        "IsIncludeInEmails" : true,
        "EmailAddress" : "EmailAddress",
        "ContactRole" : "ContactRole",
        "LinkedUserGlobalIDstring" : "LinkedUserGlobalIDstring",
        "BusinessContactID" : 7,
        "GUIDstring" : "GUIDstring",
        "PhoneMobile" : "PhoneMobile",
        "IsPrimaryContact" : true,
        "Phone1" : "Phone1",
        "IsSystem" : true,
        "ID" : 3,
        "LastName" : "LastName",
        "BusinessID" : 0
      } ],
      "Phone" : "Phone",
      "IsSystem" : true,
      "ID" : 6,
      "Fax" : "Fax",
      "IsDefaultLocation" : true
    }, {
      "IsActive" : true,
      "TimeZoneName" : "TimeZoneName",
      "GUID" : "00000000-0000-0000-0000-000000000000",
      "EmailAddress" : "EmailAddress",
      "Name" : "Name",
      "LocationName" : "LocationName",
      "GUIDstring" : "GUIDstring",
      "Addresses" : [ {
        "FullAddress" : "FullAddress",
        "IsDefaultDeliverTo" : true,
        "IsActive" : true,
        "LocationID" : 5,
        "Latitude" : 6.778324963048013,
        "GUIDstring" : "GUIDstring",
        "IsPostalAddress" : true,
        "AddressDescription" : "AddressDescription",
        "ID" : 2,
        "Notes" : "Notes",
        "IsDeliverTo" : true,
        "IsSelectedBilling" : true,
        "IsSelectedDelivery" : true,
        "GUID" : "00000000-0000-0000-0000-000000000000",
        "City" : "City",
        "Longitude" : 6.878052220127876,
        "StreetAddress" : "StreetAddress",
        "IsMailTo" : true,
        "IsServiceTo" : true,
        "State" : "State",
        "IsDefaultServiceTo" : true,
        "IsOfficeOrShop" : true,
        "Country" : "Country",
        "IsSystem" : true,
        "AddressType" : 6,
        "PostCode" : "PostCode",
        "IsDefaultBilling" : true
      }, {
        "FullAddress" : "FullAddress",
        "IsDefaultDeliverTo" : true,
        "IsActive" : true,
        "LocationID" : 5,
        "Latitude" : 6.778324963048013,
        "GUIDstring" : "GUIDstring",
        "IsPostalAddress" : true,
        "AddressDescription" : "AddressDescription",
        "ID" : 2,
        "Notes" : "Notes",
        "IsDeliverTo" : true,
        "IsSelectedBilling" : true,
        "IsSelectedDelivery" : true,
        "GUID" : "00000000-0000-0000-0000-000000000000",
        "City" : "City",
        "Longitude" : 6.878052220127876,
        "StreetAddress" : "StreetAddress",
        "IsMailTo" : true,
        "IsServiceTo" : true,
        "State" : "State",
        "IsDefaultServiceTo" : true,
        "IsOfficeOrShop" : true,
        "Country" : "Country",
        "IsSystem" : true,
        "AddressType" : 6,
        "PostCode" : "PostCode",
        "IsDefaultBilling" : true
      } ],
      "UtcOffset" : 4,
      "IsVisibleToPublic" : true,
      "Contacts" : [ {
        "BusinessName" : "BusinessName",
        "FirstName" : "FirstName",
        "IsActive" : true,
        "GUID" : "00000000-0000-0000-0000-000000000000",
        "Title" : "Title",
        "BusinessLocationGuid" : "00000000-0000-0000-0000-000000000000",
        "Birthday" : "2000-01-23T04:56:07.000+00:00",
        "Gender" : "Gender",
        "PositionOrOccupation" : "PositionOrOccupation",
        "IsIncludeInEmails" : true,
        "EmailAddress" : "EmailAddress",
        "ContactRole" : "ContactRole",
        "LinkedUserGlobalIDstring" : "LinkedUserGlobalIDstring",
        "BusinessContactID" : 7,
        "GUIDstring" : "GUIDstring",
        "PhoneMobile" : "PhoneMobile",
        "IsPrimaryContact" : true,
        "Phone1" : "Phone1",
        "IsSystem" : true,
        "ID" : 3,
        "LastName" : "LastName",
        "BusinessID" : 0
      }, {
        "BusinessName" : "BusinessName",
        "FirstName" : "FirstName",
        "IsActive" : true,
        "GUID" : "00000000-0000-0000-0000-000000000000",
        "Title" : "Title",
        "BusinessLocationGuid" : "00000000-0000-0000-0000-000000000000",
        "Birthday" : "2000-01-23T04:56:07.000+00:00",
        "Gender" : "Gender",
        "PositionOrOccupation" : "PositionOrOccupation",
        "IsIncludeInEmails" : true,
        "EmailAddress" : "EmailAddress",
        "ContactRole" : "ContactRole",
        "LinkedUserGlobalIDstring" : "LinkedUserGlobalIDstring",
        "BusinessContactID" : 7,
        "GUIDstring" : "GUIDstring",
        "PhoneMobile" : "PhoneMobile",
        "IsPrimaryContact" : true,
        "Phone1" : "Phone1",
        "IsSystem" : true,
        "ID" : 3,
        "LastName" : "LastName",
        "BusinessID" : 0
      } ],
      "Phone" : "Phone",
      "IsSystem" : true,
      "ID" : 6,
      "Fax" : "Fax",
      "IsDefaultLocation" : true
    } ],
    "AssetCount" : 6,
    "BusinessGUIDstring" : "BusinessGUIDstring",
    "BSID" : "BSID",
    "SecondaryName" : "SecondaryName",
    "AccountCustomerName" : "AccountCustomerName",
    "BillToCustomerCreditLimit" : 1.0246457001441578,
    "CreditLimitString" : "CreditLimitString",
    "IsSystem" : true,
    "PrimaryContactLastName" : "PrimaryContactLastName",
    "AccountCustomerRefNumber" : "AccountCustomerRefNumber",
    "TerritoryName" : "TerritoryName",
    "ModifiesDateTime_offset" : 7,
    "AvailableCreditString" : "AvailableCreditString",
    "ClassPostingBehaviour" : "ClassPostingBehaviour",
    "AccountOpenDate" : "2000-01-23T04:56:07.000+00:00",
    "MasterBuyingGroupCustomerID" : 6,
    "LinkedTenantGlobalIDstring" : "LinkedTenantGlobalIDstring",
    "ABN" : "ABN",
    "IsLinked" : true,
    "AccountCustomerClassID" : 3,
    "CustomerClass" : {
      "HasBeenSaved" : true,
      "CountOfCustomers" : 0,
      "IsAccountCustomerBatched" : true,
      "Description" : "Description",
      "IsApprovedForWeb" : true,
      "IsApprovedForPOS" : true,
      "IsActive" : true,
      "BatchInvoiceFrequencyDays" : 8,
      "BatchInvoicePrefix" : "BatchInvoicePrefix",
      "Name" : "Name",
      "GUIDstring" : "GUIDstring",
      "IsAutoApprovedforClaimRequests" : true,
      "IsAutoSendPayByLinkInvoice" : true,
      "TradingTermDays" : 5,
      "DefaultPricingBandID" : 5,
      "ID" : 2,
      "PostingBehaviour" : "PostingBehaviour",
      "IsCanSetFundingRate" : true,
      "CreditLimit" : 6.345503614942988,
      "LoyaltyDescription" : "LoyaltyDescription",
      "GUID" : "00000000-0000-0000-0000-000000000000",
      "GenericAccountCustomerID" : 2,
      "TradingTermID" : 8,
      "IsLoyaltyEligible" : true,
      "IsBatchInvoice" : true,
      "GenericAccountCustomerName" : "GenericAccountCustomerName",
      "AccountCustomerRefNumberPrefix" : "AccountCustomerRefNumberPrefix",
      "IsExemptFromMerchantSurcharge" : true,
      "FundingRate" : 2.008994665592807,
      "IsAutoCreateGenericAccountCustomer" : true,
      "BSID" : "BSID",
      "IsSystem" : true,
      "IsApprovedForService" : true,
      "TradingTermType" : "TradingTermType",
      "PrimaryOperationalCustomer" : {
        "IsIndividual" : true,
        "CompanyName" : "CompanyName",
        "PrimaryContactFullName" : "PrimaryContactFullName",
        "CustomerID" : 1
      }
    },
    "WebSiteURL" : "WebSiteURL",
    "Structure" : "Structure",
    "OverdueInvoicesAmount" : 7.457744773683766,
    "IsEnableAutomaticJobBookingSMSReminder" : true,
    "PhoneFax" : "PhoneFax",
    "NumberOfStaff" : 7,
    "BillToCustomerID" : 6,
    "CreditLimit" : 2.684056218962324,
    "PricingBandName" : "PricingBandName",
    "ClassID" : 0,
    "CustomerIsActive" : true,
    "PrimaryContactMobile" : "PrimaryContactMobile",
    "DeliveryNotes" : "DeliveryNotes",
    "AccountBalanceString" : "AccountBalanceString",
    "Contacts" : [ {
      "BusinessName" : "BusinessName",
      "FirstName" : "FirstName",
      "IsActive" : true,
      "GUID" : "00000000-0000-0000-0000-000000000000",
      "Title" : "Title",
      "BusinessLocationGuid" : "00000000-0000-0000-0000-000000000000",
      "Birthday" : "2000-01-23T04:56:07.000+00:00",
      "Gender" : "Gender",
      "PositionOrOccupation" : "PositionOrOccupation",
      "IsIncludeInEmails" : true,
      "EmailAddress" : "EmailAddress",
      "ContactRole" : "ContactRole",
      "LinkedUserGlobalIDstring" : "LinkedUserGlobalIDstring",
      "BusinessContactID" : 7,
      "GUIDstring" : "GUIDstring",
      "PhoneMobile" : "PhoneMobile",
      "IsPrimaryContact" : true,
      "Phone1" : "Phone1",
      "IsSystem" : true,
      "ID" : 3,
      "LastName" : "LastName",
      "BusinessID" : 0
    }, {
      "BusinessName" : "BusinessName",
      "FirstName" : "FirstName",
      "IsActive" : true,
      "GUID" : "00000000-0000-0000-0000-000000000000",
      "Title" : "Title",
      "BusinessLocationGuid" : "00000000-0000-0000-0000-000000000000",
      "Birthday" : "2000-01-23T04:56:07.000+00:00",
      "Gender" : "Gender",
      "PositionOrOccupation" : "PositionOrOccupation",
      "IsIncludeInEmails" : true,
      "EmailAddress" : "EmailAddress",
      "ContactRole" : "ContactRole",
      "LinkedUserGlobalIDstring" : "LinkedUserGlobalIDstring",
      "BusinessContactID" : 7,
      "GUIDstring" : "GUIDstring",
      "PhoneMobile" : "PhoneMobile",
      "IsPrimaryContact" : true,
      "Phone1" : "Phone1",
      "IsSystem" : true,
      "ID" : 3,
      "LastName" : "LastName",
      "BusinessID" : 0
    } ],
    "CampaignID" : 1,
    "BankAccounts" : [ {
      "GUIDstring" : "GUIDstring",
      "BSB" : "BSB",
      "StatementText" : "StatementText",
      "IsRemainder" : true,
      "GUID" : "00000000-0000-0000-0000-000000000000",
      "ID" : 9,
      "AccountName" : "AccountName",
      "AccountNumber" : "AccountNumber"
    }, {
      "GUIDstring" : "GUIDstring",
      "BSB" : "BSB",
      "StatementText" : "StatementText",
      "IsRemainder" : true,
      "GUID" : "00000000-0000-0000-0000-000000000000",
      "ID" : 9,
      "AccountName" : "AccountName",
      "AccountNumber" : "AccountNumber"
    } ],
    "SalesNotes" : "SalesNotes",
    "AccountCustomerClassPostingBehaviour" : "AccountCustomerClassPostingBehaviour",
    "SupplierIsActive" : true,
    "Name" : "Name",
    "GUIDstring" : "GUIDstring",
    "AvailableCredit" : 5.962133916683182,
    "CompanyName" : "CompanyName",
    "SupplierID" : 0,
    "TenantID" : 6,
    "Version" : 9.369310271410669,
    "CreatedWith" : "CreatedWith",
    "Name2" : "Name2",
    "AccountCustomerID" : 1,
    "BillToCustomerStatus" : "BillToCustomerStatus",
    "RefNumber" : "RefNumber",
    "ModifiedDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
    "GUID" : "00000000-0000-0000-0000-000000000000",
    "DateOfFirstSale" : "2000-01-23T04:56:07.000+00:00",
    "IsExemptFromMerchantSurcharge" : true,
    "PricingBandID" : 4,
    "IsAccountCustomer" : true,
    "BillToCustomerAccountBalance" : 1.4894159098541704,
    "AccountLastUpdatedDateTime_offset" : 2,
    "IsAutoAddClaimRequests" : true,
    "IsApprovedForService" : true,
    "PrimaryOperationalCustomer" : {
      "IsIndividual" : true,
      "CompanyName" : "CompanyName",
      "PrimaryContactFullName" : "PrimaryContactFullName",
      "CustomerID" : 1
    },
    "CreatedDateTime" : "2000-01-23T04:56:07.000+00:00",
    "BusinessID" : 2,
    "BillToCustomerName" : "BillToCustomerName",
    "IsAccountCustomerBatched" : true,
    "BusinessGUID" : "00000000-0000-0000-0000-000000000000",
    "ShippingAddressString" : "ShippingAddressString",
    "OperationalCustomerIDs" : [ 6, 6 ],
    "CountSalesRequiresBatching" : 1,
    "IsActive" : true,
    "CreditHoldSetting" : 4,
    "HasOpenTransactions" : true,
    "Attachments" : [ {
      "AttachmentType" : "AttachmentType",
      "LineID" : 3,
      "IsActive" : true,
      "ThumbnailURI" : "ThumbnailURI",
      "GUID" : "00000000-0000-0000-0000-000000000000",
      "Title" : "Title",
      "IsImage" : true,
      "URI" : "URI",
      "AttachedDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
      "Caption" : "Caption",
      "GUIDstring" : "GUIDstring",
      "IsPDF" : true,
      "IsFromParent" : true,
      "ID" : 0,
      "AttachedByUserID" : 2,
      "MessageID" : 3
    }, {
      "AttachmentType" : "AttachmentType",
      "LineID" : 3,
      "IsActive" : true,
      "ThumbnailURI" : "ThumbnailURI",
      "GUID" : "00000000-0000-0000-0000-000000000000",
      "Title" : "Title",
      "IsImage" : true,
      "URI" : "URI",
      "AttachedDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
      "Caption" : "Caption",
      "GUIDstring" : "GUIDstring",
      "IsPDF" : true,
      "IsFromParent" : true,
      "ID" : 0,
      "AttachedByUserID" : 2,
      "MessageID" : 3
    } ],
    "Phone1" : "Phone1",
    "AccountBalance" : 8.768153453040833,
    "ClassName" : "ClassName",
    "RecentTransactions" : {
      "TotalRecordCount" : 7,
      "WasSearchLimited" : true,
      "ShowPrices" : true,
      "ThumbnailImagePath" : "ThumbnailImagePath",
      "MaxRowNumber" : 2,
      "IsSeparateLines" : true,
      "BrandsList" : [ {
        "FeatureID" : 5,
        "ValuesList" : [ {
          "IsBool" : true,
          "FeatureValueID" : 3,
          "Value" : "Value",
          "IsSelected" : true,
          "RecordCount" : 8,
          "Name" : "Name"
        }, {
          "IsBool" : true,
          "FeatureValueID" : 3,
          "Value" : "Value",
          "IsSelected" : true,
          "RecordCount" : 8,
          "Name" : "Name"
        } ],
        "FeatureName" : "FeatureName"
      }, {
        "FeatureID" : 5,
        "ValuesList" : [ {
          "IsBool" : true,
          "FeatureValueID" : 3,
          "Value" : "Value",
          "IsSelected" : true,
          "RecordCount" : 8,
          "Name" : "Name"
        }, {
          "IsBool" : true,
          "FeatureValueID" : 3,
          "Value" : "Value",
          "IsSelected" : true,
          "RecordCount" : 8,
          "Name" : "Name"
        } ],
        "FeatureName" : "FeatureName"
      } ],
      "IsMore" : true,
      "RadioButtonList" : [ {
        "FeatureID" : 5,
        "ValuesList" : [ {
          "IsBool" : true,
          "FeatureValueID" : 3,
          "Value" : "Value",
          "IsSelected" : true,
          "RecordCount" : 8,
          "Name" : "Name"
        }, {
          "IsBool" : true,
          "FeatureValueID" : 3,
          "Value" : "Value",
          "IsSelected" : true,
          "RecordCount" : 8,
          "Name" : "Name"
        } ],
        "FeatureName" : "FeatureName"
      }, {
        "FeatureID" : 5,
        "ValuesList" : [ {
          "IsBool" : true,
          "FeatureValueID" : 3,
          "Value" : "Value",
          "IsSelected" : true,
          "RecordCount" : 8,
          "Name" : "Name"
        }, {
          "IsBool" : true,
          "FeatureValueID" : 3,
          "Value" : "Value",
          "IsSelected" : true,
          "RecordCount" : 8,
          "Name" : "Name"
        } ],
        "FeatureName" : "FeatureName"
      } ],
      "CheckBoxList" : [ {
        "FeatureID" : 5,
        "ValuesList" : [ {
          "IsBool" : true,
          "FeatureValueID" : 3,
          "Value" : "Value",
          "IsSelected" : true,
          "RecordCount" : 8,
          "Name" : "Name"
        }, {
          "IsBool" : true,
          "FeatureValueID" : 3,
          "Value" : "Value",
          "IsSelected" : true,
          "RecordCount" : 8,
          "Name" : "Name"
        } ],
        "FeatureName" : "FeatureName"
      }, {
        "FeatureID" : 5,
        "ValuesList" : [ {
          "IsBool" : true,
          "FeatureValueID" : 3,
          "Value" : "Value",
          "IsSelected" : true,
          "RecordCount" : 8,
          "Name" : "Name"
        }, {
          "IsBool" : true,
          "FeatureValueID" : 3,
          "Value" : "Value",
          "IsSelected" : true,
          "RecordCount" : 8,
          "Name" : "Name"
        } ],
        "FeatureName" : "FeatureName"
      } ],
      "ImagePath" : "ImagePath",
      "ResultsList" : [ {
        "ContactCustomerName" : "ContactCustomerName",
        "TransDateString" : "TransDateString",
        "VendorTransDate" : "2000-01-23T04:56:07.000+00:00",
        "RefTransRefNumber" : "RefTransRefNumber",
        "Token" : "Token",
        "CustomerID" : 9,
        "POSTerminalShiftID" : 4,
        "IsSeparateLines" : true,
        "LastLineRowNumber" : 4,
        "POSDeviceID" : "POSDeviceID",
        "RefTransID" : 4,
        "WarehouseCode" : "WarehouseCode",
        "ShippingAddressID" : 7,
        "RepUserID" : 0,
        "IsSent" : true,
        "SyncLogs" : [ {
          "Status" : "Status",
          "LastImportDateTime" : "2000-01-23T04:56:07.000+00:00",
          "AdaptorID" : 2,
          "LastImportDateTime_offset" : 9,
          "LastExportDateTime_offset" : 0,
          "LastModifiedDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
          "LastExportDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
          "BSID" : "BSID",
          "Details" : "Details",
          "SyncCode" : "SyncCode",
          "LastExportDateTime" : "2000-01-23T04:56:07.000+00:00",
          "LastModifiedDateTime_offset" : 2,
          "ID" : 4,
          "LastImportDateTime_utc" : "2000-01-23T04:56:07.000+00:00"
        }, {
          "Status" : "Status",
          "LastImportDateTime" : "2000-01-23T04:56:07.000+00:00",
          "AdaptorID" : 2,
          "LastImportDateTime_offset" : 9,
          "LastExportDateTime_offset" : 0,
          "LastModifiedDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
          "LastExportDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
          "BSID" : "BSID",
          "Details" : "Details",
          "SyncCode" : "SyncCode",
          "LastExportDateTime" : "2000-01-23T04:56:07.000+00:00",
          "LastModifiedDateTime_offset" : 2,
          "ID" : 4,
          "LastImportDateTime_utc" : "2000-01-23T04:56:07.000+00:00"
        } ],
        "TotalPaid" : 6.628464275087742,
        "Currency" : "Currency",
        "ID" : 4,
        "IsReadOnly" : true,
        "Status" : "Status",
        "VendorName" : "VendorName",
        "Messages" : [ {
          "IsSystemMessage" : true,
          "Message" : "Message",
          "IsActive" : true,
          "ToUserID" : 3,
          "GUID" : "00000000-0000-0000-0000-000000000000",
          "SentDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
          "Attachments" : [ {
            "AttachmentType" : "AttachmentType",
            "LineID" : 3,
            "IsActive" : true,
            "ThumbnailURI" : "ThumbnailURI",
            "GUID" : "00000000-0000-0000-0000-000000000000",
            "Title" : "Title",
            "IsImage" : true,
            "URI" : "URI",
            "AttachedDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
            "Caption" : "Caption",
            "GUIDstring" : "GUIDstring",
            "IsPDF" : true,
            "IsFromParent" : true,
            "ID" : 0,
            "AttachedByUserID" : 2,
            "MessageID" : 3
          }, {
            "AttachmentType" : "AttachmentType",
            "LineID" : 3,
            "IsActive" : true,
            "ThumbnailURI" : "ThumbnailURI",
            "GUID" : "00000000-0000-0000-0000-000000000000",
            "Title" : "Title",
            "IsImage" : true,
            "URI" : "URI",
            "AttachedDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
            "Caption" : "Caption",
            "GUIDstring" : "GUIDstring",
            "IsPDF" : true,
            "IsFromParent" : true,
            "ID" : 0,
            "AttachedByUserID" : 2,
            "MessageID" : 3
          } ],
          "IsInbound" : true,
          "GUIDstring" : "GUIDstring",
          "ReceivedDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
          "IsFromParent" : true,
          "FromUserID" : 1,
          "ReadDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
          "ID" : 3,
          "TransID" : 5
        }, {
          "IsSystemMessage" : true,
          "Message" : "Message",
          "IsActive" : true,
          "ToUserID" : 3,
          "GUID" : "00000000-0000-0000-0000-000000000000",
          "SentDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
          "Attachments" : [ {
            "AttachmentType" : "AttachmentType",
            "LineID" : 3,
            "IsActive" : true,
            "ThumbnailURI" : "ThumbnailURI",
            "GUID" : "00000000-0000-0000-0000-000000000000",
            "Title" : "Title",
            "IsImage" : true,
            "URI" : "URI",
            "AttachedDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
            "Caption" : "Caption",
            "GUIDstring" : "GUIDstring",
            "IsPDF" : true,
            "IsFromParent" : true,
            "ID" : 0,
            "AttachedByUserID" : 2,
            "MessageID" : 3
          }, {
            "AttachmentType" : "AttachmentType",
            "LineID" : 3,
            "IsActive" : true,
            "ThumbnailURI" : "ThumbnailURI",
            "GUID" : "00000000-0000-0000-0000-000000000000",
            "Title" : "Title",
            "IsImage" : true,
            "URI" : "URI",
            "AttachedDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
            "Caption" : "Caption",
            "GUIDstring" : "GUIDstring",
            "IsPDF" : true,
            "IsFromParent" : true,
            "ID" : 0,
            "AttachedByUserID" : 2,
            "MessageID" : 3
          } ],
          "IsInbound" : true,
          "GUIDstring" : "GUIDstring",
          "ReceivedDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
          "IsFromParent" : true,
          "FromUserID" : 1,
          "ReadDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
          "ID" : 3,
          "TransID" : 5
        } ],
        "VendorInvoiceRefNumber" : "VendorInvoiceRefNumber",
        "TotalLineCount" : 0,
        "DatTypeID" : 6,
        "TotalInc" : 9.456612101333725,
        "BillCountry" : "BillCountry",
        "DiscountMode" : "DiscountMode",
        "ContactLastName" : "ContactLastName",
        "BusinessContactID" : 0,
        "BSID" : "BSID",
        "AccountCustomerName" : "AccountCustomerName",
        "VendorRefNumber" : "VendorRefNumber",
        "BatchStatus" : "BatchStatus",
        "LinkedTrans" : [ {
          "Status" : "Status",
          "AppliedDate" : "2000-01-23T04:56:07.000+00:00",
          "DatTypeString" : "DatTypeString",
          "ShortDatTypeString" : "ShortDatTypeString",
          "Description" : "Description",
          "Issues" : "Issues",
          "RefNumber" : "RefNumber",
          "AppliedAmount" : 4.145608029883936,
          "DatTypeID" : 2,
          "TotalInc" : 7.061401241503109,
          "LineCount" : 9,
          "TransSubType" : "TransSubType",
          "QuantityCount" : 3.616076749251911,
          "GUIDstring" : "GUIDstring",
          "TotalEx" : 2.027123023002322,
          "RecipientName" : "RecipientName",
          "ID" : 5
        }, {
          "Status" : "Status",
          "AppliedDate" : "2000-01-23T04:56:07.000+00:00",
          "DatTypeString" : "DatTypeString",
          "ShortDatTypeString" : "ShortDatTypeString",
          "Description" : "Description",
          "Issues" : "Issues",
          "RefNumber" : "RefNumber",
          "AppliedAmount" : 4.145608029883936,
          "DatTypeID" : 2,
          "TotalInc" : 7.061401241503109,
          "LineCount" : 9,
          "TransSubType" : "TransSubType",
          "QuantityCount" : 3.616076749251911,
          "GUIDstring" : "GUIDstring",
          "TotalEx" : 2.027123023002322,
          "RecipientName" : "RecipientName",
          "ID" : 5
        } ],
        "AccountCustomerRefNumber" : "AccountCustomerRefNumber",
        "TerritoryName" : "TerritoryName",
        "IsProcessed" : true,
        "Description" : "Description",
        "Discount" : 6.918231485891953,
        "AvailableCreditString" : "AvailableCreditString",
        "CustomerBSID" : "CustomerBSID",
        "BillingAddressID" : 0,
        "ClaimRequestRefNumber" : "ClaimRequestRefNumber",
        "WasSentWhenUnlinked" : true,
        "DeliveryNote" : "DeliveryNote",
        "BillingAddress" : {
          "FullAddress" : "FullAddress",
          "IsDefaultDeliverTo" : true,
          "IsActive" : true,
          "LocationID" : 5,
          "Latitude" : 6.778324963048013,
          "GUIDstring" : "GUIDstring",
          "IsPostalAddress" : true,
          "AddressDescription" : "AddressDescription",
          "ID" : 2,
          "Notes" : "Notes",
          "IsDeliverTo" : true,
          "IsSelectedBilling" : true,
          "IsSelectedDelivery" : true,
          "GUID" : "00000000-0000-0000-0000-000000000000",
          "City" : "City",
          "Longitude" : 6.878052220127876,
          "StreetAddress" : "StreetAddress",
          "IsMailTo" : true,
          "IsServiceTo" : true,
          "State" : "State",
          "IsDefaultServiceTo" : true,
          "IsOfficeOrShop" : true,
          "Country" : "Country",
          "IsSystem" : true,
          "AddressType" : 6,
          "PostCode" : "PostCode",
          "IsDefaultBilling" : true
        },
        "ContactPhone" : "ContactPhone",
        "VendorABN" : "VendorABN",
        "DisplayAddress" : "DisplayAddress",
        "CreatedByUserName" : "CreatedByUserName",
        "IsSentToUnlinked" : true,
        "IsCanDelete" : true,
        "ContactFirstName" : "ContactFirstName",
        "DeliveryMethod" : "DeliveryMethod",
        "AttachmentCount" : 3,
        "OriginalTotalInc" : 5.533258397034986,
        "VendorID" : 7,
        "ShipState" : "ShipState",
        "SentDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
        "InternalNote" : "InternalNote",
        "AccountBalanceString" : "AccountBalanceString",
        "TotalEx" : 0.4867146239815201,
        "WarehouseBSID" : "WarehouseBSID",
        "TransDate" : "2000-01-23T04:56:07.000+00:00",
        "ShipCountry" : "ShipCountry",
        "TotalTaxString" : "TotalTaxString",
        "IsCanCancel" : true,
        "IsLinkedToOtherParty" : true,
        "ShipLatitude" : 1.0502890910539986,
        "ShipLongitude" : 6.176386745020588,
        "WasSentWhenLinked" : true,
        "IsCreatedByOtherParty" : true,
        "RefSalesOrderRefNumber" : "RefSalesOrderRefNumber",
        "ShipStreetAddress" : "ShipStreetAddress",
        "TotalIncString" : "TotalIncString",
        "DeliveryDate" : "2000-01-23T04:56:07.000+00:00",
        "WarehouseID" : 6,
        "LineCount" : 8,
        "LinesWithUnmappedInventoryCount" : 8,
        "WarehouseName" : "WarehouseName",
        "GUIDstring" : "GUIDstring",
        "AvailableCredit" : 1.284659006116532,
        "BillPostCode" : "BillPostCode",
        "DueDateString" : "DueDateString",
        "CustomerRefNumber" : "CustomerRefNumber",
        "Version" : 3.5571952270680973,
        "OriginalTotalEx" : 7.04836565559697,
        "CreatedWith" : "CreatedWith",
        "TotalOwingString" : "TotalOwingString",
        "BillState" : "BillState",
        "AccountCustomerID" : 1,
        "IsMessagesSendable" : true,
        "IsSendable" : true,
        "FinalisedDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
        "RefNumber" : "RefNumber",
        "GUID" : "00000000-0000-0000-0000-000000000000",
        "ShipPostCode" : "ShipPostCode",
        "IsMoreLinesToGet" : true,
        "RepUserName" : "RepUserName",
        "OriginalTotalTax" : 3.2588565619047607,
        "CustomerGUIDstring" : "CustomerGUIDstring",
        "IsAccountCustomer" : true,
        "Balance" : 7.88722683998926,
        "BusinessID" : 3,
        "CreatedDateTime" : "2000-01-23T04:56:07.000+00:00",
        "Lines" : [ {
          "SellPriceInc" : 8.37823741034869,
          "FeeID" : 4,
          "TotalQuantityReceived" : 1.7045651386993,
          "AdjustedQuantityReceived" : 8.262795412896967,
          "InventoryID" : 9,
          "ShortDescription" : "ShortDescription",
          "AcquisitionWarehouseID" : 9,
          "FeeGUID" : "00000000-0000-0000-0000-000000000000",
          "SequenceNumber" : 1,
          "ID" : 0,
          "SellPriceTaxString" : "SellPriceTaxString",
          "InventoryGUIDstring" : "InventoryGUIDstring",
          "InventoryType" : "InventoryType",
          "DefaultThumbnailURL" : "DefaultThumbnailURL",
          "IsOnSpecial" : true,
          "MinOrderQuantity" : 4.459605034958679,
          "RefBarCode" : "RefBarCode",
          "IsShowOriginalPriceInReceipts" : true,
          "DatTypeID" : 7,
          "PricingMode" : "PricingMode",
          "Code" : "Code",
          "IsDiscontinued" : true,
          "LineTotalTaxString" : "LineTotalTaxString",
          "SupplierInventoryGUID" : "00000000-0000-0000-0000-000000000000",
          "EAN" : "EAN",
          "Barcode" : "Barcode",
          "IsAmendedByOtherParty" : true,
          "ReturnReason" : "ReturnReason",
          "DefaultImageURL" : "DefaultImageURL",
          "StandardSellPriceEx" : 9.183123594773994,
          "Description" : "Description",
          "ClaimReason" : "ClaimReason",
          "SellPriceTax" : 7.606863723092579,
          "QuantityPicked" : 5.974942028545841,
          "CurrentSuppliersInventoryGUID" : "00000000-0000-0000-0000-000000000000",
          "IsTaxable" : true,
          "SellPriceExString" : "SellPriceExString",
          "QuantityInCartString" : "QuantityInCartString",
          "DeliveryMethod" : "DeliveryMethod",
          "SellPriceEx" : 5.312489704336296,
          "LineTotalInc" : 3.111202833403195,
          "CommentFromOtherParty" : "CommentFromOtherParty",
          "QuantityOutofDate" : 7.92839742024475,
          "InventoryGUID" : "00000000-0000-0000-0000-000000000000",
          "IsVariantMaster" : true,
          "LineTotalExString" : "LineTotalExString",
          "IsPriceRefresh" : true,
          "DiscountPercentage" : 3.8008573585058016,
          "QuantityOrdered" : 3.2841216543560217,
          "IsCanUpdateInventoryOnMerge" : true,
          "QuantityOnBackOrder" : 6.623518433804886,
          "OrderTotalIncDesc" : "OrderTotalIncDesc",
          "AcquisitionMethod" : "AcquisitionMethod",
          "LabourRateID" : 8,
          "LineID" : 4,
          "RefInventoryBSID" : "RefInventoryBSID",
          "IsCreatedByOtherParty" : true,
          "WarehouseID" : 5,
          "GUIDstring" : "GUIDstring",
          "PostingInventoryCode" : "PostingInventoryCode",
          "ReturnInNumberOfWeeks" : 1.7325933120207193,
          "ExpectedBuyPriceEx" : 4.4935252719377825,
          "CalculatedBuyPriceTax" : 3.209082285545927,
          "AccountCode" : "AccountCode",
          "MaxOrderQuantity" : 8.251625748923757,
          "QuantityIncorrect" : 7.726998920545485,
          "ClaimRequestLines" : [ {
            "Comment" : "Comment",
            "ClaimRequestLineID" : 4,
            "SellPriceEx" : 6.458262756685686,
            "LineTotalInc" : 6.4280627569296165,
            "SellPriceInc" : 4.141296055235948,
            "IsActive" : true,
            "Quantity" : 8.276461147928103,
            "IsReturnToStock" : true,
            "LineTotalEx" : 2.058822123984536,
            "WarehouseID" : 2,
            "WarehouseName" : "WarehouseName",
            "ClaimRequestID" : 9,
            "ClaimRequestStatus" : "ClaimRequestStatus",
            "LineTotalTax" : 0.8411762798681321,
            "SellPriceTax" : 8.910869026866926,
            "TransDate" : "2000-01-23T04:56:07.000+00:00",
            "InvoiceQuantity" : 5.747795090145878,
            "ClaimableQuantity" : 7.3842318535314,
            "ClaimedQuantity" : 0.7012260588964747
          }, {
            "Comment" : "Comment",
            "ClaimRequestLineID" : 4,
            "SellPriceEx" : 6.458262756685686,
            "LineTotalInc" : 6.4280627569296165,
            "SellPriceInc" : 4.141296055235948,
            "IsActive" : true,
            "Quantity" : 8.276461147928103,
            "IsReturnToStock" : true,
            "LineTotalEx" : 2.058822123984536,
            "WarehouseID" : 2,
            "WarehouseName" : "WarehouseName",
            "ClaimRequestID" : 9,
            "ClaimRequestStatus" : "ClaimRequestStatus",
            "LineTotalTax" : 0.8411762798681321,
            "SellPriceTax" : 8.910869026866926,
            "TransDate" : "2000-01-23T04:56:07.000+00:00",
            "InvoiceQuantity" : 5.747795090145878,
            "ClaimableQuantity" : 7.3842318535314,
            "ClaimedQuantity" : 0.7012260588964747
          } ],
          "QuantityCancelled" : 2.9409642974827896,
          "FeePercentage" : 5.507386964179881,
          "LineTotalIncString" : "LineTotalIncString",
          "StandardSellPriceInc" : 8.28965939814297,
          "GUID" : "00000000-0000-0000-0000-000000000000",
          "UoMDescription" : "UoMDescription",
          "LineTotalEx" : 3.7814124730767915,
          "IsRejected" : true,
          "ItemID" : 6,
          "FeeGUIDstring" : "FeeGUIDstring",
          "PriceDescription" : "PriceDescription",
          "LineTotalTax" : 9.897492629215506,
          "TaxType" : "TaxType",
          "PostingInventoryID" : 1,
          "CostPriceInc" : 8.761432466225475,
          "SellPriceIncString" : "SellPriceIncString",
          "QuantityClaimed" : 9.402167524121316,
          "QuantityRefunded" : 2.9805393113464476,
          "PriceType" : "PriceType",
          "InventoryBSID" : "InventoryBSID",
          "Warehouse" : {
            "Description" : "Description",
            "IsActive" : true,
            "TotalNumberOfDistinctProducts" : 1,
            "Users" : [ {
              "FirstName" : "FirstName",
              "IsActive" : true,
              "PositionOrOccupation" : "PositionOrOccupation",
              "EmailAddress" : "EmailAddress",
              "GUIDstring" : "GUIDstring",
              "PhoneMobile" : "PhoneMobile",
              "IsPrimaryContact" : true,
              "Phone1" : "Phone1",
              "BSID" : "BSID",
              "IsEmployee" : true,
              "CreatedWith" : "CreatedWith",
              "ID" : 5,
              "LastName" : "LastName"
            }, {
              "FirstName" : "FirstName",
              "IsActive" : true,
              "PositionOrOccupation" : "PositionOrOccupation",
              "EmailAddress" : "EmailAddress",
              "GUIDstring" : "GUIDstring",
              "PhoneMobile" : "PhoneMobile",
              "IsPrimaryContact" : true,
              "Phone1" : "Phone1",
              "BSID" : "BSID",
              "IsEmployee" : true,
              "CreatedWith" : "CreatedWith",
              "ID" : 5,
              "LastName" : "LastName"
            } ],
            "Name" : "Name",
            "GUIDstring" : "GUIDstring",
            "Version" : 4.518309517874243,
            "SyncLogs" : [ {
              "Status" : "Status",
              "LastImportDateTime" : "2000-01-23T04:56:07.000+00:00",
              "AdaptorID" : 2,
              "LastImportDateTime_offset" : 9,
              "LastExportDateTime_offset" : 0,
              "LastModifiedDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
              "LastExportDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
              "BSID" : "BSID",
              "Details" : "Details",
              "SyncCode" : "SyncCode",
              "LastExportDateTime" : "2000-01-23T04:56:07.000+00:00",
              "LastModifiedDateTime_offset" : 2,
              "ID" : 4,
              "LastImportDateTime_utc" : "2000-01-23T04:56:07.000+00:00"
            }, {
              "Status" : "Status",
              "LastImportDateTime" : "2000-01-23T04:56:07.000+00:00",
              "AdaptorID" : 2,
              "LastImportDateTime_offset" : 9,
              "LastExportDateTime_offset" : 0,
              "LastModifiedDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
              "LastExportDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
              "BSID" : "BSID",
              "Details" : "Details",
              "SyncCode" : "SyncCode",
              "LastExportDateTime" : "2000-01-23T04:56:07.000+00:00",
              "LastModifiedDateTime_offset" : 2,
              "ID" : 4,
              "LastImportDateTime_utc" : "2000-01-23T04:56:07.000+00:00"
            } ],
            "WarehouseTypeID" : 7,
            "ID" : 0,
            "DefaultPOSCustomerName" : "DefaultPOSCustomerName",
            "MinimumStockHoldingValue" : 5.6644160867523485,
            "IsDefault" : true,
            "DefaultPOSCustomerID" : 4,
            "TenantLocationName" : "TenantLocationName",
            "Code" : "Code",
            "TotalStockValue" : 3.812761638325517,
            "RowNumber" : 8,
            "BSID" : "BSID",
            "MaximumStockHoldingValue" : 1.5970080735609526,
            "TenantLocationID" : 0,
            "Barcode" : "Barcode",
            "WarehouseType" : {
              "Description" : "Description",
              "WarehouseTypeID" : 9,
              "ID" : 6,
              "IsVirtual" : true,
              "Name" : "Name",
              "RefNumberPrefix" : "RefNumberPrefix"
            },
            "TotalSOH" : 1.2555055362323109,
            "IsSystem" : true,
            "CostCentreCode" : "CostCentreCode",
            "Location" : {
              "IsActive" : true,
              "TimeZoneName" : "TimeZoneName",
              "GUID" : "00000000-0000-0000-0000-000000000000",
              "EmailAddress" : "EmailAddress",
              "Name" : "Name",
              "LocationName" : "LocationName",
              "GUIDstring" : "GUIDstring",
              "Addresses" : [ {
                "FullAddress" : "FullAddress",
                "IsDefaultDeliverTo" : true,
                "IsActive" : true,
                "LocationID" : 5,
                "Latitude" : 6.778324963048013,
                "GUIDstring" : "GUIDstring",
                "IsPostalAddress" : true,
                "AddressDescription" : "AddressDescription",
                "ID" : 2,
                "Notes" : "Notes",
                "IsDeliverTo" : true,
                "IsSelectedBilling" : true,
                "IsSelectedDelivery" : true,
                "GUID" : "00000000-0000-0000-0000-000000000000",
                "City" : "City",
                "Longitude" : 6.878052220127876,
                "StreetAddress" : "StreetAddress",
                "IsMailTo" : true,
                "IsServiceTo" : true,
                "State" : "State",
                "IsDefaultServiceTo" : true,
                "IsOfficeOrShop" : true,
                "Country" : "Country",
                "IsSystem" : true,
                "AddressType" : 6,
                "PostCode" : "PostCode",
                "IsDefaultBilling" : true
              }, {
                "FullAddress" : "FullAddress",
                "IsDefaultDeliverTo" : true,
                "IsActive" : true,
                "LocationID" : 5,
                "Latitude" : 6.778324963048013,
                "GUIDstring" : "GUIDstring",
                "IsPostalAddress" : true,
                "AddressDescription" : "AddressDescription",
                "ID" : 2,
                "Notes" : "Notes",
                "IsDeliverTo" : true,
                "IsSelectedBilling" : true,
                "IsSelectedDelivery" : true,
                "GUID" : "00000000-0000-0000-0000-000000000000",
                "City" : "City",
                "Longitude" : 6.878052220127876,
                "StreetAddress" : "StreetAddress",
                "IsMailTo" : true,
                "IsServiceTo" : true,
                "State" : "State",
                "IsDefaultServiceTo" : true,
                "IsOfficeOrShop" : true,
                "Country" : "Country",
                "IsSystem" : true,
                "AddressType" : 6,
                "PostCode" : "PostCode",
                "IsDefaultBilling" : true
              } ],
              "UtcOffset" : 4,
              "IsVisibleToPublic" : true,
              "Contacts" : [ {
                "BusinessName" : "BusinessName",
                "FirstName" : "FirstName",
                "IsActive" : true,
                "GUID" : "00000000-0000-0000-0000-000000000000",
                "Title" : "Title",
                "BusinessLocationGuid" : "00000000-0000-0000-0000-000000000000",
                "Birthday" : "2000-01-23T04:56:07.000+00:00",
                "Gender" : "Gender",
                "PositionOrOccupation" : "PositionOrOccupation",
                "IsIncludeInEmails" : true,
                "EmailAddress" : "EmailAddress",
                "ContactRole" : "ContactRole",
                "LinkedUserGlobalIDstring" : "LinkedUserGlobalIDstring",
                "BusinessContactID" : 7,
                "GUIDstring" : "GUIDstring",
                "PhoneMobile" : "PhoneMobile",
                "IsPrimaryContact" : true,
                "Phone1" : "Phone1",
                "IsSystem" : true,
                "ID" : 3,
                "LastName" : "LastName",
                "BusinessID" : 0
              }, {
                "BusinessName" : "BusinessName",
                "FirstName" : "FirstName",
                "IsActive" : true,
                "GUID" : "00000000-0000-0000-0000-000000000000",
                "Title" : "Title",
                "BusinessLocationGuid" : "00000000-0000-0000-0000-000000000000",
                "Birthday" : "2000-01-23T04:56:07.000+00:00",
                "Gender" : "Gender",
                "PositionOrOccupation" : "PositionOrOccupation",
                "IsIncludeInEmails" : true,
                "EmailAddress" : "EmailAddress",
                "ContactRole" : "ContactRole",
                "LinkedUserGlobalIDstring" : "LinkedUserGlobalIDstring",
                "BusinessContactID" : 7,
                "GUIDstring" : "GUIDstring",
                "PhoneMobile" : "PhoneMobile",
                "IsPrimaryContact" : true,
                "Phone1" : "Phone1",
                "IsSystem" : true,
                "ID" : 3,
                "LastName" : "LastName",
                "BusinessID" : 0
              } ],
              "Phone" : "Phone",
              "IsSystem" : true,
              "ID" : 6,
              "Fax" : "Fax",
              "IsDefaultLocation" : true
            },
            "IsStockOpeningBalanceComplete" : true
          },
          "DeliveryMethodDescription" : "DeliveryMethodDescription",
          "CostPriceEx" : 5.299143560275359,
          "IsActive" : true,
          "HasPriceBeenEdited" : true,
          "IsSpecialPrice" : true,
          "OrderTotalInc" : 3.901545264248647,
          "Attachments" : [ {
            "AttachmentType" : "AttachmentType",
            "LineID" : 3,
            "IsActive" : true,
            "ThumbnailURI" : "ThumbnailURI",
            "GUID" : "00000000-0000-0000-0000-000000000000",
            "Title" : "Title",
            "IsImage" : true,
            "URI" : "URI",
            "AttachedDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
            "Caption" : "Caption",
            "GUIDstring" : "GUIDstring",
            "IsPDF" : true,
            "IsFromParent" : true,
            "ID" : 0,
            "AttachedByUserID" : 2,
            "MessageID" : 3
          }, {
            "AttachmentType" : "AttachmentType",
            "LineID" : 3,
            "IsActive" : true,
            "ThumbnailURI" : "ThumbnailURI",
            "GUID" : "00000000-0000-0000-0000-000000000000",
            "Title" : "Title",
            "IsImage" : true,
            "URI" : "URI",
            "AttachedDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
            "Caption" : "Caption",
            "GUIDstring" : "GUIDstring",
            "IsPDF" : true,
            "IsFromParent" : true,
            "ID" : 0,
            "AttachedByUserID" : 2,
            "MessageID" : 3
          } ],
          "UoM" : "UoM",
          "IsPhysical" : true,
          "TaxRate" : 7.835035282970782,
          "AssetID" : 0,
          "LineType" : "LineType",
          "Comment" : "Comment",
          "RefInventoryCode" : "RefInventoryCode",
          "QuantityInCart" : 0.43431398824148815,
          "Title" : "Title",
          "Quantity" : 3.502657762086401,
          "CostPriceTax" : 0.4182561061793122,
          "QuantityFaulty" : 7.3718573971919445,
          "QuantityReceived" : 9.785002165136461,
          "SKU" : "SKU",
          "CostPriceExString" : "CostPriceExString",
          "IsAssetItem" : true,
          "SupplierInventoryGUIDString" : "SupplierInventoryGUIDString"
        }, {
          "SellPriceInc" : 8.37823741034869,
          "FeeID" : 4,
          "TotalQuantityReceived" : 1.7045651386993,
          "AdjustedQuantityReceived" : 8.262795412896967,
          "InventoryID" : 9,
          "ShortDescription" : "ShortDescription",
          "AcquisitionWarehouseID" : 9,
          "FeeGUID" : "00000000-0000-0000-0000-000000000000",
          "SequenceNumber" : 1,
          "ID" : 0,
          "SellPriceTaxString" : "SellPriceTaxString",
          "InventoryGUIDstring" : "InventoryGUIDstring",
          "InventoryType" : "InventoryType",
          "DefaultThumbnailURL" : "DefaultThumbnailURL",
          "IsOnSpecial" : true,
          "MinOrderQuantity" : 4.459605034958679,
          "RefBarCode" : "RefBarCode",
          "IsShowOriginalPriceInReceipts" : true,
          "DatTypeID" : 7,
          "PricingMode" : "PricingMode",
          "Code" : "Code",
          "IsDiscontinued" : true,
          "LineTotalTaxString" : "LineTotalTaxString",
          "SupplierInventoryGUID" : "00000000-0000-0000-0000-000000000000",
          "EAN" : "EAN",
          "Barcode" : "Barcode",
          "IsAmendedByOtherParty" : true,
          "ReturnReason" : "ReturnReason",
          "DefaultImageURL" : "DefaultImageURL",
          "StandardSellPriceEx" : 9.183123594773994,
          "Description" : "Description",
          "ClaimReason" : "ClaimReason",
          "SellPriceTax" : 7.606863723092579,
          "QuantityPicked" : 5.974942028545841,
          "CurrentSuppliersInventoryGUID" : "00000000-0000-0000-0000-000000000000",
          "IsTaxable" : true,
          "SellPriceExString" : "SellPriceExString",
          "QuantityInCartString" : "QuantityInCartString",
          "DeliveryMethod" : "DeliveryMethod",
          "SellPriceEx" : 5.312489704336296,
          "LineTotalInc" : 3.111202833403195,
          "CommentFromOtherParty" : "CommentFromOtherParty",
          "QuantityOutofDate" : 7.92839742024475,
          "InventoryGUID" : "00000000-0000-0000-0000-000000000000",
          "IsVariantMaster" : true,
          "LineTotalExString" : "LineTotalExString",
          "IsPriceRefresh" : true,
          "DiscountPercentage" : 3.8008573585058016,
          "QuantityOrdered" : 3.2841216543560217,
          "IsCanUpdateInventoryOnMerge" : true,
          "QuantityOnBackOrder" : 6.623518433804886,
          "OrderTotalIncDesc" : "OrderTotalIncDesc",
          "AcquisitionMethod" : "AcquisitionMethod",
          "LabourRateID" : 8,
          "LineID" : 4,
          "RefInventoryBSID" : "RefInventoryBSID",
          "IsCreatedByOtherParty" : true,
          "WarehouseID" : 5,
          "GUIDstring" : "GUIDstring",
          "PostingInventoryCode" : "PostingInventoryCode",
          "ReturnInNumberOfWeeks" : 1.7325933120207193,
          "ExpectedBuyPriceEx" : 4.4935252719377825,
          "CalculatedBuyPriceTax" : 3.209082285545927,
          "AccountCode" : "AccountCode",
          "MaxOrderQuantity" : 8.251625748923757,
          "QuantityIncorrect" : 7.726998920545485,
          "ClaimRequestLines" : [ {
            "Comment" : "Comment",
            "ClaimRequestLineID" : 4,
            "SellPriceEx" : 6.458262756685686,
            "LineTotalInc" : 6.4280627569296165,
            "SellPriceInc" : 4.141296055235948,
            "IsActive" : true,
            "Quantity" : 8.276461147928103,
            "IsReturnToStock" : true,
            "LineTotalEx" : 2.058822123984536,
            "WarehouseID" : 2,
            "WarehouseName" : "WarehouseName",
            "ClaimRequestID" : 9,
            "ClaimRequestStatus" : "ClaimRequestStatus",
            "LineTotalTax" : 0.8411762798681321,
            "SellPriceTax" : 8.910869026866926,
            "TransDate" : "2000-01-23T04:56:07.000+00:00",
            "InvoiceQuantity" : 5.747795090145878,
            "ClaimableQuantity" : 7.3842318535314,
            "ClaimedQuantity" : 0.7012260588964747
          }, {
            "Comment" : "Comment",
            "ClaimRequestLineID" : 4,
            "SellPriceEx" : 6.458262756685686,
            "LineTotalInc" : 6.4280627569296165,
            "SellPriceInc" : 4.141296055235948,
            "IsActive" : true,
            "Quantity" : 8.276461147928103,
            "IsReturnToStock" : true,
            "LineTotalEx" : 2.058822123984536,
            "WarehouseID" : 2,
            "WarehouseName" : "WarehouseName",
            "ClaimRequestID" : 9,
            "ClaimRequestStatus" : "ClaimRequestStatus",
            "LineTotalTax" : 0.8411762798681321,
            "SellPriceTax" : 8.910869026866926,
            "TransDate" : "2000-01-23T04:56:07.000+00:00",
            "InvoiceQuantity" : 5.747795090145878,
            "ClaimableQuantity" : 7.3842318535314,
            "ClaimedQuantity" : 0.7012260588964747
          } ],
          "QuantityCancelled" : 2.9409642974827896,
          "FeePercentage" : 5.507386964179881,
          "LineTotalIncString" : "LineTotalIncString",
          "StandardSellPriceInc" : 8.28965939814297,
          "GUID" : "00000000-0000-0000-0000-000000000000",
          "UoMDescription" : "UoMDescription",
          "LineTotalEx" : 3.7814124730767915,
          "IsRejected" : true,
          "ItemID" : 6,
          "FeeGUIDstring" : "FeeGUIDstring",
          "PriceDescription" : "PriceDescription",
          "LineTotalTax" : 9.897492629215506,
          "TaxType" : "TaxType",
          "PostingInventoryID" : 1,
          "CostPriceInc" : 8.761432466225475,
          "SellPriceIncString" : "SellPriceIncString",
          "QuantityClaimed" : 9.402167524121316,
          "QuantityRefunded" : 2.9805393113464476,
          "PriceType" : "PriceType",
          "InventoryBSID" : "InventoryBSID",
          "Warehouse" : {
            "Description" : "Description",
            "IsActive" : true,
            "TotalNumberOfDistinctProducts" : 1,
            "Users" : [ {
              "FirstName" : "FirstName",
              "IsActive" : true,
              "PositionOrOccupation" : "PositionOrOccupation",
              "EmailAddress" : "EmailAddress",
              "GUIDstring" : "GUIDstring",
              "PhoneMobile" : "PhoneMobile",
              "IsPrimaryContact" : true,
              "Phone1" : "Phone1",
              "BSID" : "BSID",
              "IsEmployee" : true,
              "CreatedWith" : "CreatedWith",
              "ID" : 5,
              "LastName" : "LastName"
            }, {
              "FirstName" : "FirstName",
              "IsActive" : true,
              "PositionOrOccupation" : "PositionOrOccupation",
              "EmailAddress" : "EmailAddress",
              "GUIDstring" : "GUIDstring",
              "PhoneMobile" : "PhoneMobile",
              "IsPrimaryContact" : true,
              "Phone1" : "Phone1",
              "BSID" : "BSID",
              "IsEmployee" : true,
              "CreatedWith" : "CreatedWith",
              "ID" : 5,
              "LastName" : "LastName"
            } ],
            "Name" : "Name",
            "GUIDstring" : "GUIDstring",
            "Version" : 4.518309517874243,
            "SyncLogs" : [ {
              "Status" : "Status",
              "LastImportDateTime" : "2000-01-23T04:56:07.000+00:00",
              "AdaptorID" : 2,
              "LastImportDateTime_offset" : 9,
              "LastExportDateTime_offset" : 0,
              "LastModifiedDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
              "LastExportDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
              "BSID" : "BSID",
              "Details" : "Details",
              "SyncCode" : "SyncCode",
              "LastExportDateTime" : "2000-01-23T04:56:07.000+00:00",
              "LastModifiedDateTime_offset" : 2,
              "ID" : 4,
              "LastImportDateTime_utc" : "2000-01-23T04:56:07.000+00:00"
            }, {
              "Status" : "Status",
              "LastImportDateTime" : "2000-01-23T04:56:07.000+00:00",
              "AdaptorID" : 2,
              "LastImportDateTime_offset" : 9,
              "LastExportDateTime_offset" : 0,
              "LastModifiedDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
              "LastExportDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
              "BSID" : "BSID",
              "Details" : "Details",
              "SyncCode" : "SyncCode",
              "LastExportDateTime" : "2000-01-23T04:56:07.000+00:00",
              "LastModifiedDateTime_offset" : 2,
              "ID" : 4,
              "LastImportDateTime_utc" : "2000-01-23T04:56:07.000+00:00"
            } ],
            "WarehouseTypeID" : 7,
            "ID" : 0,
            "DefaultPOSCustomerName" : "DefaultPOSCustomerName",
            "MinimumStockHoldingValue" : 5.6644160867523485,
            "IsDefault" : true,
            "DefaultPOSCustomerID" : 4,
            "TenantLocationName" : "TenantLocationName",
            "Code" : "Code",
            "TotalStockValue" : 3.812761638325517,
            "RowNumber" : 8,
            "BSID" : "BSID",
            "MaximumStockHoldingValue" : 1.5970080735609526,
            "TenantLocationID" : 0,
            "Barcode" : "Barcode",
            "WarehouseType" : {
              "Description" : "Description",
              "WarehouseTypeID" : 9,
              "ID" : 6,
              "IsVirtual" : true,
              "Name" : "Name",
              "RefNumberPrefix" : "RefNumberPrefix"
            },
            "TotalSOH" : 1.2555055362323109,
            "IsSystem" : true,
            "CostCentreCode" : "CostCentreCode",
            "Location" : {
              "IsActive" : true,
              "TimeZoneName" : "TimeZoneName",
              "GUID" : "00000000-0000-0000-0000-000000000000",
              "EmailAddress" : "EmailAddress",
              "Name" : "Name",
              "LocationName" : "LocationName",
              "GUIDstring" : "GUIDstring",
              "Addresses" : [ {
                "FullAddress" : "FullAddress",
                "IsDefaultDeliverTo" : true,
                "IsActive" : true,
                "LocationID" : 5,
                "Latitude" : 6.778324963048013,
                "GUIDstring" : "GUIDstring",
                "IsPostalAddress" : true,
                "AddressDescription" : "AddressDescription",
                "ID" : 2,
                "Notes" : "Notes",
                "IsDeliverTo" : true,
                "IsSelectedBilling" : true,
                "IsSelectedDelivery" : true,
                "GUID" : "00000000-0000-0000-0000-000000000000",
                "City" : "City",
                "Longitude" : 6.878052220127876,
                "StreetAddress" : "StreetAddress",
                "IsMailTo" : true,
                "IsServiceTo" : true,
                "State" : "State",
                "IsDefaultServiceTo" : true,
                "IsOfficeOrShop" : true,
                "Country" : "Country",
                "IsSystem" : true,
                "AddressType" : 6,
                "PostCode" : "PostCode",
                "IsDefaultBilling" : true
              }, {
                "FullAddress" : "FullAddress",
                "IsDefaultDeliverTo" : true,
                "IsActive" : true,
                "LocationID" : 5,
                "Latitude" : 6.778324963048013,
                "GUIDstring" : "GUIDstring",
                "IsPostalAddress" : true,
                "AddressDescription" : "AddressDescription",
                "ID" : 2,
                "Notes" : "Notes",
                "IsDeliverTo" : true,
                "IsSelectedBilling" : true,
                "IsSelectedDelivery" : true,
                "GUID" : "00000000-0000-0000-0000-000000000000",
                "City" : "City",
                "Longitude" : 6.878052220127876,
                "StreetAddress" : "StreetAddress",
                "IsMailTo" : true,
                "IsServiceTo" : true,
                "State" : "State",
                "IsDefaultServiceTo" : true,
                "IsOfficeOrShop" : true,
                "Country" : "Country",
                "IsSystem" : true,
                "AddressType" : 6,
                "PostCode" : "PostCode",
                "IsDefaultBilling" : true
              } ],
              "UtcOffset" : 4,
              "IsVisibleToPublic" : true,
              "Contacts" : [ {
                "BusinessName" : "BusinessName",
                "FirstName" : "FirstName",
                "IsActive" : true,
                "GUID" : "00000000-0000-0000-0000-000000000000",
                "Title" : "Title",
                "BusinessLocationGuid" : "00000000-0000-0000-0000-000000000000",
                "Birthday" : "2000-01-23T04:56:07.000+00:00",
                "Gender" : "Gender",
                "PositionOrOccupation" : "PositionOrOccupation",
                "IsIncludeInEmails" : true,
                "EmailAddress" : "EmailAddress",
                "ContactRole" : "ContactRole",
                "LinkedUserGlobalIDstring" : "LinkedUserGlobalIDstring",
                "BusinessContactID" : 7,
                "GUIDstring" : "GUIDstring",
                "PhoneMobile" : "PhoneMobile",
                "IsPrimaryContact" : true,
                "Phone1" : "Phone1",
                "IsSystem" : true,
                "ID" : 3,
                "LastName" : "LastName",
                "BusinessID" : 0
              }, {
                "BusinessName" : "BusinessName",
                "FirstName" : "FirstName",
                "IsActive" : true,
                "GUID" : "00000000-0000-0000-0000-000000000000",
                "Title" : "Title",
                "BusinessLocationGuid" : "00000000-0000-0000-0000-000000000000",
                "Birthday" : "2000-01-23T04:56:07.000+00:00",
                "Gender" : "Gender",
                "PositionOrOccupation" : "PositionOrOccupation",
                "IsIncludeInEmails" : true,
                "EmailAddress" : "EmailAddress",
                "ContactRole" : "ContactRole",
                "LinkedUserGlobalIDstring" : "LinkedUserGlobalIDstring",
                "BusinessContactID" : 7,
                "GUIDstring" : "GUIDstring",
                "PhoneMobile" : "PhoneMobile",
                "IsPrimaryContact" : true,
                "Phone1" : "Phone1",
                "IsSystem" : true,
                "ID" : 3,
                "LastName" : "LastName",
                "BusinessID" : 0
              } ],
              "Phone" : "Phone",
              "IsSystem" : true,
              "ID" : 6,
              "Fax" : "Fax",
              "IsDefaultLocation" : true
            },
            "IsStockOpeningBalanceComplete" : true
          },
          "DeliveryMethodDescription" : "DeliveryMethodDescription",
          "CostPriceEx" : 5.299143560275359,
          "IsActive" : true,
          "HasPriceBeenEdited" : true,
          "IsSpecialPrice" : true,
          "OrderTotalInc" : 3.901545264248647,
          "Attachments" : [ {
            "AttachmentType" : "AttachmentType",
            "LineID" : 3,
            "IsActive" : true,
            "ThumbnailURI" : "ThumbnailURI",
            "GUID" : "00000000-0000-0000-0000-000000000000",
            "Title" : "Title",
            "IsImage" : true,
            "URI" : "URI",
            "AttachedDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
            "Caption" : "Caption",
            "GUIDstring" : "GUIDstring",
            "IsPDF" : true,
            "IsFromParent" : true,
            "ID" : 0,
            "AttachedByUserID" : 2,
            "MessageID" : 3
          }, {
            "AttachmentType" : "AttachmentType",
            "LineID" : 3,
            "IsActive" : true,
            "ThumbnailURI" : "ThumbnailURI",
            "GUID" : "00000000-0000-0000-0000-000000000000",
            "Title" : "Title",
            "IsImage" : true,
            "URI" : "URI",
            "AttachedDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
            "Caption" : "Caption",
            "GUIDstring" : "GUIDstring",
            "IsPDF" : true,
            "IsFromParent" : true,
            "ID" : 0,
            "AttachedByUserID" : 2,
            "MessageID" : 3
          } ],
          "UoM" : "UoM",
          "IsPhysical" : true,
          "TaxRate" : 7.835035282970782,
          "AssetID" : 0,
          "LineType" : "LineType",
          "Comment" : "Comment",
          "RefInventoryCode" : "RefInventoryCode",
          "QuantityInCart" : 0.43431398824148815,
          "Title" : "Title",
          "Quantity" : 3.502657762086401,
          "CostPriceTax" : 0.4182561061793122,
          "QuantityFaulty" : 7.3718573971919445,
          "QuantityReceived" : 9.785002165136461,
          "SKU" : "SKU",
          "CostPriceExString" : "CostPriceExString",
          "IsAssetItem" : true,
          "SupplierInventoryGUIDString" : "SupplierInventoryGUIDString"
        } ],
        "ExchangeRate" : 2.0981949483881577,
        "RepEmailAddress" : "RepEmailAddress",
        "IsActive" : true,
        "TotalExString" : "TotalExString",
        "BillLatitude" : 4.637509675190766,
        "TransType" : "TransType",
        "ContractID" : 7,
        "Attachments" : [ {
          "AttachmentType" : "AttachmentType",
          "LineID" : 3,
          "IsActive" : true,
          "ThumbnailURI" : "ThumbnailURI",
          "GUID" : "00000000-0000-0000-0000-000000000000",
          "Title" : "Title",
          "IsImage" : true,
          "URI" : "URI",
          "AttachedDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
          "Caption" : "Caption",
          "GUIDstring" : "GUIDstring",
          "IsPDF" : true,
          "IsFromParent" : true,
          "ID" : 0,
          "AttachedByUserID" : 2,
          "MessageID" : 3
        }, {
          "AttachmentType" : "AttachmentType",
          "LineID" : 3,
          "IsActive" : true,
          "ThumbnailURI" : "ThumbnailURI",
          "GUID" : "00000000-0000-0000-0000-000000000000",
          "Title" : "Title",
          "IsImage" : true,
          "URI" : "URI",
          "AttachedDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
          "Caption" : "Caption",
          "GUIDstring" : "GUIDstring",
          "IsPDF" : true,
          "IsFromParent" : true,
          "ID" : 0,
          "AttachedByUserID" : 2,
          "MessageID" : 3
        } ],
        "QuantityCount" : 7.740351818741173,
        "TotalOwing" : 4.652396432933246,
        "HasBeenAmended" : true,
        "AccountBalance" : 6.965117697638846,
        "TotalTax" : 9.721723570087065,
        "RepLastName" : "RepLastName",
        "ExternalTerminalName" : "ExternalTerminalName",
        "CashPaymentRounding" : 2.026856458177285,
        "UseIncPrices" : true,
        "CustomerName" : "CustomerName",
        "DueDate" : "2000-01-23T04:56:07.000+00:00",
        "TerritoryID" : 4,
        "ExternalNotes" : "ExternalNotes",
        "AcceptedDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
        "ShipCity" : "ShipCity",
        "BillCity" : "BillCity",
        "BillStreetAddress" : "BillStreetAddress",
        "Contact" : {
          "BusinessName" : "BusinessName",
          "FirstName" : "FirstName",
          "IsActive" : true,
          "GUID" : "00000000-0000-0000-0000-000000000000",
          "Title" : "Title",
          "BusinessLocationGuid" : "00000000-0000-0000-0000-000000000000",
          "Birthday" : "2000-01-23T04:56:07.000+00:00",
          "Gender" : "Gender",
          "PositionOrOccupation" : "PositionOrOccupation",
          "IsIncludeInEmails" : true,
          "EmailAddress" : "EmailAddress",
          "ContactRole" : "ContactRole",
          "LinkedUserGlobalIDstring" : "LinkedUserGlobalIDstring",
          "BusinessContactID" : 7,
          "GUIDstring" : "GUIDstring",
          "PhoneMobile" : "PhoneMobile",
          "IsPrimaryContact" : true,
          "Phone1" : "Phone1",
          "IsSystem" : true,
          "ID" : 3,
          "LastName" : "LastName",
          "BusinessID" : 0
        },
        "InvoiceType" : "InvoiceType",
        "IsIndividual" : true,
        "HasBeenAmendedByOtherParty" : true,
        "ReceivedDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
        "RowNumber" : 6,
        "ContactEmailAddress" : "ContactEmailAddress",
        "InboxID" : 3,
        "BillLongitude" : 0.36062689002149373,
        "ShippingAddress" : {
          "FullAddress" : "FullAddress",
          "IsDefaultDeliverTo" : true,
          "IsActive" : true,
          "LocationID" : 5,
          "Latitude" : 6.778324963048013,
          "GUIDstring" : "GUIDstring",
          "IsPostalAddress" : true,
          "AddressDescription" : "AddressDescription",
          "ID" : 2,
          "Notes" : "Notes",
          "IsDeliverTo" : true,
          "IsSelectedBilling" : true,
          "IsSelectedDelivery" : true,
          "GUID" : "00000000-0000-0000-0000-000000000000",
          "City" : "City",
          "Longitude" : 6.878052220127876,
          "StreetAddress" : "StreetAddress",
          "IsMailTo" : true,
          "IsServiceTo" : true,
          "State" : "State",
          "IsDefaultServiceTo" : true,
          "IsOfficeOrShop" : true,
          "Country" : "Country",
          "IsSystem" : true,
          "AddressType" : 6,
          "PostCode" : "PostCode",
          "IsDefaultBilling" : true
        },
        "CreatedDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
        "TotalPaidString" : "TotalPaidString",
        "CustomerRefTransRefNumber" : "CustomerRefTransRefNumber",
        "CostCentreCode" : "CostCentreCode",
        "VendorTransRefNumber" : "VendorTransRefNumber",
        "CreatedDateTime_offset" : 9,
        "RepFirstName" : "RepFirstName"
      }, {
        "ContactCustomerName" : "ContactCustomerName",
        "TransDateString" : "TransDateString",
        "VendorTransDate" : "2000-01-23T04:56:07.000+00:00",
        "RefTransRefNumber" : "RefTransRefNumber",
        "Token" : "Token",
        "CustomerID" : 9,
        "POSTerminalShiftID" : 4,
        "IsSeparateLines" : true,
        "LastLineRowNumber" : 4,
        "POSDeviceID" : "POSDeviceID",
        "RefTransID" : 4,
        "WarehouseCode" : "WarehouseCode",
        "ShippingAddressID" : 7,
        "RepUserID" : 0,
        "IsSent" : true,
        "SyncLogs" : [ {
          "Status" : "Status",
          "LastImportDateTime" : "2000-01-23T04:56:07.000+00:00",
          "AdaptorID" : 2,
          "LastImportDateTime_offset" : 9,
          "LastExportDateTime_offset" : 0,
          "LastModifiedDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
          "LastExportDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
          "BSID" : "BSID",
          "Details" : "Details",
          "SyncCode" : "SyncCode",
          "LastExportDateTime" : "2000-01-23T04:56:07.000+00:00",
          "LastModifiedDateTime_offset" : 2,
          "ID" : 4,
          "LastImportDateTime_utc" : "2000-01-23T04:56:07.000+00:00"
        }, {
          "Status" : "Status",
          "LastImportDateTime" : "2000-01-23T04:56:07.000+00:00",
          "AdaptorID" : 2,
          "LastImportDateTime_offset" : 9,
          "LastExportDateTime_offset" : 0,
          "LastModifiedDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
          "LastExportDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
          "BSID" : "BSID",
          "Details" : "Details",
          "SyncCode" : "SyncCode",
          "LastExportDateTime" : "2000-01-23T04:56:07.000+00:00",
          "LastModifiedDateTime_offset" : 2,
          "ID" : 4,
          "LastImportDateTime_utc" : "2000-01-23T04:56:07.000+00:00"
        } ],
        "TotalPaid" : 6.628464275087742,
        "Currency" : "Currency",
        "ID" : 4,
        "IsReadOnly" : true,
        "Status" : "Status",
        "VendorName" : "VendorName",
        "Messages" : [ {
          "IsSystemMessage" : true,
          "Message" : "Message",
          "IsActive" : true,
          "ToUserID" : 3,
          "GUID" : "00000000-0000-0000-0000-000000000000",
          "SentDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
          "Attachments" : [ {
            "AttachmentType" : "AttachmentType",
            "LineID" : 3,
            "IsActive" : true,
            "ThumbnailURI" : "ThumbnailURI",
            "GUID" : "00000000-0000-0000-0000-000000000000",
            "Title" : "Title",
            "IsImage" : true,
            "URI" : "URI",
            "AttachedDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
            "Caption" : "Caption",
            "GUIDstring" : "GUIDstring",
            "IsPDF" : true,
            "IsFromParent" : true,
            "ID" : 0,
            "AttachedByUserID" : 2,
            "MessageID" : 3
          }, {
            "AttachmentType" : "AttachmentType",
            "LineID" : 3,
            "IsActive" : true,
            "ThumbnailURI" : "ThumbnailURI",
            "GUID" : "00000000-0000-0000-0000-000000000000",
            "Title" : "Title",
            "IsImage" : true,
            "URI" : "URI",
            "AttachedDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
            "Caption" : "Caption",
            "GUIDstring" : "GUIDstring",
            "IsPDF" : true,
            "IsFromParent" : true,
            "ID" : 0,
            "AttachedByUserID" : 2,
            "MessageID" : 3
          } ],
          "IsInbound" : true,
          "GUIDstring" : "GUIDstring",
          "ReceivedDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
          "IsFromParent" : true,
          "FromUserID" : 1,
          "ReadDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
          "ID" : 3,
          "TransID" : 5
        }, {
          "IsSystemMessage" : true,
          "Message" : "Message",
          "IsActive" : true,
          "ToUserID" : 3,
          "GUID" : "00000000-0000-0000-0000-000000000000",
          "SentDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
          "Attachments" : [ {
            "AttachmentType" : "AttachmentType",
            "LineID" : 3,
            "IsActive" : true,
            "ThumbnailURI" : "ThumbnailURI",
            "GUID" : "00000000-0000-0000-0000-000000000000",
            "Title" : "Title",
            "IsImage" : true,
            "URI" : "URI",
            "AttachedDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
            "Caption" : "Caption",
            "GUIDstring" : "GUIDstring",
            "IsPDF" : true,
            "IsFromParent" : true,
            "ID" : 0,
            "AttachedByUserID" : 2,
            "MessageID" : 3
          }, {
            "AttachmentType" : "AttachmentType",
            "LineID" : 3,
            "IsActive" : true,
            "ThumbnailURI" : "ThumbnailURI",
            "GUID" : "00000000-0000-0000-0000-000000000000",
            "Title" : "Title",
            "IsImage" : true,
            "URI" : "URI",
            "AttachedDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
            "Caption" : "Caption",
            "GUIDstring" : "GUIDstring",
            "IsPDF" : true,
            "IsFromParent" : true,
            "ID" : 0,
            "AttachedByUserID" : 2,
            "MessageID" : 3
          } ],
          "IsInbound" : true,
          "GUIDstring" : "GUIDstring",
          "ReceivedDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
          "IsFromParent" : true,
          "FromUserID" : 1,
          "ReadDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
          "ID" : 3,
          "TransID" : 5
        } ],
        "VendorInvoiceRefNumber" : "VendorInvoiceRefNumber",
        "TotalLineCount" : 0,
        "DatTypeID" : 6,
        "TotalInc" : 9.456612101333725,
        "BillCountry" : "BillCountry",
        "DiscountMode" : "DiscountMode",
        "ContactLastName" : "ContactLastName",
        "BusinessContactID" : 0,
        "BSID" : "BSID",
        "AccountCustomerName" : "AccountCustomerName",
        "VendorRefNumber" : "VendorRefNumber",
        "BatchStatus" : "BatchStatus",
        "LinkedTrans" : [ {
          "Status" : "Status",
          "AppliedDate" : "2000-01-23T04:56:07.000+00:00",
          "DatTypeString" : "DatTypeString",
          "ShortDatTypeString" : "ShortDatTypeString",
          "Description" : "Description",
          "Issues" : "Issues",
          "RefNumber" : "RefNumber",
          "AppliedAmount" : 4.145608029883936,
          "DatTypeID" : 2,
          "TotalInc" : 7.061401241503109,
          "LineCount" : 9,
          "TransSubType" : "TransSubType",
          "QuantityCount" : 3.616076749251911,
          "GUIDstring" : "GUIDstring",
          "TotalEx" : 2.027123023002322,
          "RecipientName" : "RecipientName",
          "ID" : 5
        }, {
          "Status" : "Status",
          "AppliedDate" : "2000-01-23T04:56:07.000+00:00",
          "DatTypeString" : "DatTypeString",
          "ShortDatTypeString" : "ShortDatTypeString",
          "Description" : "Description",
          "Issues" : "Issues",
          "RefNumber" : "RefNumber",
          "AppliedAmount" : 4.145608029883936,
          "DatTypeID" : 2,
          "TotalInc" : 7.061401241503109,
          "LineCount" : 9,
          "TransSubType" : "TransSubType",
          "QuantityCount" : 3.616076749251911,
          "GUIDstring" : "GUIDstring",
          "TotalEx" : 2.027123023002322,
          "RecipientName" : "RecipientName",
          "ID" : 5
        } ],
        "AccountCustomerRefNumber" : "AccountCustomerRefNumber",
        "TerritoryName" : "TerritoryName",
        "IsProcessed" : true,
        "Description" : "Description",
        "Discount" : 6.918231485891953,
        "AvailableCreditString" : "AvailableCreditString",
        "CustomerBSID" : "CustomerBSID",
        "BillingAddressID" : 0,
        "ClaimRequestRefNumber" : "ClaimRequestRefNumber",
        "WasSentWhenUnlinked" : true,
        "DeliveryNote" : "DeliveryNote",
        "BillingAddress" : {
          "FullAddress" : "FullAddress",
          "IsDefaultDeliverTo" : true,
          "IsActive" : true,
          "LocationID" : 5,
          "Latitude" : 6.778324963048013,
          "GUIDstring" : "GUIDstring",
          "IsPostalAddress" : true,
          "AddressDescription" : "AddressDescription",
          "ID" : 2,
          "Notes" : "Notes",
          "IsDeliverTo" : true,
          "IsSelectedBilling" : true,
          "IsSelectedDelivery" : true,
          "GUID" : "00000000-0000-0000-0000-000000000000",
          "City" : "City",
          "Longitude" : 6.878052220127876,
          "StreetAddress" : "StreetAddress",
          "IsMailTo" : true,
          "IsServiceTo" : true,
          "State" : "State",
          "IsDefaultServiceTo" : true,
          "IsOfficeOrShop" : true,
          "Country" : "Country",
          "IsSystem" : true,
          "AddressType" : 6,
          "PostCode" : "PostCode",
          "IsDefaultBilling" : true
        },
        "ContactPhone" : "ContactPhone",
        "VendorABN" : "VendorABN",
        "DisplayAddress" : "DisplayAddress",
        "CreatedByUserName" : "CreatedByUserName",
        "IsSentToUnlinked" : true,
        "IsCanDelete" : true,
        "ContactFirstName" : "ContactFirstName",
        "DeliveryMethod" : "DeliveryMethod",
        "AttachmentCount" : 3,
        "OriginalTotalInc" : 5.533258397034986,
        "VendorID" : 7,
        "ShipState" : "ShipState",
        "SentDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
        "InternalNote" : "InternalNote",
        "AccountBalanceString" : "AccountBalanceString",
        "TotalEx" : 0.4867146239815201,
        "WarehouseBSID" : "WarehouseBSID",
        "TransDate" : "2000-01-23T04:56:07.000+00:00",
        "ShipCountry" : "ShipCountry",
        "TotalTaxString" : "TotalTaxString",
        "IsCanCancel" : true,
        "IsLinkedToOtherParty" : true,
        "ShipLatitude" : 1.0502890910539986,
        "ShipLongitude" : 6.176386745020588,
        "WasSentWhenLinked" : true,
        "IsCreatedByOtherParty" : true,
        "RefSalesOrderRefNumber" : "RefSalesOrderRefNumber",
        "ShipStreetAddress" : "ShipStreetAddress",
        "TotalIncString" : "TotalIncString",
        "DeliveryDate" : "2000-01-23T04:56:07.000+00:00",
        "WarehouseID" : 6,
        "LineCount" : 8,
        "LinesWithUnmappedInventoryCount" : 8,
        "WarehouseName" : "WarehouseName",
        "GUIDstring" : "GUIDstring",
        "AvailableCredit" : 1.284659006116532,
        "BillPostCode" : "BillPostCode",
        "DueDateString" : "DueDateString",
        "CustomerRefNumber" : "CustomerRefNumber",
        "Version" : 3.5571952270680973,
        "OriginalTotalEx" : 7.04836565559697,
        "CreatedWith" : "CreatedWith",
        "TotalOwingString" : "TotalOwingString",
        "BillState" : "BillState",
        "AccountCustomerID" : 1,
        "IsMessagesSendable" : true,
        "IsSendable" : true,
        "FinalisedDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
        "RefNumber" : "RefNumber",
        "GUID" : "00000000-0000-0000-0000-000000000000",
        "ShipPostCode" : "ShipPostCode",
        "IsMoreLinesToGet" : true,
        "RepUserName" : "RepUserName",
        "OriginalTotalTax" : 3.2588565619047607,
        "CustomerGUIDstring" : "CustomerGUIDstring",
        "IsAccountCustomer" : true,
        "Balance" : 7.88722683998926,
        "BusinessID" : 3,
        "CreatedDateTime" : "2000-01-23T04:56:07.000+00:00",
        "Lines" : [ {
          "SellPriceInc" : 8.37823741034869,
          "FeeID" : 4,
          "TotalQuantityReceived" : 1.7045651386993,
          "AdjustedQuantityReceived" : 8.262795412896967,
          "InventoryID" : 9,
          "ShortDescription" : "ShortDescription",
          "AcquisitionWarehouseID" : 9,
          "FeeGUID" : "00000000-0000-0000-0000-000000000000",
          "SequenceNumber" : 1,
          "ID" : 0,
          "SellPriceTaxString" : "SellPriceTaxString",
          "InventoryGUIDstring" : "InventoryGUIDstring",
          "InventoryType" : "InventoryType",
          "DefaultThumbnailURL" : "DefaultThumbnailURL",
          "IsOnSpecial" : true,
          "MinOrderQuantity" : 4.459605034958679,
          "RefBarCode" : "RefBarCode",
          "IsShowOriginalPriceInReceipts" : true,
          "DatTypeID" : 7,
          "PricingMode" : "PricingMode",
          "Code" : "Code",
          "IsDiscontinued" : true,
          "LineTotalTaxString" : "LineTotalTaxString",
          "SupplierInventoryGUID" : "00000000-0000-0000-0000-000000000000",
          "EAN" : "EAN",
          "Barcode" : "Barcode",
          "IsAmendedByOtherParty" : true,
          "ReturnReason" : "ReturnReason",
          "DefaultImageURL" : "DefaultImageURL",
          "StandardSellPriceEx" : 9.183123594773994,
          "Description" : "Description",
          "ClaimReason" : "ClaimReason",
          "SellPriceTax" : 7.606863723092579,
          "QuantityPicked" : 5.974942028545841,
          "CurrentSuppliersInventoryGUID" : "00000000-0000-0000-0000-000000000000",
          "IsTaxable" : true,
          "SellPriceExString" : "SellPriceExString",
          "QuantityInCartString" : "QuantityInCartString",
          "DeliveryMethod" : "DeliveryMethod",
          "SellPriceEx" : 5.312489704336296,
          "LineTotalInc" : 3.111202833403195,
          "CommentFromOtherParty" : "CommentFromOtherParty",
          "QuantityOutofDate" : 7.92839742024475,
          "InventoryGUID" : "00000000-0000-0000-0000-000000000000",
          "IsVariantMaster" : true,
          "LineTotalExString" : "LineTotalExString",
          "IsPriceRefresh" : true,
          "DiscountPercentage" : 3.8008573585058016,
          "QuantityOrdered" : 3.2841216543560217,
          "IsCanUpdateInventoryOnMerge" : true,
          "QuantityOnBackOrder" : 6.623518433804886,
          "OrderTotalIncDesc" : "OrderTotalIncDesc",
          "AcquisitionMethod" : "AcquisitionMethod",
          "LabourRateID" : 8,
          "LineID" : 4,
          "RefInventoryBSID" : "RefInventoryBSID",
          "IsCreatedByOtherParty" : true,
          "WarehouseID" : 5,
          "GUIDstring" : "GUIDstring",
          "PostingInventoryCode" : "PostingInventoryCode",
          "ReturnInNumberOfWeeks" : 1.7325933120207193,
          "ExpectedBuyPriceEx" : 4.4935252719377825,
          "CalculatedBuyPriceTax" : 3.209082285545927,
          "AccountCode" : "AccountCode",
          "MaxOrderQuantity" : 8.251625748923757,
          "QuantityIncorrect" : 7.726998920545485,
          "ClaimRequestLines" : [ {
            "Comment" : "Comment",
            "ClaimRequestLineID" : 4,
            "SellPriceEx" : 6.458262756685686,
            "LineTotalInc" : 6.4280627569296165,
            "SellPriceInc" : 4.141296055235948,
            "IsActive" : true,
            "Quantity" : 8.276461147928103,
            "IsReturnToStock" : true,
            "LineTotalEx" : 2.058822123984536,
            "WarehouseID" : 2,
            "WarehouseName" : "WarehouseName",
            "ClaimRequestID" : 9,
            "ClaimRequestStatus" : "ClaimRequestStatus",
            "LineTotalTax" : 0.8411762798681321,
            "SellPriceTax" : 8.910869026866926,
            "TransDate" : "2000-01-23T04:56:07.000+00:00",
            "InvoiceQuantity" : 5.747795090145878,
            "ClaimableQuantity" : 7.3842318535314,
            "ClaimedQuantity" : 0.7012260588964747
          }, {
            "Comment" : "Comment",
            "ClaimRequestLineID" : 4,
            "SellPriceEx" : 6.458262756685686,
            "LineTotalInc" : 6.4280627569296165,
            "SellPriceInc" : 4.141296055235948,
            "IsActive" : true,
            "Quantity" : 8.276461147928103,
            "IsReturnToStock" : true,
            "LineTotalEx" : 2.058822123984536,
            "WarehouseID" : 2,
            "WarehouseName" : "WarehouseName",
            "ClaimRequestID" : 9,
            "ClaimRequestStatus" : "ClaimRequestStatus",
            "LineTotalTax" : 0.8411762798681321,
            "SellPriceTax" : 8.910869026866926,
            "TransDate" : "2000-01-23T04:56:07.000+00:00",
            "InvoiceQuantity" : 5.747795090145878,
            "ClaimableQuantity" : 7.3842318535314,
            "ClaimedQuantity" : 0.7012260588964747
          } ],
          "QuantityCancelled" : 2.9409642974827896,
          "FeePercentage" : 5.507386964179881,
          "LineTotalIncString" : "LineTotalIncString",
          "StandardSellPriceInc" : 8.28965939814297,
          "GUID" : "00000000-0000-0000-0000-000000000000",
          "UoMDescription" : "UoMDescription",
          "LineTotalEx" : 3.7814124730767915,
          "IsRejected" : true,
          "ItemID" : 6,
          "FeeGUIDstring" : "FeeGUIDstring",
          "PriceDescription" : "PriceDescription",
          "LineTotalTax" : 9.897492629215506,
          "TaxType" : "TaxType",
          "PostingInventoryID" : 1,
          "CostPriceInc" : 8.761432466225475,
          "SellPriceIncString" : "SellPriceIncString",
          "QuantityClaimed" : 9.402167524121316,
          "QuantityRefunded" : 2.9805393113464476,
          "PriceType" : "PriceType",
          "InventoryBSID" : "InventoryBSID",
          "Warehouse" : {
            "Description" : "Description",
            "IsActive" : true,
            "TotalNumberOfDistinctProducts" : 1,
            "Users" : [ {
              "FirstName" : "FirstName",
              "IsActive" : true,
              "PositionOrOccupation" : "PositionOrOccupation",
              "EmailAddress" : "EmailAddress",
              "GUIDstring" : "GUIDstring",
              "PhoneMobile" : "PhoneMobile",
              "IsPrimaryContact" : true,
              "Phone1" : "Phone1",
              "BSID" : "BSID",
              "IsEmployee" : true,
              "CreatedWith" : "CreatedWith",
              "ID" : 5,
              "LastName" : "LastName"
            }, {
              "FirstName" : "FirstName",
              "IsActive" : true,
              "PositionOrOccupation" : "PositionOrOccupation",
              "EmailAddress" : "EmailAddress",
              "GUIDstring" : "GUIDstring",
              "PhoneMobile" : "PhoneMobile",
              "IsPrimaryContact" : true,
              "Phone1" : "Phone1",
              "BSID" : "BSID",
              "IsEmployee" : true,
              "CreatedWith" : "CreatedWith",
              "ID" : 5,
              "LastName" : "LastName"
            } ],
            "Name" : "Name",
            "GUIDstring" : "GUIDstring",
            "Version" : 4.518309517874243,
            "SyncLogs" : [ {
              "Status" : "Status",
              "LastImportDateTime" : "2000-01-23T04:56:07.000+00:00",
              "AdaptorID" : 2,
              "LastImportDateTime_offset" : 9,
              "LastExportDateTime_offset" : 0,
              "LastModifiedDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
              "LastExportDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
              "BSID" : "BSID",
              "Details" : "Details",
              "SyncCode" : "SyncCode",
              "LastExportDateTime" : "2000-01-23T04:56:07.000+00:00",
              "LastModifiedDateTime_offset" : 2,
              "ID" : 4,
              "LastImportDateTime_utc" : "2000-01-23T04:56:07.000+00:00"
            }, {
              "Status" : "Status",
              "LastImportDateTime" : "2000-01-23T04:56:07.000+00:00",
              "AdaptorID" : 2,
              "LastImportDateTime_offset" : 9,
              "LastExportDateTime_offset" : 0,
              "LastModifiedDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
              "LastExportDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
              "BSID" : "BSID",
              "Details" : "Details",
              "SyncCode" : "SyncCode",
              "LastExportDateTime" : "2000-01-23T04:56:07.000+00:00",
              "LastModifiedDateTime_offset" : 2,
              "ID" : 4,
              "LastImportDateTime_utc" : "2000-01-23T04:56:07.000+00:00"
            } ],
            "WarehouseTypeID" : 7,
            "ID" : 0,
            "DefaultPOSCustomerName" : "DefaultPOSCustomerName",
            "MinimumStockHoldingValue" : 5.6644160867523485,
            "IsDefault" : true,
            "DefaultPOSCustomerID" : 4,
            "TenantLocationName" : "TenantLocationName",
            "Code" : "Code",
            "TotalStockValue" : 3.812761638325517,
            "RowNumber" : 8,
            "BSID" : "BSID",
            "MaximumStockHoldingValue" : 1.5970080735609526,
            "TenantLocationID" : 0,
            "Barcode" : "Barcode",
            "WarehouseType" : {
              "Description" : "Description",
              "WarehouseTypeID" : 9,
              "ID" : 6,
              "IsVirtual" : true,
              "Name" : "Name",
              "RefNumberPrefix" : "RefNumberPrefix"
            },
            "TotalSOH" : 1.2555055362323109,
            "IsSystem" : true,
            "CostCentreCode" : "CostCentreCode",
            "Location" : {
              "IsActive" : true,
              "TimeZoneName" : "TimeZoneName",
              "GUID" : "00000000-0000-0000-0000-000000000000",
              "EmailAddress" : "EmailAddress",
              "Name" : "Name",
              "LocationName" : "LocationName",
              "GUIDstring" : "GUIDstring",
              "Addresses" : [ {
                "FullAddress" : "FullAddress",
                "IsDefaultDeliverTo" : true,
                "IsActive" : true,
                "LocationID" : 5,
                "Latitude" : 6.778324963048013,
                "GUIDstring" : "GUIDstring",
                "IsPostalAddress" : true,
                "AddressDescription" : "AddressDescription",
                "ID" : 2,
                "Notes" : "Notes",
                "IsDeliverTo" : true,
                "IsSelectedBilling" : true,
                "IsSelectedDelivery" : true,
                "GUID" : "00000000-0000-0000-0000-000000000000",
                "City" : "City",
                "Longitude" : 6.878052220127876,
                "StreetAddress" : "StreetAddress",
                "IsMailTo" : true,
                "IsServiceTo" : true,
                "State" : "State",
                "IsDefaultServiceTo" : true,
                "IsOfficeOrShop" : true,
                "Country" : "Country",
                "IsSystem" : true,
                "AddressType" : 6,
                "PostCode" : "PostCode",
                "IsDefaultBilling" : true
              }, {
                "FullAddress" : "FullAddress",
                "IsDefaultDeliverTo" : true,
                "IsActive" : true,
                "LocationID" : 5,
                "Latitude" : 6.778324963048013,
                "GUIDstring" : "GUIDstring",
                "IsPostalAddress" : true,
                "AddressDescription" : "AddressDescription",
                "ID" : 2,
                "Notes" : "Notes",
                "IsDeliverTo" : true,
                "IsSelectedBilling" : true,
                "IsSelectedDelivery" : true,
                "GUID" : "00000000-0000-0000-0000-000000000000",
                "City" : "City",
                "Longitude" : 6.878052220127876,
                "StreetAddress" : "StreetAddress",
                "IsMailTo" : true,
                "IsServiceTo" : true,
                "State" : "State",
                "IsDefaultServiceTo" : true,
                "IsOfficeOrShop" : true,
                "Country" : "Country",
                "IsSystem" : true,
                "AddressType" : 6,
                "PostCode" : "PostCode",
                "IsDefaultBilling" : true
              } ],
              "UtcOffset" : 4,
              "IsVisibleToPublic" : true,
              "Contacts" : [ {
                "BusinessName" : "BusinessName",
                "FirstName" : "FirstName",
                "IsActive" : true,
                "GUID" : "00000000-0000-0000-0000-000000000000",
                "Title" : "Title",
                "BusinessLocationGuid" : "00000000-0000-0000-0000-000000000000",
                "Birthday" : "2000-01-23T04:56:07.000+00:00",
                "Gender" : "Gender",
                "PositionOrOccupation" : "PositionOrOccupation",
                "IsIncludeInEmails" : true,
                "EmailAddress" : "EmailAddress",
                "ContactRole" : "ContactRole",
                "LinkedUserGlobalIDstring" : "LinkedUserGlobalIDstring",
                "BusinessContactID" : 7,
                "GUIDstring" : "GUIDstring",
                "PhoneMobile" : "PhoneMobile",
                "IsPrimaryContact" : true,
                "Phone1" : "Phone1",
                "IsSystem" : true,
                "ID" : 3,
                "LastName" : "LastName",
                "BusinessID" : 0
              }, {
                "BusinessName" : "BusinessName",
                "FirstName" : "FirstName",
                "IsActive" : true,
                "GUID" : "00000000-0000-0000-0000-000000000000",
                "Title" : "Title",
                "BusinessLocationGuid" : "00000000-0000-0000-0000-000000000000",
                "Birthday" : "2000-01-23T04:56:07.000+00:00",
                "Gender" : "Gender",
                "PositionOrOccupation" : "PositionOrOccupation",
                "IsIncludeInEmails" : true,
                "EmailAddress" : "EmailAddress",
                "ContactRole" : "ContactRole",
                "LinkedUserGlobalIDstring" : "LinkedUserGlobalIDstring",
                "BusinessContactID" : 7,
                "GUIDstring" : "GUIDstring",
                "PhoneMobile" : "PhoneMobile",
                "IsPrimaryContact" : true,
                "Phone1" : "Phone1",
                "IsSystem" : true,
                "ID" : 3,
                "LastName" : "LastName",
                "BusinessID" : 0
              } ],
              "Phone" : "Phone",
              "IsSystem" : true,
              "ID" : 6,
              "Fax" : "Fax",
              "IsDefaultLocation" : true
            },
            "IsStockOpeningBalanceComplete" : true
          },
          "DeliveryMethodDescription" : "DeliveryMethodDescription",
          "CostPriceEx" : 5.299143560275359,
          "IsActive" : true,
          "HasPriceBeenEdited" : true,
          "IsSpecialPrice" : true,
          "OrderTotalInc" : 3.901545264248647,
          "Attachments" : [ {
            "AttachmentType" : "AttachmentType",
            "LineID" : 3,
            "IsActive" : true,
            "ThumbnailURI" : "ThumbnailURI",
            "GUID" : "00000000-0000-0000-0000-000000000000",
            "Title" : "Title",
            "IsImage" : true,
            "URI" : "URI",
            "AttachedDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
            "Caption" : "Caption",
            "GUIDstring" : "GUIDstring",
            "IsPDF" : true,
            "IsFromParent" : true,
            "ID" : 0,
            "AttachedByUserID" : 2,
            "MessageID" : 3
          }, {
            "AttachmentType" : "AttachmentType",
            "LineID" : 3,
            "IsActive" : true,
            "ThumbnailURI" : "ThumbnailURI",
            "GUID" : "00000000-0000-0000-0000-000000000000",
            "Title" : "Title",
            "IsImage" : true,
            "URI" : "URI",
            "AttachedDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
            "Caption" : "Caption",
            "GUIDstring" : "GUIDstring",
            "IsPDF" : true,
            "IsFromParent" : true,
            "ID" : 0,
            "AttachedByUserID" : 2,
            "MessageID" : 3
          } ],
          "UoM" : "UoM",
          "IsPhysical" : true,
          "TaxRate" : 7.835035282970782,
          "AssetID" : 0,
          "LineType" : "LineType",
          "Comment" : "Comment",
          "RefInventoryCode" : "RefInventoryCode",
          "QuantityInCart" : 0.43431398824148815,
          "Title" : "Title",
          "Quantity" : 3.502657762086401,
          "CostPriceTax" : 0.4182561061793122,
          "QuantityFaulty" : 7.3718573971919445,
          "QuantityReceived" : 9.785002165136461,
          "SKU" : "SKU",
          "CostPriceExString" : "CostPriceExString",
          "IsAssetItem" : true,
          "SupplierInventoryGUIDString" : "SupplierInventoryGUIDString"
        }, {
          "SellPriceInc" : 8.37823741034869,
          "FeeID" : 4,
          "TotalQuantityReceived" : 1.7045651386993,
          "AdjustedQuantityReceived" : 8.262795412896967,
          "InventoryID" : 9,
          "ShortDescription" : "ShortDescription",
          "AcquisitionWarehouseID" : 9,
          "FeeGUID" : "00000000-0000-0000-0000-000000000000",
          "SequenceNumber" : 1,
          "ID" : 0,
          "SellPriceTaxString" : "SellPriceTaxString",
          "InventoryGUIDstring" : "InventoryGUIDstring",
          "InventoryType" : "InventoryType",
          "DefaultThumbnailURL" : "DefaultThumbnailURL",
          "IsOnSpecial" : true,
          "MinOrderQuantity" : 4.459605034958679,
          "RefBarCode" : "RefBarCode",
          "IsShowOriginalPriceInReceipts" : true,
          "DatTypeID" : 7,
          "PricingMode" : "PricingMode",
          "Code" : "Code",
          "IsDiscontinued" : true,
          "LineTotalTaxString" : "LineTotalTaxString",
          "SupplierInventoryGUID" : "00000000-0000-0000-0000-000000000000",
          "EAN" : "EAN",
          "Barcode" : "Barcode",
          "IsAmendedByOtherParty" : true,
          "ReturnReason" : "ReturnReason",
          "DefaultImageURL" : "DefaultImageURL",
          "StandardSellPriceEx" : 9.183123594773994,
          "Description" : "Description",
          "ClaimReason" : "ClaimReason",
          "SellPriceTax" : 7.606863723092579,
          "QuantityPicked" : 5.974942028545841,
          "CurrentSuppliersInventoryGUID" : "00000000-0000-0000-0000-000000000000",
          "IsTaxable" : true,
          "SellPriceExString" : "SellPriceExString",
          "QuantityInCartString" : "QuantityInCartString",
          "DeliveryMethod" : "DeliveryMethod",
          "SellPriceEx" : 5.312489704336296,
          "LineTotalInc" : 3.111202833403195,
          "CommentFromOtherParty" : "CommentFromOtherParty",
          "QuantityOutofDate" : 7.92839742024475,
          "InventoryGUID" : "00000000-0000-0000-0000-000000000000",
          "IsVariantMaster" : true,
          "LineTotalExString" : "LineTotalExString",
          "IsPriceRefresh" : true,
          "DiscountPercentage" : 3.8008573585058016,
          "QuantityOrdered" : 3.2841216543560217,
          "IsCanUpdateInventoryOnMerge" : true,
          "QuantityOnBackOrder" : 6.623518433804886,
          "OrderTotalIncDesc" : "OrderTotalIncDesc",
          "AcquisitionMethod" : "AcquisitionMethod",
          "LabourRateID" : 8,
          "LineID" : 4,
          "RefInventoryBSID" : "RefInventoryBSID",
          "IsCreatedByOtherParty" : true,
          "WarehouseID" : 5,
          "GUIDstring" : "GUIDstring",
          "PostingInventoryCode" : "PostingInventoryCode",
          "ReturnInNumberOfWeeks" : 1.7325933120207193,
          "ExpectedBuyPriceEx" : 4.4935252719377825,
          "CalculatedBuyPriceTax" : 3.209082285545927,
          "AccountCode" : "AccountCode",
          "MaxOrderQuantity" : 8.251625748923757,
          "QuantityIncorrect" : 7.726998920545485,
          "ClaimRequestLines" : [ {
            "Comment" : "Comment",
            "ClaimRequestLineID" : 4,
            "SellPriceEx" : 6.458262756685686,
            "LineTotalInc" : 6.4280627569296165,
            "SellPriceInc" : 4.141296055235948,
            "IsActive" : true,
            "Quantity" : 8.276461147928103,
            "IsReturnToStock" : true,
            "LineTotalEx" : 2.058822123984536,
            "WarehouseID" : 2,
            "WarehouseName" : "WarehouseName",
            "ClaimRequestID" : 9,
            "ClaimRequestStatus" : "ClaimRequestStatus",
            "LineTotalTax" : 0.8411762798681321,
            "SellPriceTax" : 8.910869026866926,
            "TransDate" : "2000-01-23T04:56:07.000+00:00",
            "InvoiceQuantity" : 5.747795090145878,
            "ClaimableQuantity" : 7.3842318535314,
            "ClaimedQuantity" : 0.7012260588964747
          }, {
            "Comment" : "Comment",
            "ClaimRequestLineID" : 4,
            "SellPriceEx" : 6.458262756685686,
            "LineTotalInc" : 6.4280627569296165,
            "SellPriceInc" : 4.141296055235948,
            "IsActive" : true,
            "Quantity" : 8.276461147928103,
            "IsReturnToStock" : true,
            "LineTotalEx" : 2.058822123984536,
            "WarehouseID" : 2,
            "WarehouseName" : "WarehouseName",
            "ClaimRequestID" : 9,
            "ClaimRequestStatus" : "ClaimRequestStatus",
            "LineTotalTax" : 0.8411762798681321,
            "SellPriceTax" : 8.910869026866926,
            "TransDate" : "2000-01-23T04:56:07.000+00:00",
            "InvoiceQuantity" : 5.747795090145878,
            "ClaimableQuantity" : 7.3842318535314,
            "ClaimedQuantity" : 0.7012260588964747
          } ],
          "QuantityCancelled" : 2.9409642974827896,
          "FeePercentage" : 5.507386964179881,
          "LineTotalIncString" : "LineTotalIncString",
          "StandardSellPriceInc" : 8.28965939814297,
          "GUID" : "00000000-0000-0000-0000-000000000000",
          "UoMDescription" : "UoMDescription",
          "LineTotalEx" : 3.7814124730767915,
          "IsRejected" : true,
          "ItemID" : 6,
          "FeeGUIDstring" : "FeeGUIDstring",
          "PriceDescription" : "PriceDescription",
          "LineTotalTax" : 9.897492629215506,
          "TaxType" : "TaxType",
          "PostingInventoryID" : 1,
          "CostPriceInc" : 8.761432466225475,
          "SellPriceIncString" : "SellPriceIncString",
          "QuantityClaimed" : 9.402167524121316,
          "QuantityRefunded" : 2.9805393113464476,
          "PriceType" : "PriceType",
          "InventoryBSID" : "InventoryBSID",
          "Warehouse" : {
            "Description" : "Description",
            "IsActive" : true,
            "TotalNumberOfDistinctProducts" : 1,
            "Users" : [ {
              "FirstName" : "FirstName",
              "IsActive" : true,
              "PositionOrOccupation" : "PositionOrOccupation",
              "EmailAddress" : "EmailAddress",
              "GUIDstring" : "GUIDstring",
              "PhoneMobile" : "PhoneMobile",
              "IsPrimaryContact" : true,
              "Phone1" : "Phone1",
              "BSID" : "BSID",
              "IsEmployee" : true,
              "CreatedWith" : "CreatedWith",
              "ID" : 5,
              "LastName" : "LastName"
            }, {
              "FirstName" : "FirstName",
              "IsActive" : true,
              "PositionOrOccupation" : "PositionOrOccupation",
              "EmailAddress" : "EmailAddress",
              "GUIDstring" : "GUIDstring",
              "PhoneMobile" : "PhoneMobile",
              "IsPrimaryContact" : true,
              "Phone1" : "Phone1",
              "BSID" : "BSID",
              "IsEmployee" : true,
              "CreatedWith" : "CreatedWith",
              "ID" : 5,
              "LastName" : "LastName"
            } ],
            "Name" : "Name",
            "GUIDstring" : "GUIDstring",
            "Version" : 4.518309517874243,
            "SyncLogs" : [ {
              "Status" : "Status",
              "LastImportDateTime" : "2000-01-23T04:56:07.000+00:00",
              "AdaptorID" : 2,
              "LastImportDateTime_offset" : 9,
              "LastExportDateTime_offset" : 0,
              "LastModifiedDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
              "LastExportDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
              "BSID" : "BSID",
              "Details" : "Details",
              "SyncCode" : "SyncCode",
              "LastExportDateTime" : "2000-01-23T04:56:07.000+00:00",
              "LastModifiedDateTime_offset" : 2,
              "ID" : 4,
              "LastImportDateTime_utc" : "2000-01-23T04:56:07.000+00:00"
            }, {
              "Status" : "Status",
              "LastImportDateTime" : "2000-01-23T04:56:07.000+00:00",
              "AdaptorID" : 2,
              "LastImportDateTime_offset" : 9,
              "LastExportDateTime_offset" : 0,
              "LastModifiedDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
              "LastExportDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
              "BSID" : "BSID",
              "Details" : "Details",
              "SyncCode" : "SyncCode",
              "LastExportDateTime" : "2000-01-23T04:56:07.000+00:00",
              "LastModifiedDateTime_offset" : 2,
              "ID" : 4,
              "LastImportDateTime_utc" : "2000-01-23T04:56:07.000+00:00"
            } ],
            "WarehouseTypeID" : 7,
            "ID" : 0,
            "DefaultPOSCustomerName" : "DefaultPOSCustomerName",
            "MinimumStockHoldingValue" : 5.6644160867523485,
            "IsDefault" : true,
            "DefaultPOSCustomerID" : 4,
            "TenantLocationName" : "TenantLocationName",
            "Code" : "Code",
            "TotalStockValue" : 3.812761638325517,
            "RowNumber" : 8,
            "BSID" : "BSID",
            "MaximumStockHoldingValue" : 1.5970080735609526,
            "TenantLocationID" : 0,
            "Barcode" : "Barcode",
            "WarehouseType" : {
              "Description" : "Description",
              "WarehouseTypeID" : 9,
              "ID" : 6,
              "IsVirtual" : true,
              "Name" : "Name",
              "RefNumberPrefix" : "RefNumberPrefix"
            },
            "TotalSOH" : 1.2555055362323109,
            "IsSystem" : true,
            "CostCentreCode" : "CostCentreCode",
            "Location" : {
              "IsActive" : true,
              "TimeZoneName" : "TimeZoneName",
              "GUID" : "00000000-0000-0000-0000-000000000000",
              "EmailAddress" : "EmailAddress",
              "Name" : "Name",
              "LocationName" : "LocationName",
              "GUIDstring" : "GUIDstring",
              "Addresses" : [ {
                "FullAddress" : "FullAddress",
                "IsDefaultDeliverTo" : true,
                "IsActive" : true,
                "LocationID" : 5,
                "Latitude" : 6.778324963048013,
                "GUIDstring" : "GUIDstring",
                "IsPostalAddress" : true,
                "AddressDescription" : "AddressDescription",
                "ID" : 2,
                "Notes" : "Notes",
                "IsDeliverTo" : true,
                "IsSelectedBilling" : true,
                "IsSelectedDelivery" : true,
                "GUID" : "00000000-0000-0000-0000-000000000000",
                "City" : "City",
                "Longitude" : 6.878052220127876,
                "StreetAddress" : "StreetAddress",
                "IsMailTo" : true,
                "IsServiceTo" : true,
                "State" : "State",
                "IsDefaultServiceTo" : true,
                "IsOfficeOrShop" : true,
                "Country" : "Country",
                "IsSystem" : true,
                "AddressType" : 6,
                "PostCode" : "PostCode",
                "IsDefaultBilling" : true
              }, {
                "FullAddress" : "FullAddress",
                "IsDefaultDeliverTo" : true,
                "IsActive" : true,
                "LocationID" : 5,
                "Latitude" : 6.778324963048013,
                "GUIDstring" : "GUIDstring",
                "IsPostalAddress" : true,
                "AddressDescription" : "AddressDescription",
                "ID" : 2,
                "Notes" : "Notes",
                "IsDeliverTo" : true,
                "IsSelectedBilling" : true,
                "IsSelectedDelivery" : true,
                "GUID" : "00000000-0000-0000-0000-000000000000",
                "City" : "City",
                "Longitude" : 6.878052220127876,
                "StreetAddress" : "StreetAddress",
                "IsMailTo" : true,
                "IsServiceTo" : true,
                "State" : "State",
                "IsDefaultServiceTo" : true,
                "IsOfficeOrShop" : true,
                "Country" : "Country",
                "IsSystem" : true,
                "AddressType" : 6,
                "PostCode" : "PostCode",
                "IsDefaultBilling" : true
              } ],
              "UtcOffset" : 4,
              "IsVisibleToPublic" : true,
              "Contacts" : [ {
                "BusinessName" : "BusinessName",
                "FirstName" : "FirstName",
                "IsActive" : true,
                "GUID" : "00000000-0000-0000-0000-000000000000",
                "Title" : "Title",
                "BusinessLocationGuid" : "00000000-0000-0000-0000-000000000000",
                "Birthday" : "2000-01-23T04:56:07.000+00:00",
                "Gender" : "Gender",
                "PositionOrOccupation" : "PositionOrOccupation",
                "IsIncludeInEmails" : true,
                "EmailAddress" : "EmailAddress",
                "ContactRole" : "ContactRole",
                "LinkedUserGlobalIDstring" : "LinkedUserGlobalIDstring",
                "BusinessContactID" : 7,
                "GUIDstring" : "GUIDstring",
                "PhoneMobile" : "PhoneMobile",
                "IsPrimaryContact" : true,
                "Phone1" : "Phone1",
                "IsSystem" : true,
                "ID" : 3,
                "LastName" : "LastName",
                "BusinessID" : 0
              }, {
                "BusinessName" : "BusinessName",
                "FirstName" : "FirstName",
                "IsActive" : true,
                "GUID" : "00000000-0000-0000-0000-000000000000",
                "Title" : "Title",
                "BusinessLocationGuid" : "00000000-0000-0000-0000-000000000000",
                "Birthday" : "2000-01-23T04:56:07.000+00:00",
                "Gender" : "Gender",
                "PositionOrOccupation" : "PositionOrOccupation",
                "IsIncludeInEmails" : true,
                "EmailAddress" : "EmailAddress",
                "ContactRole" : "ContactRole",
                "LinkedUserGlobalIDstring" : "LinkedUserGlobalIDstring",
                "BusinessContactID" : 7,
                "GUIDstring" : "GUIDstring",
                "PhoneMobile" : "PhoneMobile",
                "IsPrimaryContact" : true,
                "Phone1" : "Phone1",
                "IsSystem" : true,
                "ID" : 3,
                "LastName" : "LastName",
                "BusinessID" : 0
              } ],
              "Phone" : "Phone",
              "IsSystem" : true,
              "ID" : 6,
              "Fax" : "Fax",
              "IsDefaultLocation" : true
            },
            "IsStockOpeningBalanceComplete" : true
          },
          "DeliveryMethodDescription" : "DeliveryMethodDescription",
          "CostPriceEx" : 5.299143560275359,
          "IsActive" : true,
          "HasPriceBeenEdited" : true,
          "IsSpecialPrice" : true,
          "OrderTotalInc" : 3.901545264248647,
          "Attachments" : [ {
            "AttachmentType" : "AttachmentType",
            "LineID" : 3,
            "IsActive" : true,
            "ThumbnailURI" : "ThumbnailURI",
            "GUID" : "00000000-0000-0000-0000-000000000000",
            "Title" : "Title",
            "IsImage" : true,
            "URI" : "URI",
            "AttachedDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
            "Caption" : "Caption",
            "GUIDstring" : "GUIDstring",
            "IsPDF" : true,
            "IsFromParent" : true,
            "ID" : 0,
            "AttachedByUserID" : 2,
            "MessageID" : 3
          }, {
            "AttachmentType" : "AttachmentType",
            "LineID" : 3,
            "IsActive" : true,
            "ThumbnailURI" : "ThumbnailURI",
            "GUID" : "00000000-0000-0000-0000-000000000000",
            "Title" : "Title",
            "IsImage" : true,
            "URI" : "URI",
            "AttachedDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
            "Caption" : "Caption",
            "GUIDstring" : "GUIDstring",
            "IsPDF" : true,
            "IsFromParent" : true,
            "ID" : 0,
            "AttachedByUserID" : 2,
            "MessageID" : 3
          } ],
          "UoM" : "UoM",
          "IsPhysical" : true,
          "TaxRate" : 7.835035282970782,
          "AssetID" : 0,
          "LineType" : "LineType",
          "Comment" : "Comment",
          "RefInventoryCode" : "RefInventoryCode",
          "QuantityInCart" : 0.43431398824148815,
          "Title" : "Title",
          "Quantity" : 3.502657762086401,
          "CostPriceTax" : 0.4182561061793122,
          "QuantityFaulty" : 7.3718573971919445,
          "QuantityReceived" : 9.785002165136461,
          "SKU" : "SKU",
          "CostPriceExString" : "CostPriceExString",
          "IsAssetItem" : true,
          "SupplierInventoryGUIDString" : "SupplierInventoryGUIDString"
        } ],
        "ExchangeRate" : 2.0981949483881577,
        "RepEmailAddress" : "RepEmailAddress",
        "IsActive" : true,
        "TotalExString" : "TotalExString",
        "BillLatitude" : 4.637509675190766,
        "TransType" : "TransType",
        "ContractID" : 7,
        "Attachments" : [ {
          "AttachmentType" : "AttachmentType",
          "LineID" : 3,
          "IsActive" : true,
          "ThumbnailURI" : "ThumbnailURI",
          "GUID" : "00000000-0000-0000-0000-000000000000",
          "Title" : "Title",
          "IsImage" : true,
          "URI" : "URI",
          "AttachedDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
          "Caption" : "Caption",
          "GUIDstring" : "GUIDstring",
          "IsPDF" : true,
          "IsFromParent" : true,
          "ID" : 0,
          "AttachedByUserID" : 2,
          "MessageID" : 3
        }, {
          "AttachmentType" : "AttachmentType",
          "LineID" : 3,
          "IsActive" : true,
          "ThumbnailURI" : "ThumbnailURI",
          "GUID" : "00000000-0000-0000-0000-000000000000",
          "Title" : "Title",
          "IsImage" : true,
          "URI" : "URI",
          "AttachedDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
          "Caption" : "Caption",
          "GUIDstring" : "GUIDstring",
          "IsPDF" : true,
          "IsFromParent" : true,
          "ID" : 0,
          "AttachedByUserID" : 2,
          "MessageID" : 3
        } ],
        "QuantityCount" : 7.740351818741173,
        "TotalOwing" : 4.652396432933246,
        "HasBeenAmended" : true,
        "AccountBalance" : 6.965117697638846,
        "TotalTax" : 9.721723570087065,
        "RepLastName" : "RepLastName",
        "ExternalTerminalName" : "ExternalTerminalName",
        "CashPaymentRounding" : 2.026856458177285,
        "UseIncPrices" : true,
        "CustomerName" : "CustomerName",
        "DueDate" : "2000-01-23T04:56:07.000+00:00",
        "TerritoryID" : 4,
        "ExternalNotes" : "ExternalNotes",
        "AcceptedDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
        "ShipCity" : "ShipCity",
        "BillCity" : "BillCity",
        "BillStreetAddress" : "BillStreetAddress",
        "Contact" : {
          "BusinessName" : "BusinessName",
          "FirstName" : "FirstName",
          "IsActive" : true,
          "GUID" : "00000000-0000-0000-0000-000000000000",
          "Title" : "Title",
          "BusinessLocationGuid" : "00000000-0000-0000-0000-000000000000",
          "Birthday" : "2000-01-23T04:56:07.000+00:00",
          "Gender" : "Gender",
          "PositionOrOccupation" : "PositionOrOccupation",
          "IsIncludeInEmails" : true,
          "EmailAddress" : "EmailAddress",
          "ContactRole" : "ContactRole",
          "LinkedUserGlobalIDstring" : "LinkedUserGlobalIDstring",
          "BusinessContactID" : 7,
          "GUIDstring" : "GUIDstring",
          "PhoneMobile" : "PhoneMobile",
          "IsPrimaryContact" : true,
          "Phone1" : "Phone1",
          "IsSystem" : true,
          "ID" : 3,
          "LastName" : "LastName",
          "BusinessID" : 0
        },
        "InvoiceType" : "InvoiceType",
        "IsIndividual" : true,
        "HasBeenAmendedByOtherParty" : true,
        "ReceivedDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
        "RowNumber" : 6,
        "ContactEmailAddress" : "ContactEmailAddress",
        "InboxID" : 3,
        "BillLongitude" : 0.36062689002149373,
        "ShippingAddress" : {
          "FullAddress" : "FullAddress",
          "IsDefaultDeliverTo" : true,
          "IsActive" : true,
          "LocationID" : 5,
          "Latitude" : 6.778324963048013,
          "GUIDstring" : "GUIDstring",
          "IsPostalAddress" : true,
          "AddressDescription" : "AddressDescription",
          "ID" : 2,
          "Notes" : "Notes",
          "IsDeliverTo" : true,
          "IsSelectedBilling" : true,
          "IsSelectedDelivery" : true,
          "GUID" : "00000000-0000-0000-0000-000000000000",
          "City" : "City",
          "Longitude" : 6.878052220127876,
          "StreetAddress" : "StreetAddress",
          "IsMailTo" : true,
          "IsServiceTo" : true,
          "State" : "State",
          "IsDefaultServiceTo" : true,
          "IsOfficeOrShop" : true,
          "Country" : "Country",
          "IsSystem" : true,
          "AddressType" : 6,
          "PostCode" : "PostCode",
          "IsDefaultBilling" : true
        },
        "CreatedDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
        "TotalPaidString" : "TotalPaidString",
        "CustomerRefTransRefNumber" : "CustomerRefTransRefNumber",
        "CostCentreCode" : "CostCentreCode",
        "VendorTransRefNumber" : "VendorTransRefNumber",
        "CreatedDateTime_offset" : 9,
        "RepFirstName" : "RepFirstName"
      } ],
      "ShowExPrices" : true
    },
    "LinkedTenantGlobalCode" : "LinkedTenantGlobalCode",
    "PrimaryContactPhone" : "PrimaryContactPhone",
    "TerritoryID" : 3,
    "IsAccountCustomerExemptFromMerchantSurcharge" : true,
    "PrimaryContactFullName" : "PrimaryContactFullName",
    "DefaultLocationName" : "DefaultLocationName",
    "IndustryType" : "IndustryType",
    "IsIndividual" : true,
    "RowNumber" : 9,
    "CreatedDateTime_utc" : "2000-01-23T04:56:07.000+00:00",
    "IncorporatedDate" : "2000-01-23T04:56:07.000+00:00",
    "CreatedDateTime_offset" : 6,
    "PrimaryContactFirstName" : "PrimaryContactFirstName"
  },
  "InviteCode" : "InviteCode",
  "DomainBlackList" : [ "DomainBlackList", "DomainBlackList" ],
  "IsSetupComplete" : true,
  "Adaptors" : [ 2, 2 ],
  "IndustryTypes" : [ "IndustryTypes", "IndustryTypes" ],
  "EmailAddress" : "EmailAddress",
  "ProductModuleTypes" : [ 8, 8 ],
  "IsFreePlanAvailable" : true,
  "IsPasswordRequired" : true,
  "TenantID" : 8,
  "MarketPlacePath" : "MarketPlacePath",
  "UserID" : 9,
  "StatementInvitationId" : "StatementInvitationId",
  "Password" : "Password"
}' \
 -d 'Custom MIME type example not yet supported: text/json' \
 -d '<RegistrationDetails>
  <null>
    <ClassID>123</ClassID>
    <ClassName>aeiou</ClassName>
    <ClassPostingBehaviour>aeiou</ClassPostingBehaviour>
    <IsApprovedForWeb>true</IsApprovedForWeb>
    <GUID>00000000-0000-0000-0000-000000000000</GUID>
    <AssetCount>123</AssetCount>
    <IsUpdateLinkedTenant>true</IsUpdateLinkedTenant>
    <CampaignID>123</CampaignID>
    <AvailableCredit>3.149</AvailableCredit>
    <CreditLimitString>aeiou</CreditLimitString>
    <AccountBalanceString>aeiou</AccountBalanceString>
    <AvailableCreditString>aeiou</AvailableCreditString>
    <BillToCustomerStatus>aeiou</BillToCustomerStatus>
    <BillToCustomerCreditLimit>3.149</BillToCustomerCreditLimit>
    <BillToCustomerAccountBalance>3.149</BillToCustomerAccountBalance>
    <OperationalCustomerIDs>123</OperationalCustomerIDs>
    <OverdueInvoicesAmount>3.149</OverdueInvoicesAmount>
    <IsAccountCustomerBatched>true</IsAccountCustomerBatched>
    <CreditHoldSetting>123</CreditHoldSetting>
    <CreditStopSetting>123</CreditStopSetting>
    <IsEnableAutomaticJobBookingSMSReminder>true</IsEnableAutomaticJobBookingSMSReminder>
    <RowNumber>123456789</RowNumber>
    <Version>3.149</Version>
    <CompanyName>aeiou</CompanyName>
    <TenantID>123</TenantID>
    <BusinessGUID>00000000-0000-0000-0000-000000000000</BusinessGUID>
    <LinkedTenantGlobalID>00000000-0000-0000-0000-000000000000</LinkedTenantGlobalID>
    <IsReadOnly>true</IsReadOnly>
    <CreatedDateTime>2000-01-23T04:56:07.000Z</CreatedDateTime>
    <HasOpenTransactions>true</HasOpenTransactions>
    <PrimaryContactFullName>aeiou</PrimaryContactFullName>
    <PrimaryContactFirstName>aeiou</PrimaryContactFirstName>
    <PrimaryContactLastName>aeiou</PrimaryContactLastName>
    <PrimaryContactPhone>aeiou</PrimaryContactPhone>
    <PrimaryContactMobile>aeiou</PrimaryContactMobile>
    <PrimaryContactEmailAddress>aeiou</PrimaryContactEmailAddress>
    <DefaultLocationName>aeiou</DefaultLocationName>
    <ShippingAddressString>aeiou</ShippingAddressString>
    <BillingAddressString>aeiou</BillingAddressString>
    <CustomerID>123</CustomerID>
    <SupplierID>123</SupplierID>
    <SupplierRefNumber>aeiou</SupplierRefNumber>
    <IsPrimaryContact>true</IsPrimaryContact>
    <SearchFieldMatches>aeiou</SearchFieldMatches>
    <CustomerIsActive>true</CustomerIsActive>
    <SupplierIsActive>true</SupplierIsActive>
    <IsSystem>true</IsSystem>
    <BusinessID>123</BusinessID>
    <RefNumber>aeiou</RefNumber>
    <IsApprovedForService>true</IsApprovedForService>
    <BusinessGUIDstring>aeiou</BusinessGUIDstring>
    <IsApprovedForPOS>true</IsApprovedForPOS>
    <Name>aeiou</Name>
    <PricingBandID>123</PricingBandID>
    <Name2>aeiou</Name2>
    <PricingBandName>aeiou</PricingBandName>
    <SecondaryName>aeiou</SecondaryName>
    <TerritoryID>123</TerritoryID>
    <ABN>aeiou</ABN>
    <TerritoryName>aeiou</TerritoryName>
    <IsIndividual>true</IsIndividual>
    <SalesNotes>aeiou</SalesNotes>
    <Phone1>aeiou</Phone1>
    <AvgPayDays>123</AvgPayDays>
    <PhoneFax>aeiou</PhoneFax>
    <AccountLastUpdatedDateTime_utc>2000-01-23T04:56:07.000Z</AccountLastUpdatedDateTime_utc>
    <AnnualTurnOver>123</AnnualTurnOver>
    <AccountLastUpdatedDateTime_offset>123</AccountLastUpdatedDateTime_offset>
    <NumberOfStaff>123</NumberOfStaff>
    <ModifiedDateTime_utc>2000-01-23T04:56:07.000Z</ModifiedDateTime_utc>
    <IncorporatedDate>2000-01-23T04:56:07.000Z</IncorporatedDate>
    <ModifiesDateTime_offset>123</ModifiesDateTime_offset>
    <WebSiteURL>aeiou</WebSiteURL>
    <CreatedDateTime_utc>2000-01-23T04:56:07.000Z</CreatedDateTime_utc>
    <IndustryType>aeiou</IndustryType>
    <CreatedDateTime_offset>123</CreatedDateTime_offset>
    <Structure>aeiou</Structure>
    <AccountOpenDate>2000-01-23T04:56:07.000Z</AccountOpenDate>
    <Currency>aeiou</Currency>
    <DateOfFirstSale>2000-01-23T04:56:07.000Z</DateOfFirstSale>
    <Status>aeiou</Status>
    <IsAccountCustomer>true</IsAccountCustomer>
    <IsActive>true</IsActive>
    <MasterBuyingGroupCustomerID>123</MasterBuyingGroupCustomerID>
    <IsLinked>true</IsLinked>
    <PointsBalance>3.149</PointsBalance>
    <AccountBalance>3.149</AccountBalance>
    <IsAutoAddClaimRequests>true</IsAutoAddClaimRequests>
    <CreditLimit>3.149</CreditLimit>
    <BillToCustomerID>123</BillToCustomerID>
    <DeliveryNotes>aeiou</DeliveryNotes>
    <BillToCustomerName>aeiou</BillToCustomerName>
    <LinkedTenantGlobalCode>aeiou</LinkedTenantGlobalCode>
    <AccountCustomerID>123</AccountCustomerID>
    <LinkedTenantGlobalIDstring>aeiou</LinkedTenantGlobalIDstring>
    <AccountCustomerName>aeiou</AccountCustomerName>
    <AccountCustomerClassID>123</AccountCustomerClassID>
    <AccountCustomerClassName>aeiou</AccountCustomerClassName>
    <AccountCustomerClassPostingBehaviour>aeiou</AccountCustomerClassPostingBehaviour>
    <AccountCustomerRefNumber>aeiou</AccountCustomerRefNumber>
    <ID>123</ID>
    <CountOfLinkedCustomers>123</CountOfLinkedCustomers>
    <GUIDstring>aeiou</GUIDstring>
    <BSID>aeiou</BSID>
    <CreatedWith>aeiou</CreatedWith>
    <IsExemptFromMerchantSurcharge>true</IsExemptFromMerchantSurcharge>
    <IsAccountCustomerExemptFromMerchantSurcharge>true</IsAccountCustomerExemptFromMerchantSurcharge>
    <CountSalesRequiresBatching>123</CountSalesRequiresBatching>
  </null>
  <ProductModuleTypes>123</ProductModuleTypes>
  <Adaptors>123</Adaptors>
  <EmailAddress>aeiou</EmailAddress>
  <UserName>aeiou</UserName>
  <Password>aeiou</Password>
  <IsPasswordRequired>true</IsPasswordRequired>
  <IsFreePlanAvailable>true</IsFreePlanAvailable>
  <IndustryTypes>aeiou</IndustryTypes>
  <DomainBlackList>aeiou</DomainBlackList>
  <InviteCode>aeiou</InviteCode>
  <IsSetupComplete>true</IsSetupComplete>
  <MarketPlacePath>aeiou</MarketPlacePath>
  <StatementInvitationId>aeiou</StatementInvitationId>
  <TenantID>123</TenantID>
  <WebsiteID>123</WebsiteID>
  <UserID>123</UserID>
</RegistrationDetails>' \
 -d 'Custom MIME type example not yet supported: text/xml' \
 -d 'Custom MIME type example not yet supported: application/x-www-form-urlencoded'
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

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

public class DefaultApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        RegistrationDetails registrationDetails = ; // RegistrationDetails | 

        try {
            Object result = apiInstance.accountRegister(registrationDetails);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#accountRegister");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final RegistrationDetails registrationDetails = new RegistrationDetails(); // RegistrationDetails | 

try {
    final result = await api_instance.accountRegister(registrationDetails);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->accountRegister: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        RegistrationDetails registrationDetails = ; // RegistrationDetails | 

        try {
            Object result = apiInstance.accountRegister(registrationDetails);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#accountRegister");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
RegistrationDetails *registrationDetails = ; //  (optional)

// Account_Register
[apiInstance accountRegisterWith:registrationDetails
              completionHandler: ^(Object output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var AsServerApiAccount = require('as_server_api_account');

// Create an instance of the API class
var api = new AsServerApiAccount.DefaultApi()
var opts = {
  'registrationDetails':  // {RegistrationDetails} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.accountRegister(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class accountRegisterExample
    {
        public void main()
        {

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var registrationDetails = new RegistrationDetails(); // RegistrationDetails |  (optional) 

            try {
                // Account_Register
                Object result = apiInstance.accountRegister(registrationDetails);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.accountRegister: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$registrationDetails = ; // RegistrationDetails | 

try {
    $result = $api_instance->accountRegister($registrationDetails);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->accountRegister: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $registrationDetails = WWW::OPenAPIClient::Object::RegistrationDetails->new(); # RegistrationDetails | 

eval {
    my $result = $api_instance->accountRegister(registrationDetails => $registrationDetails);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->accountRegister: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
registrationDetails =  # RegistrationDetails |  (optional)

try:
    # Account_Register
    api_response = api_instance.account_register(registrationDetails=registrationDetails)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->accountRegister: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let registrationDetails = ; // RegistrationDetails

    let mut context = DefaultApi::Context::default();
    let result = client.accountRegister(registrationDetails, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Body parameters
Name Description
registrationDetails

Responses


accountResendEmailAddressConfirmation

Account_ResendEmailAddressConfirmation


/Account/ResendEmailAddressConfirmation

Usage and SDK Samples

curl -X POST \
 -H "Accept: application/json,text/json,application/xml,text/xml" \
 -H "Content-Type: application/json,text/json,application/xml,text/xml,application/x-www-form-urlencoded" \
 "https://api.dev.spenda.co/api/Account/ResendEmailAddressConfirmation" \
 -d '{
  "WebsiteID" : 6,
  "TenantID" : 0,
  "DomainUrl" : "DomainUrl",
  "UserID" : 1,
  "EmailAddress" : "EmailAddress"
}' \
 -d 'Custom MIME type example not yet supported: text/json' \
 -d '<TenantWebsiteUserEmail>
  <EmailAddress>aeiou</EmailAddress>
  <DomainUrl>aeiou</DomainUrl>
  <TenantID>123</TenantID>
  <WebsiteID>123</WebsiteID>
  <UserID>123</UserID>
</TenantWebsiteUserEmail>' \
 -d 'Custom MIME type example not yet supported: text/xml' \
 -d 'Custom MIME type example not yet supported: application/x-www-form-urlencoded'
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

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

public class DefaultApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        TenantWebsiteUserEmail tenantWebsiteUserEmail = {"EmailAddress":"string","DomainUrl":"string","TenantID":0,"WebsiteID":0,"UserID":0}; // TenantWebsiteUserEmail | 

        try {
            Object result = apiInstance.accountResendEmailAddressConfirmation(tenantWebsiteUserEmail);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#accountResendEmailAddressConfirmation");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final TenantWebsiteUserEmail tenantWebsiteUserEmail = new TenantWebsiteUserEmail(); // TenantWebsiteUserEmail | 

try {
    final result = await api_instance.accountResendEmailAddressConfirmation(tenantWebsiteUserEmail);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->accountResendEmailAddressConfirmation: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        TenantWebsiteUserEmail tenantWebsiteUserEmail = {"EmailAddress":"string","DomainUrl":"string","TenantID":0,"WebsiteID":0,"UserID":0}; // TenantWebsiteUserEmail | 

        try {
            Object result = apiInstance.accountResendEmailAddressConfirmation(tenantWebsiteUserEmail);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#accountResendEmailAddressConfirmation");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
TenantWebsiteUserEmail *tenantWebsiteUserEmail = {"EmailAddress":"string","DomainUrl":"string","TenantID":0,"WebsiteID":0,"UserID":0}; //  (optional)

// Account_ResendEmailAddressConfirmation
[apiInstance accountResendEmailAddressConfirmationWith:tenantWebsiteUserEmail
              completionHandler: ^(Object output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var AsServerApiAccount = require('as_server_api_account');

// Create an instance of the API class
var api = new AsServerApiAccount.DefaultApi()
var opts = {
  'tenantWebsiteUserEmail': {"EmailAddress":"string","DomainUrl":"string","TenantID":0,"WebsiteID":0,"UserID":0} // {TenantWebsiteUserEmail} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.accountResendEmailAddressConfirmation(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class accountResendEmailAddressConfirmationExample
    {
        public void main()
        {

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var tenantWebsiteUserEmail = new TenantWebsiteUserEmail(); // TenantWebsiteUserEmail |  (optional) 

            try {
                // Account_ResendEmailAddressConfirmation
                Object result = apiInstance.accountResendEmailAddressConfirmation(tenantWebsiteUserEmail);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.accountResendEmailAddressConfirmation: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$tenantWebsiteUserEmail = {"EmailAddress":"string","DomainUrl":"string","TenantID":0,"WebsiteID":0,"UserID":0}; // TenantWebsiteUserEmail | 

try {
    $result = $api_instance->accountResendEmailAddressConfirmation($tenantWebsiteUserEmail);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->accountResendEmailAddressConfirmation: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $tenantWebsiteUserEmail = WWW::OPenAPIClient::Object::TenantWebsiteUserEmail->new(); # TenantWebsiteUserEmail | 

eval {
    my $result = $api_instance->accountResendEmailAddressConfirmation(tenantWebsiteUserEmail => $tenantWebsiteUserEmail);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->accountResendEmailAddressConfirmation: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
tenantWebsiteUserEmail = {"EmailAddress":"string","DomainUrl":"string","TenantID":0,"WebsiteID":0,"UserID":0} # TenantWebsiteUserEmail |  (optional)

try:
    # Account_ResendEmailAddressConfirmation
    api_response = api_instance.account_resend_email_address_confirmation(tenantWebsiteUserEmail=tenantWebsiteUserEmail)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->accountResendEmailAddressConfirmation: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let tenantWebsiteUserEmail = {"EmailAddress":"string","DomainUrl":"string","TenantID":0,"WebsiteID":0,"UserID":0}; // TenantWebsiteUserEmail

    let mut context = DefaultApi::Context::default();
    let result = client.accountResendEmailAddressConfirmation(tenantWebsiteUserEmail, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Body parameters
Name Description
tenantWebsiteUserEmail

Responses


accountResetPassword

Account_ResetPassword


/Account/ResetPassword

Usage and SDK Samples

curl -X POST \
 -H "Accept: application/json,text/json,application/xml,text/xml" \
 -H "Content-Type: application/json,text/json,application/xml,text/xml,application/x-www-form-urlencoded" \
 "https://api.dev.spenda.co/api/Account/ResetPassword" \
 -d '{
  "WebsiteID" : 6,
  "TenantID" : 0,
  "UserID" : 1,
  "Token" : "Token"
}' \
 -d 'Custom MIME type example not yet supported: text/json' \
 -d '<ResetPasswordRequest>
  <Token>aeiou</Token>
  <TenantID>123</TenantID>
  <WebsiteID>123</WebsiteID>
  <UserID>123</UserID>
</ResetPasswordRequest>' \
 -d 'Custom MIME type example not yet supported: text/xml' \
 -d 'Custom MIME type example not yet supported: application/x-www-form-urlencoded'
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

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

public class DefaultApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        ResetPasswordRequest resetPasswordRequest = {"Token":"string","TenantID":0,"WebsiteID":0,"UserID":0}; // ResetPasswordRequest | 

        try {
            Object result = apiInstance.accountResetPassword(resetPasswordRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#accountResetPassword");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final ResetPasswordRequest resetPasswordRequest = new ResetPasswordRequest(); // ResetPasswordRequest | 

try {
    final result = await api_instance.accountResetPassword(resetPasswordRequest);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->accountResetPassword: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        ResetPasswordRequest resetPasswordRequest = {"Token":"string","TenantID":0,"WebsiteID":0,"UserID":0}; // ResetPasswordRequest | 

        try {
            Object result = apiInstance.accountResetPassword(resetPasswordRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#accountResetPassword");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
ResetPasswordRequest *resetPasswordRequest = {"Token":"string","TenantID":0,"WebsiteID":0,"UserID":0}; //  (optional)

// Account_ResetPassword
[apiInstance accountResetPasswordWith:resetPasswordRequest
              completionHandler: ^(Object output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var AsServerApiAccount = require('as_server_api_account');

// Create an instance of the API class
var api = new AsServerApiAccount.DefaultApi()
var opts = {
  'resetPasswordRequest': {"Token":"string","TenantID":0,"WebsiteID":0,"UserID":0} // {ResetPasswordRequest} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.accountResetPassword(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class accountResetPasswordExample
    {
        public void main()
        {

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var resetPasswordRequest = new ResetPasswordRequest(); // ResetPasswordRequest |  (optional) 

            try {
                // Account_ResetPassword
                Object result = apiInstance.accountResetPassword(resetPasswordRequest);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.accountResetPassword: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$resetPasswordRequest = {"Token":"string","TenantID":0,"WebsiteID":0,"UserID":0}; // ResetPasswordRequest | 

try {
    $result = $api_instance->accountResetPassword($resetPasswordRequest);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->accountResetPassword: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $resetPasswordRequest = WWW::OPenAPIClient::Object::ResetPasswordRequest->new(); # ResetPasswordRequest | 

eval {
    my $result = $api_instance->accountResetPassword(resetPasswordRequest => $resetPasswordRequest);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->accountResetPassword: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
resetPasswordRequest = {"Token":"string","TenantID":0,"WebsiteID":0,"UserID":0} # ResetPasswordRequest |  (optional)

try:
    # Account_ResetPassword
    api_response = api_instance.account_reset_password(resetPasswordRequest=resetPasswordRequest)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->accountResetPassword: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let resetPasswordRequest = {"Token":"string","TenantID":0,"WebsiteID":0,"UserID":0}; // ResetPasswordRequest

    let mut context = DefaultApi::Context::default();
    let result = client.accountResetPassword(resetPasswordRequest, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Body parameters
Name Description
resetPasswordRequest

Responses


accountSwitchTenant

Account_SwitchTenant


/Account/UserTenant/{newUserGlobalID}

Usage and SDK Samples

curl -X POST \
 -H "Accept: application/json,text/json,application/xml,text/xml" \
 "https://api.dev.spenda.co/api/Account/UserTenant/{newUserGlobalID}"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

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

public class DefaultApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        UUID newUserGlobalID = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | 

        try {
            Object result = apiInstance.accountSwitchTenant(newUserGlobalID);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#accountSwitchTenant");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final UUID newUserGlobalID = new UUID(); // UUID | 

try {
    final result = await api_instance.accountSwitchTenant(newUserGlobalID);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->accountSwitchTenant: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        UUID newUserGlobalID = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | 

        try {
            Object result = apiInstance.accountSwitchTenant(newUserGlobalID);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#accountSwitchTenant");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
UUID *newUserGlobalID = 38400000-8cf0-11bd-b23e-10b96e4ef00d; //  (default to null)

// Account_SwitchTenant
[apiInstance accountSwitchTenantWith:newUserGlobalID
              completionHandler: ^(Object output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var AsServerApiAccount = require('as_server_api_account');

// Create an instance of the API class
var api = new AsServerApiAccount.DefaultApi()
var newUserGlobalID = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // {UUID} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.accountSwitchTenant(newUserGlobalID, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class accountSwitchTenantExample
    {
        public void main()
        {

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var newUserGlobalID = 38400000-8cf0-11bd-b23e-10b96e4ef00d;  // UUID |  (default to null)

            try {
                // Account_SwitchTenant
                Object result = apiInstance.accountSwitchTenant(newUserGlobalID);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.accountSwitchTenant: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$newUserGlobalID = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID | 

try {
    $result = $api_instance->accountSwitchTenant($newUserGlobalID);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->accountSwitchTenant: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $newUserGlobalID = 38400000-8cf0-11bd-b23e-10b96e4ef00d; # UUID | 

eval {
    my $result = $api_instance->accountSwitchTenant(newUserGlobalID => $newUserGlobalID);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->accountSwitchTenant: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
newUserGlobalID = 38400000-8cf0-11bd-b23e-10b96e4ef00d # UUID |  (default to null)

try:
    # Account_SwitchTenant
    api_response = api_instance.account_switch_tenant(newUserGlobalID)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->accountSwitchTenant: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let newUserGlobalID = 38400000-8cf0-11bd-b23e-10b96e4ef00d; // UUID

    let mut context = DefaultApi::Context::default();
    let result = client.accountSwitchTenant(newUserGlobalID, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Path parameters
Name Description
newUserGlobalID*
UUID (uuid)
Required

Responses


accountValidateToken

Account_ValidateToken


/Account/ValidateToken

Usage and SDK Samples

curl -X GET \
 -H "Accept: application/json,text/json,application/xml,text/xml" \
 "https://api.dev.spenda.co/api/Account/ValidateToken"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

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

public class DefaultApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();

        try {
            Object result = apiInstance.accountValidateToken();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#accountValidateToken");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();


try {
    final result = await api_instance.accountValidateToken();
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->accountValidateToken: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();

        try {
            Object result = apiInstance.accountValidateToken();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#accountValidateToken");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];

// Account_ValidateToken
[apiInstance accountValidateTokenWithCompletionHandler: 
              ^(Object output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var AsServerApiAccount = require('as_server_api_account');

// Create an instance of the API class
var api = new AsServerApiAccount.DefaultApi()
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.accountValidateToken(callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class accountValidateTokenExample
    {
        public void main()
        {

            // Create an instance of the API class
            var apiInstance = new DefaultApi();

            try {
                // Account_ValidateToken
                Object result = apiInstance.accountValidateToken();
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.accountValidateToken: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();

try {
    $result = $api_instance->accountValidateToken();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->accountValidateToken: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();

eval {
    my $result = $api_instance->accountValidateToken();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->accountValidateToken: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()

try:
    # Account_ValidateToken
    api_response = api_instance.account_validate_token()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->accountValidateToken: %s\n" % e)
extern crate DefaultApi;

pub fn main() {

    let mut context = DefaultApi::Context::default();
    let result = client.accountValidateToken(&context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Responses