curl -X GET \
-H "Accept: application/json,text/json,application/xml,text/xml" \
"https://api.dev.spenda.co/api/Notification/GetUnpreviewedCount?req.updateLastPreviewedDateTime=true&req.datTypes=&req.isGetUnreadOnly=true&req.isGetForAllApps=true&req.statuses=&req.statusStrings=&req.status=&req.searchString=reqPeriodsearchString_example&req.searchNameOnly=true&req.search=reqPeriodsearch_example&req.startDate=2013-10-20T19:20:30+01:00&req.endDate=2013-10-20T19:20:30+01:00&req.datePeriod=reqPerioddatePeriod_example&req.isExactMatch=true&req.isGetBasicInfo=true&req.includeDeleted=true&req.includeLogs=true&req.ignoreID=56&req.parentID=56&req.getCountOnly=true&req.transactionTypeDatTypeID=56&req.categoryID=56&req.adaptorID=56&req.categoryIDs=&req.brandIDs=&req.iDs=&req.gUIDs=&req.linkedSupplierID=56&req.isApprovedForPOS=true&req.isApprovedForWeb=true&req.isApprovedForService=true&req.iD=56&req.isHierarchicalSort=true&req.types=&req.isShowFavourites=true&req.isHidden=true&req.includeSystemTasks=true&req.isSystem=true&req.batchStatus=reqPeriodbatchStatus_example&req.sortField=reqPeriodsortField_example&req.sortAsc=true&req.groupBy=reqPeriodgroupBy_example&req.lastRowNumber=789&req.maxResults=56&req.tenantID=56&req.websiteID=56&req.userID=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 reqPeriodupdateLastPreviewedDateTime = true; // Boolean |
array[Integer] reqPerioddatTypes = ; // array[Integer] |
Boolean reqPeriodisGetUnreadOnly = true; // Boolean |
Boolean reqPeriodisGetForAllApps = true; // Boolean |
array[Integer] reqPeriodstatuses = ; // array[Integer] |
array[String] reqPeriodstatusStrings = ; // array[String] |
array[String] reqPeriodstatus = ; // array[String] |
String reqPeriodsearchString = reqPeriodsearchString_example; // String |
Boolean reqPeriodsearchNameOnly = true; // Boolean |
String reqPeriodsearch = reqPeriodsearch_example; // String |
Date reqPeriodstartDate = 2013-10-20T19:20:30+01:00; // Date | Format - date-time (as date-time in RFC3339).
Date reqPeriodendDate = 2013-10-20T19:20:30+01:00; // Date | Format - date-time (as date-time in RFC3339).
String reqPerioddatePeriod = reqPerioddatePeriod_example; // String |
Boolean reqPeriodisExactMatch = true; // Boolean |
Boolean reqPeriodisGetBasicInfo = true; // Boolean |
Boolean reqPeriodincludeDeleted = true; // Boolean |
Boolean reqPeriodincludeLogs = true; // Boolean |
Integer reqPeriodignoreID = 56; // Integer | Format - int32.
Integer reqPeriodparentID = 56; // Integer | Format - int32.
Boolean reqPeriodgetCountOnly = true; // Boolean |
Integer reqPeriodtransactionTypeDatTypeID = 56; // Integer | Format - int32.
Integer reqPeriodcategoryID = 56; // Integer | Format - int32.
Integer reqPeriodadaptorID = 56; // Integer | Format - int32.
array[Integer] reqPeriodcategoryIDs = ; // array[Integer] |
array[Integer] reqPeriodbrandIDs = ; // array[Integer] |
array[Integer] reqPeriodiDs = ; // array[Integer] |
array[String] reqPeriodgUIDs = ; // array[String] |
Integer reqPeriodlinkedSupplierID = 56; // Integer | Format - int32.
Boolean reqPeriodisApprovedForPOS = true; // Boolean |
Boolean reqPeriodisApprovedForWeb = true; // Boolean |
Boolean reqPeriodisApprovedForService = true; // Boolean |
Integer reqPeriodiD = 56; // Integer | Format - int32.
Boolean reqPeriodisHierarchicalSort = true; // Boolean |
array[String] reqPeriodtypes = ; // array[String] |
Boolean reqPeriodisShowFavourites = true; // Boolean |
Boolean reqPeriodisHidden = true; // Boolean |
Boolean reqPeriodincludeSystemTasks = true; // Boolean |
Boolean reqPeriodisSystem = true; // Boolean |
String reqPeriodbatchStatus = reqPeriodbatchStatus_example; // String |
String reqPeriodsortField = reqPeriodsortField_example; // String |
Boolean reqPeriodsortAsc = true; // Boolean |
String reqPeriodgroupBy = reqPeriodgroupBy_example; // String |
Long reqPeriodlastRowNumber = 789; // Long | Format - int64.
Integer reqPeriodmaxResults = 56; // Integer | Format - int32.
Integer reqPeriodtenantID = 56; // Integer | Format - int32.
Integer reqPeriodwebsiteID = 56; // Integer | Format - int32.
Integer reqPerioduserID = 56; // Integer | Format - int32.
try {
Object result = apiInstance.notificationGetUnpreviewedCount(reqPeriodupdateLastPreviewedDateTime, reqPerioddatTypes, reqPeriodisGetUnreadOnly, reqPeriodisGetForAllApps, reqPeriodstatuses, reqPeriodstatusStrings, reqPeriodstatus, reqPeriodsearchString, reqPeriodsearchNameOnly, reqPeriodsearch, reqPeriodstartDate, reqPeriodendDate, reqPerioddatePeriod, reqPeriodisExactMatch, reqPeriodisGetBasicInfo, reqPeriodincludeDeleted, reqPeriodincludeLogs, reqPeriodignoreID, reqPeriodparentID, reqPeriodgetCountOnly, reqPeriodtransactionTypeDatTypeID, reqPeriodcategoryID, reqPeriodadaptorID, reqPeriodcategoryIDs, reqPeriodbrandIDs, reqPeriodiDs, reqPeriodgUIDs, reqPeriodlinkedSupplierID, reqPeriodisApprovedForPOS, reqPeriodisApprovedForWeb, reqPeriodisApprovedForService, reqPeriodiD, reqPeriodisHierarchicalSort, reqPeriodtypes, reqPeriodisShowFavourites, reqPeriodisHidden, reqPeriodincludeSystemTasks, reqPeriodisSystem, reqPeriodbatchStatus, reqPeriodsortField, reqPeriodsortAsc, reqPeriodgroupBy, reqPeriodlastRowNumber, reqPeriodmaxResults, reqPeriodtenantID, reqPeriodwebsiteID, reqPerioduserID);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DefaultApi#notificationGetUnpreviewedCount");
e.printStackTrace();
}
}
}
import 'package:openapi/api.dart';
final api_instance = DefaultApi();
final Boolean reqPeriodupdateLastPreviewedDateTime = new Boolean(); // Boolean |
final array[Integer] reqPerioddatTypes = new array[Integer](); // array[Integer] |
final Boolean reqPeriodisGetUnreadOnly = new Boolean(); // Boolean |
final Boolean reqPeriodisGetForAllApps = new Boolean(); // Boolean |
final array[Integer] reqPeriodstatuses = new array[Integer](); // array[Integer] |
final array[String] reqPeriodstatusStrings = new array[String](); // array[String] |
final array[String] reqPeriodstatus = new array[String](); // array[String] |
final String reqPeriodsearchString = new String(); // String |
final Boolean reqPeriodsearchNameOnly = new Boolean(); // Boolean |
final String reqPeriodsearch = new String(); // String |
final Date reqPeriodstartDate = new Date(); // Date | Format - date-time (as date-time in RFC3339).
final Date reqPeriodendDate = new Date(); // Date | Format - date-time (as date-time in RFC3339).
final String reqPerioddatePeriod = new String(); // String |
final Boolean reqPeriodisExactMatch = new Boolean(); // Boolean |
final Boolean reqPeriodisGetBasicInfo = new Boolean(); // Boolean |
final Boolean reqPeriodincludeDeleted = new Boolean(); // Boolean |
final Boolean reqPeriodincludeLogs = new Boolean(); // Boolean |
final Integer reqPeriodignoreID = new Integer(); // Integer | Format - int32.
final Integer reqPeriodparentID = new Integer(); // Integer | Format - int32.
final Boolean reqPeriodgetCountOnly = new Boolean(); // Boolean |
final Integer reqPeriodtransactionTypeDatTypeID = new Integer(); // Integer | Format - int32.
final Integer reqPeriodcategoryID = new Integer(); // Integer | Format - int32.
final Integer reqPeriodadaptorID = new Integer(); // Integer | Format - int32.
final array[Integer] reqPeriodcategoryIDs = new array[Integer](); // array[Integer] |
final array[Integer] reqPeriodbrandIDs = new array[Integer](); // array[Integer] |
final array[Integer] reqPeriodiDs = new array[Integer](); // array[Integer] |
final array[String] reqPeriodgUIDs = new array[String](); // array[String] |
final Integer reqPeriodlinkedSupplierID = new Integer(); // Integer | Format - int32.
final Boolean reqPeriodisApprovedForPOS = new Boolean(); // Boolean |
final Boolean reqPeriodisApprovedForWeb = new Boolean(); // Boolean |
final Boolean reqPeriodisApprovedForService = new Boolean(); // Boolean |
final Integer reqPeriodiD = new Integer(); // Integer | Format - int32.
final Boolean reqPeriodisHierarchicalSort = new Boolean(); // Boolean |
final array[String] reqPeriodtypes = new array[String](); // array[String] |
final Boolean reqPeriodisShowFavourites = new Boolean(); // Boolean |
final Boolean reqPeriodisHidden = new Boolean(); // Boolean |
final Boolean reqPeriodincludeSystemTasks = new Boolean(); // Boolean |
final Boolean reqPeriodisSystem = new Boolean(); // Boolean |
final String reqPeriodbatchStatus = new String(); // String |
final String reqPeriodsortField = new String(); // String |
final Boolean reqPeriodsortAsc = new Boolean(); // Boolean |
final String reqPeriodgroupBy = new String(); // String |
final Long reqPeriodlastRowNumber = new Long(); // Long | Format - int64.
final Integer reqPeriodmaxResults = new Integer(); // Integer | Format - int32.
final Integer reqPeriodtenantID = new Integer(); // Integer | Format - int32.
final Integer reqPeriodwebsiteID = new Integer(); // Integer | Format - int32.
final Integer reqPerioduserID = new Integer(); // Integer | Format - int32.
try {
final result = await api_instance.notificationGetUnpreviewedCount(reqPeriodupdateLastPreviewedDateTime, reqPerioddatTypes, reqPeriodisGetUnreadOnly, reqPeriodisGetForAllApps, reqPeriodstatuses, reqPeriodstatusStrings, reqPeriodstatus, reqPeriodsearchString, reqPeriodsearchNameOnly, reqPeriodsearch, reqPeriodstartDate, reqPeriodendDate, reqPerioddatePeriod, reqPeriodisExactMatch, reqPeriodisGetBasicInfo, reqPeriodincludeDeleted, reqPeriodincludeLogs, reqPeriodignoreID, reqPeriodparentID, reqPeriodgetCountOnly, reqPeriodtransactionTypeDatTypeID, reqPeriodcategoryID, reqPeriodadaptorID, reqPeriodcategoryIDs, reqPeriodbrandIDs, reqPeriodiDs, reqPeriodgUIDs, reqPeriodlinkedSupplierID, reqPeriodisApprovedForPOS, reqPeriodisApprovedForWeb, reqPeriodisApprovedForService, reqPeriodiD, reqPeriodisHierarchicalSort, reqPeriodtypes, reqPeriodisShowFavourites, reqPeriodisHidden, reqPeriodincludeSystemTasks, reqPeriodisSystem, reqPeriodbatchStatus, reqPeriodsortField, reqPeriodsortAsc, reqPeriodgroupBy, reqPeriodlastRowNumber, reqPeriodmaxResults, reqPeriodtenantID, reqPeriodwebsiteID, reqPerioduserID);
print(result);
} catch (e) {
print('Exception when calling DefaultApi->notificationGetUnpreviewedCount: $e\n');
}
import org.openapitools.client.api.DefaultApi;
public class DefaultApiExample {
public static void main(String[] args) {
DefaultApi apiInstance = new DefaultApi();
Boolean reqPeriodupdateLastPreviewedDateTime = true; // Boolean |
array[Integer] reqPerioddatTypes = ; // array[Integer] |
Boolean reqPeriodisGetUnreadOnly = true; // Boolean |
Boolean reqPeriodisGetForAllApps = true; // Boolean |
array[Integer] reqPeriodstatuses = ; // array[Integer] |
array[String] reqPeriodstatusStrings = ; // array[String] |
array[String] reqPeriodstatus = ; // array[String] |
String reqPeriodsearchString = reqPeriodsearchString_example; // String |
Boolean reqPeriodsearchNameOnly = true; // Boolean |
String reqPeriodsearch = reqPeriodsearch_example; // String |
Date reqPeriodstartDate = 2013-10-20T19:20:30+01:00; // Date | Format - date-time (as date-time in RFC3339).
Date reqPeriodendDate = 2013-10-20T19:20:30+01:00; // Date | Format - date-time (as date-time in RFC3339).
String reqPerioddatePeriod = reqPerioddatePeriod_example; // String |
Boolean reqPeriodisExactMatch = true; // Boolean |
Boolean reqPeriodisGetBasicInfo = true; // Boolean |
Boolean reqPeriodincludeDeleted = true; // Boolean |
Boolean reqPeriodincludeLogs = true; // Boolean |
Integer reqPeriodignoreID = 56; // Integer | Format - int32.
Integer reqPeriodparentID = 56; // Integer | Format - int32.
Boolean reqPeriodgetCountOnly = true; // Boolean |
Integer reqPeriodtransactionTypeDatTypeID = 56; // Integer | Format - int32.
Integer reqPeriodcategoryID = 56; // Integer | Format - int32.
Integer reqPeriodadaptorID = 56; // Integer | Format - int32.
array[Integer] reqPeriodcategoryIDs = ; // array[Integer] |
array[Integer] reqPeriodbrandIDs = ; // array[Integer] |
array[Integer] reqPeriodiDs = ; // array[Integer] |
array[String] reqPeriodgUIDs = ; // array[String] |
Integer reqPeriodlinkedSupplierID = 56; // Integer | Format - int32.
Boolean reqPeriodisApprovedForPOS = true; // Boolean |
Boolean reqPeriodisApprovedForWeb = true; // Boolean |
Boolean reqPeriodisApprovedForService = true; // Boolean |
Integer reqPeriodiD = 56; // Integer | Format - int32.
Boolean reqPeriodisHierarchicalSort = true; // Boolean |
array[String] reqPeriodtypes = ; // array[String] |
Boolean reqPeriodisShowFavourites = true; // Boolean |
Boolean reqPeriodisHidden = true; // Boolean |
Boolean reqPeriodincludeSystemTasks = true; // Boolean |
Boolean reqPeriodisSystem = true; // Boolean |
String reqPeriodbatchStatus = reqPeriodbatchStatus_example; // String |
String reqPeriodsortField = reqPeriodsortField_example; // String |
Boolean reqPeriodsortAsc = true; // Boolean |
String reqPeriodgroupBy = reqPeriodgroupBy_example; // String |
Long reqPeriodlastRowNumber = 789; // Long | Format - int64.
Integer reqPeriodmaxResults = 56; // Integer | Format - int32.
Integer reqPeriodtenantID = 56; // Integer | Format - int32.
Integer reqPeriodwebsiteID = 56; // Integer | Format - int32.
Integer reqPerioduserID = 56; // Integer | Format - int32.
try {
Object result = apiInstance.notificationGetUnpreviewedCount(reqPeriodupdateLastPreviewedDateTime, reqPerioddatTypes, reqPeriodisGetUnreadOnly, reqPeriodisGetForAllApps, reqPeriodstatuses, reqPeriodstatusStrings, reqPeriodstatus, reqPeriodsearchString, reqPeriodsearchNameOnly, reqPeriodsearch, reqPeriodstartDate, reqPeriodendDate, reqPerioddatePeriod, reqPeriodisExactMatch, reqPeriodisGetBasicInfo, reqPeriodincludeDeleted, reqPeriodincludeLogs, reqPeriodignoreID, reqPeriodparentID, reqPeriodgetCountOnly, reqPeriodtransactionTypeDatTypeID, reqPeriodcategoryID, reqPeriodadaptorID, reqPeriodcategoryIDs, reqPeriodbrandIDs, reqPeriodiDs, reqPeriodgUIDs, reqPeriodlinkedSupplierID, reqPeriodisApprovedForPOS, reqPeriodisApprovedForWeb, reqPeriodisApprovedForService, reqPeriodiD, reqPeriodisHierarchicalSort, reqPeriodtypes, reqPeriodisShowFavourites, reqPeriodisHidden, reqPeriodincludeSystemTasks, reqPeriodisSystem, reqPeriodbatchStatus, reqPeriodsortField, reqPeriodsortAsc, reqPeriodgroupBy, reqPeriodlastRowNumber, reqPeriodmaxResults, reqPeriodtenantID, reqPeriodwebsiteID, reqPerioduserID);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DefaultApi#notificationGetUnpreviewedCount");
e.printStackTrace();
}
}
}
// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
Boolean *reqPeriodupdateLastPreviewedDateTime = true; // (optional) (default to null)
array[Integer] *reqPerioddatTypes = ; // (optional) (default to null)
Boolean *reqPeriodisGetUnreadOnly = true; // (optional) (default to null)
Boolean *reqPeriodisGetForAllApps = true; // (optional) (default to null)
array[Integer] *reqPeriodstatuses = ; // (optional) (default to null)
array[String] *reqPeriodstatusStrings = ; // (optional) (default to null)
array[String] *reqPeriodstatus = ; // (optional) (default to null)
String *reqPeriodsearchString = reqPeriodsearchString_example; // (optional) (default to null)
Boolean *reqPeriodsearchNameOnly = true; // (optional) (default to null)
String *reqPeriodsearch = reqPeriodsearch_example; // (optional) (default to null)
Date *reqPeriodstartDate = 2013-10-20T19:20:30+01:00; // Format - date-time (as date-time in RFC3339). (optional) (default to null)
Date *reqPeriodendDate = 2013-10-20T19:20:30+01:00; // Format - date-time (as date-time in RFC3339). (optional) (default to null)
String *reqPerioddatePeriod = reqPerioddatePeriod_example; // (optional) (default to null)
Boolean *reqPeriodisExactMatch = true; // (optional) (default to null)
Boolean *reqPeriodisGetBasicInfo = true; // (optional) (default to null)
Boolean *reqPeriodincludeDeleted = true; // (optional) (default to null)
Boolean *reqPeriodincludeLogs = true; // (optional) (default to null)
Integer *reqPeriodignoreID = 56; // Format - int32. (optional) (default to null)
Integer *reqPeriodparentID = 56; // Format - int32. (optional) (default to null)
Boolean *reqPeriodgetCountOnly = true; // (optional) (default to null)
Integer *reqPeriodtransactionTypeDatTypeID = 56; // Format - int32. (optional) (default to null)
Integer *reqPeriodcategoryID = 56; // Format - int32. (optional) (default to null)
Integer *reqPeriodadaptorID = 56; // Format - int32. (optional) (default to null)
array[Integer] *reqPeriodcategoryIDs = ; // (optional) (default to null)
array[Integer] *reqPeriodbrandIDs = ; // (optional) (default to null)
array[Integer] *reqPeriodiDs = ; // (optional) (default to null)
array[String] *reqPeriodgUIDs = ; // (optional) (default to null)
Integer *reqPeriodlinkedSupplierID = 56; // Format - int32. (optional) (default to null)
Boolean *reqPeriodisApprovedForPOS = true; // (optional) (default to null)
Boolean *reqPeriodisApprovedForWeb = true; // (optional) (default to null)
Boolean *reqPeriodisApprovedForService = true; // (optional) (default to null)
Integer *reqPeriodiD = 56; // Format - int32. (optional) (default to null)
Boolean *reqPeriodisHierarchicalSort = true; // (optional) (default to null)
array[String] *reqPeriodtypes = ; // (optional) (default to null)
Boolean *reqPeriodisShowFavourites = true; // (optional) (default to null)
Boolean *reqPeriodisHidden = true; // (optional) (default to null)
Boolean *reqPeriodincludeSystemTasks = true; // (optional) (default to null)
Boolean *reqPeriodisSystem = true; // (optional) (default to null)
String *reqPeriodbatchStatus = reqPeriodbatchStatus_example; // (optional) (default to null)
String *reqPeriodsortField = reqPeriodsortField_example; // (optional) (default to null)
Boolean *reqPeriodsortAsc = true; // (optional) (default to null)
String *reqPeriodgroupBy = reqPeriodgroupBy_example; // (optional) (default to null)
Long *reqPeriodlastRowNumber = 789; // Format - int64. (optional) (default to null)
Integer *reqPeriodmaxResults = 56; // Format - int32. (optional) (default to null)
Integer *reqPeriodtenantID = 56; // Format - int32. (optional) (default to null)
Integer *reqPeriodwebsiteID = 56; // Format - int32. (optional) (default to null)
Integer *reqPerioduserID = 56; // Format - int32. (optional) (default to null)
// Notification_GetUnpreviewedCount
[apiInstance notificationGetUnpreviewedCountWith:reqPeriodupdateLastPreviewedDateTime
reqPerioddatTypes:reqPerioddatTypes
reqPeriodisGetUnreadOnly:reqPeriodisGetUnreadOnly
reqPeriodisGetForAllApps:reqPeriodisGetForAllApps
reqPeriodstatuses:reqPeriodstatuses
reqPeriodstatusStrings:reqPeriodstatusStrings
reqPeriodstatus:reqPeriodstatus
reqPeriodsearchString:reqPeriodsearchString
reqPeriodsearchNameOnly:reqPeriodsearchNameOnly
reqPeriodsearch:reqPeriodsearch
reqPeriodstartDate:reqPeriodstartDate
reqPeriodendDate:reqPeriodendDate
reqPerioddatePeriod:reqPerioddatePeriod
reqPeriodisExactMatch:reqPeriodisExactMatch
reqPeriodisGetBasicInfo:reqPeriodisGetBasicInfo
reqPeriodincludeDeleted:reqPeriodincludeDeleted
reqPeriodincludeLogs:reqPeriodincludeLogs
reqPeriodignoreID:reqPeriodignoreID
reqPeriodparentID:reqPeriodparentID
reqPeriodgetCountOnly:reqPeriodgetCountOnly
reqPeriodtransactionTypeDatTypeID:reqPeriodtransactionTypeDatTypeID
reqPeriodcategoryID:reqPeriodcategoryID
reqPeriodadaptorID:reqPeriodadaptorID
reqPeriodcategoryIDs:reqPeriodcategoryIDs
reqPeriodbrandIDs:reqPeriodbrandIDs
reqPeriodiDs:reqPeriodiDs
reqPeriodgUIDs:reqPeriodgUIDs
reqPeriodlinkedSupplierID:reqPeriodlinkedSupplierID
reqPeriodisApprovedForPOS:reqPeriodisApprovedForPOS
reqPeriodisApprovedForWeb:reqPeriodisApprovedForWeb
reqPeriodisApprovedForService:reqPeriodisApprovedForService
reqPeriodiD:reqPeriodiD
reqPeriodisHierarchicalSort:reqPeriodisHierarchicalSort
reqPeriodtypes:reqPeriodtypes
reqPeriodisShowFavourites:reqPeriodisShowFavourites
reqPeriodisHidden:reqPeriodisHidden
reqPeriodincludeSystemTasks:reqPeriodincludeSystemTasks
reqPeriodisSystem:reqPeriodisSystem
reqPeriodbatchStatus:reqPeriodbatchStatus
reqPeriodsortField:reqPeriodsortField
reqPeriodsortAsc:reqPeriodsortAsc
reqPeriodgroupBy:reqPeriodgroupBy
reqPeriodlastRowNumber:reqPeriodlastRowNumber
reqPeriodmaxResults:reqPeriodmaxResults
reqPeriodtenantID:reqPeriodtenantID
reqPeriodwebsiteID:reqPeriodwebsiteID
reqPerioduserID:reqPerioduserID
completionHandler: ^(Object output, NSError* error) {
if (output) {
NSLog(@"%@", output);
}
if (error) {
NSLog(@"Error: %@", error);
}
}];
var AsServerApiNotification = require('as_server_api_notification');
// Create an instance of the API class
var api = new AsServerApiNotification.DefaultApi()
var opts = {
'reqPeriodupdateLastPreviewedDateTime': true, // {Boolean}
'reqPerioddatTypes': , // {array[Integer]}
'reqPeriodisGetUnreadOnly': true, // {Boolean}
'reqPeriodisGetForAllApps': true, // {Boolean}
'reqPeriodstatuses': , // {array[Integer]}
'reqPeriodstatusStrings': , // {array[String]}
'reqPeriodstatus': , // {array[String]}
'reqPeriodsearchString': reqPeriodsearchString_example, // {String}
'reqPeriodsearchNameOnly': true, // {Boolean}
'reqPeriodsearch': reqPeriodsearch_example, // {String}
'reqPeriodstartDate': 2013-10-20T19:20:30+01:00, // {Date} Format - date-time (as date-time in RFC3339).
'reqPeriodendDate': 2013-10-20T19:20:30+01:00, // {Date} Format - date-time (as date-time in RFC3339).
'reqPerioddatePeriod': reqPerioddatePeriod_example, // {String}
'reqPeriodisExactMatch': true, // {Boolean}
'reqPeriodisGetBasicInfo': true, // {Boolean}
'reqPeriodincludeDeleted': true, // {Boolean}
'reqPeriodincludeLogs': true, // {Boolean}
'reqPeriodignoreID': 56, // {Integer} Format - int32.
'reqPeriodparentID': 56, // {Integer} Format - int32.
'reqPeriodgetCountOnly': true, // {Boolean}
'reqPeriodtransactionTypeDatTypeID': 56, // {Integer} Format - int32.
'reqPeriodcategoryID': 56, // {Integer} Format - int32.
'reqPeriodadaptorID': 56, // {Integer} Format - int32.
'reqPeriodcategoryIDs': , // {array[Integer]}
'reqPeriodbrandIDs': , // {array[Integer]}
'reqPeriodiDs': , // {array[Integer]}
'reqPeriodgUIDs': , // {array[String]}
'reqPeriodlinkedSupplierID': 56, // {Integer} Format - int32.
'reqPeriodisApprovedForPOS': true, // {Boolean}
'reqPeriodisApprovedForWeb': true, // {Boolean}
'reqPeriodisApprovedForService': true, // {Boolean}
'reqPeriodiD': 56, // {Integer} Format - int32.
'reqPeriodisHierarchicalSort': true, // {Boolean}
'reqPeriodtypes': , // {array[String]}
'reqPeriodisShowFavourites': true, // {Boolean}
'reqPeriodisHidden': true, // {Boolean}
'reqPeriodincludeSystemTasks': true, // {Boolean}
'reqPeriodisSystem': true, // {Boolean}
'reqPeriodbatchStatus': reqPeriodbatchStatus_example, // {String}
'reqPeriodsortField': reqPeriodsortField_example, // {String}
'reqPeriodsortAsc': true, // {Boolean}
'reqPeriodgroupBy': reqPeriodgroupBy_example, // {String}
'reqPeriodlastRowNumber': 789, // {Long} Format - int64.
'reqPeriodmaxResults': 56, // {Integer} Format - int32.
'reqPeriodtenantID': 56, // {Integer} Format - int32.
'reqPeriodwebsiteID': 56, // {Integer} Format - int32.
'reqPerioduserID': 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.notificationGetUnpreviewedCount(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;
namespace Example
{
public class notificationGetUnpreviewedCountExample
{
public void main()
{
// Create an instance of the API class
var apiInstance = new DefaultApi();
var reqPeriodupdateLastPreviewedDateTime = true; // Boolean | (optional) (default to null)
var reqPerioddatTypes = new array[Integer](); // array[Integer] | (optional) (default to null)
var reqPeriodisGetUnreadOnly = true; // Boolean | (optional) (default to null)
var reqPeriodisGetForAllApps = true; // Boolean | (optional) (default to null)
var reqPeriodstatuses = new array[Integer](); // array[Integer] | (optional) (default to null)
var reqPeriodstatusStrings = new array[String](); // array[String] | (optional) (default to null)
var reqPeriodstatus = new array[String](); // array[String] | (optional) (default to null)
var reqPeriodsearchString = reqPeriodsearchString_example; // String | (optional) (default to null)
var reqPeriodsearchNameOnly = true; // Boolean | (optional) (default to null)
var reqPeriodsearch = reqPeriodsearch_example; // String | (optional) (default to null)
var reqPeriodstartDate = 2013-10-20T19:20:30+01:00; // Date | Format - date-time (as date-time in RFC3339). (optional) (default to null)
var reqPeriodendDate = 2013-10-20T19:20:30+01:00; // Date | Format - date-time (as date-time in RFC3339). (optional) (default to null)
var reqPerioddatePeriod = reqPerioddatePeriod_example; // String | (optional) (default to null)
var reqPeriodisExactMatch = true; // Boolean | (optional) (default to null)
var reqPeriodisGetBasicInfo = true; // Boolean | (optional) (default to null)
var reqPeriodincludeDeleted = true; // Boolean | (optional) (default to null)
var reqPeriodincludeLogs = true; // Boolean | (optional) (default to null)
var reqPeriodignoreID = 56; // Integer | Format - int32. (optional) (default to null)
var reqPeriodparentID = 56; // Integer | Format - int32. (optional) (default to null)
var reqPeriodgetCountOnly = true; // Boolean | (optional) (default to null)
var reqPeriodtransactionTypeDatTypeID = 56; // Integer | Format - int32. (optional) (default to null)
var reqPeriodcategoryID = 56; // Integer | Format - int32. (optional) (default to null)
var reqPeriodadaptorID = 56; // Integer | Format - int32. (optional) (default to null)
var reqPeriodcategoryIDs = new array[Integer](); // array[Integer] | (optional) (default to null)
var reqPeriodbrandIDs = new array[Integer](); // array[Integer] | (optional) (default to null)
var reqPeriodiDs = new array[Integer](); // array[Integer] | (optional) (default to null)
var reqPeriodgUIDs = new array[String](); // array[String] | (optional) (default to null)
var reqPeriodlinkedSupplierID = 56; // Integer | Format - int32. (optional) (default to null)
var reqPeriodisApprovedForPOS = true; // Boolean | (optional) (default to null)
var reqPeriodisApprovedForWeb = true; // Boolean | (optional) (default to null)
var reqPeriodisApprovedForService = true; // Boolean | (optional) (default to null)
var reqPeriodiD = 56; // Integer | Format - int32. (optional) (default to null)
var reqPeriodisHierarchicalSort = true; // Boolean | (optional) (default to null)
var reqPeriodtypes = new array[String](); // array[String] | (optional) (default to null)
var reqPeriodisShowFavourites = true; // Boolean | (optional) (default to null)
var reqPeriodisHidden = true; // Boolean | (optional) (default to null)
var reqPeriodincludeSystemTasks = true; // Boolean | (optional) (default to null)
var reqPeriodisSystem = true; // Boolean | (optional) (default to null)
var reqPeriodbatchStatus = reqPeriodbatchStatus_example; // String | (optional) (default to null)
var reqPeriodsortField = reqPeriodsortField_example; // String | (optional) (default to null)
var reqPeriodsortAsc = true; // Boolean | (optional) (default to null)
var reqPeriodgroupBy = reqPeriodgroupBy_example; // String | (optional) (default to null)
var reqPeriodlastRowNumber = 789; // Long | Format - int64. (optional) (default to null)
var reqPeriodmaxResults = 56; // Integer | Format - int32. (optional) (default to null)
var reqPeriodtenantID = 56; // Integer | Format - int32. (optional) (default to null)
var reqPeriodwebsiteID = 56; // Integer | Format - int32. (optional) (default to null)
var reqPerioduserID = 56; // Integer | Format - int32. (optional) (default to null)
try {
// Notification_GetUnpreviewedCount
Object result = apiInstance.notificationGetUnpreviewedCount(reqPeriodupdateLastPreviewedDateTime, reqPerioddatTypes, reqPeriodisGetUnreadOnly, reqPeriodisGetForAllApps, reqPeriodstatuses, reqPeriodstatusStrings, reqPeriodstatus, reqPeriodsearchString, reqPeriodsearchNameOnly, reqPeriodsearch, reqPeriodstartDate, reqPeriodendDate, reqPerioddatePeriod, reqPeriodisExactMatch, reqPeriodisGetBasicInfo, reqPeriodincludeDeleted, reqPeriodincludeLogs, reqPeriodignoreID, reqPeriodparentID, reqPeriodgetCountOnly, reqPeriodtransactionTypeDatTypeID, reqPeriodcategoryID, reqPeriodadaptorID, reqPeriodcategoryIDs, reqPeriodbrandIDs, reqPeriodiDs, reqPeriodgUIDs, reqPeriodlinkedSupplierID, reqPeriodisApprovedForPOS, reqPeriodisApprovedForWeb, reqPeriodisApprovedForService, reqPeriodiD, reqPeriodisHierarchicalSort, reqPeriodtypes, reqPeriodisShowFavourites, reqPeriodisHidden, reqPeriodincludeSystemTasks, reqPeriodisSystem, reqPeriodbatchStatus, reqPeriodsortField, reqPeriodsortAsc, reqPeriodgroupBy, reqPeriodlastRowNumber, reqPeriodmaxResults, reqPeriodtenantID, reqPeriodwebsiteID, reqPerioduserID);
Debug.WriteLine(result);
} catch (Exception e) {
Debug.Print("Exception when calling DefaultApi.notificationGetUnpreviewedCount: " + e.Message );
}
}
}
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$reqPeriodupdateLastPreviewedDateTime = true; // Boolean |
$reqPerioddatTypes = ; // array[Integer] |
$reqPeriodisGetUnreadOnly = true; // Boolean |
$reqPeriodisGetForAllApps = true; // Boolean |
$reqPeriodstatuses = ; // array[Integer] |
$reqPeriodstatusStrings = ; // array[String] |
$reqPeriodstatus = ; // array[String] |
$reqPeriodsearchString = reqPeriodsearchString_example; // String |
$reqPeriodsearchNameOnly = true; // Boolean |
$reqPeriodsearch = reqPeriodsearch_example; // String |
$reqPeriodstartDate = 2013-10-20T19:20:30+01:00; // Date | Format - date-time (as date-time in RFC3339).
$reqPeriodendDate = 2013-10-20T19:20:30+01:00; // Date | Format - date-time (as date-time in RFC3339).
$reqPerioddatePeriod = reqPerioddatePeriod_example; // String |
$reqPeriodisExactMatch = true; // Boolean |
$reqPeriodisGetBasicInfo = true; // Boolean |
$reqPeriodincludeDeleted = true; // Boolean |
$reqPeriodincludeLogs = true; // Boolean |
$reqPeriodignoreID = 56; // Integer | Format - int32.
$reqPeriodparentID = 56; // Integer | Format - int32.
$reqPeriodgetCountOnly = true; // Boolean |
$reqPeriodtransactionTypeDatTypeID = 56; // Integer | Format - int32.
$reqPeriodcategoryID = 56; // Integer | Format - int32.
$reqPeriodadaptorID = 56; // Integer | Format - int32.
$reqPeriodcategoryIDs = ; // array[Integer] |
$reqPeriodbrandIDs = ; // array[Integer] |
$reqPeriodiDs = ; // array[Integer] |
$reqPeriodgUIDs = ; // array[String] |
$reqPeriodlinkedSupplierID = 56; // Integer | Format - int32.
$reqPeriodisApprovedForPOS = true; // Boolean |
$reqPeriodisApprovedForWeb = true; // Boolean |
$reqPeriodisApprovedForService = true; // Boolean |
$reqPeriodiD = 56; // Integer | Format - int32.
$reqPeriodisHierarchicalSort = true; // Boolean |
$reqPeriodtypes = ; // array[String] |
$reqPeriodisShowFavourites = true; // Boolean |
$reqPeriodisHidden = true; // Boolean |
$reqPeriodincludeSystemTasks = true; // Boolean |
$reqPeriodisSystem = true; // Boolean |
$reqPeriodbatchStatus = reqPeriodbatchStatus_example; // String |
$reqPeriodsortField = reqPeriodsortField_example; // String |
$reqPeriodsortAsc = true; // Boolean |
$reqPeriodgroupBy = reqPeriodgroupBy_example; // String |
$reqPeriodlastRowNumber = 789; // Long | Format - int64.
$reqPeriodmaxResults = 56; // Integer | Format - int32.
$reqPeriodtenantID = 56; // Integer | Format - int32.
$reqPeriodwebsiteID = 56; // Integer | Format - int32.
$reqPerioduserID = 56; // Integer | Format - int32.
try {
$result = $api_instance->notificationGetUnpreviewedCount($reqPeriodupdateLastPreviewedDateTime, $reqPerioddatTypes, $reqPeriodisGetUnreadOnly, $reqPeriodisGetForAllApps, $reqPeriodstatuses, $reqPeriodstatusStrings, $reqPeriodstatus, $reqPeriodsearchString, $reqPeriodsearchNameOnly, $reqPeriodsearch, $reqPeriodstartDate, $reqPeriodendDate, $reqPerioddatePeriod, $reqPeriodisExactMatch, $reqPeriodisGetBasicInfo, $reqPeriodincludeDeleted, $reqPeriodincludeLogs, $reqPeriodignoreID, $reqPeriodparentID, $reqPeriodgetCountOnly, $reqPeriodtransactionTypeDatTypeID, $reqPeriodcategoryID, $reqPeriodadaptorID, $reqPeriodcategoryIDs, $reqPeriodbrandIDs, $reqPeriodiDs, $reqPeriodgUIDs, $reqPeriodlinkedSupplierID, $reqPeriodisApprovedForPOS, $reqPeriodisApprovedForWeb, $reqPeriodisApprovedForService, $reqPeriodiD, $reqPeriodisHierarchicalSort, $reqPeriodtypes, $reqPeriodisShowFavourites, $reqPeriodisHidden, $reqPeriodincludeSystemTasks, $reqPeriodisSystem, $reqPeriodbatchStatus, $reqPeriodsortField, $reqPeriodsortAsc, $reqPeriodgroupBy, $reqPeriodlastRowNumber, $reqPeriodmaxResults, $reqPeriodtenantID, $reqPeriodwebsiteID, $reqPerioduserID);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling DefaultApi->notificationGetUnpreviewedCount: ', $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 $reqPeriodupdateLastPreviewedDateTime = true; # Boolean |
my $reqPerioddatTypes = []; # array[Integer] |
my $reqPeriodisGetUnreadOnly = true; # Boolean |
my $reqPeriodisGetForAllApps = true; # Boolean |
my $reqPeriodstatuses = []; # array[Integer] |
my $reqPeriodstatusStrings = []; # array[String] |
my $reqPeriodstatus = []; # array[String] |
my $reqPeriodsearchString = reqPeriodsearchString_example; # String |
my $reqPeriodsearchNameOnly = true; # Boolean |
my $reqPeriodsearch = reqPeriodsearch_example; # String |
my $reqPeriodstartDate = 2013-10-20T19:20:30+01:00; # Date | Format - date-time (as date-time in RFC3339).
my $reqPeriodendDate = 2013-10-20T19:20:30+01:00; # Date | Format - date-time (as date-time in RFC3339).
my $reqPerioddatePeriod = reqPerioddatePeriod_example; # String |
my $reqPeriodisExactMatch = true; # Boolean |
my $reqPeriodisGetBasicInfo = true; # Boolean |
my $reqPeriodincludeDeleted = true; # Boolean |
my $reqPeriodincludeLogs = true; # Boolean |
my $reqPeriodignoreID = 56; # Integer | Format - int32.
my $reqPeriodparentID = 56; # Integer | Format - int32.
my $reqPeriodgetCountOnly = true; # Boolean |
my $reqPeriodtransactionTypeDatTypeID = 56; # Integer | Format - int32.
my $reqPeriodcategoryID = 56; # Integer | Format - int32.
my $reqPeriodadaptorID = 56; # Integer | Format - int32.
my $reqPeriodcategoryIDs = []; # array[Integer] |
my $reqPeriodbrandIDs = []; # array[Integer] |
my $reqPeriodiDs = []; # array[Integer] |
my $reqPeriodgUIDs = []; # array[String] |
my $reqPeriodlinkedSupplierID = 56; # Integer | Format - int32.
my $reqPeriodisApprovedForPOS = true; # Boolean |
my $reqPeriodisApprovedForWeb = true; # Boolean |
my $reqPeriodisApprovedForService = true; # Boolean |
my $reqPeriodiD = 56; # Integer | Format - int32.
my $reqPeriodisHierarchicalSort = true; # Boolean |
my $reqPeriodtypes = []; # array[String] |
my $reqPeriodisShowFavourites = true; # Boolean |
my $reqPeriodisHidden = true; # Boolean |
my $reqPeriodincludeSystemTasks = true; # Boolean |
my $reqPeriodisSystem = true; # Boolean |
my $reqPeriodbatchStatus = reqPeriodbatchStatus_example; # String |
my $reqPeriodsortField = reqPeriodsortField_example; # String |
my $reqPeriodsortAsc = true; # Boolean |
my $reqPeriodgroupBy = reqPeriodgroupBy_example; # String |
my $reqPeriodlastRowNumber = 789; # Long | Format - int64.
my $reqPeriodmaxResults = 56; # Integer | Format - int32.
my $reqPeriodtenantID = 56; # Integer | Format - int32.
my $reqPeriodwebsiteID = 56; # Integer | Format - int32.
my $reqPerioduserID = 56; # Integer | Format - int32.
eval {
my $result = $api_instance->notificationGetUnpreviewedCount(reqPeriodupdateLastPreviewedDateTime => $reqPeriodupdateLastPreviewedDateTime, reqPerioddatTypes => $reqPerioddatTypes, reqPeriodisGetUnreadOnly => $reqPeriodisGetUnreadOnly, reqPeriodisGetForAllApps => $reqPeriodisGetForAllApps, reqPeriodstatuses => $reqPeriodstatuses, reqPeriodstatusStrings => $reqPeriodstatusStrings, reqPeriodstatus => $reqPeriodstatus, reqPeriodsearchString => $reqPeriodsearchString, reqPeriodsearchNameOnly => $reqPeriodsearchNameOnly, reqPeriodsearch => $reqPeriodsearch, reqPeriodstartDate => $reqPeriodstartDate, reqPeriodendDate => $reqPeriodendDate, reqPerioddatePeriod => $reqPerioddatePeriod, reqPeriodisExactMatch => $reqPeriodisExactMatch, reqPeriodisGetBasicInfo => $reqPeriodisGetBasicInfo, reqPeriodincludeDeleted => $reqPeriodincludeDeleted, reqPeriodincludeLogs => $reqPeriodincludeLogs, reqPeriodignoreID => $reqPeriodignoreID, reqPeriodparentID => $reqPeriodparentID, reqPeriodgetCountOnly => $reqPeriodgetCountOnly, reqPeriodtransactionTypeDatTypeID => $reqPeriodtransactionTypeDatTypeID, reqPeriodcategoryID => $reqPeriodcategoryID, reqPeriodadaptorID => $reqPeriodadaptorID, reqPeriodcategoryIDs => $reqPeriodcategoryIDs, reqPeriodbrandIDs => $reqPeriodbrandIDs, reqPeriodiDs => $reqPeriodiDs, reqPeriodgUIDs => $reqPeriodgUIDs, reqPeriodlinkedSupplierID => $reqPeriodlinkedSupplierID, reqPeriodisApprovedForPOS => $reqPeriodisApprovedForPOS, reqPeriodisApprovedForWeb => $reqPeriodisApprovedForWeb, reqPeriodisApprovedForService => $reqPeriodisApprovedForService, reqPeriodiD => $reqPeriodiD, reqPeriodisHierarchicalSort => $reqPeriodisHierarchicalSort, reqPeriodtypes => $reqPeriodtypes, reqPeriodisShowFavourites => $reqPeriodisShowFavourites, reqPeriodisHidden => $reqPeriodisHidden, reqPeriodincludeSystemTasks => $reqPeriodincludeSystemTasks, reqPeriodisSystem => $reqPeriodisSystem, reqPeriodbatchStatus => $reqPeriodbatchStatus, reqPeriodsortField => $reqPeriodsortField, reqPeriodsortAsc => $reqPeriodsortAsc, reqPeriodgroupBy => $reqPeriodgroupBy, reqPeriodlastRowNumber => $reqPeriodlastRowNumber, reqPeriodmaxResults => $reqPeriodmaxResults, reqPeriodtenantID => $reqPeriodtenantID, reqPeriodwebsiteID => $reqPeriodwebsiteID, reqPerioduserID => $reqPerioduserID);
print Dumper($result);
};
if ($@) {
warn "Exception when calling DefaultApi->notificationGetUnpreviewedCount: $@\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()
reqPeriodupdateLastPreviewedDateTime = true # Boolean | (optional) (default to null)
reqPerioddatTypes = # array[Integer] | (optional) (default to null)
reqPeriodisGetUnreadOnly = true # Boolean | (optional) (default to null)
reqPeriodisGetForAllApps = true # Boolean | (optional) (default to null)
reqPeriodstatuses = # array[Integer] | (optional) (default to null)
reqPeriodstatusStrings = # array[String] | (optional) (default to null)
reqPeriodstatus = # array[String] | (optional) (default to null)
reqPeriodsearchString = reqPeriodsearchString_example # String | (optional) (default to null)
reqPeriodsearchNameOnly = true # Boolean | (optional) (default to null)
reqPeriodsearch = reqPeriodsearch_example # String | (optional) (default to null)
reqPeriodstartDate = 2013-10-20T19:20:30+01:00 # Date | Format - date-time (as date-time in RFC3339). (optional) (default to null)
reqPeriodendDate = 2013-10-20T19:20:30+01:00 # Date | Format - date-time (as date-time in RFC3339). (optional) (default to null)
reqPerioddatePeriod = reqPerioddatePeriod_example # String | (optional) (default to null)
reqPeriodisExactMatch = true # Boolean | (optional) (default to null)
reqPeriodisGetBasicInfo = true # Boolean | (optional) (default to null)
reqPeriodincludeDeleted = true # Boolean | (optional) (default to null)
reqPeriodincludeLogs = true # Boolean | (optional) (default to null)
reqPeriodignoreID = 56 # Integer | Format - int32. (optional) (default to null)
reqPeriodparentID = 56 # Integer | Format - int32. (optional) (default to null)
reqPeriodgetCountOnly = true # Boolean | (optional) (default to null)
reqPeriodtransactionTypeDatTypeID = 56 # Integer | Format - int32. (optional) (default to null)
reqPeriodcategoryID = 56 # Integer | Format - int32. (optional) (default to null)
reqPeriodadaptorID = 56 # Integer | Format - int32. (optional) (default to null)
reqPeriodcategoryIDs = # array[Integer] | (optional) (default to null)
reqPeriodbrandIDs = # array[Integer] | (optional) (default to null)
reqPeriodiDs = # array[Integer] | (optional) (default to null)
reqPeriodgUIDs = # array[String] | (optional) (default to null)
reqPeriodlinkedSupplierID = 56 # Integer | Format - int32. (optional) (default to null)
reqPeriodisApprovedForPOS = true # Boolean | (optional) (default to null)
reqPeriodisApprovedForWeb = true # Boolean | (optional) (default to null)
reqPeriodisApprovedForService = true # Boolean | (optional) (default to null)
reqPeriodiD = 56 # Integer | Format - int32. (optional) (default to null)
reqPeriodisHierarchicalSort = true # Boolean | (optional) (default to null)
reqPeriodtypes = # array[String] | (optional) (default to null)
reqPeriodisShowFavourites = true # Boolean | (optional) (default to null)
reqPeriodisHidden = true # Boolean | (optional) (default to null)
reqPeriodincludeSystemTasks = true # Boolean | (optional) (default to null)
reqPeriodisSystem = true # Boolean | (optional) (default to null)
reqPeriodbatchStatus = reqPeriodbatchStatus_example # String | (optional) (default to null)
reqPeriodsortField = reqPeriodsortField_example # String | (optional) (default to null)
reqPeriodsortAsc = true # Boolean | (optional) (default to null)
reqPeriodgroupBy = reqPeriodgroupBy_example # String | (optional) (default to null)
reqPeriodlastRowNumber = 789 # Long | Format - int64. (optional) (default to null)
reqPeriodmaxResults = 56 # Integer | Format - int32. (optional) (default to null)
reqPeriodtenantID = 56 # Integer | Format - int32. (optional) (default to null)
reqPeriodwebsiteID = 56 # Integer | Format - int32. (optional) (default to null)
reqPerioduserID = 56 # Integer | Format - int32. (optional) (default to null)
try:
# Notification_GetUnpreviewedCount
api_response = api_instance.notification_get_unpreviewed_count(reqPeriodupdateLastPreviewedDateTime=reqPeriodupdateLastPreviewedDateTime, reqPerioddatTypes=reqPerioddatTypes, reqPeriodisGetUnreadOnly=reqPeriodisGetUnreadOnly, reqPeriodisGetForAllApps=reqPeriodisGetForAllApps, reqPeriodstatuses=reqPeriodstatuses, reqPeriodstatusStrings=reqPeriodstatusStrings, reqPeriodstatus=reqPeriodstatus, reqPeriodsearchString=reqPeriodsearchString, reqPeriodsearchNameOnly=reqPeriodsearchNameOnly, reqPeriodsearch=reqPeriodsearch, reqPeriodstartDate=reqPeriodstartDate, reqPeriodendDate=reqPeriodendDate, reqPerioddatePeriod=reqPerioddatePeriod, reqPeriodisExactMatch=reqPeriodisExactMatch, reqPeriodisGetBasicInfo=reqPeriodisGetBasicInfo, reqPeriodincludeDeleted=reqPeriodincludeDeleted, reqPeriodincludeLogs=reqPeriodincludeLogs, reqPeriodignoreID=reqPeriodignoreID, reqPeriodparentID=reqPeriodparentID, reqPeriodgetCountOnly=reqPeriodgetCountOnly, reqPeriodtransactionTypeDatTypeID=reqPeriodtransactionTypeDatTypeID, reqPeriodcategoryID=reqPeriodcategoryID, reqPeriodadaptorID=reqPeriodadaptorID, reqPeriodcategoryIDs=reqPeriodcategoryIDs, reqPeriodbrandIDs=reqPeriodbrandIDs, reqPeriodiDs=reqPeriodiDs, reqPeriodgUIDs=reqPeriodgUIDs, reqPeriodlinkedSupplierID=reqPeriodlinkedSupplierID, reqPeriodisApprovedForPOS=reqPeriodisApprovedForPOS, reqPeriodisApprovedForWeb=reqPeriodisApprovedForWeb, reqPeriodisApprovedForService=reqPeriodisApprovedForService, reqPeriodiD=reqPeriodiD, reqPeriodisHierarchicalSort=reqPeriodisHierarchicalSort, reqPeriodtypes=reqPeriodtypes, reqPeriodisShowFavourites=reqPeriodisShowFavourites, reqPeriodisHidden=reqPeriodisHidden, reqPeriodincludeSystemTasks=reqPeriodincludeSystemTasks, reqPeriodisSystem=reqPeriodisSystem, reqPeriodbatchStatus=reqPeriodbatchStatus, reqPeriodsortField=reqPeriodsortField, reqPeriodsortAsc=reqPeriodsortAsc, reqPeriodgroupBy=reqPeriodgroupBy, reqPeriodlastRowNumber=reqPeriodlastRowNumber, reqPeriodmaxResults=reqPeriodmaxResults, reqPeriodtenantID=reqPeriodtenantID, reqPeriodwebsiteID=reqPeriodwebsiteID, reqPerioduserID=reqPerioduserID)
pprint(api_response)
except ApiException as e:
print("Exception when calling DefaultApi->notificationGetUnpreviewedCount: %s\n" % e)
extern crate DefaultApi;
pub fn main() {
let reqPeriodupdateLastPreviewedDateTime = true; // Boolean
let reqPerioddatTypes = ; // array[Integer]
let reqPeriodisGetUnreadOnly = true; // Boolean
let reqPeriodisGetForAllApps = true; // Boolean
let reqPeriodstatuses = ; // array[Integer]
let reqPeriodstatusStrings = ; // array[String]
let reqPeriodstatus = ; // array[String]
let reqPeriodsearchString = reqPeriodsearchString_example; // String
let reqPeriodsearchNameOnly = true; // Boolean
let reqPeriodsearch = reqPeriodsearch_example; // String
let reqPeriodstartDate = 2013-10-20T19:20:30+01:00; // Date
let reqPeriodendDate = 2013-10-20T19:20:30+01:00; // Date
let reqPerioddatePeriod = reqPerioddatePeriod_example; // String
let reqPeriodisExactMatch = true; // Boolean
let reqPeriodisGetBasicInfo = true; // Boolean
let reqPeriodincludeDeleted = true; // Boolean
let reqPeriodincludeLogs = true; // Boolean
let reqPeriodignoreID = 56; // Integer
let reqPeriodparentID = 56; // Integer
let reqPeriodgetCountOnly = true; // Boolean
let reqPeriodtransactionTypeDatTypeID = 56; // Integer
let reqPeriodcategoryID = 56; // Integer
let reqPeriodadaptorID = 56; // Integer
let reqPeriodcategoryIDs = ; // array[Integer]
let reqPeriodbrandIDs = ; // array[Integer]
let reqPeriodiDs = ; // array[Integer]
let reqPeriodgUIDs = ; // array[String]
let reqPeriodlinkedSupplierID = 56; // Integer
let reqPeriodisApprovedForPOS = true; // Boolean
let reqPeriodisApprovedForWeb = true; // Boolean
let reqPeriodisApprovedForService = true; // Boolean
let reqPeriodiD = 56; // Integer
let reqPeriodisHierarchicalSort = true; // Boolean
let reqPeriodtypes = ; // array[String]
let reqPeriodisShowFavourites = true; // Boolean
let reqPeriodisHidden = true; // Boolean
let reqPeriodincludeSystemTasks = true; // Boolean
let reqPeriodisSystem = true; // Boolean
let reqPeriodbatchStatus = reqPeriodbatchStatus_example; // String
let reqPeriodsortField = reqPeriodsortField_example; // String
let reqPeriodsortAsc = true; // Boolean
let reqPeriodgroupBy = reqPeriodgroupBy_example; // String
let reqPeriodlastRowNumber = 789; // Long
let reqPeriodmaxResults = 56; // Integer
let reqPeriodtenantID = 56; // Integer
let reqPeriodwebsiteID = 56; // Integer
let reqPerioduserID = 56; // Integer
let mut context = DefaultApi::Context::default();
let result = client.notificationGetUnpreviewedCount(reqPeriodupdateLastPreviewedDateTime, reqPerioddatTypes, reqPeriodisGetUnreadOnly, reqPeriodisGetForAllApps, reqPeriodstatuses, reqPeriodstatusStrings, reqPeriodstatus, reqPeriodsearchString, reqPeriodsearchNameOnly, reqPeriodsearch, reqPeriodstartDate, reqPeriodendDate, reqPerioddatePeriod, reqPeriodisExactMatch, reqPeriodisGetBasicInfo, reqPeriodincludeDeleted, reqPeriodincludeLogs, reqPeriodignoreID, reqPeriodparentID, reqPeriodgetCountOnly, reqPeriodtransactionTypeDatTypeID, reqPeriodcategoryID, reqPeriodadaptorID, reqPeriodcategoryIDs, reqPeriodbrandIDs, reqPeriodiDs, reqPeriodgUIDs, reqPeriodlinkedSupplierID, reqPeriodisApprovedForPOS, reqPeriodisApprovedForWeb, reqPeriodisApprovedForService, reqPeriodiD, reqPeriodisHierarchicalSort, reqPeriodtypes, reqPeriodisShowFavourites, reqPeriodisHidden, reqPeriodincludeSystemTasks, reqPeriodisSystem, reqPeriodbatchStatus, reqPeriodsortField, reqPeriodsortAsc, reqPeriodgroupBy, reqPeriodlastRowNumber, reqPeriodmaxResults, reqPeriodtenantID, reqPeriodwebsiteID, reqPerioduserID, &context).wait();
println!("{:?}", result);
}