Developer Manual
Developer Manual
3
Developer Manual
Manual Version 2.2.2
For HSNM Version 9.3.61
April 2022
PROMETEO S.R.L.
Via Roma, 61
31010 Fonte
Treviso
Italy
Tel. +39 0423 9292
Fax. +39 0423 929392
[email protected]
www.hsnetworkmanager.com
THE SPECIFICATIONS AND INFORMATION CONTAINED IN THIS MANUAL ARE SUBJECT TO CHANGE
WITHOUT ANY NOTICE. ALL STATEMENTS, INFORMATION AND RECOMMENDATIONS IN THIS MANUAL
ARE INTENDED TO BE ACCURATE BUT ARE PRESENTED WITHOUT WARRANTY OF ANY KIND, EITHER
EXPRESS OR IMPLIED. USERS ASSUME FULL RESPONSIBILITY FOR THE USE.
IN NO EVENT SHALL PROMETEO S.R.L OR ITS SUPPLIERS BE LIABLE FOR ANY INDIRECT, SPECIAL,
CONSEQUENTIAL OR INCIDENTAL DAMAGES, INCLUDING WITHOUT LIMITATION LOSS OF PROFITS OR
LOSS OR DAMAGE TO DATA ARISING OUT OF THE USE OR INABILITY TO USE THE MANUAL THOUGH
PROMETEO S.R.L OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
Prometeo, HSNM, HsNetworkManager and logos Prometeo, HSNM and HsNetworkManager are
trademarks of PROMETEO S.R.L. The third-party trademarks are the property of their respective owners.
CONTENTS
INTRODUCTION ............................................................................................................................................................................. 5
STYLES ................................................................................................................................................................................................. 5
GLOSSARY............................................................................................................................................................................................. 6
PRODUCT OVERVIEW .................................................................................................................................................................... 9
WHAT IS HSNM.................................................................................................................................................................................... 9
PURPOSE OF THIS MANUAL ...................................................................................................................................................................... 9
USE OF RESTFUL APIS .................................................................................................................................................................. 10
APIS VERSION 2 .................................................................................................................................................................................. 11
Security ....................................................................................................................................................................................... 11
Examples of API Calls Version 2 .................................................................................................................................................. 11
The RESTfulAPI class of APIs v2 in PHP ....................................................................................................................................................... 12
Data Types of the Object Properties ........................................................................................................................................... 13
The data types used .................................................................................................................................................................................... 13
Timezone Type Properties .......................................................................................................................................................................... 13
Date time Type Properties .......................................................................................................................................................................... 13
Country Type Properties ............................................................................................................................................................................. 13
Currency Type Properties ........................................................................................................................................................................... 13
Properties with Multilingual Content ......................................................................................................................................................... 13
Properties with Images ............................................................................................................................................................................... 14
Properties that define the Color ................................................................................................................................................................. 14
Properties Defining Permissions ................................................................................................................................................................. 15
Properties Returned by the Endpoints ........................................................................................................................................ 16
The Properties Returned in the “Read”-Type Calls ..................................................................................................................................... 16
The Properties Returned in the “Write”-Type Calls .................................................................................................................................... 16
The Properties Returned in the “Find”-Type Calls ...................................................................................................................................... 16
The Properties Returned in the “Delete”-Type Calls .................................................................................................................................. 17
Read Commands ......................................................................................................................................................................... 18
Using the Where Property in Find and Count Commands .......................................................................................................... 18
Using Wildcard Characters .......................................................................................................................................................................... 18
Proprierties Returned from “Find” ............................................................................................................................................................. 19
Using the OrderBy Property in the Find Commands ................................................................................................................... 19
Available API Endpoints in APIs Version 2 .................................................................................................................................. 20
accesspointRead, accesspointWrite, accesspointFind, accesspointDelete and accesspointCount............................................................. 21
advertiserRead, advertiserWrite, advertiserFind, advertiserDelete and advertiserCount ......................................................................... 24
advertisersystemuserRead, advertisersystemuserWrite, advertisersystemuserFind e advertisersystemuserDelete ................................ 26
campaignRead, campaignWrite, campaignFind, campaignDelete and campaignCount ............................................................................. 30
cardAdd....................................................................................................................................................................................................... 37
certificateRead, certificateWrite, certificateFind e certificateDelete ......................................................................................................... 38
domainfederationgroupRead, domainfederationgroupWrite, domainfederationgroupFind e domainfederationgroupDelete ................ 40
domainRead, domainWrite, domainFind, domainDelete and domainCount ............................................................................................. 42
Array of Values Contained in the Domain’s "FederationGroups" Property ........................................................................................... 54
Array of Values Contained in the Domain’s "CustomApp" Property ..................................................................................................... 54
Array of Objects Contained in the Domain’s "Product" Property .......................................................................................................... 54
domainnotificationsRead, domainnotificationsWrite ................................................................................................................................. 57
domainwplanguagesRead, domainwplanguagesWrite ............................................................................................................................... 58
gatewayRead, gatewayWrite, gatewayFind, gatewayDelete and gatewayCount ....................................................................................... 60
The Array of Values contained in the Gateway's "CustomApps" Property ............................................................................................ 68
gatewaywplanguagesRead, gatewaywplanguagesWrite ............................................................................................................................ 69
macaddressDisassoc ................................................................................................................................................................................... 71
macaddressRiassoc ..................................................................................................................................................................................... 72
mailValidate ................................................................................................................................................................................................ 73
managerCount ............................................................................................................................................................................................ 74
managercurrencyandpaymentsRead, managercurrencyandpaymentsWrite ............................................................................................. 75
managernotificationsRead, managernotificationsWrite............................................................................................................................. 79
managerRead, managerWrite, managerFind, managerDelete and managerCount ................................................................................... 81
managertypeRead, managertypeWrite, managertypeFind ........................................................................................................................ 86
managersystemuserRead, managersystemuserWrite, managersystemuserFind and managersystemuserDelete .................................... 88
printerRead, printerWrite, printerFind, printerDelete and printCount ...................................................................................................... 93
productRead, productWrite, productFind, productDelete and productCount ........................................................................................... 95
productpolicyRead, productpolicyWrite, productpolicyFind, productpolicyDelete and productpolicyCount ............................................ 99
Properties contained in the 'CustomRadiusGroupCheck' Property of the Product Policy................................................................... 104
Properties contained in the 'CustomRadiusGroupReply' Property of the Product Policy ................................................................... 104
resellercurrencyandpaymentsRead, resellercurrencyandpaymentsWrite ............................................................................................... 105
resellerexternalauthRead, resellerexternalauthWrite .............................................................................................................................. 109
resellernotificationsRead, resellernotificationsWrite ............................................................................................................................... 112
resellerRead, resellerWrite, resellerFind, resellerDelete and resellerCount ............................................................................................ 114
resellersystemuserRead, resellersystemuserWrite, resellersystemuserFind and resellersystemuserDelete ........................................... 120
saleRead, saleFind..................................................................................................................................................................................... 126
systemcurrencyandpaymentsRead, systemcurrencyandpaymentsWrite................................................................................................. 129
systemexternalauthRead, systemexternalauthWrite ............................................................................................................................... 133
systemnotificationsRead, systemnotificationsWrite ................................................................................................................................ 136
systemuserRead, systemuserWrite, systemuserFind and systemuserDelete ........................................................................................... 139
systemwplanguagesRead, systemwplanguagesWrite .............................................................................................................................. 146
taxratesRead, taxratesWrite, taxratesFind and taxratesDelete ................................................................................................................ 148
userconnectionRead, userconnectionFind, userconnectionCount ........................................................................................................... 150
usercredentialsEncode.............................................................................................................................................................................. 152
userDisconnect ......................................................................................................................................................................................... 153
userproductAdd ........................................................................................................................................................................................ 154
userRead, userWrite, userFind, userDelete and userCount ..................................................................................................................... 155
Properties contained in the 'CustomRadiusAttrCheck' Property for the User .................................................................................... 158
Properties contained in the 'CustomRadiusAttrReply' Property for the User ..................................................................................... 158
userMacaddress........................................................................................................................................................................................ 159
usersaleRead, usersaleFind....................................................................................................................................................................... 160
userStats ................................................................................................................................................................................................... 163
vaccesspointRead, vaccesspointWrite, vaccesspointFind, vaccesspointDelete and vaccesspointCount .................................................. 164
vgatewayRead, vgatewayWrite, vgatewayFind, vgatewayDelete and vgatewayCount ............................................................................ 166
voucherAdd .............................................................................................................................................................................................. 171
wpcustomappRead, wpcustomappWrite, wpcustomappFind and wpcustomappDelete ......................................................................... 172
wpcustomimageRead, wpcustomimageWrite, wpcustomimageFind and wpcustomimageDelete .......................................................... 174
wplockandbypassRead, wplockandbypassWrite, wplockandbypassFind and wplockandbypassDelete ................................................... 176
wpsurveyRead, wpsurveyWrite, wpsurveyFind and wpsurveyDelete ...................................................................................................... 178
Array of Objects contained in the “Questions” Property .................................................................................................................... 180
Array of Values contained in the “Users” Property of the “Questions” Property” .............................................................................. 181
Array of Objects contained in the “Answers” ...................................................................................................................................... 181
wptemplateRead, wptemplateWrite, wptemplateFind and wptemplateDelete ...................................................................................... 184
wpwalledgardenRead, wpwalledgardenWrite, wpwalledgardenFind and wpwalledgardenDelete ......................................................... 192
zoneRead, zoneWrite, zoneFind, zoneDelete and zoneCount .................................................................................................................. 194
Costs of APIs endpoints version 2 ............................................................................................................................................. 196
OTHER INTEGRATIONS WITH EXTERNAL PROCEDURES .............................................................................................................. 197
Sending SMS from External Procedures.................................................................................................................................... 197
Receiving SMS from External Procedures ................................................................................................................................. 197
Receiving GPS Coordinates from Devices or External Procedures ............................................................................................ 198
Displaying the Hotspot Map on External Page ......................................................................................................................... 199
Displaying the Gateway Location on External Page ................................................................................................................. 200
DISPLAYING THE VEHICLE LOCATION ON EXTERNAL PAGE ......................................................................................................................... 200
CUSTOM VALIDATION OF THE USER’S REGISTRATION DATA ........................................................................................................................ 201
PHP Example of an External Page that Processes a Validation. ............................................................................................... 203
CUSTOM PAYMENT SYSTEMS .................................................................................................................................................... 205
PAGE FOR PAYMENT ........................................................................................................................................................................... 206
PAGE TO VERIFY THE PAYMENT ............................................................................................................................................................. 208
INTEGRATIONS WITH ERP/PMS ........................................................................................................................................................... 212
Configuring the Domain ........................................................................................................................................................... 212
Username Creation Mode ........................................................................................................................................................ 212
Password Creation Mode ......................................................................................................................................................... 212
The Product Assigned to the User............................................................................................................................................. 212
IMPALA ............................................................................................................................................................................................ 213
PMSs supported byImpala ........................................................................................................................................................ 213
REQUESTING FOR ASSISTANCE FROM REMOTE ......................................................................................................................... 214
OPENING PORTS ON YOUR ROUTER/FIREWALL ......................................................................................................................... 214
Developer Manual IV
Introduction Styles
Introduction
Styles
This manual uses styles, fonts and symbols specific to the context in order to facilitate the reading and
then create a symbolic association with the capabilities of the product. The icons used are those present
on the pages and in the context dropdown menu of the configuration.
Means readers pay attention and take note of the helpful suggestions. In some places, notes have
this side note icon and this background to study or highlight some critical aspects.
Developer Manual 5
Introduction Glossary
Glossary
The table below shows on the left the abbreviations used in this manual and their meaning on the right.
Term Meaning
HSNM has an integrated RADIUS server that uses the AAA
concept (Authentication, Authorization, Accounting) to manage
network access and also supports federation. In particular:
• Authentication: user authentication with simple methods
(PAP, CHAP). Many types of NAS are supported (MikroTik,
Cisco Meraki, LigoWave, Ruckus, etc.) and many client-
operating systems, including Windows XP (SP1 and SP2) and
Vista, Linux, Mac OSX and many others.
• Authorization: both pre-authorization and post-
AAA
authorization are supported. The policies (time, traffic,
speed, timeout etc.) are defined on the database. IP
addresses are allocated as defined within the appliance.
• Accounting: all the most common methods are supported.
Data are stored in the internal database. Interm-update is
also supported.
• Federation (Proxy): any RADIUS request can be forwarded
to an external RADIUS server. All standard RADIUS realms
are supported (IPASS, @, %, etc.).
Application Program Interface. They allow a programmer to
interact and expand the functionality of HSNM. Examples: they
API
run an external procedure that creates a user in HSNM; read
data from HSNM; etc.
Applications. In the HSNM, applications may be developed to be
App displayed to the user by connecting to external sites or pages or
uploading the HTML code, CSS and JavaScript.
The bar that contains the applications in the user interface of
App bar
the HSNM.
Certification Authority. The Authority that issues the certificates
CA
for SSL connections.
It is a card, generated by a particular procedure of HSNM,
containing a username and a password to use to log in. To the
Card
user, it is also linked a product defined in the phase of
generation.
Content Injector Gateway. It is an additional product combined
with the HSNM to pop up contents to the users while surfing the
CO.IN. Gateway internet.
To manage content injected in the pages visited by the
users, you have to purchase a CO.IN. Gateway.
Certificate Signing Request. File generated by HSNM to be sent
CSR
to the CA to obtain a valid certificate for SSL connections.
Comma-Separated Values. It is a file format based on text file
CSV
used to export table data.
Click-Through Rate. It is the percentage derived from the ratio
CTR of the number of clicks and the number of views (Impressions)
of an advertising campaign.
Developer Manual 6
Introduction Glossary
Developer Manual 7
Introduction Glossary
Developer Manual 8
Product Overview What is HSNM
Product Overview
What is HSNM
HSNM is a unique system, complete, self-contained and easy to configure/manage. It meets all
professional/enterprise requirements for the centralized management (user profile and creation,
authentication using even social networks, memorization of the user traffic logs, customized Apps,
advertising with proximity marketing, etc.) of hot spots, hot zones, internet points, PPPoE networks,
city/municipal networks, etc. In addition, unique in its kind, it also manages resale and technical
administrative processes with custom lists, discounts, summary of services sold/provided, etc.
HSNM is configurable and adaptable to all professional needs of ISP, WISP, telephone operators,
system integrators, managers, etc. and by using read/write API is also integrable with external
procedures such as management programs and pre-existent applications.
Developer Manual 9
Use of RESTful APIs Purpose of this Manual
Version 7 of the HSNM has released APIs version 2, allowing easier access to a much larger set of
objects and properties.
APIs version 1 can still be used but are considered obsolete and will no longer be available with
version 8 of the HSNM.
Developer Manual 10
Use of RESTful APIs APIs Version 2
APIs Version 2
As with APIs version 1, APIs version 2 is based on a set of “endpoint”, and you can apply the same
considerations described in the paragraph “APIs version 1”. In addition, they contain a much larger set
of endpoints and properties that allows you to interact with the data of the objects to which they refer.
The endpoints nomenclature for APIs version 2 is defined by the object name followed by the command
to be executed. The basic commands can be “Read”, “Write”, “Find” and “Delete” but there may also be
special commands to perform particular and specific functions.
Example: $Endpoint = 'managerRead';
Security
For the security of the APIs version 2, you can apply the same consideration made for APIs version 1 in
the relative paragraph “Security”.
$Endpoint = 'resellerRead';
$Data = '{"id":"141"}';
$JSonRetVal = $API->APICall($Endpoint, $Data);
if (isset($RetVal["error"]) && $RetVal["error"] != "") {
echo "Error: " .$RetVal["error"];
}
else {
print_r($JSonRetVal);
}
Warning! To avoid problems with accented or special characters, save the page encoded (UTF-8
without digital signature)”.
Developer Manual 11
Use of RESTful APIs APIs Version 2
class RESTfulAPI {
function __construct($DomainOrIP, $Key, $Secret) {
$this->BaseUri = $DomainOrIP ."/api/v2/";
$this->ApiKey = $Key;
$this->ApiSecret = $Secret;
function base64Url_Encode($data) {
return rtrim(strtr(base64_encode($data), '+/', '-_'), '=');
}
return $this->base64Url_Encode($output);
}
return $RetVal;
}
}
Developer Manual 12
Use of RESTful APIs APIs Version 2
Developer Manual 13
Use of RESTful APIs APIs Version 2
Developer Manual 14
Use of RESTful APIs APIs Version 2
The permissions properties expressing a “Yes/No” Boolean value, use only the first bit. Below, the table
that describes the various possible values:
Value to be defined Comment
0 No
1 Yes
Developer Manual 15
Use of RESTful APIs APIs Version 2
Developer Manual 16
Use of RESTful APIs APIs Version 2
Developer Manual 17
Use of RESTful APIs APIs Version 2
Read Commands
Read-type commands read the data of an object based on the ID or a set of IDs.
To read the data of a single object, simply pass the ID property of the data you need to read, while to
read the data of multiple objects, pass an array of IDs into the IDs property.
In the following example, all the IDs of the manager who have an ERP code are returned:
$Endpoint = 'managerFind';
$Data = '{"Where":"NOT manager.ERPCode=\"\""}';
The endpoint method explanation declares the dependency between the various objects involved with
this symbolism example:
Given this dependence, the search can also be extended to all related objects. Basically, if you want to
extract the IDs of male users who depend on resellers residing in the US, you will need to make a call to
the userFind endpoint with a where in the user and reseller data. An example follows:
$Endpoint = 'userFind';
$Data = '{"Where":"user.Gender=\"M\" AND reseller.Country=\"us\""}';
Warning! The use of objects or property names that are incorrect, can generate an incorrect SQL
query. To verify the error and the syntax, please refeFr to the "System log".
Developer Manual 18
Use of RESTful APIs APIs Version 2
$Endpoint = 'userFind';
$Command = '{"Where":"user.CreationDate >= \"2020-01-01 00:00:00\"",
"OrderBy":"user.UserName"}';
do {
$LastID = 0;
$JSonResult = $API->APICall($Endpoint, $Command);
$Result = json_decode($JSonResult, true);
$IDs = $Result["id"];
if (count($IDs) > 0) {
echo $JSonResult ."<br>";
The following is an example of the commands to use to extract user IDs created since the beginning of
2020 sorted descending by registration date.
$Endpoint = 'userFind';
$Command = '{"Where":"user.CreationDate >= \"2020-01-01 00:00:00\"",
"OrderBy":"user.CreationDate DESC"}';
Developer Manual 19
Use of RESTful APIs APIs Version 2
Developer Manual 20
Use of RESTful APIs APIs Version 2
Available proprieties:
Name Comment Type
Object ID.
id If you need to add, pass the value zero in this property. int(11)
Read-only property.
Date when the object was created. Automatically assigned
CreationDate when you add it. timestamp
Read-only property.
Zone ID.
ZoneID ID derived from the “zones” object. int(11)
Mandatory property.
Access point name.
AccessPointName varchar(100)
Mandatory property.
MAC-address of the access point.
Developer Manual 21
Use of RESTful APIs APIs Version 2
Developer Manual 22
Use of RESTful APIs APIs Version 2
Latitude.
Latitude For custom zones, defines the distance in meters from varchar(20)
the zero point of the axes. The zero point is the upper
left corner.
Longitude.
Longitude For custom zones, defines the distance in meters from varchar(20)
the zero point of the axes. The zero point is the upper
left corner.
Developer Manual 23
Use of RESTful APIs APIs Version 2
advertiser reseller
Available properties:
Name Comment Type
Object ID.
id If you need to add, pass the value zero in this property. int(11)
Read-only property.
Date when the object was created. Automatically assigned
CreationDate when you add it. timestamp
Read-only property.
Reseller ID.
ResellerID ID derived from the “reseller” object. int(11)
Mandatory when adding.
Advertiser’s company name.
CompanyName varchar(100)
Mandatory when adding.
Address Advertiser’s adress. varchar(100)
Zip ZIP or postcode. varchar(10)
City Reseller’s city. varchar(100)
State Province or state. varchar(100)
Country Code of the country. varchar(100)
Developer Manual 24
Use of RESTful APIs APIs Version 2
Developer Manual 25
Use of RESTful APIs APIs Version 2
Available properties:
Name Comment Type
Object ID.
id If you need to add, pass the value zero in this property. int(11)
Read-only property.
Date when the object was created. Automatically assigned
CreationDate when you add it. timestamp
Read-only property.
Reseller ID.
AdvertiserID ID derived from the “advertiser” object. int(11)
Mandatory property.
Username for the login. It is recommended to enter your
UserName varchar(60)
mobile phone or email address.
Password for the user.
Password The password you enter must comply with the varchar(255)
“Password Complexity” defined in the “Backend
Security” of the “System Settings” session.
RetypePassword Repeated password to verify accuracy. varchar(255)
Developer Manual 26
Use of RESTful APIs APIs Version 2
Developer Manual 27
Use of RESTful APIs APIs Version 2
Developer Manual 28
Use of RESTful APIs APIs Version 2
All properties whose name begins with "Auth" define the combination of permissions. Assign values
that are compatible with what is described in the "Properties that define permissions" paragraph.
Developer Manual 29
Use of RESTful APIs APIs Version 2
Available properties:
Name Comment Type
Object ID.
Id If you need to add, pass the value zero in this property. int(11)
Read-only property.
Date when the object was created. Automatically assigned
CreationDate when you add it. timestamp
Read-only property.
Advertiser or manager ID.
Assign an ID derived from the “manager” object if you
AdvertiserID need to assign the campaign to a manager. int(11)
ID derived from the "advertiser" object if you need to
assign the campaign to an advertiser.
Mandatory property.
Description Description of the campaign.
Frequency. Possible values are:
• 1 = Very low
Frequency • 2 = Low int(5)
• 5 = Medium low
• 10 = Medium
Developer Manual 30
Use of RESTful APIs APIs Version 2
• 15 = Medium high
• 30 = High
• 50 = Very high
• 100 = Highest priority
Timezone of the campaign.
TimeZone varchar(64)
Define a “tzdata”-type value.
StartDate Start date of the campaign release. datetime
End date of the campaign release. If it is not defined, it will
last till the total allocated budget or the remaining founds
EndDate datetime
charged in the transactions for the campaigns by the
advertiser.
Timetable of the campaign.
The numeric value expresses the activation hours based on
Timetables the bits of the same from midnight. int(11)
1 activates midnight, 3 activates midnight and one, 7
activates midnight, one and two, etc.
The ID of the domain on which to run the campaign. If not
defined, the campaign will run across all domains.
Possible values are:
DomainID • -1 = Run the campaign across all domains. int(11)
domain.id = ID of the domain on which to run the campaign.
ID derived from the “domain” object.
The ID of the gateway on which to run the campaign. If not
defined, the campaign will run across all gateways.
Possible values are:
GatewayID • -1 = Run the campaign across all gateways. int(11)
gateway.id = ID of the gateway on which to run the
campaign.
ID derived from the “gateway” object.
The ID of the manager on which to run the campaign. If not
defined, the campaign will run across all managers.
Possible values are:
ManagerTypeID • -1 = Run the campaign across all managers. int(11)
• managertype.id = ID of the manager on which to run the
campaign.
ID derived from the “managertype” object.
URL Destination URL. varchar(512)
TotalBudget Total budget. double
DailyBudget Daily dudget. double
ClickPrice Cost charged to the campaign for every click of the users. double
Cost charged to the campaign for every impression of the
ImpressionPrice double
users.
Address Address to refer when calculating GPS coordinates. varchar(100)
City City to calculate GPS coordinates. varchar(100)
Country code to calculate GPS coordinates.
Country varchar(100)
Define the value in ISO 3166-1 alpha-2 format.
Longitude Longitude to refer for the campaing. varchar(20)
Developer Manual 31
Use of RESTful APIs APIs Version 2
Developer Manual 32
Use of RESTful APIs APIs Version 2
Developer Manual 33
Use of RESTful APIs APIs Version 2
Developer Manual 34
Use of RESTful APIs APIs Version 2
• 1 = Top
• 2 = Center
• 3 = Full screeen.
Only available with COINType = 10
Size of the image two of the injection. Possible values are:
• 0 = 200 x 200
• 1 = 250 x 250
• 2 = 320 x 75
• 3 = 320 x 100
COINImage2Size • 4 = 320 x 200 int(2)
• 5 = 320 x 450
• 6 = 720 x 200
• 7 = 720 x 300
• 8 = 720 x 450.
Only available with COINType = 10
URL to redirect the users to when they click on the image
COINImage2Link two. varchar(255)
Only available with COINType = 10
Image two displayed in the injection.
COINImage2Type Only available with COINType = 10 varchar(40)
Read-only property.
Position of the image three of the injection.
Possible values are:
• 0 = Bottom
COINImage3Position • 1 = Top int(2)
• 2 = Center
• 3 = Full screeen.
Only available with COINType = 10
Size of the image three of the injection.
Possible values are:
• 0 = 200 x 200
• 1 = 250 x 250
• 2 = 320 x 75
• 3 = 320 x 100
COINImage3Size • 4 = 320 x 200 int(2)
• 5 = 320 x 450
• 6 = 720 x 200
• 7 = 720 x 300
• 8 = 720 x 450.
Only available with COINType = 10
URL to redirect the users to when they click on the image
COINImage3Link three. varchar(255)
Only available with COINType = 10
Image three displayed in the injection.
COINImage3Type varchar(40)
Only available with COINType = 10
Developer Manual 35
Use of RESTful APIs APIs Version 2
Read-only property.
Defines the position where to display the injection content
COINExternalURLPositio for the external URL.
int(2)
n
Only available with COINType = 70
Size of the rectangle that contains the content to be
displayed (Width x Height). Possible values are:
• 0 = 200 x 200
• 1 = 250 x 250
• 2 = 320 x 75
• 3 = 320 x 100
COINExternalURLSize • 4 = 320 x 200 int(2)
• 5 = 320 x 450
• 6 = 720 x 200
• 7 = 720 x 300
• 8 = 720 x 450.
Only available with COINType = 70
PortalIntroImageFromFil Image type for the Intro, uploaded from file.
mediumblob
eImg Read-only property.
Image displayed as a poster when the video is not yet
PortalIntroVideoPosterI running. mediumblob
mg
“Image”-type property.
Image displayed as a poster for the injection when the video
COINVideoPosterImg is not yet. mediumblob
“Image”-type property.
Banner image to displayed at the top.
TopBannerImg Recommended size 700 x 100 pixels. mediumblob
“Image”-type property.
Banner image to displayed on the left.
LeftBannerImg Recommended size 200 x 720 pixels. mediumblob
“Image”-type property.
Banner image to displayed on the right.
RightBannerImg Recommended size 200 x 720 pixels. mediumblob
“Image”-type property.
Image 1 for the injection.
COINImage1 mediumblob
“Image”-type property.
Image 2 for the injection.
COINImage2 mediumblob
“Image”-type property.
Image 3 for the injection.
COINImage3 mediumblob
“Image”-type property.
Developer Manual 36
Use of RESTful APIs APIs Version 2
cardAdd
The "cardAdd" endpoint allows you to create cards for a domain.
Example:
$Endpoint = 'cardAdd';
$Data = '{"DomainID":"123", "ProductID":"345", "SellPrice":"2.5", "Language":"en",
"Quantity":"10"}';
Proprietà:
Name Comment Type
Domain ID.
DomainID Mandatory. int(11)
ID derived from the “domain” object.
Product ID.
ProductID Mandatory int(11)
ID derived from the “product” object.
SellPrice Sale price. float
Language code for the users.
Language Define the value in ISO 3166-1 alpha-2 format. varchar(2)
Optional.
Number of cards to generate.
Quantity If not defined, the default is equal to one. int(11)
The maximum number is one thousand.
Properties returned:
Name Comment
UserID UserID array of the “user” object of the generated cards.
Developer Manual 37
Use of RESTful APIs APIs Version 2
certificate reseller
certificate
Available properties:
Name Comment Type
Object ID.
id If you need to add, pass the value zero in this property. int(11)
Read-only property.
Date when the object was created. Automatically assigned
CreationDate when you add it. timestamp
Read-only property.
Reseller ID.
Developer Manual 38
Use of RESTful APIs APIs Version 2
Developer Manual 39
Use of RESTful APIs APIs Version 2
domainfederationgroup reseller
domainfederationgroup
Available properties:
Name Comment Type
Object ID.
id If you need to add, pass the value zero in this property. int(11)
Read-only property.
Date when the object was created. Automatically assigned
CreationDate when you add it. timestamp
Read-only property.
Reseller ID.
Developer Manual 40
Use of RESTful APIs APIs Version 2
Developer Manual 41
Use of RESTful APIs APIs Version 2
Available properties:
Name Comment Type
Object ID.
id If you need to add, pass the value zero in this property. int(11)
Read-only property.
Date when the object was created. Automatically assigned
CreationDate when you add it. timestamp
Read-only property.
Manager ID.
ManagerID ID derived from the “manager” object. int(11)
Mandatory when adding.
Domain name.
DomainName varchar(50)
Mandatory when adding.
Authentication modes. Possible values are:
• 0 = Click & connect. No registration, no password
• 1 = Simple password. No registration
• 2 = With sending an SMS by the user
AuthenticationMode int(2)
• 3 = With registration by the user
• 4 = Con With operator registration
• 5 = PPPoE
• 6 = With registration by the user without password
Developer Manual 42
Use of RESTful APIs APIs Version 2
Developer Manual 43
Use of RESTful APIs APIs Version 2
CustomApps The values contained in each element of the array are array()
explained in the next paragraph “Array of Values
Contained in the Domain’s "CustomApp" Property”.
IDs derived from the “wpcustomapp” object.
Defines how the username is generated or defined.
Possible values are:
• 0 = Auto generated
• 1 = Use the mobile number
• 2 = Use the mobile number. Auto generated with
registration by social login
• 3 = Entered by the user
RegistrationRequestUser
• 4 = Entered by the user. Auto generated with tinyint(2)
Name
registration by social network
• 5 = Use the email address
• 6 = Use the email address. Auto generated with
registration by social network
• 7 = Use the MAC address
• 8 = Use the room or pitch number (Only for integration
with ERP/PMS)
When registering, requests the mobile phone.
Possible values are:
• 0 = No
RegistrationRequestMob • 1 = Yes
tinyint(1)
ile • 2 = Yes but not with registration by social network
• 3 = Yes not mandatory
• 4 =Yes not mandatory but not with registration by social
network
When registering, the user can choose the password.
Possible values are:
• 0 = No
• 1 = Yes
• 2 = Yes but not with registration by social network
RegistrationRequestPass
• 3 = Yes not mandatory tinyint(1)
word
• 4 = Yes not mandatory but not with registration by social
network
• 7 = No. Use the MAC address
• 10 = No. Use the last name (Only for integration with
ERP/PMS)
Developer Manual 44
Use of RESTful APIs APIs Version 2
Developer Manual 45
Use of RESTful APIs APIs Version 2
Developer Manual 46
Use of RESTful APIs APIs Version 2
Developer Manual 47
Use of RESTful APIs APIs Version 2
Developer Manual 48
Use of RESTful APIs APIs Version 2
by the user and will have to return any code and error
description.
Please, refer to the "Custom validation of user
registration data" paragraph for further details on how
the data are passed and returned.
Mask for generating usernames. It can include: X =
uppercase alphanumeric, x = lowercase alphanumeric, C
uppercase consonant, c lowercase consonant, V uppercase
vowel, v lowercase vowel, N or n numeric (no zero).
UsernameMask If you don’t specify it, it will use the properties defined varchar(20)
in the “System Settings”.
Define at least three valid characters.
Warning! A too restrictive form on a domain containing
many users, may cause registration problems.
Mask for generating passwords. It can include: X =
uppercase alphanumeric, x = lowercase alphanumeric, C
uppercase consonant, c lowercase consonant, V uppercase
PasswordMask vowel, v lowercase vowel, N or n numeric (no zero). varchar(20)
Developer Manual 49
Use of RESTful APIs APIs Version 2
Developer Manual 50
Use of RESTful APIs APIs Version 2
Developer Manual 51
Use of RESTful APIs APIs Version 2
Example:
http://www.DomainName.com/ShowCredentials.php?User
name=%UserName%&Password=%Password%.
Redirect URL after the user registration process. In the URL,
you can use the variables %UserName%, %Password%,
RedirectUponRegistratio %EMailAddress%, etc.
varchar(150)
n Example:
http://www.DomainName.com/ShowCredentials.php?User
name=%UserName%&Password=%Password%.
Enables auto-login if the MAC address is recognized.
Possible values are:
• 0 = No
MACAddressAutoLogin tinyint(1)
• 1 = Yes, hide the username and password fields
• 2 = Yes, suggest and show the username and password
fields.
Expresses the expiration, in minutes, of the device
recognition with regard to the last session of the user.
MACAddressAutoLoginM
A value = 0 declares that there is no expiration. int(11)
axTime
A value less than zero, avoid proposing the last logged-
in username.
AutoRegistrationNotRec Switches automatically to registration the un recognized
int(1)
ognizedUsers devices/users.
AutoRechargeForRecogni Switches automatically to recharge ther devices/users who
int(1)
zedUsers are recognized and expired or have run out of time/traffic.
By activating this option, the user cannot register multiple
times from the same device. So, if a user logs in with a
Username and Password, he will no longer be able to make
further registrations using that device. In practice at the first
LimitSingleRegistrationB login, the system matches the user to the device and he
tinyint(1)
yMAC can't use any other user with different credentials. This
allows, for example, in the case of partially free domains, i.e.
with an initial free time, preventing various registrations
from the same device to take advantage n times of the free
time credit granted.
Array with the data of the domain-associated products.
Products The properties treated by each element of the array are array()
explained in the next paragraph “Array of Objects
Contained in the Domain’s "Product" Property”.
Assigns automatically the first free product when the users
AssignFreeProductUpon register the first time. Possible values are:
tinyint(1)
Registration • 0 = No
• 1 = Yes
Reassigns the free product when the users exhaust the
assigned product. Possible values are:
• 0 = Never
ReassignFreeProduct • 1 = At expiration or exhaustion tinyint(1)
• 2 = At expiration
• 3 = Al expiration or exhaustion with a charged product
• 4 = At expiration with a charged product
Developer Manual 52
Use of RESTful APIs APIs Version 2
Developer Manual 53
Use of RESTful APIs APIs Version 2
Developer Manual 54
Use of RESTful APIs APIs Version 2
Read-only property.
Product ID.
ProductID int(11)
ID derived from the “product” object.
Price of the product.
Price If the price is equal to zero, the product is to be float
considered free without the need for payment by users.
Usable with standard registration not with social networks.
Possible values are:
WhenStandard int(1)
• 0 = Not usable in standard registration
• 1 = Usable with standard registration
Usable when registering with social networks.
Possible values are:
WhenSocialLogin int(1)
• 0 = Not usable with social netwoks
• 1 = Usable with social netwoks
Usable when recharging. Possible values are:
WhenRecharge • 0 = Not usable when recharging int(1)
• 1 = Usable when recharging
Name of the product group displayed in the “HSNM
PrintableGroup varchar(32)
Printer”.
Printable on cards with the “HSNM Hotspot Manager
Printer”. Possible values are:
PrintableOnCard int(1)
• 0 = Non per la stampa delle card
• 1 = Utilizzabile per la stampa delle card
Printable on vouchers with the “HSNM Printer”.
Possible values are:
PrintableOnVoucher int(1)
• 0 = Non per la stampa dei voucher
• 1 = Utilizzabile per la stampa dei voucher
Display order on a zero basis.
Order int(11)
Progressive value to maintain the display order.
Developer Manual 55
Use of RESTful APIs APIs Version 2
"WhenSocialLogin":"1",
"WhenRecharge":"1",
"PrintableGroup":"",
"PrintableOnCard":"1",
"PrintableOnVoucher":"0",
"Order":"1"}
]
Developer Manual 56
Use of RESTful APIs APIs Version 2
domainnotificationsRead, domainnotificationsWrite
The “domainnotifications” object allows you to manage the domain-configured notification data.
Available properties:
Name Comment Type
Notification SMS text to send to users notifying the login longtext
credentials. You can use the following variables:
SmsNotificationText %UserName%; %Password%; %FirstName%; %LastName%;
%Domain%; %SmsNumber%; %SmsNumber2%.
Multilingual property.
Subject of the email to send to users notifying the login longtext
EmailNotificationSubject credentials.
Multilingual property.
Text of the email to send to users notifying the login longtext
EmailNotificationText credentials
Multilingual property.
Subject of the email to send to the manager notifying the longtext
EmailNotificationSubject login credentials.
Manager
Multilingual property.
EmailNotificationTextMa HTML of the email to send to the manager for registration. longtext
nager Multilingual property.
EmailFollowUpEnabled Enables follow-up email to be sent to users. int(1)
Defines after how many days upon the first connection, you int(3)
EmailFollowUpAfterDays
want to send the follow-up email to user.
Subject of the follow-up email to send to users. longtext
EmailFollowUpSubject
Multilingual property.
Text of the follow-up email to send to users. longtext
EmailFollowUpText
Multilingual property..
Developer Manual 57
Use of RESTful APIs APIs Version 2
domainwplanguagesRead, domainwplanguagesWrite
The “domainwplanguages” object allows you to manage the language data for the Welcome Portal
defined at domain level.
Available properties:
Name Comment Type
Object ID of “domain” type.
id int(11)
Read-only property.
Image type uploaded for the flag of the English language.
ENLangImgType varchar(40)
Read-only property.
Image displayed for the flag of the English language. It must
ENLangImg mediumblob
have a size of 24 x 18 pixels.
Image type uploaded for the flag of the Spanish language.
ESLangImgType varchar(40)
Read-only property.
Image displayed for the flag of the Spanish language. It must
ESLangImg mediumblob
have a size of 24 x 18 pixels.
Image type uploaded for the flag of the French language.
FRLangImgType varchar(40)
Read-only property.
Image displayed for the flag of the French language. It must
FRLangImg mediumblob
have a size of 24 x 18 pixels.
Image type uploaded for the flag of the Italian language.
ITLangImgType Varchar(40)
Read-only property.
Image displayed for the flag of the Italian language. It must
ITLangImg Mediumblob
have a size of 24 x 18 pixels.
Image type uploaded for the flag of the German language.
DELangImgType varchar(40)
Read-only property.
Image displayed for the flag of the German language. It must
DELangImg mediumblob
have a size of 24 x 18 pixels.
Country code for the first additional language.
CustomLang1 varchar(2)
Define the value in ISO 3166-1 alpha-2 format.
Image type uploaded for the flag of the first additional
CustomLang1ImgType language. varchar(40)
Read-only property.
Image displayed for the flag of the first additional language.
CustomLang1Img mediumblob
It must have a size of 24 x 18 pixels.
Text displayed to users if they point the mouse over the flag
of the first additional language.
CustomLang1ImgText varchar(255)
To display the language, you need to define it.
Multi-language property.
Developer Manual 58
Use of RESTful APIs APIs Version 2
Developer Manual 59
Use of RESTful APIs APIs Version 2
Available properties:
Name Comment Type
Object ID.
id If you want to add, in this property pass the value zero. int(11)
Read-only property.
Object creation date. Automatically assigned when you add.
CreationDate timestamp
Read-only property.
Manager ID.
ManagerID ID derived from the "manager" object. int(11)
Mandatory property in addition.
Domain ID.
DomainID ID derived from the "domain" object. int(11)
Mandatory property in addition.
Gateway name.
GatewayName varchar(100)
Mandatory property.
MacAddress Gateway MAC-address. varchar(255)
Developer Manual 60
Use of RESTful APIs APIs Version 2
Developer Manual 61
Use of RESTful APIs APIs Version 2
Developer Manual 62
Use of RESTful APIs APIs Version 2
CustomApps The values contained in each element of the array are array()
explained in the next paragraph "The array of values
contained in the gateway's 'CustomApps' property".
IDs derived from the "wpcustomapp" object.
Complete URL (without HTTP://) orFacebook page ID which
FacebookFanPageURL varchar(200)
users can click 'I Like' on or 'Publish a post' to
When the user performs the registration or login with
Facebook, it has the possibility to publish a post on its
FacebookPublishUponCo timeline. Possible values are:
int(11)
nnection • 0 = Use domain settings
• 1 = Yes
• 2 = Never
TwitterFollowerUser Username or Twitter ID to follow. varchar(50)
Disables the Apple mini-browser (captive network assistant)
that has several limitations.
DisableAppleCaptivePort If enabled, the user will have to manually open the tinyint(1)
al browser after connecting to the wifi. The option will be
active from the next Walled Garden update. This option
is automatically considered active if injection is enabled.
Disables the Android mini-browser (captive network
assistant) that has several limitations.
DisableAndroidCaptiveP If enabled, the user will have to manually open the tinyint(1)
ortal browser after connecting to the wifi. The option will be
active from the next Walled Garden update. This option
is automatically considered active if injection is enabled.
Developer Manual 63
Use of RESTful APIs APIs Version 2
Developer Manual 64
Use of RESTful APIs APIs Version 2
Developer Manual 65
Use of RESTful APIs APIs Version 2
Developer Manual 66
Use of RESTful APIs APIs Version 2
EnableHotspotBridgeOnE
Adds Ether4 to Hotspot Bridge. tinyint(1)
th4
EnableHotspotBridgeOnE
Adds Ether5 to Hotspot Bridge. tinyint(1)
th5
EnableHotspotBridgeOnE
Adds Ether6 to Hotspot Bridge. tinyint(1)
th6
EnableHotspotBridgeOnE
Adds Ether7 to Hotspot Bridge. tinyint(1)
th7
EnableHotspotBridgeOnE
Adds Ether8 to Hotspot Bridge. tinyint(1)
th8
EnableHotspotBridgeOnE
Adds Ether9 to Hotspot Bridge. tinyint(1)
th9
EnableHotspotBridgeOnE
Adds Ether10 to Hotspot Bridge. tinyint(1)
th10
EnableHotspotBridgeOnE
Adds Ether11 to Hotspot Bridge. tinyint(1)
th11
EnableHotspotBridgeOnE
Adds Ether12 to Hotspot Bridge. tinyint(1)
th12
Defines the Keep-Alive timeout, in seconds, for the hotspot
service. Possible values are:
• 0 = Undefined
• 15 = 15 Seconds
• 30 = 30 Seconds
• 60 = 1 Minute
KeepAliveTimeout varchar(10)
• 120 = 2 Minutes
• 300 = 5 Minutes
• 600 = 10 Minutes
• 1800 = 30 Minutes
• From 3600 to 259200 = from one hour to seventy-two
hours.
IP address of the gateway hotspot interface (WLAN1 or
HotspotIPAddress varchar(15)
Ether2)
Network mask of the virtual gateway hotspot interface
HotspotNetMask varchar(15)
(Wlan1 or Ether2).
DNSIPAddress IP addresses of the DNS servers, separated by commas. varchar(100)
UsersPoolFromIP First IP address for the DHCP pool used by the gateway. varchar(15)
UsersPoolToIP Last IP address for the DHCP pool used by the gateway. varchar(15)
DHCP lease time, expressed in hours, for the IP address
UsersPoolLeaseTimeHou assignment of the connected devices. Possible values are:
varchar(3)
rs • 1 = An hour
• From 2 to 72 = Two to seventy-two hours.
Enables or disables using a VLAN for the bridge interface of
HotspotUseVLAN int(1)
the Hotspot.
HotspotVLANID ID of the VLAN. varchar(5)
PPTPEnabled Enables VPN configuration. tinyint(1)
PPTPServer PPTP server address. varchar(50)
PPTPUserName Username to connect to the PPTP server. varchar(50)
PPTPPassword Password to connect to the PPTP server. varchar(50)
GPSEnable Enables GPS. int(1)
Developer Manual 67
Use of RESTful APIs APIs Version 2
Developer Manual 68
Use of RESTful APIs APIs Version 2
gatewaywplanguagesRead, gatewaywplanguagesWrite
The "gatewaywplanguages" object allows you to manage the language data for the Welcome Portal
defined at gateway level.
Available properties:
Name Comment Type
Object ID of "gateway".type.
id int(11)
Read-only property.
Type of image uploaded for the English language.
ENLangImgType varchar(40)
Read-only property.
Image displayed for the English language. It must have a size
ENLangImg mediumblob
of 24 x 18 pixels.
Type of image uploaded for the Spanish language.
ESLangImgType varchar(40)
Read-only property.
Image displayed for the Spanish language. It must have a
ESLangImg mediumblob
size of 24 x 18 pixels.
Type of image uploaded for the French language.
FRLangImgType varchar(40)
Read-only property.
Image displayed for the French language. It must have a size
FRLangImg mediumblob
of 24 x 18 pixels.
Type of image uploaded for the Italian language.
ITLangImgType varchar(40)
Read-only property.
Image displayed for the Italian language. It must have a size
ITLangImg mediumblob
of 24 x 18 pixels.
Type of image uploaded for the German language.
DELangImgType varchar(40)
Read-only property.
Image displayed for the German language. It must have a
DELangImg mediumblob
size of 24 x 18 pixels.
Country code for the first additional language.
CustomLang1 varchar(2)
Define the value in ISO 3166-1 alpha-2 format.
Type of image uploaded for the the first additional
CustomLang1ImgType language. varchar(40)
Read-only property.
Image displayed for the first additional language. It must
CustomLang1Img mediumblob
have a size of 24 x 18 pixels.
Text displayed to users for the first additional language.
CustomLang1ImgText To display the language, it must be defined. varchar(255)
Multilingual property.
Developer Manual 69
Use of RESTful APIs APIs Version 2
Developer Manual 70
Use of RESTful APIs APIs Version 2
macaddressDisassoc
The "macaddressDisassoc" endpoint allows you to disassociate a MAC-Address from the connection log.
Example:
$Endpoint = 'macaddressDisassoc';
$Data = '{"DomainID":"123", "Mac":"03:03:03:03:03:03"}';
Available properties:
Name Comment Type
Domain ID.
Returned properties:
Name Comment
Count Number of disassociated records.
Developer Manual 71
Use of RESTful APIs APIs Version 2
macaddressRiassoc
The "macaddressRiassoc" endpoint allows you to reassociate a MAC-Address to the connection log.
Example:
$Endpoint = 'macaddressRiassoc';
$Data = '{"DomainID":"123", "Mac":"03:03:03:03:03:03"}';
Available properties:
Name Comment Type
Domain ID.
Returned properties:
Name Comment
Count Number of reassociated records.
Developer Manual 72
Use of RESTful APIs APIs Version 2
mailValidate
The "mailValidate" endpoint performs a validation of the e-mail address passed in the manner provided
by SMSS.
Example:
$Endpoint = 'mailValidate';
$Data = '{"Address":"[email protected]"}';
Properties:
Name Comment Type
Email address to be validated.
Address varchar(255)
Mandatory.
Returned properties:
Name Comment
Possible values:
• “” = The email address is correct and is active.
• “Wrong e-mail address” = The email address is not
Error
syntactically correct
• “The email address does not exist” The email address
does not exist on the destination mail server.
Developer Manual 73
Use of RESTful APIs APIs Version 2
managerCount
The "managerCount" method returns the total number of managers entered.
Example:
$Endpoint = 'managerCount';
$Data = '{"ResellerID":"123"}';
Properties:
Name Comment Type
Reseller ID.
ResellerID Optional. int(11)
ID derived from the "reseller" object.
Returned properties:
Name Comment
Count Number of resellers inserted.
Developer Manual 74
Use of RESTful APIs APIs Version 2
managercurrencyandpaymentsRead, managercurrencyandpaymentsWrite
The "managercurrencyandpayments" object allows you to manage the currency and payment system
data for the manager.
Available properties:
Name Comment Type
Object ID of type "manager".
id int(11)
Read-only property.
Currency code. It is used for payments.
CurrencyCode varchar(3)
Define a value of type "ISO 4217".
Currency Currency symbol for prices. varchar(20)
Decimal Separator. Possible values are:
DecimalSeparator • 1 = Dot int(3)
• 2 = Comma
Thousands separator. Possible values are:
• 1 = Space
ThousandSeparator int(3)
• 2 = Dot
• 3 = Comma
Tax rate ID included in the selling prices to the users.
TaxRatesID int(11)
ID derived from the "taxrates" object.
TaxJurisdiction Fiscal jurisdiction for taxation. varchar(32)
AdministrativeEmailAddr
Administrative email address for payment notifications varchar(255)
ess
Company name to use for receipt header. Possible values
are:
ReceiptSeller • 0 = Manager smallint(3)
• 1 = Retailer
• 2 = System
Header image to print in receipts.
ReceiptSellerImg mediumblob
Property of type "image”.
Type of header image to print in receipts.
ReceiptSellerImgType varchar(40)
Read-only property.
Defines how to compose the venue name. Possible values
are:
• 0 = None
VenueNameType • 1 = Manager Company Name smallint(3)
• 2 = Retailer Company Name
• 3 = Reseller and Manager's Company Name
• 4 = Manager's Company Name and Domain Name
ReceiptIDPrefix Prefix for the receipt ID. varchar(32)
ReceiptNote Notes to print on receipt. longtext
Developer Manual 75
Use of RESTful APIs APIs Version 2
Multilingual property.
Enables prepaid payments for the manager. If enabled, the
EnablePrepaid manager can create vouchers, cards or users only if it has a tinyint(1)
prepaid credit.
When enabled, it uses the accounts released to test the
SandBox tinyint(1)
payment processes.
PaypalAccount Address of the PayPal account. varchar(50)
Mollie API key to enable payments through this gateway.
MollieApiKey varchar(50)
The currency must be in Euro.
Authorize.Net API ID to enable payments through this
AuthorizeNetApiID varchar(50)
gateway.
AuthorizeNetTransaction
Authorize.Net Transaction ID. varchar(50)
Key
PayFastApiID PayFast Merchant ID. varchar(50)
PayFastTransactionKey PayFast Merchant Key. varchar(50)
PayFastPassPhrase PassPhrase defined in the PayFast account. varchar(40)
PaymentExpressApiID Payment Express username. varchar(50)
PaymentExpressTransact
Payment Express Key varchar(64)
ionKey
PesapalApiID Pesapal Consumer Key. varchar(50)
PesapalTransactionKey Pesapal Consumer Secret. varchar(64)
PayUBizApiID PayU Biz Merchant Key. varchar(50)
PayUBizTransactionKey PayU Biz Merchant Salt. varchar(64)
EwayApiID eWay API Key. varchar(100)
EwayTransactionKey eWay password. varchar(50)
PaysafecardApiID Paysafe Card username (SOPG). varchar(50)
PaysafecardTransactionK
Paysafe Card password (SOPG). varchar(64)
ey
Version of 1Voucher-payment type.
Possible values are:
• 0 = 1ForYou
OneVoucherVersion int(1)
• 1 = 1Voucher
You can still use 1Voucher for old contract. For new
contract, select 1ForYou.
OneVoucherConsumerKe
1Voucher/1ForYou Consumer Key. varchar(40)
y
OneVoucherConsumerSe
1Voucher/1ForYou Consumer Secret. varchar(40)
cret
OneVoucherPurseAccou
1Voucher/1ForYou Purse Account Number. varchar(40)
ntNumber
OneVoucherUserName 1Voucher username. varchar(50)
OneVoucherPassword 1Voucher password. varchar(50)
TransactiumUserName Transactium username varchar(50)
TransactiumPassword Transactium password. varchar(50)
StripeAccount Stripe account ID. varchar(50)
StripeApiKey Stripe Live API Key. varchar(50)
StripePublishableApiKey Stripe live publishable API Key. varchar(50)
StripeTestApiKey Stripe test API Key. varchar(50)
Developer Manual 76
Use of RESTful APIs APIs Version 2
StripeTestPublishableApi
Stripe test publishable API Key. varchar(50)
Key
SafaricomMPesaTestPas
Safaricom MPesa test Pass Key. varchar(100)
sKey
SafaricomMPesaTestBusi
Safaricom MPesa test Business Code. varchar(10)
nessCode
SafaricomMPesaTestCon
Safaricom MPesa test Consumer Key. varchar(128)
sumerKey
SafaricomMPesaTestCon
Safaricom MPesa test Consumer Secret. varchar(128)
sumerSecret
SafaricomMPesaPassKey Safaricom MPesa live Pass Key. varchar(100)
SafaricomMPesaBusines
Safaricom MPesa live Business Code. varchar(10)
sCode
SafaricomMPesaConsum
Safaricom MPesa live Consumer Key. varchar(128)
erKey
SafaricomMPesaConsum
Safaricom MPesa live Consumer Secret. varchar(128)
erSecret
WAAFIPayTestAPIKey WAAFIPay test API Key. varchar(20)
WAAFIPayTestMerchant
WAAFIPay test Merchant UID. varchar(16)
UID
WAAFIPayTestAPIUserID WAAFIPay test API User ID. varchar(16)
WAAFIPayAPIKey WAAFIPay API Key. varchar(20)
WAAFIPayMerchantUID WAAFIPay Merchant UID. varchar(16)
WAAFIPayAPIUserID WAAFIPay API User ID. varchar(16)
The title to display in the Welcome Portal for the first
CustomPayment1Title custom payment. longtext
Multilingual property.
CustomPayment1URL The external URL to invoke for the first custom payment. varchar(255)
External URL to invoke to verify the first custom payment.
If not defined, payments will not be verified and will
CustomPayment1VerifyU always be accepted with possible security problems. The varchar(255
RL page must respond in JSON format with the 'Status'
variable which must contain 'paid' to accept the
payment or 'cancel' to decline it.
Image to display in the Welcome Portal for the first custom
CustomPayment1Img payment. Recommended size 172x120 pixels. mediumblob
“Image-type property.
Image type of image to display in the Welcome Portal for
CustomPayment1ImgTyp the first custom payment type.
varchar(40)
e
Read-only property.
Defines the target of the payment pages. If the gateway
security policies allow including the payment page, choose
CustomPayment1Redirec 'Welcome Portal', otherwise choose 'External Site'
int(3)
tTarget Possible values are:
• 0 = External site
• 1 = Welcome Portal
The title to display in the Welcome Portal for the second
CustomPayment2Title Longtext
custom payment.
Developer Manual 77
Use of RESTful APIs APIs Version 2
Multilingual property.
CustomPayment2URL The external URL to invoke for the second custom payment. varchar(255)
External URL to invoke to verify the second custom
payment.
Developer Manual 78
Use of RESTful APIs APIs Version 2
managernotificationsRead, managernotificationsWrite
The "systemnotifications" object allows you to manage notification data configured at system level.
Available properties:
Name Comment Type
Object ID of type "manager”. int(11)
id
Read-only property.
Subject of the email that is sent to users with the receipt of longtext
EmailReceiptSubject payment.
Multilingual property.
Text of the email that is sent to users with the receipt of longtext
EmailReceiptBody payment.
Multilingual property.
Enables sending an SMS with the new voucher code to users int(1)
who pay with 1Voucher/1ForYou.
Possible values are:
OneVoucherSendSMS
• 0 = Use Default
• 1 = No
• 2 = Yes
SMS text to send to users notifying the code of the new longtext
voucher. It is possible to use the variables: %UserName%;
OneVoucherSendSMSTe %Password%; %FirstName%; %LastName%; %Domain%;
xt %SmsNumber%; %SmsNumber2%; %NewPin%; %Credit%;
%Currency%.
Multilingual property.
Enables sending an email with the new voucher code to int(1)
users who pay with 1Voucher/1ForYou.
Possible values are:
OneVoucherSendEmail
• 0 = Use Default
• 1 = No
• 2 = Yes
Subject of the email to send to users notifying the code of longtext
the new voucher. It is possible to use the variables:
OneVoucherSendEmailS %UserName%; %Password%; %FirstName%; %LastName%;
ubject %Domain%; %SmsNumber%; %SmsNumber2%; %NewPin%;
%Credit%; %Currency%.
Multilingual property.
Text of the email with the code of the new voucher to send longtext
OneVoucherSendEmailT
to users who pay with 1Voucher/1ForYou. It is possible to
ext
use the variables: %UserName%; %Password%;
Developer Manual 79
Use of RESTful APIs APIs Version 2
Developer Manual 80
Use of RESTful APIs APIs Version 2
manager reseller
Available properties:
Name Comment Type
Object ID.
id If you want to add, in this property pass the value zero. int(11)
Read-only property.
Date of creation of the object. Automatically assigned when
CreationDate you add. timestamp
Read-only property.
Manager ID.
ResellerID ID derived from the "reseller" object. int(11)
Mandatory in addition.
Manager type ID.
ManagerTypeID int(11)
ID derived from the "managertype" object”.
Manger’s company name.
CompanyName varchar(100)
Mandatory in addition.
Address Manager’s address. varchar(100)
Zip Postcode. varchar(10)
Developer Manual 81
Use of RESTful APIs APIs Version 2
Developer Manual 82
Use of RESTful APIs APIs Version 2
Developer Manual 83
Use of RESTful APIs APIs Version 2
Developer Manual 84
Use of RESTful APIs APIs Version 2
• 1 = Never
• 2 = One day
• 3 = One week
• 4 = Two weeks
• 5 = One month
• 6 = Three months
• 7 = Six months
• 8 = One year
• 9 = Eighteen months
• 10 = Two years
• 11 = Three years
Defines which products can be used on the domain and by
the manager system users. Possible values are:
• 0 = Of the system, reseller and manager
• 1 = Of the reseller and manager
ShowProducts int(3)
• 2 = Of the manager
• 3 = Of the reseller
• 4 = Of the system
• 5 = None
MaxManagerCard Maximum number of cards/vouchers. int(11)
ERP/PMS external code.
ERPCode It is used to associate the user with the registry of an varchar(25)
external ERP/PMS.
Notes Notes text
Locked If enabled, it blocks access to all users of the manager. tinyint(1)
Developer Manual 85
Use of RESTful APIs APIs Version 2
managertype
Available properties:
Name Comment Type
Object ID.
id int(11)
Read-only property.
Multilingual description of the type of manager.
Description longtext
Multilingual property.
Possible values:
Description
Airport
Bar
Beach
Bus
Camping
Coffee Shop
Hospital
Hostel
Hotel
Library
Luxury Hotel
Luxury Resort
Motel
Other
Playground
Public Area
Railway Station
Resort
Restaurant
Developer Manual 86
Use of RESTful APIs APIs Version 2
School
Service Station
Shop
Square
Subway
Swimming Pool
Developer Manual 87
Use of RESTful APIs APIs Version 2
Available properties:
Name Comment Type
Object ID.
id If you want to add, in this property pass the value zero. int(11)
Read-only property.
Date of creation of the object. Automatically assigned when
CreationDate you add. timestamp
Read-only property.
Manager ID.
ManagerID ID derived from the "manager" object. int(11)
Mandatory property.
Username for the login. It is recommended to enter your
UserName varchar(60)
mobile phone or email address.
Password for the user.
Password The password entered must comply with the "Password varchar(255)
Complexity" defined in the "Backend Security" of the
"System Settings".
RetypePassword Repeated password to verify accuracy. varchar(255)
Developer Manual 88
Use of RESTful APIs APIs Version 2
Developer Manual 89
Use of RESTful APIs APIs Version 2
Developer Manual 90
Use of RESTful APIs APIs Version 2
Developer Manual 91
Use of RESTful APIs APIs Version 2
Developer Manual 92
Use of RESTful APIs APIs Version 2
All properties whose name begins with "Auth" define the combination of permissions. Assign values
that are compatible with what is defined in the "Properties that define permissions" paragraph.
printerRead, printerWrite, printerFind, printerDelete and printCount
The "printer" object allows you to manage printer data.
When searching using the “Find” and “Count” commands, you can use various objects with the following
hierarchy:
Available properties:
Name Comment Type
Object ID.
id If you want to add, in this property pass the value zero. int(11)
Read-only property.
Date of creation of the object. Automatically assigned when
CreationDate you add. timestamp
Read-only property.
Gateway ID.
GatewayID ID derived from "gateway" or "vgateway" object. int(11)
Mandatory in addition.
Description Description or place where the printer has been installed. varchar(255)
Text displayed in the printer when it is disabled. It can serve
IdleText to display a logo, a reference phone number or to indicate varchar(64)
how to proceed for printing (Example: Press F1).
ShowProductPrice Enables or disables the display of the price in the printer. int(1)
PrintProductPrice Enables or disables the price printing. int(1)
Developer Manual 93
Use of RESTful APIs APIs Version 2
Developer Manual 94
Use of RESTful APIs APIs Version 2
product reseller
product
Available properties:
Name Comment Type
Object ID.
id If you want to add, in this property pass the value zero. int(11)
Read-only property.
Date of creation of the object. Automatically assigned when
CreationDate you add. timestamp
Read-only property.
Reseller ID.
Developer Manual 95
Use of RESTful APIs APIs Version 2
Developer Manual 96
Use of RESTful APIs APIs Version 2
Developer Manual 97
Use of RESTful APIs APIs Version 2
Developer Manual 98
Use of RESTful APIs APIs Version 2
productpolicy reseller
productpolicy
Available properties:
Name Comment Type
Object ID.
id If you want to add, in this property pass the value zero. int(11)
Read-only property.
Date of creation of the object. Automatically assigned when
CreationDate you add. timestamp
Read-only property.
Reseller ID.
Developer Manual 99
Use of RESTful APIs APIs Version 2
Manager ID.
resellercurrencyandpaymentsRead, resellercurrencyandpaymentsWrite
The "resellercurrencyandpayments" object allows you to manage the reseller's currency and payment
systems data.
Available properties:
Name Comment Type
Object ID of type "reseller”.
id int(11)
Read-only property.
Currency code. It is used for payments.
CurrencyCode varchar(3)
Define a value of type "ISO 4217".
Currency Currency simbol for prices. varchar(20)
Decimal separator. Possible values are:
DecimalSeparator • 1 = Dot int(3)
• 2 = Comma
Thousands separator. Possible values are:
• 1 = Space
ThousandSeparator int(3)
• 2 = Dot
• 3 = Comma
Tax rate included in the selling prices to the users ID.
TaxRatesID
ID derived from the "taxrates" object.
TaxJurisdiction Fiscal jurisdiction for taxation. varchar(32)
AdministrativeEmailAddr Administrative email address to send notifications of users’
varchar(255)
ess payments
Receipt header image.
ReceiptSellerImg mediumblob
Property of type "image".
Receipt header image type.
ReceiptSellerImgType varchar(40)
Read-only property.
ReceiptIDPrefix Prefix of the receipt ID varchar(32)
Notes to print on the receipt.
ReceiptNote longtext
Multilingual property.
PaypalAccount Address of the PayPal account. varchar(50)
Mollie API Key to enable payments through this gateway.
MollieApiKey varchar(50)
The currency must be in Euro.
Authorize.Net API ID to enable payments through this
AuthorizeNetApiID varchar(50)
gateway.
AuthorizeNetTransaction
Authorize.Net transaction ID. varchar(50)
Key
PayFastApiID PayFast Merchant ID. varchar(50)
PayFastTransactionKey PayFast Merchant Key. varchar(50)
PayFastPassPhrase PassPhrase defined in the PayFast account. varchar(40)
PaymentExpressApiID Payment Express username. varchar(50)
PaymentExpressTransact
Payment Express Key. varchar(64)
ionKey
PesapalApiID Pesapal Consumer Key. varchar(50)
PesapalTransactionKey Pesapal Consumer Secret. varchar(64)
PayUBizApiID PayU Biz Merchant Key. varchar(50)
PayUBizTransactionKey PayU Biz Merchant Salt. varchar(64)
EwayApiID eWay API Key. varchar(100)
EwayTransactionKey eWay password. varchar(50)
PaysafecardApiID Paysafe Card username (SOPG). varchar(50)
PaysafecardTransactionK
Paysafe Card password (SOPG). varchar(64)
ey
Version of 1Voucher-payment type.
Possible values are:
• 0 = 1ForYou
OneVoucherVersion int(1)
• 1 = 1Voucher
You can still use 1Voucher for old contract. For new
contract, select 1ForYou.
OneVoucherConsumerKe varchar(40)
1Voucher/1ForYou Consumer Key.
y
OneVoucherConsumerSe varchar(40)
1Voucher/1ForYou Consumer Secret.
cret
OneVoucherPurseAccou varchar(40)
1Voucher/1ForYou Purse Account Number.
ntNumber
OneVoucherUserName 1Voucher username. varchar(50)
OneVoucherPassword 1Voucher password. varchar(50)
TransactiumUserName Transactium username varchar(50)
TransactiumPassword Transactium password. varchar(50)
StripeAccount Stripe account ID. varchar(50)
StripeApiKey Stripe Live API Key. varchar(50)
StripePublishableApiKey Stripe live publishable API Key. varchar(50)
StripeTestApiKey Stripe test API Key. varchar(50)
StripeTestPublishableApi
Stripe test publishable API Key. varchar(50)
Key
SafaricomMPesaTestPass
Safaricom MPesa test Pass Key. varchar(100)
Key
SafaricomMPesaTestBusi
Safaricom MPesa test Business Code. varchar(10)
nessCode
SafaricomMPesaTestCon
Safaricom MPesa test Consumer Key. varchar(128)
sumerKey
SafaricomMPesaTestCon
Safaricom MPesa test Consumer Secret. varchar(128)
sumerSecret
SafaricomMPesaPassKey Safaricom MPesa live Pass Key”. varchar(100)
SafaricomMPesaBusines
Safaricom MPesa live Business Code. varchar(10)
sCode
SafaricomMPesaConsum
Safaricom MPesa live Consumer Key. varchar(128)
erKey
SafaricomMPesaConsum
Safaricom MPesa live Consumer Secret. varchar(128)
erSecret
WAAFIPayTestAPIKey WAAFIPay test API Key. varchar(20)
WAAFIPayTestMerchant
WAAFIPay test Merchant ID. varchar(16)
UID
WAAFIPayTestAPIUserID WAAFIPay test API User UID. varchar(16)
WAAFIPayAPIKey WAAFIPay API Key. varchar(20)
WAAFIPayMerchantUID WAAFIPay Merchant UID. varchar(16)
WAAFIPayAPIUserID WAAFIPay API User ID. varchar(16)
The title to display in the Welcome Portal for the first
CustomPayment1Title custom payment. longtext
Multilingual property.
CustomPayment1URL The external URL to invoke for the first custom payment. varchar(255)
The external URL to invoke to verify the first custom
payment.
resellerexternalauthRead, resellerexternalauthWrite
The "resellerexternalauth" object allows you to manage data from external authentication systems
configured at reseller level.
Available only for enterprise edition.
Available properties:
Name Comment Type
Object ID of type "reseller”.
id int(11)
Read-only property.
FacebookAppID App ID of Facebook app. varchar(100)
TwitterConsumerKey API Key of Twitter application. varchar(100)
GoogleClientID Client ID of Google app. varchar(100)
Allows defining the Google API Key in order to get Google
GoogleApiKey services privately. Please, refer to the manual to understand varchar(50)
the types of services that you should activate.
LinkedinClientID Client ID of LinkedIn. varchar(100)
FlickrAPIKey API Key of Flick app. varchar(100)
InstagramAPIKey Client ID of Instagram app. varchar(100)
AmazonClientID Client ID of Amazon application. varchar(100)
VKontakteAppID App ID of VKontakte application. varchar(100)
Short title of the OAuth application displayed to user.
CustomOAuth1Title varchar(250)
Multilingual property.
CustomOAuth1ClientID Client ID for the custom OAuth authentication. varchar(100)
Version of OAuth. Possible values are:
• 1.0 = 1.0
CustomOAuth1Version varchar(10)
• 1.0a = 1.0a
• 2.0 = 2.0
URL of the OAuth server to redirect the user for the
CustomOAuth1DialogUR authentication request. In the URL , you can use the
varchar(255)
L following variables: {REDIRECT_URI}; {CLIENT_ID}; {SCOPE};
{STATE}; {API_KEY}.
CustomOAuth1InitialTok URL of the OAuth server to require the initial token for
varchar(255)
enURL OAuth servers 1.0 and 1.0a.
CustomOAuth1AccessTo URL of the OAuth server that returns the URL of the access
varchar(255)
kenURL toke. In the URL, you can use the variable {SCOPE}.
CustomOAuth1AccessTo Type of access token to take when the OAuth server does
varchar(50)
kenType not specify it.
CustomOAuth1URLPara Enables this check if the API call requires that the
int(1)
meters parameters be passed via URL.
Sets this variable on POST if the OAuth server does not
CustomOAuth1TokenRe
support the token request using the HTTP GET method. varchar(4)
questMethod
Possible values are:
• GET = GET
• POST = POST
Sets the method with which the access token is returned.
Define 'HASH' if it is returned in GET with a hashtag. Possible
CustomOAuth1TokenRes
values are: varchar(4)
ponseMethod
• GET = GET
• HASH = HASH
CustomOAuth1HashField Field name returned in the HASH that contains the access
varchar(50)
Name token.
The OAuth server requires that the OAuth parameters be
CustomOAuth1Authoriza
passed using HTTP authorization instead of the URI int(1)
tionHeader
parameters of the request.
Based on the documentation of the OAuth server, define
CustomOAuth1Scope the identifiers of the authorizations (Scope) that the user varchar(255)
must grant. More identifiers must be separated by commas.
Based on the documentation of the OAuth server, define
CustomOAuth1UserInfo
the URL, complete with the endpoint, with the API that varchar(255)
APIURL
allows obtaining the users' data.
Indicate the name of the variable, contained in the data
CustomOAuth1UserNam returned by the OAuth authentication, which contains the
varchar(100)
eFieldName username. Multiple field names can be passed, separated
by commas. The first available name will be uploaded.
Indicate, if available, the variable name, contained in the
CustomOAuth1FirstNam
data returned by the OAuth authentication, which contains varchar(100)
eFieldName
the user's first name.
Indicate, if available, the variable name, contained in the
CustomOAuth1LastName
data returned by the OAuth authentication, which contains varchar(100)
FieldName
the user's last name.
Indicate, if available, the variable name, contained in the
CustomOAuth1EmailFiel
data returned by the OAuth authentication, which contains varchar(100)
dName
the user's email address.
CustomOAuth1Backgrou
Background color displayed in the login App. varchar(30)
ndColor
CustomOAuth1Foregrou
Text color displayed in the login App. varchar(30)
ndColor
Type of image to display in the Welcome Portal.
CustomOAuth1ImgType Recommended dimensions are 32x32 pixels. varchar(40)
Read-only property.
Image to display in the Welcome Portal. Recommended
CustomOAuth1Img mediumblob
dimensions are 32x32 pixels.
LDAPServer Address of the LDAP server. varchar(100)
LDAPDomainName Name of the LDAP domain. varchar(100)
Name of the Organizational Units, separated by commas,
LDAPUserGroup varchar(255)
containing the LDAP users that can authenticate.
Short title of the LDAP application displayed to user.
LDAPTitle varchar(250)
Multilingual property.
LDAPBackgroundColor Background color displayed in the login App. varchar(30)
LDAPForegroundColor Text color displayed in the login App. varchar(30)
resellernotificationsRead, resellernotificationsWrite
The "systemnotifications" object allows you to manage notification data configured at system level.
Available properties:
Name Comment Type
Object ID of type "reseller”. int(11)
id
Read-only property.
Subject of the email that is sent to users with the receipt of longtext
EmailReceiptSubject payment.
Multilingual property.
Text of the email that is sent to users with the receipt of longtext
EmailReceiptBody payment.
Multilingual property.
Enables sending an SMS to send to users who pay with int(1)
1Voucher/1ForYou, notifying the code of the new voucher.
Possible values are:
OneVoucherSendSMS
• 0 = Use default
• 1 = No
• 2 = Yes
SMS text to send to users who pay with 1Voucher/1ForYou, longtext
notifying the code of the new voucher. It is possible to use
OneVoucherSendSMSTe the variables: %UserName%, %Password%, %FirstName%,
xt %LastName%, %Domain%, %SmsNumber%,
%SmsNumber2%, %NewPin%, %Credit%, %Currency%.
Multilingual property.
Enable sending an email to send to users who pay with int(1)
1Voucher/1ForYou, notifying the code of the new voucher.
Possible values are:
OneVoucherSendEmail
• 0 = Use default
• 1 = No
• 2 = Yes
Subject of the email to send to users who pay with longtext
1Voucher/1ForYou, notifying the code of the new voucher.
It is possible to use the variables: %UserName%,
OneVoucherSendEmailS %Password%, %FirstName%, %LastName%, %Domain%,
ubject %SmsNumber%, %SmsNumber2%, %NewPin%, %Credit%,
%Currency%.
Multilingual property.
OneVoucherSendEmailT Body of the email to send to users who pay with longtext
ext 1Voucher/1ForYou, notifying the code of the new voucher.
reseller
Available properties:
Name Comment Type
Object ID.
id If you need to add, pass the value zero in this property. int(11)
Read-only property.
Date when the object was created. Automatically assigned
CreationDate when you add it. timestamp
Read-only property.
Reseller’s Company Name.
CompanyName varchar(100)
Mandatory when adding.
Address Reseller’s address. varchar(100)
City Reseller’s city. varchar(100)
State Province or state. varchar(100)
Code of the country.
Country
Define the value in ISO 3166-1 alpha-2 format.
Vat Reseller’s VAT-I number. varchar(20)
Phone Reseller’s phone number. varchar(20)
Fax Reseller’s fax number. varchar(20)
Web Reseller’s web address. varchar(50)
EmailAddress Email address. varchar(50)
RegisterOfCompaniesIn Registered at register of companies of. varchar(100)
“Image”-type property.
Type of image loaded to use for the backend login page.
LoginImgType varchar(40)
Read-only property.
Logo displayed in the top-left corner of the backend when
LogoImg you log in as a reseller. mediumblob
“Image”-type property.
Type of image loaded for the logo displayed in the top-left
LogoImgType corner of the backend when you log in as a reseller. varchar(40)
Read-only property.
resellersystemuser reseller
Available properties:
Name Comment Type
Object ID.
id If you need to add, pass the value zero in this property. int(11)
Read-only property.
Date when the object was created. Automatically assigned
CreationDate when you add it. timestamp
Read-only property.
Reseller ID.
ResellerID ID derived from the “reseller” object. int(11)
Mandatory property.
Username for the login. It is recommended to enter your
UserName varchar(60)
mobile phone or email address.
Password for the user.
Password The password entered must comply with the "Password varchar(255)
Complexity" defined in the "Backend Security" of the
"System Settings".
RetypePassword Repeated password to verify accuracy. varchar(255)
Read-only property.
Privacy Policy acceptance.
PrivacyPolicyAccepted int(1)
Read-only property.
Date and time when the Privacy Policy statement was
PrivacyPolicyAcceptedDa accepted.
datetime
te
Read-only property.
Version of the Privacy Policy statement accepted by the
PrivacyPolicyVersion user. varchar(10)
Read-only property.
Date of the Privacy Policy statement accepted by the user.
PrivacyPolicyDate datetime
Read-only property.
All properties whose name begins with "Auth" define the combination of permissions. Assign values
that are compatible with what is defined in the "Properties that define permissions" paragraph.
saleRead, saleFind
The "sale" object allows you to read and search sales data for users.
When searching using the “Find” command, you can use various objects with the following hierarchy:
Example of a call that gets the IDs of all sales made on a federated domain and where the city of
the reseller making the sale is equal to "New York":
$Endpoint = 'saleFind';
$Data = '{"Where":"sale.DomainID = 85 AND sale.SaleResellerID > 0 AND sale.SaleResellerID
<> sale.ResellerID AND resellerSale.City = \"New York\""}';
Example of a call that derives the IDs of all sales made from 2020-01-01 onwards:
$Endpoint = 'saleFind';
$Data = '{"Where":"sale.CreationDate >= \"2020-01-01 00:00:00\""}';
Available properties:
Name Comment Type
Object ID. int(11)
id If you need to add, pass the value zero in this property.
Mandatory property for "saleRead”.
Date when the object was created. Automatically assigned timestamp
CreationDate when you add it.
Read-only property.
Reseller ID. int(11)
ResellerID
ID derived from the “reseller” object.
ID of the reseller that made the sale. It can be different from int(11)
ResellerID if the sale was made in a federated domain.
To search on this property, use the "SaleReseller" object.
SaleResellerID
ID derived from the “reseller” object.
If you want to search on this "reseller" object, use the
"resellerSale” class.
Manager ID. int(11)
ManagerID
ID derived from the “manager” object.
ID of the manager that made the sale. It can be different int(11)
from ManagerID if the sale was made in a federated
domain.
SaleManagerID
ID derived from the “manager” object.
If you want to search on this "manager" object, use the
"managerSale” class.
systemcurrencyandpaymentsRead, systemcurrencyandpaymentsWrite
The "systemcurrencyandpayments" object allows you to manage currency and system payment system
data.
Available properties:
Name Comment Type
Currency code. It is used for payments. varchar(3)
CurrencyCode
Define a value of type "ISO 4217".
Currency Price currency symbol. varchar(20)
Decimal separator. Possible values are: int(3)
DecimalSeparator • 1 = Dot
• 2 = Comma
Thousands separator. Possible values are: int(3)
• 1 = Space
ThousandSeparator
• 2 = Dot
• 3 = Comma
Tax rate included in the selling prices to the users. Int(11)
TaxRatesID
ID derived from the “taxrates” object.
TaxJurisdiction Fiscal jurisdiction for taxation. varchar(32)
AdministrativeEmailAddr Administrative email address to send notifications of users' varchar(50)
ess payments.
Receipt header image. mediumblob
ReceiptSellerImg
“Image”-type property.
Receipt header image type. varchar(40)
ReceiptSellerImgType
Read-only property.
ReceiptIDPrefix Prefix of the receipt ID. varchar(32)
Notes to print on the receipt. longtext
ReceiptNote
Multilingual property.
PaypalAccount Indirizzo del conto Paypal. varchar(50)
Enter the Mollie API key to enable payments through this varchar(50)
MollieApiKey
gateway. The currency must be in Euro.
Authorize.Net API ID to enable payments through this varchar(50)
AuthorizeNetApiID
gateway.
AuthorizeNetTransaction varchar(50)
Authorize.Net Transaction ID.
Key
PayFastApiID PayFast Merchant ID. varchar(50)
PayFastTransactionKey PayFast Merchant Key. varchar(50)
PayFastPassPhrase PassPhrase defined in the PayFast account. varchar(40)
PaymentExpressApiID Payment Express username. varchar(50)
PaymentExpressTransact varchar(64)
Payment Express Key.
ionKey
systemexternalauthRead, systemexternalauthWrite
The "systemexternalauth" object allows you to manage data from external authentication systems
configured at system level.
Available properties:
Name Comment Type
FacebookAppID App ID of Facebook application. varchar(20)
TwitterConsumerKey API Key of Twitter application. varchar(30)
GoogleClientID Client ID of Google application. varchar(100)
Allows defining the Google API Key in order to get Google varchar(50)
GoogleApiKey services privately. Please, refer to the manual to understand
the types of services that you should activate.
OAuth Version of LinkedIn. Possible values: int(1)
LinkedinOAuthVersion • 1 = 1.0a
• 2 = 2.0
LinkedinClientID Client ID of LinkedIn application. varchar(30)
FlickrAPIKey API Key of Flick application. varchar(50)
InstagramAPIKey Client ID of Instagram application. varchar(50)
AmazonClientID Client ID of Amazon application. varchar(100)
VKontakteAppID App ID of VKontakte application. varchar(100)
Short title of the OAuth application displayed to user. varchar(250)
CustomOAuth1Title
Multilingual property.
CustomOAuth1ClientID Client ID for the custom OAuth authentication. varchar(100)
Version of OAuth. Possible values: varchar(10)
• 1.0 = 1.0
CustomOAuth1Version
• 1.0a = 1.0a
• 2.0 = 2.0
URL of the OAuth server to redirect the user for the varchar(255)
CustomOAuth1DialogUR authentication request. In the URL , you can use the
L following variables: {REDIRECT_URI}; {CLIENT_ID}; {SCOPE};
{STATE}; {API_KEY}.
CustomOAuth1InitialTok URL of the OAuth server to require the initial token for varchar(255)
enURL OAuth servers 1.0 and 1.0a.
CustomOAuth1AccessTo URL of the OAuth server that returns the URL of the access varchar(255)
kenURL token. In the URL, you can use the variable {SCOPE}
CustomOAuth1AccessTo Type of access token to take when the OAuth server does varchar(50)
kenType not specify it.
CustomOAuth1URLPara Enable this check if the API call requires that the parameters int(1)
meters be passed via URL.
Set this variable on POST if the OAuth server does not varchar(4)
CustomOAuth1TokenRe support the token request using the HTTP GET method.
questMethod Possible values:
• GET = GET
• POST = POST
Set the method with which the access token is returned. varchar(4)
Define 'HASH' if it is returned in GET with a hashtag. Possible
CustomOAuth1TokenRes
values:
ponseMethod
• GET = GET
• HASH = HASH
CustomOAuth1HashField Field name returned in the HASH that contains the access varchar(50)
Name token.
The OAuth server requires that the OAuth parameters be int(1)
CustomOAuth1Authoriza
passed using HTTP authorization instead of the URI
tionHeader
parameters of the request.
Based on the documentation of the OAuth server, define varchar(255)
CustomOAuth1Scope the identifiers of the authorizations (Scope) that the user
must grant. More identifiers must be separated by commas.
Based on the documentation of the OAuth server, define varchar(255)
CustomOAuth1UserInfo
the URL, complete with the endpoint, with the API that
APIURL
allows obtaining the users' data.
Indicate the name of the variable, contained in the data varchar(100)
CustomOAuth1UserNam returned by the OAuth authentication, which contains the
eFieldName username. Multiple field names can be passed, separated
by commas. The first available name will be uploaded.
Indicate, if available, the variable name, contained in the varchar(100)
CustomOAuth1FirstNam
data returned by the OAuth authentication, which contains
eFieldName
the user's first name.
Indicate, if available, the variable name, contained in the varchar(100)
CustomOAuth1LastName
data returned by the OAuth authentication, which contains
FieldName
the user's last name.
Indicate, if available, the variable name, contained in the varchar(100)
CustomOAuth1EmailFiel
data returned by the OAuth authentication, which contains
dName
the user's email address.
CustomOAuth1Backgrou varchar(30)
Background color displayed in the login app.
ndColor
CustomOAuth1Foregrou varchar(30)
Text color displayed in the login app.
ndColor
Type of image to display in the Welcome Portal. varchar(40)
CustomOAuth1ImgType Recommended dimensions are 32x32 pixels.
Read-only property.
Image to display in the Welcome Portal. Recommended mediumblob
CustomOAuth1Img
dimensions are 32x32 pixels.
LDAPServer Address of the LDAP server. varchar(100)
LDAPDomainName Name of the LDAP domain. varchar(100)
Name of the Organizational Units, separated by commas, varchar(255)
LDAPUserGroup
containing the LDAP users that can authenticate.
Short title of the LDAP application displayed to user. varchar(250)
LDAPTitle
Multilingual property.
LDAPBackgroundColor Background color displayed in the login app. varchar(30)
LDAPForegroundColor Text color displayed in the login app. varchar(30)
Type of image to display in the Welcome Portal. varchar(40)
LDAPImgType
Recommended dimensions are 32x32 pixels.
Read-only property.
Image to display in the Welcome Portal. Recommended mediumblob
LDAPImg
dimensions are 32x32 pixels.
FacebookAppSecret Secret of Facebook application. varchar(40)
GoogleSecret Secret of Google application. varchar(100)
LinkedinSecret Secret of LinkedIn application. varchar(30)
TwitterConsumerSecret API secret of Twitter application. varchar(50)
InstagramAPISecret Secret of Instagram application. varchar(50)
AmazonClientSecret Client secret of Amazon application. varchar(100)
VKontakteAppSecret Secret of VKontakte application. varchar(100)
CustomOAuth1ClientSec varchar(100)
Client secret for the custom OAuth authentication.
ret
systemnotificationsRead, systemnotificationsWrite
The "systemnotifications" object allows you to manage notification data configured at system level.
Available properties:
Name Comment Type
SMS text notification to be sent to users notifying the login longtext
credentials. It is possible to use the variables: %UserName%,
SmsNotificationText %Password%, %FirstName%, %Surname%, %Domain%,
%SmsNumber%, %SmsNumber2%.
Multi-language property.
Subject of the email that is sent to users notifying the login longtext
EmailNotificationSubject credentials.
Multi-language property.
Body of the email that is sent to the users notifying the login longtext
EmailNotificationText credentials.
Multi-language property.
Subject of the email to send to the manager notifying the
EmailNotificationSubject login credentials.
longtext
Manager
Multilingual property.
EmailNotificationTextMa HTML of the email to send to the manager for registration.
longtext
nager Multilingual property.
Subject of the email that is sent to users with the receipt of longtext
EmailReceiptSubject payment.
Multi-language property.
Body of the email that is sent to users with the receipt of longtext
EmailReceiptBody payment.
Multi-language property.
Enables sending an SMS to send to users who pay with int(1)
1Voucher/1ForYou, notifying the code of the new voucher.
Possible values are:
OneVoucherSendSMS
• 0 = Use default
• 1 = No
• 2 = Yes
SMS text to send to users who pay with 1Voucher/1ForYou, longtext
notifying the code of the new voucher. It is possible to use
OneVoucherSendSMSTe the variables: %UserName%; %Password%; %FirstName%;
xt %LastName%; %Domain%; %SmsNumber%;
%SmsNumber2%; %NewPin%; %Credit%; %Currency%.
Multi-language property.
Available properties:
Name Comment Type
Object ID.
id If you need to add, pass the value zero in this property. int(11)
Read-only property.
Date when the object was created. Automatically assigned
CreationDate when you add it. timestamp
Read-only property.
Username for the login. It is recommended to enter your
UserName varchar(60)
mobile phone or email address.
Password for the user.
Password The password entered must comply with the "Password varchar(255)
Complexity" defined in the "Backend Security" of the
"System Settings".
ConfirmPassword User confirmation password. varchar(255)
FirstLastName Last and first name of the user. varchar(100)
Phone Landline phone number. varchar(20)
MobilePhone Mobile phone number. varchar(20)
Type of contact. Possible values:
ContactType • 0 = Technician int(11)
• 1 = Administrative
Define the backend colors for the system user accessing the
backend. Possible values are:
• (Empty value) = Use default
BackendColors varchar(30)
• greygreen = Grey and Green
• darkblue = Dark and Blue
• darkorange = Dark and Orange
Defines the API access Key and must always be passed with
ApiKey calls. varchar(50)
A value is automatically proposed when adding.
Defines the API access security code used to encrypt
ApiSecret transmitted data. Do not disclose this data. varchar(50)
A value is automatically proposed when adding.
Defines whether the user has enabled two-factor
authentication and how to send security codes.
TwoFactorAuthType int(3)
Only users with admin rights over system user data can
change this value.
Deactivation code of two-factor authentication sent via
email to the user.
With this code the user can disable the two-factor
TwoFactorAuthDeactivat authentication.
varchar(24)
ionCode Read-only field.
If the user disable and then enable the two-factor
authentication, the deactivation code change and an
updated code will be sent via email to the user.
Date and time of user’s last login.
LastLoginDateTime datetime
Read-only property.
Acceptance of the Licence to Use the Product.
LicenseAccepted int(1)
Read-only property.
Date and time when License to Use the product was
LicenseAcceptedDateTim accepted
datetime
e
Read-only property.
TermsAndConditionsAcc Terms & Conditions acceptance.
int(1)
epted Read-only property.
Date and time when the Terms & Conditions statement was
TermsAndConditionsAcc accepted.
datetime
eptedDate
Read-only property.
Version of Terms & Conditions statement accepted by the
TermsAndConditionsVer user.
varchar(10)
sion
Read-only property.
Date of the Terms & Conditions statement accepted by the
TermsAndConditionsDat user.
datetime
e
Read-only property.
Privacy Policy acceptance.
PrivacyPolicyAccepted int(1)
Read-only property.
Date and time when the Privacy Policy statement was
PrivacyPolicyAcceptedDa accepted.
datetime
te
Read-only property.
Version of Privacy Policy statement accepted by the user.
PrivacyPolicyVersion varchar(10)
.
Read-only property.
Date of the Privacy Policy statement accepted by the user.
PrivacyPolicyDate datetime
Read-only property.
All properties whose name begins with "Auth" define the combination of permissions. Assign values
that are compatible with what is defined in the "Properties that define permissions" paragraph.
systemwplanguagesRead, systemwplanguagesWrite
The "systemwplanguages" object allows you to manage the language data for the Welcome Portal
defined at system level.
Available properties:
Name Comment Type
Image type uploaded for the flag of the English language.
ENLangImgType varchar(40)
Read-only property.
Image displayed for the flag of the English language. It must
ENLangImg mediumblob
have a size of 24 x 18 pixels.
Image type uploaded for the flag of the Spanish language.
ESLangImgType varchar(40)
Read-only property.
Image displayed for the flag of the Spanish language. It must
ESLangImg mediumblob
have a size of 24 x 18 pixels.
Image type uploaded for the flag of the French language.
FRLangImgType varchar(40)
Read-only property.
Image displayed for the flag of the French language. It must
FRLangImg mediumblob
have a size of 24 x 18 pixels.
Image type uploaded for the flag of the Italian language.
ITLangImgType varchar(40)
Read-only property.
Image displayed for the flag of the Italian language. It must
ITLangImg mediumblob
have a size of 24 x 18 pixels.
Image type uploaded for the flag of the German language.
DELangImgType varchar(40)
Read-only property.
Image displayed for the flag of the German language. It must
DELangImg mediumblob
have a size of 24 x 18 pixels.
Country code for the first additional language.
CustomLang1 varchar(2)
Define the value in ISO 3166-1 alpha-2 format.
Image type uploaded for the flag of the first additional
CustomLang1ImgType language. varchar(40)
Read-only property.
Image displayed for the flag of the first additional language.
CustomLang1Img mediumblob
It must have a size of 24 x 18 pixels.
Text displayed to users if they point the mouse over the flag
of the first additional language.
CustomLang1ImgText varchar(255)
To display the language, you need to define it.
Multi-language property.
Defines the text direction for the first additional language.
CustomLang1ImgDir tinyint(1)
Possible values are:
• 0 = Left To Right
• 1 = Right To Left
Country code for the second additional language.
CustomLang2 varchar(2)
Define the value in ISO 3166-1 alpha-2 format.
Image type uploaded for the flag of the second additional
CustomLang2ImgType language. varchar(40)
Read-only property.
Image displayed for the flag of the second additional
CustomLang2Img mediumblob
language. It must have a size of 24 x 18 pixels.
Text displayed to users if they point the mouse over the flag
of the second additional language.
CustomLang2ImgText varchar(255)
To display the language, you need to define it.
Multi-language property.
Defines the text direction for the second additional
language. Possible values are:
CustomLang2ImgDir tinyint(1)
• 0 = Left To Right
• 1 = Right To Left
Country code for the third additional language.
CustomLang3 varchar(2)
Define the value in ISO 3166-1 alpha-2 format.
Image type uploaded for the flag of the third additional
CustomLang3ImgType language. varchar(40)
Read-only property.
Image displayed for the flag of the third additional language.
CustomLang3Img mediumblob
It must have a size of 24 x 18 pixels.
Text displayed to users if they point the mouse over the flag
of the third additional language.
CustomLang3ImgText varchar(255)
To display the language, you need to define it.
Multi-language property.
Defines the text direction for the third additional language.
Possible values are:
CustomLang3ImgDir tinyint(1)
• 0 = Left To Right
• 1 = Right To Left
taxrates reseller
taxrates
Available properties:
Name Comment Type
Object ID.
id If you need to add, pass the value zero in this property. int(11)
Read-only property.
Date when the object was created. Automatically assigned
CreationDate when you add it. timestamp
Read-only property.
Reseller ID.
ResellerID ID derived from the “reseller” object. int(11)
Defines it only if you are dealing with a reseller’s users.
ID del gestore o dell’inserzionista.
connection user
gateway
Example of a call that counts the number of "connected" devices for the Reseller 123:
$Endpoint = 'userconnectionCount';
$Data = '{"Where":"reseller.id = 123 AND userconnection.TerminateCause=\"\""}';
Available properties:
Name Comment Type
Object ID.
id If you need to add, pass the value zero in this property. int(11)
Mandatory property for “userconnectionRead”.
Domain ID.
DomainID int(11)
ID derived from the “domain” object.
Gateway ID.
GatewayID int(11)
ID derived from the “gateway” object.
User ID.
UserID int(11)
ID derived from the “user” object.
UserName Username. varchar(128)
StartTime Connection start date and time. datetime
EndTime Connection end date and time. datetime
SessionTime Duration of the connection. int(12)
DownloadBytes Bytes downloaded. bigint(20)
UploadBytes Bytes uploaded. bigint(20)
IPAddress IP address assigned. varchar(15)
If the TerminateCause property does not contain a value then it means that the record represents an
active connection.
usercredentialsEncode
The "userEncode" endpoint encodes the username or password in the form that is compatible with the
radius.
Example:
$Endpoint = 'usercredentialsEncode';
$Data = '{"Data":"你好@MyDomain"}';
Available properties:
Name Comment Type
Data Username or password encoded. varchar(255)
Properties returned:
Name Comment
Data Username or password encoded.
userDisconnect
The “userDisconnect” endpoint can disconnect all the devices of a user or a specific device always of a
user.
To disconnect all the device of a user, pass the UserID property with the user ID, and in the MacAddress
property, pass in an empty value.
To disconnect only a user's device, pass the UserID property with the user ID, and in the Mac property,
pass the MAC-address of the device to disconnect.
The disconnection can only be performed for MikroTik-type hotspot gateways and when HSNM can
reach the gateway.
Example:
$Endpoint = 'userDisconnect';
$Data = '{"UserID":"123", "Mac":"01:02:03:04:05:06"}';
Property:
Name Comment Type
UserID ID of the user to disconnect. int(11)
Mac MAC-address of the device to disconnect. int(11)
IP address of the MikroTik gateway. If not specified, it
GatewayIPAddress varchar(255)
automatically uploads the one defined in the gateway.
Username to access the MikroTik gateway. If not specified,
GatewayUserName varchar(255)
it uses the "Admin" user.
Password to access the MikroTik gateway. If not specified, it
GatewayPassword varchar(255)
automatically uploads the one defined in the gateway.
Properties returned:
Name Comment
Returns the status value. Possible values are:
0 = The command was successfully executed.
• 1 = “Invalid IP address”.
Status • 2 = “Invalid UserID”.
• 3 = “Connection error”.
• 4 = “User not found”.
• 5 = “Mac-address not found”.
Returns any error. Possible values are:
• “Invalid IP address”: you have not defined the Gateway IP address.
• “Invalid UserID”: the user ID is not valid.
Error
• “Connection error”: HSNM cannot connect to the gateway.
• “User not found”: the user was not found.
• “Mac-address not found”: the MAC-address was not found.
userproductAdd
The "userAddProduct" endpoint assigns a new product to the user.
Example:
$Endpoint = 'userproductAdd';
$Data = '{"id":"123", "ProductID":"456","SellPrice":"10","Expiration":"2025-12-31
10:00:00"}';
Properties:
Name Comment Type
id ID of the user to whom you want to assign a new product. int(11)
Gateway ID.
GatewayID ID derived from the "gateway" object. int(11)
This property is not mandatory.
ID of the product to be assigned to the user obtained from
ProductID the “product” object. int(11)
Read-only property.
SellPrice Selling price of the product. float
Expiration Expiration of the product. datetime
Properties returned:
Name Comment
id Returns the transaction ID.
Available properties:
Name Comment Type
Object ID.
id If you need to add, pass the value zero in this property. int(11)
Read-only property.
Date when the object was created. Automatically assigned
CreationDate when you add it. timestamp
Read-only property.
Domain ID.
DomainID int(11)
ID derived from the “domain” object.
UserName Username. varchar(128)
Password Password of the user. varchar(64)
ConfirmPassword User confirmation password. varchar(64)
PasswordExpiration Force the password change at the specified expiration date. Datetime
CompanyName Company Name. varchar(100)
Gender. Possible values are:
Gender • M = Male varchar(1)
• F = Female
userMacaddress
The “userDevice” endpoint returns an array containing the MAC-addresses of a user's devices that have
made connections.
Example:
$Endpoint = 'userMacaddress';
$Data = '{"id":"123"}';
Properties:
Name Comment Type
User ID.
ID Optional. int(11)
ID derived from the “user” object.
Returned properties:
Name Comment
array Array containing the MAC-addresses of the devices used by a user.
usersaleRead, usersaleFind
The “usersale” object allows you to read and search for sales data to users.
When searching using the “Find” command, you can use various objects with the following hierarchy:
Example of a call that gets the IDs of all sales made on a federated domain and where the city of
the reseller making the sale is equal to "New York":
$Endpoint = 'usersaleFind';
$Data = '{"Where":"usersale.DomainID = 85 AND usersale.SaleResellerID > 0 AND
usersale.SaleResellerID <> usersale.ResellerID AND resellerSale.City = \"New York\""}';
Example of a call that derives the IDs of all sales made from 2020-01-01 onwards:
$Endpoint = 'usersaleFind';
$Data = '{"Where":"usersale.CreationDate >= \"2020-01-01 00:00:00\""}';
Available properties:
Name Comment Type
Object ID. int(11)
id
If you need to add, pass the value zero in this property.
Date when the object was created. Automatically assigned timestamp
CreationDate when you add it.
Read-only property.
Reseller ID. int(11)
ResellerID
ID derived from the “reseller” object”.
ID of the reseller who made the sale. It can differ from the int(11)
ResellerID if the sale was made in a federated domain.
To search for this property, use the “SaleReseller” object.
SaleResellerID
ID derived from the “reseller” object.
If you need to search for this “reseller” object, use the
“resellerSale” class.
Manager ID. int(11)
ManagerID
ID derived from the “manager” object.
ID of the manager who made the sale. It can differ from the int(11)
ManagerID if the sale was made in a federated domain.
SaleManagerID ID derived from the “manager” object.
If you need to search for this “manager” object, use the
“managerSale” class.
DomainID Domain ID. int(11)
userStats
The "userStats" endpoint returns a set of properties with statistics for the user.
Example:
$Endpoint = 'userStats';
$Data = '{"id":"123"}';
Properties:
Name Comment Type
ID of the user whose statistics are desired.
id Mandatory property. Int(11)
ID derived from the “user” object.
Returned properties:
Name Comment
UserName Username.
ConnectionsNumber Number of connections.
BytesSent Bytes sent.
BytesReceived Bytes received.
TodayConnectionsNumb
Number of connections today.
er
TodayBytesSent Bytes sent today.
TodayBytesReceived Bytes received today.
MonthConnectionsCount Number of connections in the current month.
MonthBytesSent Bytes sent in the current month.
MonthBytesReceived Bytes received in the current month.
CreditMinutes Credit in minutes.
DailyCreditMinutes Daily residual credit in minutes.
MonthlyCreditMinutes Monthly residual credit in minutes.
CreditBytes Traffic credit in Bytes.
DailyCreditBytes Daily traffic credit in Bytes.
MonthlyCreditBytes Monthly traffic credit in Bytes.
UserRevenue Total revenues from users.
UserExpiration User expiration.
vaccesspo accesspoi
zone gateway domain manager reseller
int nt
Example of a call that searches for data by virtual access point name:
$Endpoint = 'vaccesspointFind';
$Data = '{"Where":"vaccesspoint.AccessPointName=\"MyAccessPoint\""}';
Available properties:
Name Comment Type
Object ID.
id If you need to add, pass the value zero in this property. int(11)
Read-only property.
Date when the object was created. Automatically assigned
CreationDate when you add it. timestamp
Read-only property.
Zone ID.
ZoneID ID derived from the “zone” object. int(11)
Mandatory property.
ID of the physical access point of reference.
MainAccessPointID ID derived from the “accesspoint” object. int(11)
Mandatory property.
Access point name.
AccessPointName varchar(100)
Mandatory property.
ID of the reference virtual gateway to associate with the
VGatewayID access point. int(11)
ID derived from the “vgateway” object.
Mandatory property.
Notes Notes. text
SSID SSID of the Wi-Fi network. varchar(255)
ID for the VLAN.
VLANID varchar(4)
The numeric values allowed are from 2 to 4095.
IP Address Assignment. Possible values are:
• 0 = No
AssignIPAddress tinyint(1)
• 1 = Use DHCP
• 2 = Static IP
IP address.
IPAddress varchar(15)
Define only if "AssignIPAddress" is equal to 2.
Network mask.
NetMask varchar(15)
Define only if "AssignIPAddress" is equal to 2.
IP address of the gateway.
GatewayIP It is usually the IP Address of the hotspot gateway. varchar(15)
Define only if "AssignIPAddress" is equal to 2.
IP addresses of DNS servers separated by commas.
DNSIPAddress varchar(100)
Define only if "AssignIPAddress" is equal to 2
Available properties:
Name Comment Type
Object ID.
id If you need to add, pass the value zero in this property. int(11)
Read-only property.
Date when the object was created. Automatically assigned
CreationDate when you add it. timestamp
Read-only property.
Manager ID.
ManagerID ID derived from the “manager” object. int(11)
Mandatory property in addition.
ID of the physical gateway of reference.
MainGatewayID ID derived from the “gateway” object. int(11)
Mandatory property in addition.
Name of virtual gateway.
GatewayName varchar(100)
Mandatory property.
Gateway MAC-address.
MacAddress Used to recognize the correct domain and gateway varchar(255)
when redirecting to the Welcome Portal.
CustomApps The values contained in each element of the array are array()
explained in the paragraph "The array of values
contained in the gateway's 'CustomApps' property".
IDs derived from the “wpcustomapp” object.
The complete URL (without HTTP://) or the Facebook page
FacebookFanPageURL varchar(200)
ID which users can click 'I Like' on or 'Publish a post' to.
When the user performs the registration or login with
Facebook, it has the possibility to publish a post on its
FacebookPublishUponCo timeline. Possible values are:
int(11)
nnection • 0 = Use domain settings
• 1 = Yes
• 2 = Never
TwitterFollowerUser Username or Twitter ID to follow. varchar(50)
Disables the Apple mini-browser (captive network assistant)
that has several limitations.
DisableAppleCaptivePort If enabled, the user will have to manually open the tinyint(1)
al browser after connecting to the wifi. The option will be
active from the next Walled Garden update. This option
is automatically considered active if injection is enabled.
Disables the Android mini-browser (captive network
assistant) that has several limitations.
DisableAndroidCaptiveP If enabled, the user will have to manually open the tinyint(1)
ortal browser after connecting to the wifi. The option will be
active from the next Walled Garden update. This option
is automatically considered active if injection is enabled.
Disables the Windows Phone mini-browser (captive
network assistant) that has several limitations.
DisableWindowsPhoneC If enabled, the user will have to manually open the tinyint(1)
aptivePortal browser after connecting to the wifi. The option will be
active from the next Walled Garden update. This option
is automatically considered active if injection is enabled.
Notes Notes. text
Locked If active the gateway is blocked. tinyint(1)
Authentication via MAC Address.
If you enable this option, you can create users with a
username and password equal to the mac-address of
AuthUsersByMACLogin the device, avoiding the welcome portal and the entire smallint(3)
registration and manual authentication phase. Enable
this option only if really necessary otherwise an
authentication request will be sent to the wifi
connection of any device.
AuthUsersWithoutRealm Authenticate users without domain name. smallint(3)
voucherAdd
The "voucherAdd" endpoint allows you to create Vouchers for a domain.
Example:
$Endpoint = 'voucherAdd';
$Data = '{"DomainID":"123", "ProductID":"345", "SellPrice":"2.5", "Language":"en",
"Quantity":"10"}';
Properties:
Name Comment Type
Domain ID.
DomainID Mandatory. int(11)
ID derived from the “domain” object.
Product ID.
ProductID Mandatory. int(11)
ID derived from the “product” object.
SellPrice Sale price. float
Language code for the users.
Language Define the value in ISO 3166-1 alpha-2 format. varchar(2)
Optional.
Number of vouchers to create.
Quantity If not defined the default is equal to one. float
The maximum number is one thousand.
Returned properties:
Name Comment
Code Array containing the voucer codes created.
wpcustomapp
Available properties:
Name Comment Type
Object ID.
id If you need to add, pass the value zero in this property. int(11)
Read-only property.
Date when the object was created. Automatically assigned
CreationDate when you add it. timestamp
Read-only property.
Domain ID.
wpcustomimage
Available properties:
Name Comment Type
Object ID.
id If you need to add, pass the value zero in this property. int(11)
Read-only property.
Date when the object was created. Automatically assigned
CreationDate when you add it. timestamp
Read-only property.
Domain ID.
wplockandbypass reseller
wplockandbypass
Available properties:
Name Comment Type
Object ID. int(11)
wptemplate reseller
wptemplate
Available properties:
Name Comment Type
Object ID.
id If you need to add, pass the value zero in this property. Int(11)
Read-only property.
Date when the object was created. Automatically assigned
CreationDate when you add it. Timestamp
Read-only property.
Reseller ID.
ResellerID ID derived from the “reseller” object. Int(11)
Required if you are dealing with a reseller’s surveys.
Manager ID.
ManagerID Int(11)
ID derived from the “manager” object.
Sends a thank you email to the users who have filled in the
survey, quiz or test. The sending is subject to the email
address requested during the user registration.
Possible values are:
SendUserMail • 0 = Never int(1)
• 1 = Yes
• 2 = Yes, delayed
• 3 = Yes, with a score greater than or equal to
• 4 = Yes, delayed with a score greater than or equal to
Sends emails just for the surveys, quizzes or tests whose
SendUserMailMinScore Float
score is greater than or equal to the entered value.
SendUserMailPostponed Defines the number of days that must elapse before the
Float
Days system sends the thank you email for filling in the survey.
Subject of the thank you email sent to users for filling in the
survey, quiz or test. If it is not entered, it will use the default
SendUserMailSubject Longtext
subject defined in the General Options
Multi-language property.
Email for filling in the survey. If not entered, it will use the
SendUserMailText default email defined in the General Options. Longtext
Multi-language property.
Header image type of the survey.
HeaderImgType Varchar(40)
Read-only property.
Header image of the survey. Image size must be 600px X
HeaderImg mediumblob
200px
Background image type of the survey.
BackgroundImgType Varchar(40)
Read-only property.
BackgroundImg Background image of the survey. Mediumblob
Array with the data of the questions related to the survey,
quiz, or test.
Questions The properties treated by each element of the array are Array()
explained in the following paragraph “Array of Objects
contained in the “Questions” Property.
Maximum score calculated from survey, quiz, or test.
AnswersMaxValue Float
Read-only property.
Notes Notes for the survey. Longtext
Locked If enabled, it suspends the survey. Tinyint(1)
},
{
“id”:”765”,
“Text”:{“en”:”Option2”,”es”:””,”fr”:””,”de”:””,”it”:””,”l1”:””,”l2”:””,”l3”:””},
“Value”:”2”,
“Order”:”1”
}
]
}
]
wptemplate
Available properties:
Name Comment Type
Object ID.
id If you need to add, pass the value zero in this property. Int(11)
Read-only property.
Date when the object was created. Automatically assigned
CreationDate when you add it. Timestamp
Read-only property.
Domain ID.
UseDefaults Enables the use of default values for the of domain/general tinyint(1)
Notes Notes for the templete. Longtext
Portal title.
PortalTitle Text
Multi-language property.
Portal subtitle.
PortalSubTitle Text
Multi-language property.
Welcome Portal theme. Possible values are:
PortalTheme • 0 = Default int(4)
• 10 = Light
Main image.
PortalMainImg Mediumblob
“Image”-type property.
Main image type.
PortalMainImgType Varchar(40)
Read-only property.
ShowAppsBar Show App bar. Int(1)
ShowSideBarButton Show the SideBar Button int(1)
ShowAppsInSidebar Show the list of Apps in the sidebar int(1)
EnableWPCustomization Enable the Welcome Portal HSTML customization int(1)
Define Video Display Mode.
The possible values are:
VideoPlayMode • 0 = Autoplay and When Possible Unmuted
• 1 = Autoplay and Always Mute
• 2 = No Autoplay and Unmuted
Help for the user.
WPCustomHelp Longtext
Multi-language property.
Defines the Welcome Portal intro type. Possible values are:
• 0 = None
• 5 = Image from file
• 10 = Static image
• 11 = WiFi4EU Banner
• 20 = Hotspot location image
PortalIntroType int(2)
• 40 = Flickr image from photo set
• 50 = Image based on weather forecast
• 60 = YouTube video
• 70 = External URL
• 80 = MP4 external video
• 90 = MP4 video from file
PortalIntroImageFromFil Image type for the Intro, uploaded from a file.
Int(2)
eImgType Read-only property.
PortalIntroStaticImageU URL or variable for the intro static image of the Welcome
Varchar(255)
RL Portal.
PortalIntroVideoFromFil Defines the type of video to show in the intro.
varchar(40)
eType Read-only property.
PortalIntroVideoFromFil Defines the video to show in the intro.
longblob
e Read-only property.
Read-only property.
Icon type for the button of the Surf App displayed in the App
AppBarSurfImgType Bar of the Welcome Portal. varchar(40)
Read-only property.
Icon type for the button of the Connection Status App
AppBarConnStatusImgTy displayed in the App Bar of the Welcome Portal.
varchar(40)
pe
Read-only property.
Icon type for the button of the Around Me App displayed in
AppBarAroundMeImgTy the App Bar of the Welcome Portal.
varchar(40)
pe
Read-only property.
Icon type for the button of the Weather App displayed in
AppBarWeatherImgType the App Bar of the Welcome Portal. varchar(40)
Read-only property.
Icon type for the button of the User Profile App displayed in
AppBarUserProfileImgTy the App Bar of the Welcome Portal.
varchar(40)
pe
Read-only property.
Icon type for the button of the Route App displayed in the
AppBarRouteImgType App Bar of the Welcome Portal. varchar(40)
Read-only property.
Icon type for the button of the Survey App displayed in the
AppBarSurveyImgType App Bar of the Welcome Portal. varchar(40)
Read-only property.
Icon type for the button of the Custom App displayed in the
AppBarCustomImgType App Bar of the Welcome Portal. varchar(40)
Read-only property.
Type of color scheme to use. Possible values are:
WelcomePortalColorTyp
• 0 = Default int(3)
e
• 100 = Custom
WelcomePortalBackgrou Background color for the Welcome Portal displayed when a
varchar(30)
ndColor picture is not uploaded.
HeaderBackgroundColor Background color for the header bar. varchar(30)
HeaderForegroundColor Text color for the header bar. varchar(30)
AppsBarBackgroundColo Background color for the App bar
varchar(30)
r
AppsBarForegroundColo Text color for the App bar.
varchar(30)
r
SidebarBackgroundColor Background color for the sidebar. varchar(30)
SidebarForegroundColor Text color for the sidebar. varchar(30)
SidebarTitleBackgroundC Background color for the sidebar.
varchar(30)
olor
SidebarTitleForegroundC Defines the color of the texts for the sidebar.
varchar(30)
olor
WPCustomHead Custom head HTML for the Welcome Portal. longtext
WPCustomCSS Custom CSS for the Welcome Portal.
WPCustomJavascript Custom JavaScript for the Welcome Portal. longtext
Multi-language property.
Messagge displayed to users requesting consent to process
RegistrationRequestAcce data for marketing purposes.
longtext
ptMktTxt
Multi-language property.
“Image”-type property.
Icon for the button of the Around Me App displayed in the
AppBarAroundMeImg App Bar of the Welcome Portal. mediumblob
“Image”-type property.
Icon for the button of the Weather App displayed in the App
AppBarWeatherImg Bar of the Welcome Portal. mediumblob
“Image”-type property.
Icon for the button of the User Profile App displayed in the
AppBarUserProfileImg App Bar of the Welcome Portal. mediumblob
“Image”-type property.
Icon for the button of the Route App displayed in the App
AppBarRouteImg Bar of the Welcome Portal. mediumblob
“Image”-type property.
Icon for the button of the Survey App displayed in the App
AppBarSurveyImg Bar of the Welcome Portal. mediumblob
“Image”-type property.
Icon for the button of the Custom App displayed in the App
AppBarCustomImg Bar of the Welcome Portal. mediumblob
“Image”-type property.
wpwalledgarden
Available properties:
Name Comment Type
Object ID.
Available properties:
Name Comment Type
Object ID.
id If you need to add, pass the value zero in this property. int(11)
Read-only property.
Date when the object was created. Automatically assigned
CreationDate when you add it. timestamp
Read-only property.
Gateway ID.
GatewayID ID derived from the “gateway” object. int(11)
Mandatory property.
Zone title.
Title varchar(255)
Multi-language property.
Map type. Possible values are:
ZoneType • 0 = Immagine personalizzata smallint(1)
• 1 = Mappa
Image type uploaded for the zone.
ZoneMapImgType varchar(40)
Read-only property.
Custom image for the zone.
ZoneMapImg mediumblob
“Image”-type property.
“Image”-type property.
WelcomePortalDisplayRo
Displays the routes in the App. int(1)
utes
WelcomePortalDisplayAc
Displays the access points in the App. int(1)
cessPoints
Requires users to enable GPS in the device so to detect
WelcomePortalEnableGP their location.
int(1)
S
Warning! GPS tracking doesn't work with CNA.
WelcomePortalEnableZoo Enables zooming on the map. If disabled, users cannot
int(1)
m zoom in.
WelcomePortalDefaultZo ID of the default location displayed automatically when
int(11)
neRouteID opening the App.
Default custom CSS for all places displayed in the Welcome
PlacesCustomCSS longtext
Portal.
GPSReferencePointLat Absolute latitude of the reference GPS point. double
GPSReferencePointLon Absolute longitude of the reference GPS point. double
GPSReferencePointRelati
Relative latitude of the reference GPS point. double
veLat
GPSReferencePointRelati
Relative longitude of the reference GPS point. double
veLon
Notes Notes. longtext
• %DateTime%: date and time. The value is optional and if specified it cannot be fixed but it must
be updated with the date detection of the coordinates.
It is possible to send more coordinates with one request, dividing the data groups with semicolons, in
the form:
http://HSNMDomainName/ gatewaygps?
h=%GatewayName%&data=%Latitude%,%Longitude%,%Altitude%,%Speed%,%Satellites%,%DateTime
%;%Latitude%,%Longitude%,%Altitude%,%Speed%,%Satellites%,%DateTime%
If you do not wish to define an optional parameter, you have to omit also all the subsequent optional
parameters.
Example: http://MyDomainName/gatewaygps?h=MyGateway&data=E 11 51 53.712,N 45 46 56.988
Another case in which you can use custom validation is when you need to store users’ data in your own
database to perform customized searches, statistics, exports to external systems, etc.
The parameters listed above may also be subject to changes from the external procedure that will return
them in JSON format.
set_time_limit(30);
error_reporting(E_ERROR);
session_write_close();
// Read parameters
if (isset($_GET["lang"])) {$lang = trim($_GET["lang"]);}
if (isset($_GET["rechargeprocess"])) {$rechargeprocess = trim($_GET["rechargeprocess"]);}
if (isset($_GET["domain"])) {$domain = trim($_GET["domain"]);}
if (isset($_GET["socialtype"])) {$socialtype = trim($_GET["socialtype"]);}
if (isset($_GET["username"])) {$username = trim($_GET["username"]);}
if (isset($_GET["mobileprefix"])) {$mobileprefix = trim($_GET["mobileprefix"]);}
if (isset($_GET["mobilephone"])) {$mobilephone = trim($_GET["mobilephone"]);}
if (isset($_GET["password"])) {$password = trim($_GET["password"]);}
if (isset($_GET["lastname"])) {$lastname = trim($_GET["lastname"]);}
if (isset($_GET["firstname"])) {$firstname = trim($_GET["firstname"]);}
if (isset($_GET["address"])) {$address = trim($_GET["address"]);}
if (isset($_GET["city"])) {$city = trim($_GET["city"]);}
if (isset($_GET["state"])) {$state = trim($_GET["state"]);}
if (isset($_GET["country"])) {$country = trim($_GET["country"]);}
if (isset($_GET["email"])) {$email = trim($_GET["email"]);}
if (isset($_GET["phone"])) {$phone = trim($_GET["phone"]);}
if (isset($_GET["fax"])) {$fax = trim($_GET["fax"]);}
if (isset($_GET["yearofbirth"])) {$yearofbirth = trim($_GET["yearofbirth"]);}
if (isset($_GET["taxcode"])) {$taxcode = trim($_GET["taxcode"]);}
if (isset($_GET["gender"])) {$gender = trim($_GET["gender"]);}
if (isset($_GET["roomorsite"])) {$roomorsite = trim($_GET["roomorsite"]);}
if (isset($_GET["acceptmkt"])) {$acceptmkt = trim($_GET["acceptmkt"]);}
if (isset($_GET["captcha"])) {$captcha = trim($_GET["captcha"]);}
if (isset($_GET["contractconditions"])) {$contractconditions = trim($_GET["contractconditions"]);}
$ErrorCode = 0;
$ErrorMessage = "";
if (strlen($username) < 6) {
$ErrorCode = 21;
if ($lang == "en") {
$ErrorMessage = "Invalid User name";
}
elseif ($lang == "it") {
$ErrorMessage = "Nome utente non valido";
}
}
The following is the table with the error codes that the external procedure may return:
Error Code Description
1 Invalid Mobile Phone
2 Invalid First Name
3 Invalid Last Name
4 Invalid Address
5 Invalid Zip
6 Invalid City
7 Invalid State
8 Invalid Country
9 Invalid EMail
10 Invalid Phone
11 Invalid Year Of Birth
12 Invalid Accept Contract Conditions
13 Invalid Password
14 Invalid Accept Marketing Conditions
15 Invalid International Mobile Phone Prefix
16 Invalid CAPTCHA
17 Invalid Gender
18 Invalid Fax
19 Invalid Tax Code
20 Invalid Room or Site
21 Invalid User Name
There are two external pages that can be defined and allow you to make payments and their verification.
If the payment gateway does not support IPN, add the "&Status=complete" parameter to the "Return
URL". This will indicate to the system that payment verification will be performed when users are
redirected to the Welcome Portal.
If the payment gateway supports the IPN, in the "Return URL" add the "&Status=redirect" parameter to
immediately redirect users to the Welcome Portal and wait for the payment to be confirmed via IPN.
Payment gateways often allow you to enter a URL called when the users cancel the payment. If it is
definable, pass the ReturnURL and add the "&Status=cancel" parameter.
Warning! In your custom Walled Garden, you need to enter all external domains and IP addresses
involved in the payment
// Do PayPal payment
var Action = 'https://www.paypal.com/cgi-bin/webscr';
if (Params.UseSandBox != 0) {
Action = 'https://www.sandbox.paypal.com/cgi-bin/webscr';
}
$("body").append(NewForm);
setTimeout(function () {
NewForm.submit().remove();
}, 300);
</script>
</body>
</html>
Another method to verify and then register the payment is to create your own page that is not declared
in the "External Verification URL", invoked directly from the payment gateway, and which saves the
transaction to the HSNM through the "userproductAdd" API endpoint.
In this case, it is crucial to passing the correct parameters corresponding respectively to the product and
the payment ID to the endpoint, in the "ProductID" and "GatewayID" properties.
$verified = false;
$Error = "";
$listener = new IpnListener();
If ((integer)$PostParams["UseSandBox"] == 0) {
$listener->use_sandbox = false;
}
Else {
$listener->use_sandbox = true;
}
// Verify whether the method is a POST. If not, it generates an error and exits
try {
$listener->requirePostMethod();
} catch (Exception $e) {
$Error = "Instant Payment Notification Error: no POST parameters";
}
if ($Error == "") {
$TryConnectionsCount = 0;
$listener->use_curl = false;
$listener->use_ssl = true;
$listener->force_ssl_v3 = false;
do {
try {
$Error = "";
$TryConnectionsCount += 1;
$verified = $listener->processIpn($PostParams);
} catch (Exception $e) {
$Error = "Check Payment error. Retry attempt " .$TryConnectionsCount;
If ($TryConnectionsCount >= 7) {
break;
}
usleep(500000);
If ($TryConnectionsCount > 2) {
// Third attempt: disable SSL
$listener->use_ssl = false;
}
If ($TryConnectionsCount > 4) {
// Fifth attempt: enable CURL
$listener->use_curl = true;
}
}
} While ($Error != "");
}
// ***********************************************************************************************
// IpnListener
class IpnListener {
public $use_curl = true;
public $follow_location = false;
public $use_sandbox = false;
public $timeout = 30;
public $verify_ssl = true;
$ch = curl_init();
if ($this->verify_ssl) {
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, true);
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 2);
curl_setopt($ch, CURLOPT_CAINFO, dirname(dirname(__FILE__)) . '/cert/api_cert_chain.crt');
}
$this->response = curl_exec($ch);
$this->response_status = strval(curl_getinfo($ch, CURLINFO_HTTP_CODE));
return $this->response;
}
if (!$fp) {
throw new Exception("fsockopen error: [$errno] $errstr");
}
fputs($fp, $header.$encoded_data."\r\n\r\n");
while(!feof($fp)) {
if (empty($this->response)) {
// extract HTTP status from first line
$this->response .= $status = fgets($fp, 1024);
$this->response_status = trim(substr($status, 9, 4));
} else {
$this->response .= fgets($fp, 1024);
}
}
fclose($fp);
return $this->response;
}
$r = '';
// HTTP Response
for ($i=0; $i<80; $i++) { $r .= '-'; }
$r .= "\n{$this->getResponse()}\n";
// POST vars
for ($i=0; $i<80; $i++) { $r .= '-'; }
$r .= "\n";
if (!empty($this->post_data)) {
foreach ($this->post_data as $key => $value) {
$r .= str_pad($key, 25)."$value\n";
}
}
$r .= "\n\n";
return $r;
}
if (isset($raw_post_array)) {
foreach ($raw_post_array as $keyval) {
$keyval = explode('=', $keyval);
if (count($keyval) == 2) {
$myPost[$keyval[0]] = urldecode($keyval[1]);
}
}
}
} else {
$this->post_data = $raw_post_data;
$myPost = $this->post_data;
}
if ($this->use_curl) {
$res = $this->curlPost($req);
} else {
$res = $this->fsockPost($req);
}
}
// ***********************************************************************************************
?>
You can select one of the following “Authentication Methods” when you activate an integration:
• User self-service registration. At the login, users self-register by entering the “Username” and
the “Password”, fields based on what you have defined on " Request the Username" and
"Request the password" in the "Data to Customize Users Registration" panel.
• User self-service registration. No password. At the login, users self-register by entering only
the “Username”, field based on what you have defined on "Request the Username" in the
"Data to Customize Users Registration" panel.
• Rregistration by the operator. In this case users are not able to self register but the PMS cretes
them or the operator manually enters them.
Warning! You need to enable the “Assign the free product” option.
Impala
As described above, HSNM includes an interface for Impala (https://getimpala.com), a web connector
that allows simply communicating with different PMSs.
To use the services offered by Impala, you need to enter in the manager, in the “API Key” and “API
Secret” fields, respectively the Impala "API Secret Key" and "Webhook Secret" that you will obtain after
registering on the service.
However, they are currently running pilots or started working on other PMS. Please, refer to the Impala
website for updates.
For any technical support request relating to the HSNM, you can email our technical team at
[email protected]
80 TCP and UDP IN and OUT Necessary to achieve the administration console via web.
Necessary, for example, for PayPal to complete the
443 TCP IN and OUT
payments.