Hvl Notification Polling Server

NotificationPollingAnnouncementAPI

delete

Deletes announcement


/polling/announcement/by-uuid/{uuid}

Usage and SDK Samples

curl -X DELETE\
-H "Accept: application/json"\
"/gw/notification-polling-server/polling/announcement/by-uuid/{uuid}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.NotificationPollingAnnouncementAPIApi;

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

public class NotificationPollingAnnouncementAPIApiExample {

    public static void main(String[] args) {
        
        NotificationPollingAnnouncementAPIApi apiInstance = new NotificationPollingAnnouncementAPIApi();
        String uuid = uuid_example; // String | 
        try {
            HvlResponseVoid result = apiInstance.delete(uuid);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling NotificationPollingAnnouncementAPIApi#delete");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.NotificationPollingAnnouncementAPIApi;

public class NotificationPollingAnnouncementAPIApiExample {

    public static void main(String[] args) {
        NotificationPollingAnnouncementAPIApi apiInstance = new NotificationPollingAnnouncementAPIApi();
        String uuid = uuid_example; // String | 
        try {
            HvlResponseVoid result = apiInstance.delete(uuid);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling NotificationPollingAnnouncementAPIApi#delete");
            e.printStackTrace();
        }
    }
}
String *uuid = uuid_example; // 

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

// Deletes announcement
[apiInstance deleteWith:uuid
              completionHandler: ^(HvlResponseVoid output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var HvlNotificationPollingServer = require('hvl_notification_polling_server');

var api = new HvlNotificationPollingServer.NotificationPollingAnnouncementAPIApi()
var uuid = uuid_example; // {{String}} 

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

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

            var apiInstance = new NotificationPollingAnnouncementAPIApi();
            var uuid = uuid_example;  // String | 

            try
            {
                // Deletes announcement
                HvlResponseVoid result = apiInstance.delete(uuid);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling NotificationPollingAnnouncementAPIApi.delete: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiNotificationPollingAnnouncementAPIApi();
$uuid = uuid_example; // String | 

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

my $api_instance = WWW::SwaggerClient::NotificationPollingAnnouncementAPIApi->new();
my $uuid = uuid_example; # String | 

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

# create an instance of the API class
api_instance = swagger_client.NotificationPollingAnnouncementAPIApi()
uuid = uuid_example # String | 

try: 
    # Deletes announcement
    api_response = api_instance.delete(uuid)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling NotificationPollingAnnouncementAPIApi->delete: %s\n" % e)

Parameters

Path parameters
Name Description
uuid*
String
Required

Responses

Status: 200 - OK


getByUuid

Gets the announcement with provided uuid


/polling/announcement/by-uuid/{uuid}

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"/gw/notification-polling-server/polling/announcement/by-uuid/{uuid}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.NotificationPollingAnnouncementAPIApi;

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

public class NotificationPollingAnnouncementAPIApiExample {

    public static void main(String[] args) {
        
        NotificationPollingAnnouncementAPIApi apiInstance = new NotificationPollingAnnouncementAPIApi();
        String uuid = uuid_example; // String | 
        try {
            HvlResponseHvlNotificationPollingAnnouncementModel result = apiInstance.getByUuid(uuid);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling NotificationPollingAnnouncementAPIApi#getByUuid");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.NotificationPollingAnnouncementAPIApi;

public class NotificationPollingAnnouncementAPIApiExample {

    public static void main(String[] args) {
        NotificationPollingAnnouncementAPIApi apiInstance = new NotificationPollingAnnouncementAPIApi();
        String uuid = uuid_example; // String | 
        try {
            HvlResponseHvlNotificationPollingAnnouncementModel result = apiInstance.getByUuid(uuid);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling NotificationPollingAnnouncementAPIApi#getByUuid");
            e.printStackTrace();
        }
    }
}
String *uuid = uuid_example; // 

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

// Gets the announcement with provided uuid
[apiInstance getByUuidWith:uuid
              completionHandler: ^(HvlResponseHvlNotificationPollingAnnouncementModel output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var HvlNotificationPollingServer = require('hvl_notification_polling_server');

var api = new HvlNotificationPollingServer.NotificationPollingAnnouncementAPIApi()
var uuid = uuid_example; // {{String}} 

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

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

            var apiInstance = new NotificationPollingAnnouncementAPIApi();
            var uuid = uuid_example;  // String | 

            try
            {
                // Gets the announcement with provided uuid
                HvlResponseHvlNotificationPollingAnnouncementModel result = apiInstance.getByUuid(uuid);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling NotificationPollingAnnouncementAPIApi.getByUuid: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiNotificationPollingAnnouncementAPIApi();
$uuid = uuid_example; // String | 

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

my $api_instance = WWW::SwaggerClient::NotificationPollingAnnouncementAPIApi->new();
my $uuid = uuid_example; # String | 

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

# create an instance of the API class
api_instance = swagger_client.NotificationPollingAnnouncementAPIApi()
uuid = uuid_example # String | 

try: 
    # Gets the announcement with provided uuid
    api_response = api_instance.get_by_uuid(uuid)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling NotificationPollingAnnouncementAPIApi->getByUuid: %s\n" % e)

Parameters

Path parameters
Name Description
uuid*
String
Required

Responses

Status: 200 - OK


queryList1

Gets announcements as list


/polling/announcement/list

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"/gw/notification-polling-server/polling/announcement/list"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.NotificationPollingAnnouncementAPIApi;

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

public class NotificationPollingAnnouncementAPIApiExample {

    public static void main(String[] args) {
        
        NotificationPollingAnnouncementAPIApi apiInstance = new NotificationPollingAnnouncementAPIApi();
        HvlNotificationPollingAnnouncementQueryModel body = ; // HvlNotificationPollingAnnouncementQueryModel | 
        try {
            HvlResponseListHvlNotificationPollingAnnouncementModel result = apiInstance.queryList1(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling NotificationPollingAnnouncementAPIApi#queryList1");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.NotificationPollingAnnouncementAPIApi;

public class NotificationPollingAnnouncementAPIApiExample {

    public static void main(String[] args) {
        NotificationPollingAnnouncementAPIApi apiInstance = new NotificationPollingAnnouncementAPIApi();
        HvlNotificationPollingAnnouncementQueryModel body = ; // HvlNotificationPollingAnnouncementQueryModel | 
        try {
            HvlResponseListHvlNotificationPollingAnnouncementModel result = apiInstance.queryList1(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling NotificationPollingAnnouncementAPIApi#queryList1");
            e.printStackTrace();
        }
    }
}
HvlNotificationPollingAnnouncementQueryModel *body = ; // 

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

// Gets announcements as list
[apiInstance queryList1With:body
              completionHandler: ^(HvlResponseListHvlNotificationPollingAnnouncementModel output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var HvlNotificationPollingServer = require('hvl_notification_polling_server');

var api = new HvlNotificationPollingServer.NotificationPollingAnnouncementAPIApi()
var body = ; // {{HvlNotificationPollingAnnouncementQueryModel}} 

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

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

            var apiInstance = new NotificationPollingAnnouncementAPIApi();
            var body = new HvlNotificationPollingAnnouncementQueryModel(); // HvlNotificationPollingAnnouncementQueryModel | 

            try
            {
                // Gets announcements as list
                HvlResponseListHvlNotificationPollingAnnouncementModel result = apiInstance.queryList1(body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling NotificationPollingAnnouncementAPIApi.queryList1: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiNotificationPollingAnnouncementAPIApi();
$body = ; // HvlNotificationPollingAnnouncementQueryModel | 

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

my $api_instance = WWW::SwaggerClient::NotificationPollingAnnouncementAPIApi->new();
my $body = WWW::SwaggerClient::Object::HvlNotificationPollingAnnouncementQueryModel->new(); # HvlNotificationPollingAnnouncementQueryModel | 

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

# create an instance of the API class
api_instance = swagger_client.NotificationPollingAnnouncementAPIApi()
body =  # HvlNotificationPollingAnnouncementQueryModel | 

try: 
    # Gets announcements as list
    api_response = api_instance.query_list1(body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling NotificationPollingAnnouncementAPIApi->queryList1: %s\n" % e)

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - OK


queryPage2

Gets announcements as page


/polling/announcement/page

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"/gw/notification-polling-server/polling/announcement/page"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.NotificationPollingAnnouncementAPIApi;

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

public class NotificationPollingAnnouncementAPIApiExample {

    public static void main(String[] args) {
        
        NotificationPollingAnnouncementAPIApi apiInstance = new NotificationPollingAnnouncementAPIApi();
        HvlNotificationPollingAnnouncementQueryModel body = ; // HvlNotificationPollingAnnouncementQueryModel | 
        try {
            HvlResponseHvlPageHvlNotificationPollingAnnouncementModel result = apiInstance.queryPage2(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling NotificationPollingAnnouncementAPIApi#queryPage2");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.NotificationPollingAnnouncementAPIApi;

public class NotificationPollingAnnouncementAPIApiExample {

    public static void main(String[] args) {
        NotificationPollingAnnouncementAPIApi apiInstance = new NotificationPollingAnnouncementAPIApi();
        HvlNotificationPollingAnnouncementQueryModel body = ; // HvlNotificationPollingAnnouncementQueryModel | 
        try {
            HvlResponseHvlPageHvlNotificationPollingAnnouncementModel result = apiInstance.queryPage2(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling NotificationPollingAnnouncementAPIApi#queryPage2");
            e.printStackTrace();
        }
    }
}
HvlNotificationPollingAnnouncementQueryModel *body = ; // 

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

// Gets announcements as page
[apiInstance queryPage2With:body
              completionHandler: ^(HvlResponseHvlPageHvlNotificationPollingAnnouncementModel output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var HvlNotificationPollingServer = require('hvl_notification_polling_server');

var api = new HvlNotificationPollingServer.NotificationPollingAnnouncementAPIApi()
var body = ; // {{HvlNotificationPollingAnnouncementQueryModel}} 

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

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

            var apiInstance = new NotificationPollingAnnouncementAPIApi();
            var body = new HvlNotificationPollingAnnouncementQueryModel(); // HvlNotificationPollingAnnouncementQueryModel | 

            try
            {
                // Gets announcements as page
                HvlResponseHvlPageHvlNotificationPollingAnnouncementModel result = apiInstance.queryPage2(body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling NotificationPollingAnnouncementAPIApi.queryPage2: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiNotificationPollingAnnouncementAPIApi();
$body = ; // HvlNotificationPollingAnnouncementQueryModel | 

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

my $api_instance = WWW::SwaggerClient::NotificationPollingAnnouncementAPIApi->new();
my $body = WWW::SwaggerClient::Object::HvlNotificationPollingAnnouncementQueryModel->new(); # HvlNotificationPollingAnnouncementQueryModel | 

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

# create an instance of the API class
api_instance = swagger_client.NotificationPollingAnnouncementAPIApi()
body =  # HvlNotificationPollingAnnouncementQueryModel | 

try: 
    # Gets announcements as page
    api_response = api_instance.query_page2(body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling NotificationPollingAnnouncementAPIApi->queryPage2: %s\n" % e)

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - OK


save

Saves announcement.


/polling/announcement/save

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"/gw/notification-polling-server/polling/announcement/save"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.NotificationPollingAnnouncementAPIApi;

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

public class NotificationPollingAnnouncementAPIApiExample {

    public static void main(String[] args) {
        
        NotificationPollingAnnouncementAPIApi apiInstance = new NotificationPollingAnnouncementAPIApi();
        HvlNotificationPollingAnnouncementModel body = ; // HvlNotificationPollingAnnouncementModel | 
        try {
            HvlResponseHvlNotificationPollingAnnouncementModel result = apiInstance.save(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling NotificationPollingAnnouncementAPIApi#save");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.NotificationPollingAnnouncementAPIApi;

public class NotificationPollingAnnouncementAPIApiExample {

    public static void main(String[] args) {
        NotificationPollingAnnouncementAPIApi apiInstance = new NotificationPollingAnnouncementAPIApi();
        HvlNotificationPollingAnnouncementModel body = ; // HvlNotificationPollingAnnouncementModel | 
        try {
            HvlResponseHvlNotificationPollingAnnouncementModel result = apiInstance.save(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling NotificationPollingAnnouncementAPIApi#save");
            e.printStackTrace();
        }
    }
}
HvlNotificationPollingAnnouncementModel *body = ; // 

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

// Saves announcement.
[apiInstance saveWith:body
              completionHandler: ^(HvlResponseHvlNotificationPollingAnnouncementModel output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var HvlNotificationPollingServer = require('hvl_notification_polling_server');

var api = new HvlNotificationPollingServer.NotificationPollingAnnouncementAPIApi()
var body = ; // {{HvlNotificationPollingAnnouncementModel}} 

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

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

            var apiInstance = new NotificationPollingAnnouncementAPIApi();
            var body = new HvlNotificationPollingAnnouncementModel(); // HvlNotificationPollingAnnouncementModel | 

            try
            {
                // Saves announcement.
                HvlResponseHvlNotificationPollingAnnouncementModel result = apiInstance.save(body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling NotificationPollingAnnouncementAPIApi.save: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiNotificationPollingAnnouncementAPIApi();
$body = ; // HvlNotificationPollingAnnouncementModel | 

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

my $api_instance = WWW::SwaggerClient::NotificationPollingAnnouncementAPIApi->new();
my $body = WWW::SwaggerClient::Object::HvlNotificationPollingAnnouncementModel->new(); # HvlNotificationPollingAnnouncementModel | 

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

# create an instance of the API class
api_instance = swagger_client.NotificationPollingAnnouncementAPIApi()
body =  # HvlNotificationPollingAnnouncementModel | 

try: 
    # Saves announcement.
    api_response = api_instance.save(body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling NotificationPollingAnnouncementAPIApi->save: %s\n" % e)

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - OK


update

Updates announcement


/polling/announcement/update

Usage and SDK Samples

curl -X PUT\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"/gw/notification-polling-server/polling/announcement/update"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.NotificationPollingAnnouncementAPIApi;

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

public class NotificationPollingAnnouncementAPIApiExample {

    public static void main(String[] args) {
        
        NotificationPollingAnnouncementAPIApi apiInstance = new NotificationPollingAnnouncementAPIApi();
        HvlNotificationPollingAnnouncementModel body = ; // HvlNotificationPollingAnnouncementModel | 
        try {
            HvlResponseHvlNotificationPollingAnnouncementModel result = apiInstance.update(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling NotificationPollingAnnouncementAPIApi#update");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.NotificationPollingAnnouncementAPIApi;

public class NotificationPollingAnnouncementAPIApiExample {

    public static void main(String[] args) {
        NotificationPollingAnnouncementAPIApi apiInstance = new NotificationPollingAnnouncementAPIApi();
        HvlNotificationPollingAnnouncementModel body = ; // HvlNotificationPollingAnnouncementModel | 
        try {
            HvlResponseHvlNotificationPollingAnnouncementModel result = apiInstance.update(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling NotificationPollingAnnouncementAPIApi#update");
            e.printStackTrace();
        }
    }
}
HvlNotificationPollingAnnouncementModel *body = ; // 

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

// Updates announcement
[apiInstance updateWith:body
              completionHandler: ^(HvlResponseHvlNotificationPollingAnnouncementModel output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var HvlNotificationPollingServer = require('hvl_notification_polling_server');

var api = new HvlNotificationPollingServer.NotificationPollingAnnouncementAPIApi()
var body = ; // {{HvlNotificationPollingAnnouncementModel}} 

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

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

            var apiInstance = new NotificationPollingAnnouncementAPIApi();
            var body = new HvlNotificationPollingAnnouncementModel(); // HvlNotificationPollingAnnouncementModel | 

            try
            {
                // Updates announcement
                HvlResponseHvlNotificationPollingAnnouncementModel result = apiInstance.update(body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling NotificationPollingAnnouncementAPIApi.update: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiNotificationPollingAnnouncementAPIApi();
$body = ; // HvlNotificationPollingAnnouncementModel | 

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

my $api_instance = WWW::SwaggerClient::NotificationPollingAnnouncementAPIApi->new();
my $body = WWW::SwaggerClient::Object::HvlNotificationPollingAnnouncementModel->new(); # HvlNotificationPollingAnnouncementModel | 

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

# create an instance of the API class
api_instance = swagger_client.NotificationPollingAnnouncementAPIApi()
body =  # HvlNotificationPollingAnnouncementModel | 

try: 
    # Updates announcement
    api_response = api_instance.update(body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling NotificationPollingAnnouncementAPIApi->update: %s\n" % e)

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - OK


NotificationPollingUserAPI

deleteByUuidSet

Deletes notification with provided uuid set


/polling/user/delete/by-uuids/

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"/gw/notification-polling-server/polling/user/delete/by-uuids/"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.NotificationPollingUserAPIApi;

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

public class NotificationPollingUserAPIApiExample {

    public static void main(String[] args) {
        
        NotificationPollingUserAPIApi apiInstance = new NotificationPollingUserAPIApi();
        HvlNotificationPollingUuidSetModel body = ; // HvlNotificationPollingUuidSetModel | 
        try {
            HvlResponseVoid result = apiInstance.deleteByUuidSet(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling NotificationPollingUserAPIApi#deleteByUuidSet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.NotificationPollingUserAPIApi;

public class NotificationPollingUserAPIApiExample {

    public static void main(String[] args) {
        NotificationPollingUserAPIApi apiInstance = new NotificationPollingUserAPIApi();
        HvlNotificationPollingUuidSetModel body = ; // HvlNotificationPollingUuidSetModel | 
        try {
            HvlResponseVoid result = apiInstance.deleteByUuidSet(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling NotificationPollingUserAPIApi#deleteByUuidSet");
            e.printStackTrace();
        }
    }
}
HvlNotificationPollingUuidSetModel *body = ; // 

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

// Deletes notification with provided uuid set
[apiInstance deleteByUuidSetWith:body
              completionHandler: ^(HvlResponseVoid output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var HvlNotificationPollingServer = require('hvl_notification_polling_server');

var api = new HvlNotificationPollingServer.NotificationPollingUserAPIApi()
var body = ; // {{HvlNotificationPollingUuidSetModel}} 

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

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

            var apiInstance = new NotificationPollingUserAPIApi();
            var body = new HvlNotificationPollingUuidSetModel(); // HvlNotificationPollingUuidSetModel | 

            try
            {
                // Deletes notification with provided uuid set
                HvlResponseVoid result = apiInstance.deleteByUuidSet(body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling NotificationPollingUserAPIApi.deleteByUuidSet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiNotificationPollingUserAPIApi();
$body = ; // HvlNotificationPollingUuidSetModel | 

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

my $api_instance = WWW::SwaggerClient::NotificationPollingUserAPIApi->new();
my $body = WWW::SwaggerClient::Object::HvlNotificationPollingUuidSetModel->new(); # HvlNotificationPollingUuidSetModel | 

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

# create an instance of the API class
api_instance = swagger_client.NotificationPollingUserAPIApi()
body =  # HvlNotificationPollingUuidSetModel | 

try: 
    # Deletes notification with provided uuid set
    api_response = api_instance.delete_by_uuid_set(body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling NotificationPollingUserAPIApi->deleteByUuidSet: %s\n" % e)

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - OK


deleteByUuidSet1

Deletes notification by admin with provided uuid set


/polling/user/admin/delete/by-uuids/

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"/gw/notification-polling-server/polling/user/admin/delete/by-uuids/"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.NotificationPollingUserAPIApi;

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

public class NotificationPollingUserAPIApiExample {

    public static void main(String[] args) {
        
        NotificationPollingUserAPIApi apiInstance = new NotificationPollingUserAPIApi();
        HvlNotificationPollingUuidSetModel body = ; // HvlNotificationPollingUuidSetModel | 
        try {
            HvlResponseVoid result = apiInstance.deleteByUuidSet1(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling NotificationPollingUserAPIApi#deleteByUuidSet1");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.NotificationPollingUserAPIApi;

public class NotificationPollingUserAPIApiExample {

    public static void main(String[] args) {
        NotificationPollingUserAPIApi apiInstance = new NotificationPollingUserAPIApi();
        HvlNotificationPollingUuidSetModel body = ; // HvlNotificationPollingUuidSetModel | 
        try {
            HvlResponseVoid result = apiInstance.deleteByUuidSet1(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling NotificationPollingUserAPIApi#deleteByUuidSet1");
            e.printStackTrace();
        }
    }
}
HvlNotificationPollingUuidSetModel *body = ; // 

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

// Deletes notification by admin with provided uuid set
[apiInstance deleteByUuidSet1With:body
              completionHandler: ^(HvlResponseVoid output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var HvlNotificationPollingServer = require('hvl_notification_polling_server');

var api = new HvlNotificationPollingServer.NotificationPollingUserAPIApi()
var body = ; // {{HvlNotificationPollingUuidSetModel}} 

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

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

            var apiInstance = new NotificationPollingUserAPIApi();
            var body = new HvlNotificationPollingUuidSetModel(); // HvlNotificationPollingUuidSetModel | 

            try
            {
                // Deletes notification by admin with provided uuid set
                HvlResponseVoid result = apiInstance.deleteByUuidSet1(body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling NotificationPollingUserAPIApi.deleteByUuidSet1: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiNotificationPollingUserAPIApi();
$body = ; // HvlNotificationPollingUuidSetModel | 

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

my $api_instance = WWW::SwaggerClient::NotificationPollingUserAPIApi->new();
my $body = WWW::SwaggerClient::Object::HvlNotificationPollingUuidSetModel->new(); # HvlNotificationPollingUuidSetModel | 

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

# create an instance of the API class
api_instance = swagger_client.NotificationPollingUserAPIApi()
body =  # HvlNotificationPollingUuidSetModel | 

try: 
    # Deletes notification by admin with provided uuid set
    api_response = api_instance.delete_by_uuid_set1(body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling NotificationPollingUserAPIApi->deleteByUuidSet1: %s\n" % e)

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - OK


getUnreadNotificationCountByUser

Gets unread notification count


/polling/user/unread/by-user/

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"/gw/notification-polling-server/polling/user/unread/by-user/"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.NotificationPollingUserAPIApi;

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

public class NotificationPollingUserAPIApiExample {

    public static void main(String[] args) {
        
        NotificationPollingUserAPIApi apiInstance = new NotificationPollingUserAPIApi();
        try {
            HvlResponseLong result = apiInstance.getUnreadNotificationCountByUser();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling NotificationPollingUserAPIApi#getUnreadNotificationCountByUser");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.NotificationPollingUserAPIApi;

public class NotificationPollingUserAPIApiExample {

    public static void main(String[] args) {
        NotificationPollingUserAPIApi apiInstance = new NotificationPollingUserAPIApi();
        try {
            HvlResponseLong result = apiInstance.getUnreadNotificationCountByUser();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling NotificationPollingUserAPIApi#getUnreadNotificationCountByUser");
            e.printStackTrace();
        }
    }
}

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

// Gets unread notification count
[apiInstance getUnreadNotificationCountByUserWithCompletionHandler: 
              ^(HvlResponseLong output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var HvlNotificationPollingServer = require('hvl_notification_polling_server');

var api = new HvlNotificationPollingServer.NotificationPollingUserAPIApi()
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getUnreadNotificationCountByUser(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new NotificationPollingUserAPIApi();

            try
            {
                // Gets unread notification count
                HvlResponseLong result = apiInstance.getUnreadNotificationCountByUser();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling NotificationPollingUserAPIApi.getUnreadNotificationCountByUser: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiNotificationPollingUserAPIApi();

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

my $api_instance = WWW::SwaggerClient::NotificationPollingUserAPIApi->new();

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

# create an instance of the API class
api_instance = swagger_client.NotificationPollingUserAPIApi()

try: 
    # Gets unread notification count
    api_response = api_instance.get_unread_notification_count_by_user()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling NotificationPollingUserAPIApi->getUnreadNotificationCountByUser: %s\n" % e)

Parameters

Responses

Status: 200 - OK


getUnreadNotificationSubCountByUser

Gets unread notification count sub model according to user by type


/polling/user/unread/sub-count/by-user/

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"/gw/notification-polling-server/polling/user/unread/sub-count/by-user/"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.NotificationPollingUserAPIApi;

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

public class NotificationPollingUserAPIApiExample {

    public static void main(String[] args) {
        
        NotificationPollingUserAPIApi apiInstance = new NotificationPollingUserAPIApi();
        try {
            HvlResponseHvlNotificationSubCountModel result = apiInstance.getUnreadNotificationSubCountByUser();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling NotificationPollingUserAPIApi#getUnreadNotificationSubCountByUser");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.NotificationPollingUserAPIApi;

public class NotificationPollingUserAPIApiExample {

    public static void main(String[] args) {
        NotificationPollingUserAPIApi apiInstance = new NotificationPollingUserAPIApi();
        try {
            HvlResponseHvlNotificationSubCountModel result = apiInstance.getUnreadNotificationSubCountByUser();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling NotificationPollingUserAPIApi#getUnreadNotificationSubCountByUser");
            e.printStackTrace();
        }
    }
}

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

// Gets unread notification count sub model according to user by type
[apiInstance getUnreadNotificationSubCountByUserWithCompletionHandler: 
              ^(HvlResponseHvlNotificationSubCountModel output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var HvlNotificationPollingServer = require('hvl_notification_polling_server');

var api = new HvlNotificationPollingServer.NotificationPollingUserAPIApi()
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getUnreadNotificationSubCountByUser(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new NotificationPollingUserAPIApi();

            try
            {
                // Gets unread notification count sub model according to user by type
                HvlResponseHvlNotificationSubCountModel result = apiInstance.getUnreadNotificationSubCountByUser();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling NotificationPollingUserAPIApi.getUnreadNotificationSubCountByUser: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiNotificationPollingUserAPIApi();

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

my $api_instance = WWW::SwaggerClient::NotificationPollingUserAPIApi->new();

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

# create an instance of the API class
api_instance = swagger_client.NotificationPollingUserAPIApi()

try: 
    # Gets unread notification count sub model according to user by type
    api_response = api_instance.get_unread_notification_sub_count_by_user()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling NotificationPollingUserAPIApi->getUnreadNotificationSubCountByUser: %s\n" % e)

Parameters

Responses

Status: 200 - OK


getUnreadNotificationSubCountByUser1

Gets unread notification count sub model according to user by notification type


/polling/user/admin/unread/sub-count/by-user/{user}

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"/gw/notification-polling-server/polling/user/admin/unread/sub-count/by-user/{user}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.NotificationPollingUserAPIApi;

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

public class NotificationPollingUserAPIApiExample {

    public static void main(String[] args) {
        
        NotificationPollingUserAPIApi apiInstance = new NotificationPollingUserAPIApi();
        String user = user_example; // String | 
        try {
            HvlResponseHvlNotificationSubCountModel result = apiInstance.getUnreadNotificationSubCountByUser1(user);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling NotificationPollingUserAPIApi#getUnreadNotificationSubCountByUser1");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.NotificationPollingUserAPIApi;

public class NotificationPollingUserAPIApiExample {

    public static void main(String[] args) {
        NotificationPollingUserAPIApi apiInstance = new NotificationPollingUserAPIApi();
        String user = user_example; // String | 
        try {
            HvlResponseHvlNotificationSubCountModel result = apiInstance.getUnreadNotificationSubCountByUser1(user);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling NotificationPollingUserAPIApi#getUnreadNotificationSubCountByUser1");
            e.printStackTrace();
        }
    }
}
String *user = user_example; // 

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

// Gets unread notification count sub model according to user by notification type
[apiInstance getUnreadNotificationSubCountByUser1With:user
              completionHandler: ^(HvlResponseHvlNotificationSubCountModel output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var HvlNotificationPollingServer = require('hvl_notification_polling_server');

var api = new HvlNotificationPollingServer.NotificationPollingUserAPIApi()
var user = user_example; // {{String}} 

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

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

            var apiInstance = new NotificationPollingUserAPIApi();
            var user = user_example;  // String | 

            try
            {
                // Gets unread notification count sub model according to user by notification type
                HvlResponseHvlNotificationSubCountModel result = apiInstance.getUnreadNotificationSubCountByUser1(user);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling NotificationPollingUserAPIApi.getUnreadNotificationSubCountByUser1: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiNotificationPollingUserAPIApi();
$user = user_example; // String | 

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

my $api_instance = WWW::SwaggerClient::NotificationPollingUserAPIApi->new();
my $user = user_example; # String | 

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

# create an instance of the API class
api_instance = swagger_client.NotificationPollingUserAPIApi()
user = user_example # String | 

try: 
    # Gets unread notification count sub model according to user by notification type
    api_response = api_instance.get_unread_notification_sub_count_by_user1(user)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling NotificationPollingUserAPIApi->getUnreadNotificationSubCountByUser1: %s\n" % e)

Parameters

Path parameters
Name Description
user*
String
Required

Responses

Status: 200 - OK


markAllReadByUser

Marks read all notifications


/polling/user/mark-all-read/by-user/

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"/gw/notification-polling-server/polling/user/mark-all-read/by-user/"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.NotificationPollingUserAPIApi;

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

public class NotificationPollingUserAPIApiExample {

    public static void main(String[] args) {
        
        NotificationPollingUserAPIApi apiInstance = new NotificationPollingUserAPIApi();
        try {
            HvlResponseVoid result = apiInstance.markAllReadByUser();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling NotificationPollingUserAPIApi#markAllReadByUser");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.NotificationPollingUserAPIApi;

public class NotificationPollingUserAPIApiExample {

    public static void main(String[] args) {
        NotificationPollingUserAPIApi apiInstance = new NotificationPollingUserAPIApi();
        try {
            HvlResponseVoid result = apiInstance.markAllReadByUser();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling NotificationPollingUserAPIApi#markAllReadByUser");
            e.printStackTrace();
        }
    }
}

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

// Marks read all notifications
[apiInstance markAllReadByUserWithCompletionHandler: 
              ^(HvlResponseVoid output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var HvlNotificationPollingServer = require('hvl_notification_polling_server');

var api = new HvlNotificationPollingServer.NotificationPollingUserAPIApi()
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.markAllReadByUser(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new NotificationPollingUserAPIApi();

            try
            {
                // Marks read all notifications
                HvlResponseVoid result = apiInstance.markAllReadByUser();
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling NotificationPollingUserAPIApi.markAllReadByUser: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiNotificationPollingUserAPIApi();

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

my $api_instance = WWW::SwaggerClient::NotificationPollingUserAPIApi->new();

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

# create an instance of the API class
api_instance = swagger_client.NotificationPollingUserAPIApi()

try: 
    # Marks read all notifications
    api_response = api_instance.mark_all_read_by_user()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling NotificationPollingUserAPIApi->markAllReadByUser: %s\n" % e)

Parameters

Responses

Status: 200 - OK


markReadByUuidSet

Mark read notification with provided uuid set


/polling/user/mark-read/by-uuids/

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"/gw/notification-polling-server/polling/user/mark-read/by-uuids/"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.NotificationPollingUserAPIApi;

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

public class NotificationPollingUserAPIApiExample {

    public static void main(String[] args) {
        
        NotificationPollingUserAPIApi apiInstance = new NotificationPollingUserAPIApi();
        HvlNotificationPollingUuidSetModel body = ; // HvlNotificationPollingUuidSetModel | 
        try {
            HvlResponseVoid result = apiInstance.markReadByUuidSet(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling NotificationPollingUserAPIApi#markReadByUuidSet");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.NotificationPollingUserAPIApi;

public class NotificationPollingUserAPIApiExample {

    public static void main(String[] args) {
        NotificationPollingUserAPIApi apiInstance = new NotificationPollingUserAPIApi();
        HvlNotificationPollingUuidSetModel body = ; // HvlNotificationPollingUuidSetModel | 
        try {
            HvlResponseVoid result = apiInstance.markReadByUuidSet(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling NotificationPollingUserAPIApi#markReadByUuidSet");
            e.printStackTrace();
        }
    }
}
HvlNotificationPollingUuidSetModel *body = ; // 

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

// Mark read notification with provided uuid set
[apiInstance markReadByUuidSetWith:body
              completionHandler: ^(HvlResponseVoid output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var HvlNotificationPollingServer = require('hvl_notification_polling_server');

var api = new HvlNotificationPollingServer.NotificationPollingUserAPIApi()
var body = ; // {{HvlNotificationPollingUuidSetModel}} 

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

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

            var apiInstance = new NotificationPollingUserAPIApi();
            var body = new HvlNotificationPollingUuidSetModel(); // HvlNotificationPollingUuidSetModel | 

            try
            {
                // Mark read notification with provided uuid set
                HvlResponseVoid result = apiInstance.markReadByUuidSet(body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling NotificationPollingUserAPIApi.markReadByUuidSet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiNotificationPollingUserAPIApi();
$body = ; // HvlNotificationPollingUuidSetModel | 

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

my $api_instance = WWW::SwaggerClient::NotificationPollingUserAPIApi->new();
my $body = WWW::SwaggerClient::Object::HvlNotificationPollingUuidSetModel->new(); # HvlNotificationPollingUuidSetModel | 

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

# create an instance of the API class
api_instance = swagger_client.NotificationPollingUserAPIApi()
body =  # HvlNotificationPollingUuidSetModel | 

try: 
    # Mark read notification with provided uuid set
    api_response = api_instance.mark_read_by_uuid_set(body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling NotificationPollingUserAPIApi->markReadByUuidSet: %s\n" % e)

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - OK


markReadNotificationByUuid

Marks read notification


/polling/user/mark-read/by-uuid/{uuid}

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"/gw/notification-polling-server/polling/user/mark-read/by-uuid/{uuid}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.NotificationPollingUserAPIApi;

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

public class NotificationPollingUserAPIApiExample {

    public static void main(String[] args) {
        
        NotificationPollingUserAPIApi apiInstance = new NotificationPollingUserAPIApi();
        String uuid = uuid_example; // String | 
        try {
            HvlResponseVoid result = apiInstance.markReadNotificationByUuid(uuid);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling NotificationPollingUserAPIApi#markReadNotificationByUuid");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.NotificationPollingUserAPIApi;

public class NotificationPollingUserAPIApiExample {

    public static void main(String[] args) {
        NotificationPollingUserAPIApi apiInstance = new NotificationPollingUserAPIApi();
        String uuid = uuid_example; // String | 
        try {
            HvlResponseVoid result = apiInstance.markReadNotificationByUuid(uuid);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling NotificationPollingUserAPIApi#markReadNotificationByUuid");
            e.printStackTrace();
        }
    }
}
String *uuid = uuid_example; // 

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

// Marks read notification
[apiInstance markReadNotificationByUuidWith:uuid
              completionHandler: ^(HvlResponseVoid output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var HvlNotificationPollingServer = require('hvl_notification_polling_server');

var api = new HvlNotificationPollingServer.NotificationPollingUserAPIApi()
var uuid = uuid_example; // {{String}} 

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

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

            var apiInstance = new NotificationPollingUserAPIApi();
            var uuid = uuid_example;  // String | 

            try
            {
                // Marks read notification
                HvlResponseVoid result = apiInstance.markReadNotificationByUuid(uuid);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling NotificationPollingUserAPIApi.markReadNotificationByUuid: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiNotificationPollingUserAPIApi();
$uuid = uuid_example; // String | 

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

my $api_instance = WWW::SwaggerClient::NotificationPollingUserAPIApi->new();
my $uuid = uuid_example; # String | 

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

# create an instance of the API class
api_instance = swagger_client.NotificationPollingUserAPIApi()
uuid = uuid_example # String | 

try: 
    # Marks read notification
    api_response = api_instance.mark_read_notification_by_uuid(uuid)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling NotificationPollingUserAPIApi->markReadNotificationByUuid: %s\n" % e)

Parameters

Path parameters
Name Description
uuid*
String
Required

Responses

Status: 200 - OK


queryList

Gets notification as list


/polling/user/list

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"/gw/notification-polling-server/polling/user/list"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.NotificationPollingUserAPIApi;

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

public class NotificationPollingUserAPIApiExample {

    public static void main(String[] args) {
        
        NotificationPollingUserAPIApi apiInstance = new NotificationPollingUserAPIApi();
        HvlNotificationPollingUserQueryModel body = ; // HvlNotificationPollingUserQueryModel | 
        try {
            HvlResponseListHvlNotificationPollingUserModel result = apiInstance.queryList(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling NotificationPollingUserAPIApi#queryList");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.NotificationPollingUserAPIApi;

public class NotificationPollingUserAPIApiExample {

    public static void main(String[] args) {
        NotificationPollingUserAPIApi apiInstance = new NotificationPollingUserAPIApi();
        HvlNotificationPollingUserQueryModel body = ; // HvlNotificationPollingUserQueryModel | 
        try {
            HvlResponseListHvlNotificationPollingUserModel result = apiInstance.queryList(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling NotificationPollingUserAPIApi#queryList");
            e.printStackTrace();
        }
    }
}
HvlNotificationPollingUserQueryModel *body = ; // 

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

// Gets notification as list
[apiInstance queryListWith:body
              completionHandler: ^(HvlResponseListHvlNotificationPollingUserModel output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var HvlNotificationPollingServer = require('hvl_notification_polling_server');

var api = new HvlNotificationPollingServer.NotificationPollingUserAPIApi()
var body = ; // {{HvlNotificationPollingUserQueryModel}} 

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

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

            var apiInstance = new NotificationPollingUserAPIApi();
            var body = new HvlNotificationPollingUserQueryModel(); // HvlNotificationPollingUserQueryModel | 

            try
            {
                // Gets notification as list
                HvlResponseListHvlNotificationPollingUserModel result = apiInstance.queryList(body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling NotificationPollingUserAPIApi.queryList: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiNotificationPollingUserAPIApi();
$body = ; // HvlNotificationPollingUserQueryModel | 

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

my $api_instance = WWW::SwaggerClient::NotificationPollingUserAPIApi->new();
my $body = WWW::SwaggerClient::Object::HvlNotificationPollingUserQueryModel->new(); # HvlNotificationPollingUserQueryModel | 

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

# create an instance of the API class
api_instance = swagger_client.NotificationPollingUserAPIApi()
body =  # HvlNotificationPollingUserQueryModel | 

try: 
    # Gets notification as list
    api_response = api_instance.query_list(body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling NotificationPollingUserAPIApi->queryList: %s\n" % e)

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - OK


queryPage

Gets notification as page


/polling/user/page

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"/gw/notification-polling-server/polling/user/page"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.NotificationPollingUserAPIApi;

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

public class NotificationPollingUserAPIApiExample {

    public static void main(String[] args) {
        
        NotificationPollingUserAPIApi apiInstance = new NotificationPollingUserAPIApi();
        HvlNotificationPollingUserQueryModel body = ; // HvlNotificationPollingUserQueryModel | 
        try {
            HvlResponseHvlPageHvlNotificationPollingUserModel result = apiInstance.queryPage(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling NotificationPollingUserAPIApi#queryPage");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.NotificationPollingUserAPIApi;

public class NotificationPollingUserAPIApiExample {

    public static void main(String[] args) {
        NotificationPollingUserAPIApi apiInstance = new NotificationPollingUserAPIApi();
        HvlNotificationPollingUserQueryModel body = ; // HvlNotificationPollingUserQueryModel | 
        try {
            HvlResponseHvlPageHvlNotificationPollingUserModel result = apiInstance.queryPage(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling NotificationPollingUserAPIApi#queryPage");
            e.printStackTrace();
        }
    }
}
HvlNotificationPollingUserQueryModel *body = ; // 

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

// Gets notification as page
[apiInstance queryPageWith:body
              completionHandler: ^(HvlResponseHvlPageHvlNotificationPollingUserModel output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var HvlNotificationPollingServer = require('hvl_notification_polling_server');

var api = new HvlNotificationPollingServer.NotificationPollingUserAPIApi()
var body = ; // {{HvlNotificationPollingUserQueryModel}} 

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

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

            var apiInstance = new NotificationPollingUserAPIApi();
            var body = new HvlNotificationPollingUserQueryModel(); // HvlNotificationPollingUserQueryModel | 

            try
            {
                // Gets notification as page
                HvlResponseHvlPageHvlNotificationPollingUserModel result = apiInstance.queryPage(body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling NotificationPollingUserAPIApi.queryPage: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiNotificationPollingUserAPIApi();
$body = ; // HvlNotificationPollingUserQueryModel | 

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

my $api_instance = WWW::SwaggerClient::NotificationPollingUserAPIApi->new();
my $body = WWW::SwaggerClient::Object::HvlNotificationPollingUserQueryModel->new(); # HvlNotificationPollingUserQueryModel | 

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

# create an instance of the API class
api_instance = swagger_client.NotificationPollingUserAPIApi()
body =  # HvlNotificationPollingUserQueryModel | 

try: 
    # Gets notification as page
    api_response = api_instance.query_page(body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling NotificationPollingUserAPIApi->queryPage: %s\n" % e)

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - OK


queryPage1

Gets notification as page by admin


/polling/user/admin/page

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"/gw/notification-polling-server/polling/user/admin/page"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.NotificationPollingUserAPIApi;

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

public class NotificationPollingUserAPIApiExample {

    public static void main(String[] args) {
        
        NotificationPollingUserAPIApi apiInstance = new NotificationPollingUserAPIApi();
        HvlNotificationPollingUserQueryModel body = ; // HvlNotificationPollingUserQueryModel | 
        try {
            HvlResponseHvlPageHvlNotificationPollingUserModel result = apiInstance.queryPage1(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling NotificationPollingUserAPIApi#queryPage1");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.NotificationPollingUserAPIApi;

public class NotificationPollingUserAPIApiExample {

    public static void main(String[] args) {
        NotificationPollingUserAPIApi apiInstance = new NotificationPollingUserAPIApi();
        HvlNotificationPollingUserQueryModel body = ; // HvlNotificationPollingUserQueryModel | 
        try {
            HvlResponseHvlPageHvlNotificationPollingUserModel result = apiInstance.queryPage1(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling NotificationPollingUserAPIApi#queryPage1");
            e.printStackTrace();
        }
    }
}
HvlNotificationPollingUserQueryModel *body = ; // 

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

// Gets notification as page by admin
[apiInstance queryPage1With:body
              completionHandler: ^(HvlResponseHvlPageHvlNotificationPollingUserModel output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var HvlNotificationPollingServer = require('hvl_notification_polling_server');

var api = new HvlNotificationPollingServer.NotificationPollingUserAPIApi()
var body = ; // {{HvlNotificationPollingUserQueryModel}} 

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

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

            var apiInstance = new NotificationPollingUserAPIApi();
            var body = new HvlNotificationPollingUserQueryModel(); // HvlNotificationPollingUserQueryModel | 

            try
            {
                // Gets notification as page by admin
                HvlResponseHvlPageHvlNotificationPollingUserModel result = apiInstance.queryPage1(body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling NotificationPollingUserAPIApi.queryPage1: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiNotificationPollingUserAPIApi();
$body = ; // HvlNotificationPollingUserQueryModel | 

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

my $api_instance = WWW::SwaggerClient::NotificationPollingUserAPIApi->new();
my $body = WWW::SwaggerClient::Object::HvlNotificationPollingUserQueryModel->new(); # HvlNotificationPollingUserQueryModel | 

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

# create an instance of the API class
api_instance = swagger_client.NotificationPollingUserAPIApi()
body =  # HvlNotificationPollingUserQueryModel | 

try: 
    # Gets notification as page by admin
    api_response = api_instance.query_page1(body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling NotificationPollingUserAPIApi->queryPage1: %s\n" % e)

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - OK


send

Sends user specific polling notification


/polling/user/send

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"/gw/notification-polling-server/polling/user/send"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.NotificationPollingUserAPIApi;

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

public class NotificationPollingUserAPIApiExample {

    public static void main(String[] args) {
        
        NotificationPollingUserAPIApi apiInstance = new NotificationPollingUserAPIApi();
        HvlNotificationPollingUserModel body = ; // HvlNotificationPollingUserModel | 
        try {
            HvlResponseHvlNotificationPollingUserModel result = apiInstance.send(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling NotificationPollingUserAPIApi#send");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.NotificationPollingUserAPIApi;

public class NotificationPollingUserAPIApiExample {

    public static void main(String[] args) {
        NotificationPollingUserAPIApi apiInstance = new NotificationPollingUserAPIApi();
        HvlNotificationPollingUserModel body = ; // HvlNotificationPollingUserModel | 
        try {
            HvlResponseHvlNotificationPollingUserModel result = apiInstance.send(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling NotificationPollingUserAPIApi#send");
            e.printStackTrace();
        }
    }
}
HvlNotificationPollingUserModel *body = ; // 

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

// Sends user specific polling notification
[apiInstance sendWith:body
              completionHandler: ^(HvlResponseHvlNotificationPollingUserModel output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var HvlNotificationPollingServer = require('hvl_notification_polling_server');

var api = new HvlNotificationPollingServer.NotificationPollingUserAPIApi()
var body = ; // {{HvlNotificationPollingUserModel}} 

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

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

            var apiInstance = new NotificationPollingUserAPIApi();
            var body = new HvlNotificationPollingUserModel(); // HvlNotificationPollingUserModel | 

            try
            {
                // Sends user specific polling notification
                HvlResponseHvlNotificationPollingUserModel result = apiInstance.send(body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling NotificationPollingUserAPIApi.send: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiNotificationPollingUserAPIApi();
$body = ; // HvlNotificationPollingUserModel | 

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

my $api_instance = WWW::SwaggerClient::NotificationPollingUserAPIApi->new();
my $body = WWW::SwaggerClient::Object::HvlNotificationPollingUserModel->new(); # HvlNotificationPollingUserModel | 

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

# create an instance of the API class
api_instance = swagger_client.NotificationPollingUserAPIApi()
body =  # HvlNotificationPollingUserModel | 

try: 
    # Sends user specific polling notification
    api_response = api_instance.send(body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling NotificationPollingUserAPIApi->send: %s\n" % e)

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - OK