AS Server - API - Alert

Default

alertGet

Alert_Get


/Alert/Get/{id}

Usage and SDK Samples

curl -X GET \
 -H "Accept: application/json,text/json,application/xml,text/xml" \
 "https://api.dev.spenda.co/api/Alert/Get/{id}"
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();
        Integer id = 56; // Integer | Format - int32.

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

final api_instance = DefaultApi();

final Integer id = new Integer(); // Integer | Format - int32.

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

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        Integer id = 56; // Integer | Format - int32.

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


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
Integer *id = 56; // Format - int32. (default to null)

// Alert_Get
[apiInstance alertGetWith:id
              completionHandler: ^(Object output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var AsServerApiAlert = require('as_server_api_alert');

// Create an instance of the API class
var api = new AsServerApiAlert.DefaultApi()
var id = 56; // {Integer} Format - int32.

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

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

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var id = 56;  // Integer | Format - int32. (default to null)

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

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$id = 56; // Integer | Format - int32.

try {
    $result = $api_instance->alertGet($id);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->alertGet: ', $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 $id = 56; # Integer | Format - int32.

eval {
    my $result = $api_instance->alertGet(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->alertGet: $@\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()
id = 56 # Integer | Format - int32. (default to null)

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

pub fn main() {
    let id = 56; // Integer

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

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

Scopes

Parameters

Path parameters
Name Description
id*
Integer (int32)
Format - int32.
Required

Responses


alertGetAlertRequest

Alert_GetAlertRequest


/Alert/GetAlertRequest

Usage and SDK Samples

curl -X PUT \
 -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/Alert/GetAlertRequest" \
 -d '{
  "WebsiteID" : 5,
  "AlertType" : "AlertType",
  "DocID" : 6,
  "DocStatus" : "DocStatus",
  "IsSetDocStatus" : true,
  "IsShowSummaryLines" : true,
  "TenantID" : 5,
  "DocIDs" : [ 1, 1 ],
  "UserID" : 2,
  "DatTypeID" : 0
}' \
 -d 'Custom MIME type example not yet supported: text/json' \
 -d '<AlertRequestRequest>
  <AlertType>aeiou</AlertType>
  <DatTypeID>123</DatTypeID>
  <DocID>123</DocID>
  <IsSetDocStatus>true</IsSetDocStatus>
  <DocStatus>aeiou</DocStatus>
  <IsShowSummaryLines>true</IsShowSummaryLines>
  <DocIDs>123</DocIDs>
  <TenantID>123</TenantID>
  <WebsiteID>123</WebsiteID>
  <UserID>123</UserID>
</AlertRequestRequest>' \
 -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();
        AlertRequestRequest alertRequestRequest = {"AlertType":"string","DatTypeID":0,"DocID":0,"IsSetDocStatus":true,"DocStatus":"string","IsShowSummaryLines":true,"DocIDs":[0],"TenantID":0,"WebsiteID":0,"UserID":0}; // AlertRequestRequest | 

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

final api_instance = DefaultApi();

final AlertRequestRequest alertRequestRequest = new AlertRequestRequest(); // AlertRequestRequest | 

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

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        AlertRequestRequest alertRequestRequest = {"AlertType":"string","DatTypeID":0,"DocID":0,"IsSetDocStatus":true,"DocStatus":"string","IsShowSummaryLines":true,"DocIDs":[0],"TenantID":0,"WebsiteID":0,"UserID":0}; // AlertRequestRequest | 

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


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
AlertRequestRequest *alertRequestRequest = {"AlertType":"string","DatTypeID":0,"DocID":0,"IsSetDocStatus":true,"DocStatus":"string","IsShowSummaryLines":true,"DocIDs":[0],"TenantID":0,"WebsiteID":0,"UserID":0}; //  (optional)

// Alert_GetAlertRequest
[apiInstance alertGetAlertRequestWith:alertRequestRequest
              completionHandler: ^(Object output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var AsServerApiAlert = require('as_server_api_alert');

// Create an instance of the API class
var api = new AsServerApiAlert.DefaultApi()
var opts = {
  'alertRequestRequest': {"AlertType":"string","DatTypeID":0,"DocID":0,"IsSetDocStatus":true,"DocStatus":"string","IsShowSummaryLines":true,"DocIDs":[0],"TenantID":0,"WebsiteID":0,"UserID":0} // {AlertRequestRequest} 
};

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

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

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

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

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$alertRequestRequest = {"AlertType":"string","DatTypeID":0,"DocID":0,"IsSetDocStatus":true,"DocStatus":"string","IsShowSummaryLines":true,"DocIDs":[0],"TenantID":0,"WebsiteID":0,"UserID":0}; // AlertRequestRequest | 

try {
    $result = $api_instance->alertGetAlertRequest($alertRequestRequest);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->alertGetAlertRequest: ', $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 $alertRequestRequest = WWW::OPenAPIClient::Object::AlertRequestRequest->new(); # AlertRequestRequest | 

eval {
    my $result = $api_instance->alertGetAlertRequest(alertRequestRequest => $alertRequestRequest);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->alertGetAlertRequest: $@\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()
alertRequestRequest = {"AlertType":"string","DatTypeID":0,"DocID":0,"IsSetDocStatus":true,"DocStatus":"string","IsShowSummaryLines":true,"DocIDs":[0],"TenantID":0,"WebsiteID":0,"UserID":0} # AlertRequestRequest |  (optional)

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

pub fn main() {
    let alertRequestRequest = {"AlertType":"string","DatTypeID":0,"DocID":0,"IsSetDocStatus":true,"DocStatus":"string","IsShowSummaryLines":true,"DocIDs":[0],"TenantID":0,"WebsiteID":0,"UserID":0}; // AlertRequestRequest

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

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

Scopes

Parameters

Body parameters
Name Description
alertRequestRequest

Responses


alertGetAll

Alert_GetAll


/Alert/GetAll

Usage and SDK Samples

curl -X GET \
 -H "Accept: application/json,text/json,application/xml,text/xml" \
 "https://api.dev.spenda.co/api/Alert/GetAll?module=module_example"
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();
        String module = module_example; // String | 

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

final api_instance = DefaultApi();

final String module = new String(); // String | 

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

import org.openapitools.client.api.DefaultApi;

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

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


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *module = module_example; //  (default to null)

// Alert_GetAll
[apiInstance alertGetAllWith:module
              completionHandler: ^(Object output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var AsServerApiAlert = require('as_server_api_alert');

// Create an instance of the API class
var api = new AsServerApiAlert.DefaultApi()
var module = module_example; // {String} 

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

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

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var module = module_example;  // String |  (default to null)

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

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

try {
    $result = $api_instance->alertGetAll($module);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->alertGetAll: ', $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 $module = module_example; # String | 

eval {
    my $result = $api_instance->alertGetAll(module => $module);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->alertGetAll: $@\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()
module = module_example # String |  (default to null)

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

pub fn main() {
    let module = module_example; // String

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

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

Scopes

Parameters

Query parameters
Name Description
module*
String
Required

Responses


alertGetPrintout

Alert_GetPrintout


/Alert/GetPrintout

Usage and SDK Samples

curl -X PUT \
 -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/Alert/GetPrintout" \
 -d '{
  "WebsiteID" : 5,
  "AlertType" : "AlertType",
  "DocID" : 6,
  "DocStatus" : "DocStatus",
  "IsSetDocStatus" : true,
  "IsShowSummaryLines" : true,
  "TenantID" : 5,
  "DocIDs" : [ 1, 1 ],
  "UserID" : 2,
  "DatTypeID" : 0
}' \
 -d 'Custom MIME type example not yet supported: text/json' \
 -d '<AlertRequestRequest>
  <AlertType>aeiou</AlertType>
  <DatTypeID>123</DatTypeID>
  <DocID>123</DocID>
  <IsSetDocStatus>true</IsSetDocStatus>
  <DocStatus>aeiou</DocStatus>
  <IsShowSummaryLines>true</IsShowSummaryLines>
  <DocIDs>123</DocIDs>
  <TenantID>123</TenantID>
  <WebsiteID>123</WebsiteID>
  <UserID>123</UserID>
</AlertRequestRequest>' \
 -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();
        AlertRequestRequest alertRequestRequest = {"AlertType":"string","DatTypeID":0,"DocID":0,"IsSetDocStatus":true,"DocStatus":"string","IsShowSummaryLines":true,"DocIDs":[0],"TenantID":0,"WebsiteID":0,"UserID":0}; // AlertRequestRequest | 

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

final api_instance = DefaultApi();

final AlertRequestRequest alertRequestRequest = new AlertRequestRequest(); // AlertRequestRequest | 

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

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        AlertRequestRequest alertRequestRequest = {"AlertType":"string","DatTypeID":0,"DocID":0,"IsSetDocStatus":true,"DocStatus":"string","IsShowSummaryLines":true,"DocIDs":[0],"TenantID":0,"WebsiteID":0,"UserID":0}; // AlertRequestRequest | 

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


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
AlertRequestRequest *alertRequestRequest = {"AlertType":"string","DatTypeID":0,"DocID":0,"IsSetDocStatus":true,"DocStatus":"string","IsShowSummaryLines":true,"DocIDs":[0],"TenantID":0,"WebsiteID":0,"UserID":0}; //  (optional)

// Alert_GetPrintout
[apiInstance alertGetPrintoutWith:alertRequestRequest
              completionHandler: ^(Object output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var AsServerApiAlert = require('as_server_api_alert');

// Create an instance of the API class
var api = new AsServerApiAlert.DefaultApi()
var opts = {
  'alertRequestRequest': {"AlertType":"string","DatTypeID":0,"DocID":0,"IsSetDocStatus":true,"DocStatus":"string","IsShowSummaryLines":true,"DocIDs":[0],"TenantID":0,"WebsiteID":0,"UserID":0} // {AlertRequestRequest} 
};

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

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

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

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

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$alertRequestRequest = {"AlertType":"string","DatTypeID":0,"DocID":0,"IsSetDocStatus":true,"DocStatus":"string","IsShowSummaryLines":true,"DocIDs":[0],"TenantID":0,"WebsiteID":0,"UserID":0}; // AlertRequestRequest | 

try {
    $result = $api_instance->alertGetPrintout($alertRequestRequest);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->alertGetPrintout: ', $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 $alertRequestRequest = WWW::OPenAPIClient::Object::AlertRequestRequest->new(); # AlertRequestRequest | 

eval {
    my $result = $api_instance->alertGetPrintout(alertRequestRequest => $alertRequestRequest);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->alertGetPrintout: $@\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()
alertRequestRequest = {"AlertType":"string","DatTypeID":0,"DocID":0,"IsSetDocStatus":true,"DocStatus":"string","IsShowSummaryLines":true,"DocIDs":[0],"TenantID":0,"WebsiteID":0,"UserID":0} # AlertRequestRequest |  (optional)

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

pub fn main() {
    let alertRequestRequest = {"AlertType":"string","DatTypeID":0,"DocID":0,"IsSetDocStatus":true,"DocStatus":"string","IsShowSummaryLines":true,"DocIDs":[0],"TenantID":0,"WebsiteID":0,"UserID":0}; // AlertRequestRequest

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

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

Scopes

Parameters

Body parameters
Name Description
alertRequestRequest

Responses


alertGetReminderRequest

Alert_GetReminderRequest


/Alert/GetReminderRequest

Usage and SDK Samples

curl -X GET \
 -H "Accept: application/json,text/json,application/xml,text/xml" \
 "https://api.dev.spenda.co/api/Alert/GetReminderRequest?req.isSendAll=true&req.customerID=56&req.datTypeID=56"
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();
        Boolean reqPeriodisSendAll = true; // Boolean | 
        Integer reqPeriodcustomerID = 56; // Integer | Format - int32.
        Integer reqPerioddatTypeID = 56; // Integer | Format - int32.

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

final api_instance = DefaultApi();

final Boolean reqPeriodisSendAll = new Boolean(); // Boolean | 
final Integer reqPeriodcustomerID = new Integer(); // Integer | Format - int32.
final Integer reqPerioddatTypeID = new Integer(); // Integer | Format - int32.

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

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        Boolean reqPeriodisSendAll = true; // Boolean | 
        Integer reqPeriodcustomerID = 56; // Integer | Format - int32.
        Integer reqPerioddatTypeID = 56; // Integer | Format - int32.

        try {
            ActionResults_ReminderRequestResponse_ result = apiInstance.alertGetReminderRequest(reqPeriodisSendAll, reqPeriodcustomerID, reqPerioddatTypeID);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#alertGetReminderRequest");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
Boolean *reqPeriodisSendAll = true; //  (optional) (default to null)
Integer *reqPeriodcustomerID = 56; // Format - int32. (optional) (default to null)
Integer *reqPerioddatTypeID = 56; // Format - int32. (optional) (default to null)

// Alert_GetReminderRequest
[apiInstance alertGetReminderRequestWith:reqPeriodisSendAll
    reqPeriodcustomerID:reqPeriodcustomerID
    reqPerioddatTypeID:reqPerioddatTypeID
              completionHandler: ^(ActionResults_ReminderRequestResponse_ output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var AsServerApiAlert = require('as_server_api_alert');

// Create an instance of the API class
var api = new AsServerApiAlert.DefaultApi()
var opts = {
  'reqPeriodisSendAll': true, // {Boolean} 
  'reqPeriodcustomerID': 56, // {Integer} Format - int32.
  'reqPerioddatTypeID': 56 // {Integer} Format - int32.
};

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

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

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var reqPeriodisSendAll = true;  // Boolean |  (optional)  (default to null)
            var reqPeriodcustomerID = 56;  // Integer | Format - int32. (optional)  (default to null)
            var reqPerioddatTypeID = 56;  // Integer | Format - int32. (optional)  (default to null)

            try {
                // Alert_GetReminderRequest
                ActionResults_ReminderRequestResponse_ result = apiInstance.alertGetReminderRequest(reqPeriodisSendAll, reqPeriodcustomerID, reqPerioddatTypeID);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.alertGetReminderRequest: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$reqPeriodisSendAll = true; // Boolean | 
$reqPeriodcustomerID = 56; // Integer | Format - int32.
$reqPerioddatTypeID = 56; // Integer | Format - int32.

try {
    $result = $api_instance->alertGetReminderRequest($reqPeriodisSendAll, $reqPeriodcustomerID, $reqPerioddatTypeID);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->alertGetReminderRequest: ', $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 $reqPeriodisSendAll = true; # Boolean | 
my $reqPeriodcustomerID = 56; # Integer | Format - int32.
my $reqPerioddatTypeID = 56; # Integer | Format - int32.

eval {
    my $result = $api_instance->alertGetReminderRequest(reqPeriodisSendAll => $reqPeriodisSendAll, reqPeriodcustomerID => $reqPeriodcustomerID, reqPerioddatTypeID => $reqPerioddatTypeID);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->alertGetReminderRequest: $@\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()
reqPeriodisSendAll = true # Boolean |  (optional) (default to null)
reqPeriodcustomerID = 56 # Integer | Format - int32. (optional) (default to null)
reqPerioddatTypeID = 56 # Integer | Format - int32. (optional) (default to null)

try:
    # Alert_GetReminderRequest
    api_response = api_instance.alert_get_reminder_request(reqPeriodisSendAll=reqPeriodisSendAll, reqPeriodcustomerID=reqPeriodcustomerID, reqPerioddatTypeID=reqPerioddatTypeID)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->alertGetReminderRequest: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let reqPeriodisSendAll = true; // Boolean
    let reqPeriodcustomerID = 56; // Integer
    let reqPerioddatTypeID = 56; // Integer

    let mut context = DefaultApi::Context::default();
    let result = client.alertGetReminderRequest(reqPeriodisSendAll, reqPeriodcustomerID, reqPerioddatTypeID, &context).wait();

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

Scopes

Parameters

Query parameters
Name Description
req.isSendAll
Boolean
req.customerID
Integer (int32)
Format - int32.
req.datTypeID
Integer (int32)
Format - int32.

Responses


alertPayload

Alert_Payload


/Alert/Payload

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/Alert/Payload" \
 -d '{
  "WebsiteID" : 5,
  "AlertID" : 0,
  "PayloadDocID" : 6,
  "IsBodyTemplate" : true,
  "DatTypeID" : 1,
  "UnsavedTemplate" : "UnsavedTemplate"
}' \
 -d 'Custom MIME type example not yet supported: text/json' \
 -d '<AlertPreviewRequest>
  <AlertID>123</AlertID>
  <PayloadDocID>123</PayloadDocID>
  <IsBodyTemplate>true</IsBodyTemplate>
  <UnsavedTemplate>aeiou</UnsavedTemplate>
  <DatTypeID>123</DatTypeID>
  <WebsiteID>123</WebsiteID>
</AlertPreviewRequest>' \
 -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();
        AlertPreviewRequest alertPreviewRequest = {"AlertID":0,"PayloadDocID":0,"IsBodyTemplate":true,"UnsavedTemplate":"string","DatTypeID":0,"WebsiteID":0}; // AlertPreviewRequest | 

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

final api_instance = DefaultApi();

final AlertPreviewRequest alertPreviewRequest = new AlertPreviewRequest(); // AlertPreviewRequest | 

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

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        AlertPreviewRequest alertPreviewRequest = {"AlertID":0,"PayloadDocID":0,"IsBodyTemplate":true,"UnsavedTemplate":"string","DatTypeID":0,"WebsiteID":0}; // AlertPreviewRequest | 

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


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
AlertPreviewRequest *alertPreviewRequest = {"AlertID":0,"PayloadDocID":0,"IsBodyTemplate":true,"UnsavedTemplate":"string","DatTypeID":0,"WebsiteID":0}; //  (optional)

// Alert_Payload
[apiInstance alertPayloadWith:alertPreviewRequest
              completionHandler: ^(Object output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var AsServerApiAlert = require('as_server_api_alert');

// Create an instance of the API class
var api = new AsServerApiAlert.DefaultApi()
var opts = {
  'alertPreviewRequest': {"AlertID":0,"PayloadDocID":0,"IsBodyTemplate":true,"UnsavedTemplate":"string","DatTypeID":0,"WebsiteID":0} // {AlertPreviewRequest} 
};

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

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

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

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

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$alertPreviewRequest = {"AlertID":0,"PayloadDocID":0,"IsBodyTemplate":true,"UnsavedTemplate":"string","DatTypeID":0,"WebsiteID":0}; // AlertPreviewRequest | 

try {
    $result = $api_instance->alertPayload($alertPreviewRequest);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->alertPayload: ', $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 $alertPreviewRequest = WWW::OPenAPIClient::Object::AlertPreviewRequest->new(); # AlertPreviewRequest | 

eval {
    my $result = $api_instance->alertPayload(alertPreviewRequest => $alertPreviewRequest);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->alertPayload: $@\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()
alertPreviewRequest = {"AlertID":0,"PayloadDocID":0,"IsBodyTemplate":true,"UnsavedTemplate":"string","DatTypeID":0,"WebsiteID":0} # AlertPreviewRequest |  (optional)

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

pub fn main() {
    let alertPreviewRequest = {"AlertID":0,"PayloadDocID":0,"IsBodyTemplate":true,"UnsavedTemplate":"string","DatTypeID":0,"WebsiteID":0}; // AlertPreviewRequest

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

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

Scopes

Parameters

Body parameters
Name Description
alertPreviewRequest

Responses


alertPreview

Alert_Preview


/Alert/Preview

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/Alert/Preview" \
 -d '{
  "WebsiteID" : 5,
  "AlertID" : 0,
  "PayloadDocID" : 6,
  "IsBodyTemplate" : true,
  "DatTypeID" : 1,
  "UnsavedTemplate" : "UnsavedTemplate"
}' \
 -d 'Custom MIME type example not yet supported: text/json' \
 -d '<AlertPreviewRequest>
  <AlertID>123</AlertID>
  <PayloadDocID>123</PayloadDocID>
  <IsBodyTemplate>true</IsBodyTemplate>
  <UnsavedTemplate>aeiou</UnsavedTemplate>
  <DatTypeID>123</DatTypeID>
  <WebsiteID>123</WebsiteID>
</AlertPreviewRequest>' \
 -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();
        AlertPreviewRequest alertPreviewRequest = {"AlertID":0,"PayloadDocID":0,"IsBodyTemplate":true,"UnsavedTemplate":"string","DatTypeID":0,"WebsiteID":0}; // AlertPreviewRequest | 

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

final api_instance = DefaultApi();

final AlertPreviewRequest alertPreviewRequest = new AlertPreviewRequest(); // AlertPreviewRequest | 

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

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        AlertPreviewRequest alertPreviewRequest = {"AlertID":0,"PayloadDocID":0,"IsBodyTemplate":true,"UnsavedTemplate":"string","DatTypeID":0,"WebsiteID":0}; // AlertPreviewRequest | 

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


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
AlertPreviewRequest *alertPreviewRequest = {"AlertID":0,"PayloadDocID":0,"IsBodyTemplate":true,"UnsavedTemplate":"string","DatTypeID":0,"WebsiteID":0}; //  (optional)

// Alert_Preview
[apiInstance alertPreviewWith:alertPreviewRequest
              completionHandler: ^(Object output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var AsServerApiAlert = require('as_server_api_alert');

// Create an instance of the API class
var api = new AsServerApiAlert.DefaultApi()
var opts = {
  'alertPreviewRequest': {"AlertID":0,"PayloadDocID":0,"IsBodyTemplate":true,"UnsavedTemplate":"string","DatTypeID":0,"WebsiteID":0} // {AlertPreviewRequest} 
};

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

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

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

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

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$alertPreviewRequest = {"AlertID":0,"PayloadDocID":0,"IsBodyTemplate":true,"UnsavedTemplate":"string","DatTypeID":0,"WebsiteID":0}; // AlertPreviewRequest | 

try {
    $result = $api_instance->alertPreview($alertPreviewRequest);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->alertPreview: ', $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 $alertPreviewRequest = WWW::OPenAPIClient::Object::AlertPreviewRequest->new(); # AlertPreviewRequest | 

eval {
    my $result = $api_instance->alertPreview(alertPreviewRequest => $alertPreviewRequest);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->alertPreview: $@\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()
alertPreviewRequest = {"AlertID":0,"PayloadDocID":0,"IsBodyTemplate":true,"UnsavedTemplate":"string","DatTypeID":0,"WebsiteID":0} # AlertPreviewRequest |  (optional)

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

pub fn main() {
    let alertPreviewRequest = {"AlertID":0,"PayloadDocID":0,"IsBodyTemplate":true,"UnsavedTemplate":"string","DatTypeID":0,"WebsiteID":0}; // AlertPreviewRequest

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

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

Scopes

Parameters

Body parameters
Name Description
alertPreviewRequest

Responses


alertSave

Alert_Save


/Alert/Save

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/Alert/Save" \
 -d '{
  "WebsiteID" : 6,
  "Description" : "Description",
  "BCC" : "BCC",
  "Recipients" : "Recipients",
  "WebsiteName" : "WebsiteName",
  "IsActive" : true,
  "CampaignName" : "CampaignName",
  "DatType" : "DatType",
  "DatTypeID" : 5,
  "SentBy" : "SentBy",
  "BodyTemplateDataType" : "BodyTemplateDataType",
  "Subject" : "Subject",
  "Name" : "Name",
  "Template" : "Template",
  "BodyTemplate" : "BodyTemplate",
  "AlertType" : "AlertType",
  "IsResponseRequired" : true,
  "CampaignID" : 1,
  "Configs" : {
    "key" : "Configs"
  },
  "ID" : 0,
  "ResponseTimeOutHours" : 5
}' \
 -d 'Custom MIME type example not yet supported: text/json' \
 -d '<AlertDetails>
  <ID>123</ID>
  <WebsiteID>123</WebsiteID>
  <WebsiteName>aeiou</WebsiteName>
  <CampaignID>123</CampaignID>
  <CampaignName>aeiou</CampaignName>
  <DatTypeID>123</DatTypeID>
  <DatType>aeiou</DatType>
  <AlertType>aeiou</AlertType>
  <Name>aeiou</Name>
  <Description>aeiou</Description>
  <Recipients>aeiou</Recipients>
  <BCC>aeiou</BCC>
  <SentBy>aeiou</SentBy>
  <Subject>aeiou</Subject>
  <Template>aeiou</Template>
  <BodyTemplate>aeiou</BodyTemplate>
  <BodyTemplateDataType>aeiou</BodyTemplateDataType>
  <IsResponseRequired>true</IsResponseRequired>
  <ResponseTimeOutHours>123</ResponseTimeOutHours>
  <Configs>UNDEFINED_EXAMPLE_VALUE</Configs>
  <IsActive>true</IsActive>
</AlertDetails>' \
 -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();
        AlertDetails alertDetails = {"ID":0,"WebsiteID":0,"WebsiteName":"string","CampaignID":0,"CampaignName":"string","DatTypeID":0,"DatType":"string","AlertType":"string","Name":"string","Description":"string","Recipients":"string","BCC":"string","SentBy":"string","Subject":"string","Template":"string","BodyTemplate":"string","BodyTemplateDataType":"string","IsResponseRequired":true,"ResponseTimeOutHours":0,"Configs":{},"IsActive":true}; // AlertDetails | 

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

final api_instance = DefaultApi();

final AlertDetails alertDetails = new AlertDetails(); // AlertDetails | 

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

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        AlertDetails alertDetails = {"ID":0,"WebsiteID":0,"WebsiteName":"string","CampaignID":0,"CampaignName":"string","DatTypeID":0,"DatType":"string","AlertType":"string","Name":"string","Description":"string","Recipients":"string","BCC":"string","SentBy":"string","Subject":"string","Template":"string","BodyTemplate":"string","BodyTemplateDataType":"string","IsResponseRequired":true,"ResponseTimeOutHours":0,"Configs":{},"IsActive":true}; // AlertDetails | 

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


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
AlertDetails *alertDetails = {"ID":0,"WebsiteID":0,"WebsiteName":"string","CampaignID":0,"CampaignName":"string","DatTypeID":0,"DatType":"string","AlertType":"string","Name":"string","Description":"string","Recipients":"string","BCC":"string","SentBy":"string","Subject":"string","Template":"string","BodyTemplate":"string","BodyTemplateDataType":"string","IsResponseRequired":true,"ResponseTimeOutHours":0,"Configs":{},"IsActive":true}; //  (optional)

// Alert_Save
[apiInstance alertSaveWith:alertDetails
              completionHandler: ^(Object output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var AsServerApiAlert = require('as_server_api_alert');

// Create an instance of the API class
var api = new AsServerApiAlert.DefaultApi()
var opts = {
  'alertDetails': {"ID":0,"WebsiteID":0,"WebsiteName":"string","CampaignID":0,"CampaignName":"string","DatTypeID":0,"DatType":"string","AlertType":"string","Name":"string","Description":"string","Recipients":"string","BCC":"string","SentBy":"string","Subject":"string","Template":"string","BodyTemplate":"string","BodyTemplateDataType":"string","IsResponseRequired":true,"ResponseTimeOutHours":0,"Configs":{},"IsActive":true} // {AlertDetails} 
};

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

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

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

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

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$alertDetails = {"ID":0,"WebsiteID":0,"WebsiteName":"string","CampaignID":0,"CampaignName":"string","DatTypeID":0,"DatType":"string","AlertType":"string","Name":"string","Description":"string","Recipients":"string","BCC":"string","SentBy":"string","Subject":"string","Template":"string","BodyTemplate":"string","BodyTemplateDataType":"string","IsResponseRequired":true,"ResponseTimeOutHours":0,"Configs":{},"IsActive":true}; // AlertDetails | 

try {
    $result = $api_instance->alertSave($alertDetails);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->alertSave: ', $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 $alertDetails = WWW::OPenAPIClient::Object::AlertDetails->new(); # AlertDetails | 

eval {
    my $result = $api_instance->alertSave(alertDetails => $alertDetails);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->alertSave: $@\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()
alertDetails = {"ID":0,"WebsiteID":0,"WebsiteName":"string","CampaignID":0,"CampaignName":"string","DatTypeID":0,"DatType":"string","AlertType":"string","Name":"string","Description":"string","Recipients":"string","BCC":"string","SentBy":"string","Subject":"string","Template":"string","BodyTemplate":"string","BodyTemplateDataType":"string","IsResponseRequired":true,"ResponseTimeOutHours":0,"Configs":{},"IsActive":true} # AlertDetails |  (optional)

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

pub fn main() {
    let alertDetails = {"ID":0,"WebsiteID":0,"WebsiteName":"string","CampaignID":0,"CampaignName":"string","DatTypeID":0,"DatType":"string","AlertType":"string","Name":"string","Description":"string","Recipients":"string","BCC":"string","SentBy":"string","Subject":"string","Template":"string","BodyTemplate":"string","BodyTemplateDataType":"string","IsResponseRequired":true,"ResponseTimeOutHours":0,"Configs":{},"IsActive":true}; // AlertDetails

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

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

Scopes

Parameters

Body parameters
Name Description
alertDetails

Responses


alertSend

Alert_Send


/Alert/Send

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/Alert/Send" \
 -d '{
  "Cc" : "Cc",
  "DocID" : 6,
  "BccList" : [ {
    "BusinessContactID" : 5,
    "ContactPhone" : "ContactPhone",
    "ContactCustomerName" : "ContactCustomerName",
    "ContactEmailAddress" : "ContactEmailAddress",
    "ContactFirstName" : "ContactFirstName",
    "ContactLastName" : "ContactLastName"
  }, {
    "BusinessContactID" : 5,
    "ContactPhone" : "ContactPhone",
    "ContactCustomerName" : "ContactCustomerName",
    "ContactEmailAddress" : "ContactEmailAddress",
    "ContactFirstName" : "ContactFirstName",
    "ContactLastName" : "ContactLastName"
  } ],
  "ToList" : [ {
    "BusinessContactID" : 5,
    "ContactPhone" : "ContactPhone",
    "ContactCustomerName" : "ContactCustomerName",
    "ContactEmailAddress" : "ContactEmailAddress",
    "ContactFirstName" : "ContactFirstName",
    "ContactLastName" : "ContactLastName"
  }, {
    "BusinessContactID" : 5,
    "ContactPhone" : "ContactPhone",
    "ContactCustomerName" : "ContactCustomerName",
    "ContactEmailAddress" : "ContactEmailAddress",
    "ContactFirstName" : "ContactFirstName",
    "ContactLastName" : "ContactLastName"
  } ],
  "AlertType" : "AlertType",
  "TenantID" : 2,
  "DocLinkUrl" : "DocLinkUrl",
  "CcList" : [ {
    "BusinessContactID" : 5,
    "ContactPhone" : "ContactPhone",
    "ContactCustomerName" : "ContactCustomerName",
    "ContactEmailAddress" : "ContactEmailAddress",
    "ContactFirstName" : "ContactFirstName",
    "ContactLastName" : "ContactLastName"
  }, {
    "BusinessContactID" : 5,
    "ContactPhone" : "ContactPhone",
    "ContactCustomerName" : "ContactCustomerName",
    "ContactEmailAddress" : "ContactEmailAddress",
    "ContactFirstName" : "ContactFirstName",
    "ContactLastName" : "ContactLastName"
  } ],
  "UserID" : 9,
  "To" : "To",
  "WebsiteID" : 7,
  "DocStatus" : "DocStatus",
  "ResponseCode" : "ResponseCode",
  "IsShowSummaryLines" : true,
  "Bcc" : "Bcc",
  "IsUpdateAsEmailed" : true,
  "IsSendAll" : true,
  "DatTypeID" : 0,
  "IsSendStatusNotifications" : true,
  "Subject" : "Subject",
  "IsResponseRequired" : true,
  "IsSetDocStatus" : true,
  "DocIDs" : [ 1, 1 ],
  "CustomerIDs" : [ 5, 5 ],
  "IsAllInOne" : true,
  "MarketPlacePath" : "MarketPlacePath",
  "PersonalisedMessage" : "PersonalisedMessage"
}' \
 -d 'Custom MIME type example not yet supported: text/json' \
 -d '<AlertRequest>
  <AlertType>aeiou</AlertType>
  <DatTypeID>123</DatTypeID>
  <DocID>123</DocID>
  <IsSetDocStatus>true</IsSetDocStatus>
  <DocStatus>aeiou</DocStatus>
  <IsUpdateAsEmailed>true</IsUpdateAsEmailed>
  <DocIDs>123</DocIDs>
  <DocLinkUrl>aeiou</DocLinkUrl>
  <PersonalisedMessage>aeiou</PersonalisedMessage>
  <IsResponseRequired>true</IsResponseRequired>
  <ResponseCode>aeiou</ResponseCode>
  <MarketPlacePath>aeiou</MarketPlacePath>
  <IsSendStatusNotifications>true</IsSendStatusNotifications>
  <Subject>aeiou</Subject>
  <null>
    <BusinessContactID>123</BusinessContactID>
    <ContactFirstName>aeiou</ContactFirstName>
    <ContactLastName>aeiou</ContactLastName>
    <ContactEmailAddress>aeiou</ContactEmailAddress>
    <ContactPhone>aeiou</ContactPhone>
    <ContactCustomerName>aeiou</ContactCustomerName>
  </null>
  <To>aeiou</To>
  <null>
    <BusinessContactID>123</BusinessContactID>
    <ContactFirstName>aeiou</ContactFirstName>
    <ContactLastName>aeiou</ContactLastName>
    <ContactEmailAddress>aeiou</ContactEmailAddress>
    <ContactPhone>aeiou</ContactPhone>
    <ContactCustomerName>aeiou</ContactCustomerName>
  </null>
  <Cc>aeiou</Cc>
  <null>
    <BusinessContactID>123</BusinessContactID>
    <ContactFirstName>aeiou</ContactFirstName>
    <ContactLastName>aeiou</ContactLastName>
    <ContactEmailAddress>aeiou</ContactEmailAddress>
    <ContactPhone>aeiou</ContactPhone>
    <ContactCustomerName>aeiou</ContactCustomerName>
  </null>
  <Bcc>aeiou</Bcc>
  <IsSendAll>true</IsSendAll>
  <CustomerIDs>123</CustomerIDs>
  <IsAllInOne>true</IsAllInOne>
  <IsShowSummaryLines>true</IsShowSummaryLines>
  <TenantID>123</TenantID>
  <WebsiteID>123</WebsiteID>
  <UserID>123</UserID>
</AlertRequest>' \
 -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();
        AlertRequest alertRequest = {"AlertType":"string","DatTypeID":0,"DocID":0,"IsSetDocStatus":true,"DocStatus":"string","IsUpdateAsEmailed":true,"DocIDs":[0],"DocLinkUrl":"string","PersonalisedMessage":"string","IsResponseRequired":true,"ResponseCode":"string","MarketPlacePath":"string","IsSendStatusNotifications":true,"Subject":"string","ToList":[{"BusinessContactID":0,"ContactFirstName":"string","ContactLastName":"string","ContactEmailAddress":"string","ContactPhone":"string","ContactCustomerName":"string"}],"To":"string","CcList":[{"BusinessContactID":0,"ContactFirstName":"string","ContactLastName":"string","ContactEmailAddress":"string","ContactPhone":"string","ContactCustomerName":"string"}],"Cc":"string","BccList":[{"BusinessContactID":0,"ContactFirstName":"string","ContactLastName":"string","ContactEmailAddress":"string","ContactPhone":"string","ContactCustomerName":"string"}],"Bcc":"string","IsSendAll":true,"CustomerIDs":[0],"IsAllInOne":true,"IsShowSummaryLines":true,"TenantID":0,"WebsiteID":0,"UserID":0}; // AlertRequest | 

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

final api_instance = DefaultApi();

final AlertRequest alertRequest = new AlertRequest(); // AlertRequest | 

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

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        AlertRequest alertRequest = {"AlertType":"string","DatTypeID":0,"DocID":0,"IsSetDocStatus":true,"DocStatus":"string","IsUpdateAsEmailed":true,"DocIDs":[0],"DocLinkUrl":"string","PersonalisedMessage":"string","IsResponseRequired":true,"ResponseCode":"string","MarketPlacePath":"string","IsSendStatusNotifications":true,"Subject":"string","ToList":[{"BusinessContactID":0,"ContactFirstName":"string","ContactLastName":"string","ContactEmailAddress":"string","ContactPhone":"string","ContactCustomerName":"string"}],"To":"string","CcList":[{"BusinessContactID":0,"ContactFirstName":"string","ContactLastName":"string","ContactEmailAddress":"string","ContactPhone":"string","ContactCustomerName":"string"}],"Cc":"string","BccList":[{"BusinessContactID":0,"ContactFirstName":"string","ContactLastName":"string","ContactEmailAddress":"string","ContactPhone":"string","ContactCustomerName":"string"}],"Bcc":"string","IsSendAll":true,"CustomerIDs":[0],"IsAllInOne":true,"IsShowSummaryLines":true,"TenantID":0,"WebsiteID":0,"UserID":0}; // AlertRequest | 

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


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
AlertRequest *alertRequest = {"AlertType":"string","DatTypeID":0,"DocID":0,"IsSetDocStatus":true,"DocStatus":"string","IsUpdateAsEmailed":true,"DocIDs":[0],"DocLinkUrl":"string","PersonalisedMessage":"string","IsResponseRequired":true,"ResponseCode":"string","MarketPlacePath":"string","IsSendStatusNotifications":true,"Subject":"string","ToList":[{"BusinessContactID":0,"ContactFirstName":"string","ContactLastName":"string","ContactEmailAddress":"string","ContactPhone":"string","ContactCustomerName":"string"}],"To":"string","CcList":[{"BusinessContactID":0,"ContactFirstName":"string","ContactLastName":"string","ContactEmailAddress":"string","ContactPhone":"string","ContactCustomerName":"string"}],"Cc":"string","BccList":[{"BusinessContactID":0,"ContactFirstName":"string","ContactLastName":"string","ContactEmailAddress":"string","ContactPhone":"string","ContactCustomerName":"string"}],"Bcc":"string","IsSendAll":true,"CustomerIDs":[0],"IsAllInOne":true,"IsShowSummaryLines":true,"TenantID":0,"WebsiteID":0,"UserID":0}; //  (optional)

// Alert_Send
[apiInstance alertSendWith:alertRequest
              completionHandler: ^(Object output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var AsServerApiAlert = require('as_server_api_alert');

// Create an instance of the API class
var api = new AsServerApiAlert.DefaultApi()
var opts = {
  'alertRequest': {"AlertType":"string","DatTypeID":0,"DocID":0,"IsSetDocStatus":true,"DocStatus":"string","IsUpdateAsEmailed":true,"DocIDs":[0],"DocLinkUrl":"string","PersonalisedMessage":"string","IsResponseRequired":true,"ResponseCode":"string","MarketPlacePath":"string","IsSendStatusNotifications":true,"Subject":"string","ToList":[{"BusinessContactID":0,"ContactFirstName":"string","ContactLastName":"string","ContactEmailAddress":"string","ContactPhone":"string","ContactCustomerName":"string"}],"To":"string","CcList":[{"BusinessContactID":0,"ContactFirstName":"string","ContactLastName":"string","ContactEmailAddress":"string","ContactPhone":"string","ContactCustomerName":"string"}],"Cc":"string","BccList":[{"BusinessContactID":0,"ContactFirstName":"string","ContactLastName":"string","ContactEmailAddress":"string","ContactPhone":"string","ContactCustomerName":"string"}],"Bcc":"string","IsSendAll":true,"CustomerIDs":[0],"IsAllInOne":true,"IsShowSummaryLines":true,"TenantID":0,"WebsiteID":0,"UserID":0} // {AlertRequest} 
};

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

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

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

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

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$alertRequest = {"AlertType":"string","DatTypeID":0,"DocID":0,"IsSetDocStatus":true,"DocStatus":"string","IsUpdateAsEmailed":true,"DocIDs":[0],"DocLinkUrl":"string","PersonalisedMessage":"string","IsResponseRequired":true,"ResponseCode":"string","MarketPlacePath":"string","IsSendStatusNotifications":true,"Subject":"string","ToList":[{"BusinessContactID":0,"ContactFirstName":"string","ContactLastName":"string","ContactEmailAddress":"string","ContactPhone":"string","ContactCustomerName":"string"}],"To":"string","CcList":[{"BusinessContactID":0,"ContactFirstName":"string","ContactLastName":"string","ContactEmailAddress":"string","ContactPhone":"string","ContactCustomerName":"string"}],"Cc":"string","BccList":[{"BusinessContactID":0,"ContactFirstName":"string","ContactLastName":"string","ContactEmailAddress":"string","ContactPhone":"string","ContactCustomerName":"string"}],"Bcc":"string","IsSendAll":true,"CustomerIDs":[0],"IsAllInOne":true,"IsShowSummaryLines":true,"TenantID":0,"WebsiteID":0,"UserID":0}; // AlertRequest | 

try {
    $result = $api_instance->alertSend($alertRequest);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->alertSend: ', $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 $alertRequest = WWW::OPenAPIClient::Object::AlertRequest->new(); # AlertRequest | 

eval {
    my $result = $api_instance->alertSend(alertRequest => $alertRequest);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->alertSend: $@\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()
alertRequest = {"AlertType":"string","DatTypeID":0,"DocID":0,"IsSetDocStatus":true,"DocStatus":"string","IsUpdateAsEmailed":true,"DocIDs":[0],"DocLinkUrl":"string","PersonalisedMessage":"string","IsResponseRequired":true,"ResponseCode":"string","MarketPlacePath":"string","IsSendStatusNotifications":true,"Subject":"string","ToList":[{"BusinessContactID":0,"ContactFirstName":"string","ContactLastName":"string","ContactEmailAddress":"string","ContactPhone":"string","ContactCustomerName":"string"}],"To":"string","CcList":[{"BusinessContactID":0,"ContactFirstName":"string","ContactLastName":"string","ContactEmailAddress":"string","ContactPhone":"string","ContactCustomerName":"string"}],"Cc":"string","BccList":[{"BusinessContactID":0,"ContactFirstName":"string","ContactLastName":"string","ContactEmailAddress":"string","ContactPhone":"string","ContactCustomerName":"string"}],"Bcc":"string","IsSendAll":true,"CustomerIDs":[0],"IsAllInOne":true,"IsShowSummaryLines":true,"TenantID":0,"WebsiteID":0,"UserID":0} # AlertRequest |  (optional)

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

pub fn main() {
    let alertRequest = {"AlertType":"string","DatTypeID":0,"DocID":0,"IsSetDocStatus":true,"DocStatus":"string","IsUpdateAsEmailed":true,"DocIDs":[0],"DocLinkUrl":"string","PersonalisedMessage":"string","IsResponseRequired":true,"ResponseCode":"string","MarketPlacePath":"string","IsSendStatusNotifications":true,"Subject":"string","ToList":[{"BusinessContactID":0,"ContactFirstName":"string","ContactLastName":"string","ContactEmailAddress":"string","ContactPhone":"string","ContactCustomerName":"string"}],"To":"string","CcList":[{"BusinessContactID":0,"ContactFirstName":"string","ContactLastName":"string","ContactEmailAddress":"string","ContactPhone":"string","ContactCustomerName":"string"}],"Cc":"string","BccList":[{"BusinessContactID":0,"ContactFirstName":"string","ContactLastName":"string","ContactEmailAddress":"string","ContactPhone":"string","ContactCustomerName":"string"}],"Bcc":"string","IsSendAll":true,"CustomerIDs":[0],"IsAllInOne":true,"IsShowSummaryLines":true,"TenantID":0,"WebsiteID":0,"UserID":0}; // AlertRequest

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

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

Scopes

Parameters

Body parameters
Name Description
alertRequest

Responses


alertSendCustomAdaptorSetupAlert

Alert_SendCustomAdaptorSetupAlert


/Alert/customadaptorsetup

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/Alert/customadaptorsetup" \
 -d 'Custom MIME type example not yet supported: text/json' \
 -d '' \
 -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();
        ActionRequestCustomAdaptorSetupAlertRequest actionRequestCustomAdaptorSetupAlertRequest = {"Value":{"EmailAddress":"string","IntegrationSoftwareName":"string"},"TenantID":0,"WebsiteID":0,"UserID":0}; // ActionRequestCustomAdaptorSetupAlertRequest | 

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

final api_instance = DefaultApi();

final ActionRequestCustomAdaptorSetupAlertRequest actionRequestCustomAdaptorSetupAlertRequest = new ActionRequestCustomAdaptorSetupAlertRequest(); // ActionRequestCustomAdaptorSetupAlertRequest | 

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

import org.openapitools.client.api.DefaultApi;

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

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


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

// Alert_SendCustomAdaptorSetupAlert
[apiInstance alertSendCustomAdaptorSetupAlertWith:actionRequestCustomAdaptorSetupAlertRequest
              completionHandler: ^(ActionResults output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var AsServerApiAlert = require('as_server_api_alert');

// Create an instance of the API class
var api = new AsServerApiAlert.DefaultApi()
var opts = {
  'actionRequestCustomAdaptorSetupAlertRequest': {"Value":{"EmailAddress":"string","IntegrationSoftwareName":"string"},"TenantID":0,"WebsiteID":0,"UserID":0} // {ActionRequestCustomAdaptorSetupAlertRequest} 
};

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

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

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

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

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

try {
    $result = $api_instance->alertSendCustomAdaptorSetupAlert($actionRequestCustomAdaptorSetupAlertRequest);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->alertSendCustomAdaptorSetupAlert: ', $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 $actionRequestCustomAdaptorSetupAlertRequest = WWW::OPenAPIClient::Object::ActionRequestCustomAdaptorSetupAlertRequest->new(); # ActionRequestCustomAdaptorSetupAlertRequest | 

eval {
    my $result = $api_instance->alertSendCustomAdaptorSetupAlert(actionRequestCustomAdaptorSetupAlertRequest => $actionRequestCustomAdaptorSetupAlertRequest);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->alertSendCustomAdaptorSetupAlert: $@\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()
actionRequestCustomAdaptorSetupAlertRequest = {"Value":{"EmailAddress":"string","IntegrationSoftwareName":"string"},"TenantID":0,"WebsiteID":0,"UserID":0} # ActionRequestCustomAdaptorSetupAlertRequest |  (optional)

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

pub fn main() {
    let actionRequestCustomAdaptorSetupAlertRequest = {"Value":{"EmailAddress":"string","IntegrationSoftwareName":"string"},"TenantID":0,"WebsiteID":0,"UserID":0}; // ActionRequestCustomAdaptorSetupAlertRequest

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

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

Scopes

Parameters

Body parameters
Name Description
actionRequestCustomAdaptorSetupAlertRequest

Responses


alertSendDeleteAccountAlert

Alert_SendDeleteAccountAlert


/Alert/deleteaccount

Usage and SDK Samples

curl -X POST \
 -H "Accept: application/json,text/json,application/xml,text/xml" \
 "https://api.dev.spenda.co/api/Alert/deleteaccount"
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.alertSendDeleteAccountAlert();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#alertSendDeleteAccountAlert");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();


try {
    final result = await api_instance.alertSendDeleteAccountAlert();
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->alertSendDeleteAccountAlert: $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.alertSendDeleteAccountAlert();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#alertSendDeleteAccountAlert");
            e.printStackTrace();
        }
    }
}


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

// Alert_SendDeleteAccountAlert
[apiInstance alertSendDeleteAccountAlertWithCompletionHandler: 
              ^(ActionResults output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var AsServerApiAlert = require('as_server_api_alert');

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

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

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

            try {
                // Alert_SendDeleteAccountAlert
                ActionResults result = apiInstance.alertSendDeleteAccountAlert();
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.alertSendDeleteAccountAlert: " + 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->alertSendDeleteAccountAlert();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->alertSendDeleteAccountAlert: ', $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->alertSendDeleteAccountAlert();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->alertSendDeleteAccountAlert: $@\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:
    # Alert_SendDeleteAccountAlert
    api_response = api_instance.alert_send_delete_account_alert()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->alertSendDeleteAccountAlert: %s\n" % e)
extern crate DefaultApi;

pub fn main() {

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

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

Scopes

Parameters

Responses


alertSendEmails

Alert_SendEmails


/Alert/SendEmails

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/Alert/SendEmails" \
 -d '{
  "AlertRequests" : [ {
    "Cc" : "Cc",
    "DocID" : 6,
    "BccList" : [ {
      "BusinessContactID" : 5,
      "ContactPhone" : "ContactPhone",
      "ContactCustomerName" : "ContactCustomerName",
      "ContactEmailAddress" : "ContactEmailAddress",
      "ContactFirstName" : "ContactFirstName",
      "ContactLastName" : "ContactLastName"
    }, {
      "BusinessContactID" : 5,
      "ContactPhone" : "ContactPhone",
      "ContactCustomerName" : "ContactCustomerName",
      "ContactEmailAddress" : "ContactEmailAddress",
      "ContactFirstName" : "ContactFirstName",
      "ContactLastName" : "ContactLastName"
    } ],
    "ToList" : [ {
      "BusinessContactID" : 5,
      "ContactPhone" : "ContactPhone",
      "ContactCustomerName" : "ContactCustomerName",
      "ContactEmailAddress" : "ContactEmailAddress",
      "ContactFirstName" : "ContactFirstName",
      "ContactLastName" : "ContactLastName"
    }, {
      "BusinessContactID" : 5,
      "ContactPhone" : "ContactPhone",
      "ContactCustomerName" : "ContactCustomerName",
      "ContactEmailAddress" : "ContactEmailAddress",
      "ContactFirstName" : "ContactFirstName",
      "ContactLastName" : "ContactLastName"
    } ],
    "AlertType" : "AlertType",
    "TenantID" : 2,
    "DocLinkUrl" : "DocLinkUrl",
    "CcList" : [ {
      "BusinessContactID" : 5,
      "ContactPhone" : "ContactPhone",
      "ContactCustomerName" : "ContactCustomerName",
      "ContactEmailAddress" : "ContactEmailAddress",
      "ContactFirstName" : "ContactFirstName",
      "ContactLastName" : "ContactLastName"
    }, {
      "BusinessContactID" : 5,
      "ContactPhone" : "ContactPhone",
      "ContactCustomerName" : "ContactCustomerName",
      "ContactEmailAddress" : "ContactEmailAddress",
      "ContactFirstName" : "ContactFirstName",
      "ContactLastName" : "ContactLastName"
    } ],
    "UserID" : 9,
    "To" : "To",
    "WebsiteID" : 7,
    "DocStatus" : "DocStatus",
    "ResponseCode" : "ResponseCode",
    "IsShowSummaryLines" : true,
    "Bcc" : "Bcc",
    "IsUpdateAsEmailed" : true,
    "IsSendAll" : true,
    "DatTypeID" : 0,
    "IsSendStatusNotifications" : true,
    "Subject" : "Subject",
    "IsResponseRequired" : true,
    "IsSetDocStatus" : true,
    "DocIDs" : [ 1, 1 ],
    "CustomerIDs" : [ 5, 5 ],
    "IsAllInOne" : true,
    "MarketPlacePath" : "MarketPlacePath",
    "PersonalisedMessage" : "PersonalisedMessage"
  }, {
    "Cc" : "Cc",
    "DocID" : 6,
    "BccList" : [ {
      "BusinessContactID" : 5,
      "ContactPhone" : "ContactPhone",
      "ContactCustomerName" : "ContactCustomerName",
      "ContactEmailAddress" : "ContactEmailAddress",
      "ContactFirstName" : "ContactFirstName",
      "ContactLastName" : "ContactLastName"
    }, {
      "BusinessContactID" : 5,
      "ContactPhone" : "ContactPhone",
      "ContactCustomerName" : "ContactCustomerName",
      "ContactEmailAddress" : "ContactEmailAddress",
      "ContactFirstName" : "ContactFirstName",
      "ContactLastName" : "ContactLastName"
    } ],
    "ToList" : [ {
      "BusinessContactID" : 5,
      "ContactPhone" : "ContactPhone",
      "ContactCustomerName" : "ContactCustomerName",
      "ContactEmailAddress" : "ContactEmailAddress",
      "ContactFirstName" : "ContactFirstName",
      "ContactLastName" : "ContactLastName"
    }, {
      "BusinessContactID" : 5,
      "ContactPhone" : "ContactPhone",
      "ContactCustomerName" : "ContactCustomerName",
      "ContactEmailAddress" : "ContactEmailAddress",
      "ContactFirstName" : "ContactFirstName",
      "ContactLastName" : "ContactLastName"
    } ],
    "AlertType" : "AlertType",
    "TenantID" : 2,
    "DocLinkUrl" : "DocLinkUrl",
    "CcList" : [ {
      "BusinessContactID" : 5,
      "ContactPhone" : "ContactPhone",
      "ContactCustomerName" : "ContactCustomerName",
      "ContactEmailAddress" : "ContactEmailAddress",
      "ContactFirstName" : "ContactFirstName",
      "ContactLastName" : "ContactLastName"
    }, {
      "BusinessContactID" : 5,
      "ContactPhone" : "ContactPhone",
      "ContactCustomerName" : "ContactCustomerName",
      "ContactEmailAddress" : "ContactEmailAddress",
      "ContactFirstName" : "ContactFirstName",
      "ContactLastName" : "ContactLastName"
    } ],
    "UserID" : 9,
    "To" : "To",
    "WebsiteID" : 7,
    "DocStatus" : "DocStatus",
    "ResponseCode" : "ResponseCode",
    "IsShowSummaryLines" : true,
    "Bcc" : "Bcc",
    "IsUpdateAsEmailed" : true,
    "IsSendAll" : true,
    "DatTypeID" : 0,
    "IsSendStatusNotifications" : true,
    "Subject" : "Subject",
    "IsResponseRequired" : true,
    "IsSetDocStatus" : true,
    "DocIDs" : [ 1, 1 ],
    "CustomerIDs" : [ 5, 5 ],
    "IsAllInOne" : true,
    "MarketPlacePath" : "MarketPlacePath",
    "PersonalisedMessage" : "PersonalisedMessage"
  } ]
}' \
 -d 'Custom MIME type example not yet supported: text/json' \
 -d '<AlertRequestCollection>
  <AlertRequest>
    <AlertType>aeiou</AlertType>
    <DatTypeID>123</DatTypeID>
    <DocID>123</DocID>
    <IsSetDocStatus>true</IsSetDocStatus>
    <DocStatus>aeiou</DocStatus>
    <IsUpdateAsEmailed>true</IsUpdateAsEmailed>
    <DocIDs>123</DocIDs>
    <DocLinkUrl>aeiou</DocLinkUrl>
    <PersonalisedMessage>aeiou</PersonalisedMessage>
    <IsResponseRequired>true</IsResponseRequired>
    <ResponseCode>aeiou</ResponseCode>
    <MarketPlacePath>aeiou</MarketPlacePath>
    <IsSendStatusNotifications>true</IsSendStatusNotifications>
    <Subject>aeiou</Subject>
    <null>
      <BusinessContactID>123</BusinessContactID>
      <ContactFirstName>aeiou</ContactFirstName>
      <ContactLastName>aeiou</ContactLastName>
      <ContactEmailAddress>aeiou</ContactEmailAddress>
      <ContactPhone>aeiou</ContactPhone>
      <ContactCustomerName>aeiou</ContactCustomerName>
    </null>
    <To>aeiou</To>
    <null>
      <BusinessContactID>123</BusinessContactID>
      <ContactFirstName>aeiou</ContactFirstName>
      <ContactLastName>aeiou</ContactLastName>
      <ContactEmailAddress>aeiou</ContactEmailAddress>
      <ContactPhone>aeiou</ContactPhone>
      <ContactCustomerName>aeiou</ContactCustomerName>
    </null>
    <Cc>aeiou</Cc>
    <null>
      <BusinessContactID>123</BusinessContactID>
      <ContactFirstName>aeiou</ContactFirstName>
      <ContactLastName>aeiou</ContactLastName>
      <ContactEmailAddress>aeiou</ContactEmailAddress>
      <ContactPhone>aeiou</ContactPhone>
      <ContactCustomerName>aeiou</ContactCustomerName>
    </null>
    <Bcc>aeiou</Bcc>
    <IsSendAll>true</IsSendAll>
    <CustomerIDs>123</CustomerIDs>
    <IsAllInOne>true</IsAllInOne>
    <IsShowSummaryLines>true</IsShowSummaryLines>
    <TenantID>123</TenantID>
    <WebsiteID>123</WebsiteID>
    <UserID>123</UserID>
  </AlertRequest>
</AlertRequestCollection>' \
 -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();
        AlertRequestCollection alertRequestCollection = {"AlertRequests":[{"AlertType":"string","DatTypeID":0,"DocID":0,"IsSetDocStatus":true,"DocStatus":"string","IsUpdateAsEmailed":true,"DocIDs":[0],"DocLinkUrl":"string","PersonalisedMessage":"string","IsResponseRequired":true,"ResponseCode":"string","MarketPlacePath":"string","IsSendStatusNotifications":true,"Subject":"string","ToList":[{"BusinessContactID":0,"ContactFirstName":"string","ContactLastName":"string","ContactEmailAddress":"string","ContactPhone":"string","ContactCustomerName":"string"}],"To":"string","CcList":[{"BusinessContactID":0,"ContactFirstName":"string","ContactLastName":"string","ContactEmailAddress":"string","ContactPhone":"string","ContactCustomerName":"string"}],"Cc":"string","BccList":[{"BusinessContactID":0,"ContactFirstName":"string","ContactLastName":"string","ContactEmailAddress":"string","ContactPhone":"string","ContactCustomerName":"string"}],"Bcc":"string","IsSendAll":true,"CustomerIDs":[0],"IsAllInOne":true,"IsShowSummaryLines":true,"TenantID":0,"WebsiteID":0,"UserID":0}]}; // AlertRequestCollection | 

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

final api_instance = DefaultApi();

final AlertRequestCollection alertRequestCollection = new AlertRequestCollection(); // AlertRequestCollection | 

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

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        AlertRequestCollection alertRequestCollection = {"AlertRequests":[{"AlertType":"string","DatTypeID":0,"DocID":0,"IsSetDocStatus":true,"DocStatus":"string","IsUpdateAsEmailed":true,"DocIDs":[0],"DocLinkUrl":"string","PersonalisedMessage":"string","IsResponseRequired":true,"ResponseCode":"string","MarketPlacePath":"string","IsSendStatusNotifications":true,"Subject":"string","ToList":[{"BusinessContactID":0,"ContactFirstName":"string","ContactLastName":"string","ContactEmailAddress":"string","ContactPhone":"string","ContactCustomerName":"string"}],"To":"string","CcList":[{"BusinessContactID":0,"ContactFirstName":"string","ContactLastName":"string","ContactEmailAddress":"string","ContactPhone":"string","ContactCustomerName":"string"}],"Cc":"string","BccList":[{"BusinessContactID":0,"ContactFirstName":"string","ContactLastName":"string","ContactEmailAddress":"string","ContactPhone":"string","ContactCustomerName":"string"}],"Bcc":"string","IsSendAll":true,"CustomerIDs":[0],"IsAllInOne":true,"IsShowSummaryLines":true,"TenantID":0,"WebsiteID":0,"UserID":0}]}; // AlertRequestCollection | 

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


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
AlertRequestCollection *alertRequestCollection = {"AlertRequests":[{"AlertType":"string","DatTypeID":0,"DocID":0,"IsSetDocStatus":true,"DocStatus":"string","IsUpdateAsEmailed":true,"DocIDs":[0],"DocLinkUrl":"string","PersonalisedMessage":"string","IsResponseRequired":true,"ResponseCode":"string","MarketPlacePath":"string","IsSendStatusNotifications":true,"Subject":"string","ToList":[{"BusinessContactID":0,"ContactFirstName":"string","ContactLastName":"string","ContactEmailAddress":"string","ContactPhone":"string","ContactCustomerName":"string"}],"To":"string","CcList":[{"BusinessContactID":0,"ContactFirstName":"string","ContactLastName":"string","ContactEmailAddress":"string","ContactPhone":"string","ContactCustomerName":"string"}],"Cc":"string","BccList":[{"BusinessContactID":0,"ContactFirstName":"string","ContactLastName":"string","ContactEmailAddress":"string","ContactPhone":"string","ContactCustomerName":"string"}],"Bcc":"string","IsSendAll":true,"CustomerIDs":[0],"IsAllInOne":true,"IsShowSummaryLines":true,"TenantID":0,"WebsiteID":0,"UserID":0}]}; //  (optional)

// Alert_SendEmails
[apiInstance alertSendEmailsWith:alertRequestCollection
              completionHandler: ^(Object output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var AsServerApiAlert = require('as_server_api_alert');

// Create an instance of the API class
var api = new AsServerApiAlert.DefaultApi()
var opts = {
  'alertRequestCollection': {"AlertRequests":[{"AlertType":"string","DatTypeID":0,"DocID":0,"IsSetDocStatus":true,"DocStatus":"string","IsUpdateAsEmailed":true,"DocIDs":[0],"DocLinkUrl":"string","PersonalisedMessage":"string","IsResponseRequired":true,"ResponseCode":"string","MarketPlacePath":"string","IsSendStatusNotifications":true,"Subject":"string","ToList":[{"BusinessContactID":0,"ContactFirstName":"string","ContactLastName":"string","ContactEmailAddress":"string","ContactPhone":"string","ContactCustomerName":"string"}],"To":"string","CcList":[{"BusinessContactID":0,"ContactFirstName":"string","ContactLastName":"string","ContactEmailAddress":"string","ContactPhone":"string","ContactCustomerName":"string"}],"Cc":"string","BccList":[{"BusinessContactID":0,"ContactFirstName":"string","ContactLastName":"string","ContactEmailAddress":"string","ContactPhone":"string","ContactCustomerName":"string"}],"Bcc":"string","IsSendAll":true,"CustomerIDs":[0],"IsAllInOne":true,"IsShowSummaryLines":true,"TenantID":0,"WebsiteID":0,"UserID":0}]} // {AlertRequestCollection} 
};

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

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

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

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

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$alertRequestCollection = {"AlertRequests":[{"AlertType":"string","DatTypeID":0,"DocID":0,"IsSetDocStatus":true,"DocStatus":"string","IsUpdateAsEmailed":true,"DocIDs":[0],"DocLinkUrl":"string","PersonalisedMessage":"string","IsResponseRequired":true,"ResponseCode":"string","MarketPlacePath":"string","IsSendStatusNotifications":true,"Subject":"string","ToList":[{"BusinessContactID":0,"ContactFirstName":"string","ContactLastName":"string","ContactEmailAddress":"string","ContactPhone":"string","ContactCustomerName":"string"}],"To":"string","CcList":[{"BusinessContactID":0,"ContactFirstName":"string","ContactLastName":"string","ContactEmailAddress":"string","ContactPhone":"string","ContactCustomerName":"string"}],"Cc":"string","BccList":[{"BusinessContactID":0,"ContactFirstName":"string","ContactLastName":"string","ContactEmailAddress":"string","ContactPhone":"string","ContactCustomerName":"string"}],"Bcc":"string","IsSendAll":true,"CustomerIDs":[0],"IsAllInOne":true,"IsShowSummaryLines":true,"TenantID":0,"WebsiteID":0,"UserID":0}]}; // AlertRequestCollection | 

try {
    $result = $api_instance->alertSendEmails($alertRequestCollection);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->alertSendEmails: ', $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 $alertRequestCollection = WWW::OPenAPIClient::Object::AlertRequestCollection->new(); # AlertRequestCollection | 

eval {
    my $result = $api_instance->alertSendEmails(alertRequestCollection => $alertRequestCollection);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->alertSendEmails: $@\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()
alertRequestCollection = {"AlertRequests":[{"AlertType":"string","DatTypeID":0,"DocID":0,"IsSetDocStatus":true,"DocStatus":"string","IsUpdateAsEmailed":true,"DocIDs":[0],"DocLinkUrl":"string","PersonalisedMessage":"string","IsResponseRequired":true,"ResponseCode":"string","MarketPlacePath":"string","IsSendStatusNotifications":true,"Subject":"string","ToList":[{"BusinessContactID":0,"ContactFirstName":"string","ContactLastName":"string","ContactEmailAddress":"string","ContactPhone":"string","ContactCustomerName":"string"}],"To":"string","CcList":[{"BusinessContactID":0,"ContactFirstName":"string","ContactLastName":"string","ContactEmailAddress":"string","ContactPhone":"string","ContactCustomerName":"string"}],"Cc":"string","BccList":[{"BusinessContactID":0,"ContactFirstName":"string","ContactLastName":"string","ContactEmailAddress":"string","ContactPhone":"string","ContactCustomerName":"string"}],"Bcc":"string","IsSendAll":true,"CustomerIDs":[0],"IsAllInOne":true,"IsShowSummaryLines":true,"TenantID":0,"WebsiteID":0,"UserID":0}]} # AlertRequestCollection |  (optional)

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

pub fn main() {
    let alertRequestCollection = {"AlertRequests":[{"AlertType":"string","DatTypeID":0,"DocID":0,"IsSetDocStatus":true,"DocStatus":"string","IsUpdateAsEmailed":true,"DocIDs":[0],"DocLinkUrl":"string","PersonalisedMessage":"string","IsResponseRequired":true,"ResponseCode":"string","MarketPlacePath":"string","IsSendStatusNotifications":true,"Subject":"string","ToList":[{"BusinessContactID":0,"ContactFirstName":"string","ContactLastName":"string","ContactEmailAddress":"string","ContactPhone":"string","ContactCustomerName":"string"}],"To":"string","CcList":[{"BusinessContactID":0,"ContactFirstName":"string","ContactLastName":"string","ContactEmailAddress":"string","ContactPhone":"string","ContactCustomerName":"string"}],"Cc":"string","BccList":[{"BusinessContactID":0,"ContactFirstName":"string","ContactLastName":"string","ContactEmailAddress":"string","ContactPhone":"string","ContactCustomerName":"string"}],"Bcc":"string","IsSendAll":true,"CustomerIDs":[0],"IsAllInOne":true,"IsShowSummaryLines":true,"TenantID":0,"WebsiteID":0,"UserID":0}]}; // AlertRequestCollection

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

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

Scopes

Parameters

Body parameters
Name Description
alertRequestCollection

Responses



alertSendReminder

Alert_SendReminder


/Alert/SendReminder

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/Alert/SendReminder" \
 -d '{
  "Cc" : "Cc",
  "DocID" : 6,
  "BccList" : [ {
    "BusinessContactID" : 5,
    "ContactPhone" : "ContactPhone",
    "ContactCustomerName" : "ContactCustomerName",
    "ContactEmailAddress" : "ContactEmailAddress",
    "ContactFirstName" : "ContactFirstName",
    "ContactLastName" : "ContactLastName"
  }, {
    "BusinessContactID" : 5,
    "ContactPhone" : "ContactPhone",
    "ContactCustomerName" : "ContactCustomerName",
    "ContactEmailAddress" : "ContactEmailAddress",
    "ContactFirstName" : "ContactFirstName",
    "ContactLastName" : "ContactLastName"
  } ],
  "ToList" : [ {
    "BusinessContactID" : 5,
    "ContactPhone" : "ContactPhone",
    "ContactCustomerName" : "ContactCustomerName",
    "ContactEmailAddress" : "ContactEmailAddress",
    "ContactFirstName" : "ContactFirstName",
    "ContactLastName" : "ContactLastName"
  }, {
    "BusinessContactID" : 5,
    "ContactPhone" : "ContactPhone",
    "ContactCustomerName" : "ContactCustomerName",
    "ContactEmailAddress" : "ContactEmailAddress",
    "ContactFirstName" : "ContactFirstName",
    "ContactLastName" : "ContactLastName"
  } ],
  "AlertType" : "AlertType",
  "TenantID" : 2,
  "DocLinkUrl" : "DocLinkUrl",
  "CcList" : [ {
    "BusinessContactID" : 5,
    "ContactPhone" : "ContactPhone",
    "ContactCustomerName" : "ContactCustomerName",
    "ContactEmailAddress" : "ContactEmailAddress",
    "ContactFirstName" : "ContactFirstName",
    "ContactLastName" : "ContactLastName"
  }, {
    "BusinessContactID" : 5,
    "ContactPhone" : "ContactPhone",
    "ContactCustomerName" : "ContactCustomerName",
    "ContactEmailAddress" : "ContactEmailAddress",
    "ContactFirstName" : "ContactFirstName",
    "ContactLastName" : "ContactLastName"
  } ],
  "UserID" : 9,
  "To" : "To",
  "WebsiteID" : 7,
  "DocStatus" : "DocStatus",
  "ResponseCode" : "ResponseCode",
  "IsShowSummaryLines" : true,
  "Bcc" : "Bcc",
  "IsUpdateAsEmailed" : true,
  "IsSendAll" : true,
  "DatTypeID" : 0,
  "IsSendStatusNotifications" : true,
  "Subject" : "Subject",
  "IsResponseRequired" : true,
  "IsSetDocStatus" : true,
  "DocIDs" : [ 1, 1 ],
  "CustomerIDs" : [ 5, 5 ],
  "IsAllInOne" : true,
  "MarketPlacePath" : "MarketPlacePath",
  "PersonalisedMessage" : "PersonalisedMessage"
}' \
 -d 'Custom MIME type example not yet supported: text/json' \
 -d '<AlertRequest>
  <AlertType>aeiou</AlertType>
  <DatTypeID>123</DatTypeID>
  <DocID>123</DocID>
  <IsSetDocStatus>true</IsSetDocStatus>
  <DocStatus>aeiou</DocStatus>
  <IsUpdateAsEmailed>true</IsUpdateAsEmailed>
  <DocIDs>123</DocIDs>
  <DocLinkUrl>aeiou</DocLinkUrl>
  <PersonalisedMessage>aeiou</PersonalisedMessage>
  <IsResponseRequired>true</IsResponseRequired>
  <ResponseCode>aeiou</ResponseCode>
  <MarketPlacePath>aeiou</MarketPlacePath>
  <IsSendStatusNotifications>true</IsSendStatusNotifications>
  <Subject>aeiou</Subject>
  <null>
    <BusinessContactID>123</BusinessContactID>
    <ContactFirstName>aeiou</ContactFirstName>
    <ContactLastName>aeiou</ContactLastName>
    <ContactEmailAddress>aeiou</ContactEmailAddress>
    <ContactPhone>aeiou</ContactPhone>
    <ContactCustomerName>aeiou</ContactCustomerName>
  </null>
  <To>aeiou</To>
  <null>
    <BusinessContactID>123</BusinessContactID>
    <ContactFirstName>aeiou</ContactFirstName>
    <ContactLastName>aeiou</ContactLastName>
    <ContactEmailAddress>aeiou</ContactEmailAddress>
    <ContactPhone>aeiou</ContactPhone>
    <ContactCustomerName>aeiou</ContactCustomerName>
  </null>
  <Cc>aeiou</Cc>
  <null>
    <BusinessContactID>123</BusinessContactID>
    <ContactFirstName>aeiou</ContactFirstName>
    <ContactLastName>aeiou</ContactLastName>
    <ContactEmailAddress>aeiou</ContactEmailAddress>
    <ContactPhone>aeiou</ContactPhone>
    <ContactCustomerName>aeiou</ContactCustomerName>
  </null>
  <Bcc>aeiou</Bcc>
  <IsSendAll>true</IsSendAll>
  <CustomerIDs>123</CustomerIDs>
  <IsAllInOne>true</IsAllInOne>
  <IsShowSummaryLines>true</IsShowSummaryLines>
  <TenantID>123</TenantID>
  <WebsiteID>123</WebsiteID>
  <UserID>123</UserID>
</AlertRequest>' \
 -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();
        AlertRequest alertRequest = {"AlertType":"string","DatTypeID":0,"DocID":0,"IsSetDocStatus":true,"DocStatus":"string","IsUpdateAsEmailed":true,"DocIDs":[0],"DocLinkUrl":"string","PersonalisedMessage":"string","IsResponseRequired":true,"ResponseCode":"string","MarketPlacePath":"string","IsSendStatusNotifications":true,"Subject":"string","ToList":[{"BusinessContactID":0,"ContactFirstName":"string","ContactLastName":"string","ContactEmailAddress":"string","ContactPhone":"string","ContactCustomerName":"string"}],"To":"string","CcList":[{"BusinessContactID":0,"ContactFirstName":"string","ContactLastName":"string","ContactEmailAddress":"string","ContactPhone":"string","ContactCustomerName":"string"}],"Cc":"string","BccList":[{"BusinessContactID":0,"ContactFirstName":"string","ContactLastName":"string","ContactEmailAddress":"string","ContactPhone":"string","ContactCustomerName":"string"}],"Bcc":"string","IsSendAll":true,"CustomerIDs":[0],"IsAllInOne":true,"IsShowSummaryLines":true,"TenantID":0,"WebsiteID":0,"UserID":0}; // AlertRequest | 

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

final api_instance = DefaultApi();

final AlertRequest alertRequest = new AlertRequest(); // AlertRequest | 

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

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        AlertRequest alertRequest = {"AlertType":"string","DatTypeID":0,"DocID":0,"IsSetDocStatus":true,"DocStatus":"string","IsUpdateAsEmailed":true,"DocIDs":[0],"DocLinkUrl":"string","PersonalisedMessage":"string","IsResponseRequired":true,"ResponseCode":"string","MarketPlacePath":"string","IsSendStatusNotifications":true,"Subject":"string","ToList":[{"BusinessContactID":0,"ContactFirstName":"string","ContactLastName":"string","ContactEmailAddress":"string","ContactPhone":"string","ContactCustomerName":"string"}],"To":"string","CcList":[{"BusinessContactID":0,"ContactFirstName":"string","ContactLastName":"string","ContactEmailAddress":"string","ContactPhone":"string","ContactCustomerName":"string"}],"Cc":"string","BccList":[{"BusinessContactID":0,"ContactFirstName":"string","ContactLastName":"string","ContactEmailAddress":"string","ContactPhone":"string","ContactCustomerName":"string"}],"Bcc":"string","IsSendAll":true,"CustomerIDs":[0],"IsAllInOne":true,"IsShowSummaryLines":true,"TenantID":0,"WebsiteID":0,"UserID":0}; // AlertRequest | 

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


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
AlertRequest *alertRequest = {"AlertType":"string","DatTypeID":0,"DocID":0,"IsSetDocStatus":true,"DocStatus":"string","IsUpdateAsEmailed":true,"DocIDs":[0],"DocLinkUrl":"string","PersonalisedMessage":"string","IsResponseRequired":true,"ResponseCode":"string","MarketPlacePath":"string","IsSendStatusNotifications":true,"Subject":"string","ToList":[{"BusinessContactID":0,"ContactFirstName":"string","ContactLastName":"string","ContactEmailAddress":"string","ContactPhone":"string","ContactCustomerName":"string"}],"To":"string","CcList":[{"BusinessContactID":0,"ContactFirstName":"string","ContactLastName":"string","ContactEmailAddress":"string","ContactPhone":"string","ContactCustomerName":"string"}],"Cc":"string","BccList":[{"BusinessContactID":0,"ContactFirstName":"string","ContactLastName":"string","ContactEmailAddress":"string","ContactPhone":"string","ContactCustomerName":"string"}],"Bcc":"string","IsSendAll":true,"CustomerIDs":[0],"IsAllInOne":true,"IsShowSummaryLines":true,"TenantID":0,"WebsiteID":0,"UserID":0}; //  (optional)

// Alert_SendReminder
[apiInstance alertSendReminderWith:alertRequest
              completionHandler: ^(ActionResults_ReminderRequestResponse_ output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var AsServerApiAlert = require('as_server_api_alert');

// Create an instance of the API class
var api = new AsServerApiAlert.DefaultApi()
var opts = {
  'alertRequest': {"AlertType":"string","DatTypeID":0,"DocID":0,"IsSetDocStatus":true,"DocStatus":"string","IsUpdateAsEmailed":true,"DocIDs":[0],"DocLinkUrl":"string","PersonalisedMessage":"string","IsResponseRequired":true,"ResponseCode":"string","MarketPlacePath":"string","IsSendStatusNotifications":true,"Subject":"string","ToList":[{"BusinessContactID":0,"ContactFirstName":"string","ContactLastName":"string","ContactEmailAddress":"string","ContactPhone":"string","ContactCustomerName":"string"}],"To":"string","CcList":[{"BusinessContactID":0,"ContactFirstName":"string","ContactLastName":"string","ContactEmailAddress":"string","ContactPhone":"string","ContactCustomerName":"string"}],"Cc":"string","BccList":[{"BusinessContactID":0,"ContactFirstName":"string","ContactLastName":"string","ContactEmailAddress":"string","ContactPhone":"string","ContactCustomerName":"string"}],"Bcc":"string","IsSendAll":true,"CustomerIDs":[0],"IsAllInOne":true,"IsShowSummaryLines":true,"TenantID":0,"WebsiteID":0,"UserID":0} // {AlertRequest} 
};

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

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

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

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

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$alertRequest = {"AlertType":"string","DatTypeID":0,"DocID":0,"IsSetDocStatus":true,"DocStatus":"string","IsUpdateAsEmailed":true,"DocIDs":[0],"DocLinkUrl":"string","PersonalisedMessage":"string","IsResponseRequired":true,"ResponseCode":"string","MarketPlacePath":"string","IsSendStatusNotifications":true,"Subject":"string","ToList":[{"BusinessContactID":0,"ContactFirstName":"string","ContactLastName":"string","ContactEmailAddress":"string","ContactPhone":"string","ContactCustomerName":"string"}],"To":"string","CcList":[{"BusinessContactID":0,"ContactFirstName":"string","ContactLastName":"string","ContactEmailAddress":"string","ContactPhone":"string","ContactCustomerName":"string"}],"Cc":"string","BccList":[{"BusinessContactID":0,"ContactFirstName":"string","ContactLastName":"string","ContactEmailAddress":"string","ContactPhone":"string","ContactCustomerName":"string"}],"Bcc":"string","IsSendAll":true,"CustomerIDs":[0],"IsAllInOne":true,"IsShowSummaryLines":true,"TenantID":0,"WebsiteID":0,"UserID":0}; // AlertRequest | 

try {
    $result = $api_instance->alertSendReminder($alertRequest);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->alertSendReminder: ', $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 $alertRequest = WWW::OPenAPIClient::Object::AlertRequest->new(); # AlertRequest | 

eval {
    my $result = $api_instance->alertSendReminder(alertRequest => $alertRequest);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->alertSendReminder: $@\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()
alertRequest = {"AlertType":"string","DatTypeID":0,"DocID":0,"IsSetDocStatus":true,"DocStatus":"string","IsUpdateAsEmailed":true,"DocIDs":[0],"DocLinkUrl":"string","PersonalisedMessage":"string","IsResponseRequired":true,"ResponseCode":"string","MarketPlacePath":"string","IsSendStatusNotifications":true,"Subject":"string","ToList":[{"BusinessContactID":0,"ContactFirstName":"string","ContactLastName":"string","ContactEmailAddress":"string","ContactPhone":"string","ContactCustomerName":"string"}],"To":"string","CcList":[{"BusinessContactID":0,"ContactFirstName":"string","ContactLastName":"string","ContactEmailAddress":"string","ContactPhone":"string","ContactCustomerName":"string"}],"Cc":"string","BccList":[{"BusinessContactID":0,"ContactFirstName":"string","ContactLastName":"string","ContactEmailAddress":"string","ContactPhone":"string","ContactCustomerName":"string"}],"Bcc":"string","IsSendAll":true,"CustomerIDs":[0],"IsAllInOne":true,"IsShowSummaryLines":true,"TenantID":0,"WebsiteID":0,"UserID":0} # AlertRequest |  (optional)

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

pub fn main() {
    let alertRequest = {"AlertType":"string","DatTypeID":0,"DocID":0,"IsSetDocStatus":true,"DocStatus":"string","IsUpdateAsEmailed":true,"DocIDs":[0],"DocLinkUrl":"string","PersonalisedMessage":"string","IsResponseRequired":true,"ResponseCode":"string","MarketPlacePath":"string","IsSendStatusNotifications":true,"Subject":"string","ToList":[{"BusinessContactID":0,"ContactFirstName":"string","ContactLastName":"string","ContactEmailAddress":"string","ContactPhone":"string","ContactCustomerName":"string"}],"To":"string","CcList":[{"BusinessContactID":0,"ContactFirstName":"string","ContactLastName":"string","ContactEmailAddress":"string","ContactPhone":"string","ContactCustomerName":"string"}],"Cc":"string","BccList":[{"BusinessContactID":0,"ContactFirstName":"string","ContactLastName":"string","ContactEmailAddress":"string","ContactPhone":"string","ContactCustomerName":"string"}],"Bcc":"string","IsSendAll":true,"CustomerIDs":[0],"IsAllInOne":true,"IsShowSummaryLines":true,"TenantID":0,"WebsiteID":0,"UserID":0}; // AlertRequest

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

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

Scopes

Parameters

Body parameters
Name Description
alertRequest

Responses