Professional Documents
Culture Documents
June 2017
Version: 12
Version Date Author Changes
Number
1 Mar 2015 John
Lindsay
2 Sep 2015 Sam Smith Branding updated
Updated to be used with 8314 Postman User Guide
3 Apr 2016 Sam Smith Branding Updated
4 June 2016 Sam Smith UnsuspendSIMs description updated
5 Aug 2016 Sam Smith Added ‘mappedMSISDN’ row to ‘getSIMs’
6 Aug 2016 Sam Smith Updated terminateSIMs request parameters
7 Sep 2016 Sam Smith Updated getSIMLastActivity explanations
8 Sep 2016 Sam Smith Updated introductions to include reference to
Postman app
9 Sep 2016 Sam Smith Added php cURL example
10 Mar 2017 Sam Smith Added an introduction
11 Jun 2017 Sam Smith Updated branding
12 Apr 2018 Sam Smith Added setSIMDetail section
Page 1
+ 44 1483 802501 | +1 512-813-0599 | +27 87 551 8200 | +33 9 87 67 53 36 | +61 8 9551 5200 | +61 400 435 1000
Eseye, AnyNet, AnyNet Secure and Eseye Logos are registered trademarks of Eseye Ltd © Eseye 2017 Limited.
All Rights Reserved. enquiries@eseye.com | eseye.com
Contents
1 Introduction ......................................................................................................................................... 3
1.1 Preparation of Eseye Account ................................................................................................ 3
2 Functions .............................................................................................................................................. 3
2.1 ping: ............................................................................................................................................. 3
2.2 getCookieName: ....................................................................................................................... 6
2.3 login: ........................................................................................................................................... 10
2.4 changePassword: .................................................................................................................... 15
2.5 getSIMs:...................................................................................................................................... 20
2.6 getSIMStateOptions ................................................................................................................ 27
2.7 setSIMState:............................................................................................................................... 32
2.8 activateSIMs: ............................................................................................................................ 38
2.9 suspendSIMs:............................................................................................................................. 48
2.10 unsuspendSIMs: ........................................................................................................................ 54
2.11 terminateSIMs: .......................................................................................................................... 59
2.12 setSIMDetail: ............................................................................................................................. 65
2.13 getSIMBilling: ............................................................................................................................. 69
2.14 getSIMLastActivity ................................................................................................................... 76
2.15 logout: ........................................................................................................................................ 84
3 Coding Examples.............................................................................................................................. 88
3.1 PHP cURL ................................................................................................................................... 88
4 FAQ ...................................................................................................................................................... 89
4.1 Versions of API .......................................................................................................................... 89
4.2 SIM States .................................................................................................................................. 89
4.3 General...................................................................................................................................... 90
Page 2
+ 44 1483 802501 | +1 512-813-0599 | +27 87 551 8200 | +33 9 87 67 53 36 | +61 8 9551 5200 | +61 400 435 1000
Eseye, AnyNet, AnyNet Secure and Eseye Logos are registered trademarks of Eseye Ltd © Eseye 2017 Limited.
All Rights Reserved. enquiries@eseye.com | eseye.com
1 Introduction
The Tigrillo /SIAM API ties into the same data as the SIM Information and Account
Management portal, allowing access to the SIM information and altering the SIM status.
Many of the changes in SIM state can be altered through multiple functions, for example
setSIMState and activateSIMs can both activate SIM cards. This is to allow subtlety different
requests, take note of the parameters available when deciding upon which function to use.
To access the Production API you will also need to supply the static IP address you wish to
access from.
This document is designed to enable developers to interface with the Tigrillo API offered by
Eseye.
This document uses the Postman app only as an example, the API is app agnostic. The
Postman User Guide can be found at https://www.eseye.com/wp-content/uploads/8314-
Postman-User-Guide.pdf.
2 Functions
2.1 ping:
This function tests whether the server running. To test the interface in Postman app use the
details shown below, to download a code example of this request use the Generate Code
button:
2.1.1 Production:
Request URL: https://siam.eseye.com/Japi/Tigrillo/ping
Command: ‘Post’
Page 3
+ 44 1483 802501 | +1 512-813-0599 | +27 87 551 8200 | +33 9 87 67 53 36 | +61 8 9551 5200 | +61 400 435 1000
Eseye, AnyNet, AnyNet Secure and Eseye Logos are registered trademarks of Eseye Ltd © Eseye 2017 Limited.
All Rights Reserved. enquiries@eseye.com | eseye.com
2.1.2 Staging:
Request URL: https://tigrillostaging.eseye.com/Japi/Tigrillo/ping
Command: ‘Post’
2.1.3 Responses:
All of these responses are when viewed in the pretty form (default setting).
2.1.3.1 Successful:
If your request is successful a response will display as follows:
“pong”
2.1.3.2 Errors:
2.1.3.2.1 E0001 Invalid input - Syntax error, malformed JSON:
This error message will display as follows:
{
"status": {
"status": "ERR",
"code": "E0001",
"message": "Invalid input - Syntax error, malformed
JSON"
}
}
This indicates that some JSON text has been entered, delete any content in the text box.
Page 4
+ 44 1483 802501 | +1 512-813-0599 | +27 87 551 8200 | +33 9 87 67 53 36 | +61 8 9551 5200 | +61 400 435 1000
Eseye, AnyNet, AnyNet Secure and Eseye Logos are registered trademarks of Eseye Ltd © Eseye 2017 Limited.
All Rights Reserved. enquiries@eseye.com | eseye.com
2.1.3.2.2 E0002 Function not recognised:
This error message will display as follows:
{
"status": {
"status": "ERR",
"code": "E0002",
"message": "Function not recognized"
}
}
This indicates that the Tigrillo/ping section of the Request URL was entered incorrectly.
{
"status": {
"status": "ERR",
"code": "E0003",
"message": "API version not recognized"
}
}
This indicates that the ping section of the Request URL was not entered.
{
"status":{
"status":"ERR",
"code":"E0005",
"message":"Invalid parameter - login"
}
}
This indicates that some JSON text has been entered, delete any content in the text box.
Page 5
+ 44 1483 802501 | +1 512-813-0599 | +27 87 551 8200 | +33 9 87 67 53 36 | +61 8 9551 5200 | +61 400 435 1000
Eseye, AnyNet, AnyNet Secure and Eseye Logos are registered trademarks of Eseye Ltd © Eseye 2017 Limited.
All Rights Reserved. enquiries@eseye.com | eseye.com
2.1.3.2.5 Could not get any response:
This error message will display as follows:
This indicates that either you are not connected to the internet or one or more of the
following sections of the Request URL were entered incorrectly. http ://
.eseye.com/
This indicates that one or more of the following sections of the Request URL were entered
incorrectly. siam tigrillostaging Japi/
2.2 getCookieName:
getCookieName returns the name of the HTTP cookie needed for sessions to be continued
without the need to log in each time. It does not require a user to be logged in, and it also
does not require any JSON formatted text. To test the interface in Postman app use the
details shown below, to download a code example of this request use the Generate Code
button:
Page 6
+ 44 1483 802501 | +1 512-813-0599 | +27 87 551 8200 | +33 9 87 67 53 36 | +61 8 9551 5200 | +61 400 435 1000
Eseye, AnyNet, AnyNet Secure and Eseye Logos are registered trademarks of Eseye Ltd © Eseye 2017 Limited.
All Rights Reserved. enquiries@eseye.com | eseye.com
2.2.1 Production:
Request URL: https://siam.eseye.com/Japi/Tigrillo/getCookieName
Command: ‘Post’
2.2.2 Staging:
Request URL: https://tigrillostaging.eseye.com/Japi/Tigrillo/getCookieName
Command: ‘Post’
2.2.3 Responses:
2.2.3.1 Successful:
2.2.3.1.1 In default view, pretty form:
This will return "PHPSESSID".
2.2.3.1.2 In Cookies:
Click on the Cookies viewing option.
If asked to download the ‘Postman Interceptor’ follow the instructions in the Cookies section
in the Postman User Guide (url: https://www.eseye.com/wp-content/uploads/8314-Postman-
User-Guide.pdf ).
Postman displays the ‘Value’ of the cookie that matches the cookie value in the last
successful login.
Page 7
+ 44 1483 802501 | +1 512-813-0599 | +27 87 551 8200 | +33 9 87 67 53 36 | +61 8 9551 5200 | +61 400 435 1000
Eseye, AnyNet, AnyNet Secure and Eseye Logos are registered trademarks of Eseye Ltd © Eseye 2017 Limited.
All Rights Reserved. enquiries@eseye.com | eseye.com
2.2.3.2 Errors:
All of these errors are when viewed in the pretty form (default setting).
{
"status": {
"status": "ERR",
"code": "E0001",
"message": "Invalid input - Syntax error, malformed
JSON"
}
}
This indicates that some JSON text has been entered, delete any content in the text box.
{
"status": {
"status": "ERR",
"code": "E0002",
"message": "Function not recognized"
}
}
This indicates that the Tigrillo/getCookieName section of the Request URL was entered
incorrectly.
{
"status": {
"status": "ERR",
"code": "E0003",
"message": "API version not recognized"
}
}
This indicates that the getCookieName section of the Request URL was not entered.
Page 8
+ 44 1483 802501 | +1 512-813-0599 | +27 87 551 8200 | +33 9 87 67 53 36 | +61 8 9551 5200 | +61 400 435 1000
Eseye, AnyNet, AnyNet Secure and Eseye Logos are registered trademarks of Eseye Ltd © Eseye 2017 Limited.
All Rights Reserved. enquiries@eseye.com | eseye.com
2.2.3.2.4 E0005 Invalid parameter:
This error message will display as follows:
{
"status":{
"status":"ERR",
"code":"E0005",
"message":"Invalid parameter - login"
}
}
This indicates that some JSON text has been entered, delete any content in the text box.
This indicates that either you are not connected to the internet or one or more of the
following sections of the Request URL were entered incorrectly. http ://
.eseye.com/
This indicates that one or more of the following sections of the Request URL were entered
incorrectly. siam tigrillostaging Japi/
Page 9
+ 44 1483 802501 | +1 512-813-0599 | +27 87 551 8200 | +33 9 87 67 53 36 | +61 8 9551 5200 | +61 400 435 1000
Eseye, AnyNet, AnyNet Secure and Eseye Logos are registered trademarks of Eseye Ltd © Eseye 2017 Limited.
All Rights Reserved. enquiries@eseye.com | eseye.com
2.3 login:
This function logs the user on. To test the interface in Postman app use the details shown
below, to download a code example of this request use the Generate Code button:
2.3.1 Production:
Request URL: https://siam.eseye.com/Japi/Tigrillo/login
Command: ‘Post’
Text box: Enter the following JSON formatted text. Note replace the three examples with the
relevant information enclosed by speech marks.
{
"username" : "exampleusername" ,
"password" : "examplepassword" ,
"portfolioID" : "exampleportfolioid"
}
Click the blue ‘Send’ button.
2.3.2 Staging:
Request URL: https://tigrillostaging.eseye.com/Japi/Tigrillo/login
Command: ‘Post’
Text box: enter JSON formatted text. Note replace the three examples with the relevant
information enclosed by speech marks.
{
"username" : "exampleusername" ,
"password" : "examplepassword" ,
"portfolioID" : "exampleportfolioid"
}
Click the blue ‘Send’ button.
Page 10
+ 44 1483 802501 | +1 512-813-0599 | +27 87 551 8200 | +33 9 87 67 53 36 | +61 8 9551 5200 | +61 400 435 1000
Eseye, AnyNet, AnyNet Secure and Eseye Logos are registered trademarks of Eseye Ltd © Eseye 2017 Limited.
All Rights Reserved. enquiries@eseye.com | eseye.com
2.3.3 Responses:
All of these responses are when viewed in the pretty form (default setting)
2.3.3.1 Successful:
If your request is successful a response will display as follows:
{
"status": {
"errorCode": "",
"errorMessage": "",
"status": "OK"
},
"cookie": "88djk4qrg39m68lpdupkjiujo4 ",
"permissions": "UAFE",
"canActivate": "yes"
}
This indicates a successful login.
The cookie stores your login details needed for the session to be continued without the need
to log again.
If you do not log out, but an attempt is made to log in, the previous user will be logged out,
regardless of whether the new login attempt is successful.
Note the system will only record an attempt to login if the function and JSON format text is
entered correctly.
Character Permission
F Finance
A Admin
U Standard user
L Logistics
T Technical
Page 11
+ 44 1483 802501 | +1 512-813-0599 | +27 87 551 8200 | +33 9 87 67 53 36 | +61 8 9551 5200 | +61 400 435 1000
Eseye, AnyNet, AnyNet Secure and Eseye Logos are registered trademarks of Eseye Ltd © Eseye 2017 Limited.
All Rights Reserved. enquiries@eseye.com | eseye.com
Character Permission
E Engineering
All of the applicable permissions are indicated.
2.3.3.2 Errors:
2.3.3.2.1 E0000, Unknown username or password:
This error message will display as follows:
{
"status": {
"status": "ERR",
"code": "E0000",
"message": "Unknown username or password "
}
}
This indicates that your password was entered incorrectly.
{
"status": {
"status": "ERR",
"code": "E0001",
"message": "Invalid input - Syntax error, malformed
JSON"
}
}
This indicates that the JSON text was structured incorrectly. Check that your JSON text follows
the format described. Note this error can be received due to Microsoft Word style text being
entered, as some characters are slightly different between Microsoft Word and ASCII. To
avoid this, either type the text in directly, or configure Microsoft Word so that basic ASCII text
is entered. To do this, consult section 4.3.6.
Page 12
+ 44 1483 802501 | +1 512-813-0599 | +27 87 551 8200 | +33 9 87 67 53 36 | +61 8 9551 5200 | +61 400 435 1000
Eseye, AnyNet, AnyNet Secure and Eseye Logos are registered trademarks of Eseye Ltd © Eseye 2017 Limited.
All Rights Reserved. enquiries@eseye.com | eseye.com
2.3.3.2.3 E0002, Function not recognised:
This error message will display as follows:
{
"status": {
"status": "ERR",
"code": "E0002",
"message": "Function not recognized"
}
}
This indicates that the Tigrillo/login section of the Request URL was entered incorrectly.
{
"status": {
"status": "ERR",
"code": "E0003",
"message": "API version not recognized"
}
}
This indicates that the login section of the Request URL was not entered.
{
"status": {
"status": "ERR",
"code": "E0100",
"message": "Unknown username or password "
}
}
This indicates that one or both of your username, or portfolioID were entered incorrectly.
Page 13
+ 44 1483 802501 | +1 512-813-0599 | +27 87 551 8200 | +33 9 87 67 53 36 | +61 8 9551 5200 | +61 400 435 1000
Eseye, AnyNet, AnyNet Secure and Eseye Logos are registered trademarks of Eseye Ltd © Eseye 2017 Limited.
All Rights Reserved. enquiries@eseye.com | eseye.com
2.3.3.2.6 F0000, No response provided:
This error message will display as follows:
{
"Status": "ERR",
"Code": "F0000",
"Message": "No response provided"
}
This indicates that the Request URL is missing the ‘s’ in https or that one or more of the fields
were entered incorrectly. Note this is the typing of the field name, for example "password"
might have been entered as "passwor".
This indicates that either you are not connected to the internet or one or more of the
following sections of the Request URL were entered incorrectly. http ://
.eseye.com/
This indicates that one or more of the following sections of the Request URL were entered
incorrectly. siam tigrillostaging Japi/
Page 14
+ 44 1483 802501 | +1 512-813-0599 | +27 87 551 8200 | +33 9 87 67 53 36 | +61 8 9551 5200 | +61 400 435 1000
Eseye, AnyNet, AnyNet Secure and Eseye Logos are registered trademarks of Eseye Ltd © Eseye 2017 Limited.
All Rights Reserved. enquiries@eseye.com | eseye.com
2.3.3.2.9 <!DOCTYPE HTML PUBLIC “-//IETF//BTB HTML 2.0//EN”>
This error message will display as follows:
This indicates that the IP Address that you are working from is not registered by Eseye.
Contact Eseye Support team to add a static IP Address.
2.4 changePassword:
This function changes the password for the account currently logged in. It requires the user to
be logged in. To test the interface in Postman app use the details shown below, to download
a code example of this request use the Generate Code button:
2.4.1 Production:
Request URL: https://siam.eseye.com/Japi/Tigrillo/changePassword
Command: ‘Post’
Text box: Enter the following JSON formatted text. Note replace the two examples with the
relevant information enclosed by speech marks. All passwords must be: minimum of 6 and a
maximum of 32 characters and contain one of each of the following: a digit, an uppercase
letter, and a lower case letter.
{
"currentPassword" : "examplepassword" ,
"newPassword" : "newexamplepassword"
}
Click the blue ‘Send’ button.
Page 15
+ 44 1483 802501 | +1 512-813-0599 | +27 87 551 8200 | +33 9 87 67 53 36 | +61 8 9551 5200 | +61 400 435 1000
Eseye, AnyNet, AnyNet Secure and Eseye Logos are registered trademarks of Eseye Ltd © Eseye 2017 Limited.
All Rights Reserved. enquiries@eseye.com | eseye.com
2.4.2 Staging:
Request URL: https://tigrillostaging.eseye.com/Japi/Tigrillo/changePassword
Command: ‘Post’
Text box: Enter the following JSON formatted text. Note replace the two examples with the
relevant information enclosed by speech marks. All passwords must be: minimum of 6 and a
maximum of 32 characters and contain one of each of the following: a digit, an uppercase
letter, and a lower case letter.
{
"currentPassword" : "examplepassword" ,
"newPassword" : "newexamplepassword"
}
Click the blue ‘Send’ button.
2.4.3 Responses:
All of these responses are when viewed in the pretty form (default setting)
2.4.3.1 Successful:
If your request is successful a response will display as follows:
{
"status": {
"status": "OK",
"errorCode": "",
"errorMessage": ""
}
}
Your password has now been changed.
Page 16
+ 44 1483 802501 | +1 512-813-0599 | +27 87 551 8200 | +33 9 87 67 53 36 | +61 8 9551 5200 | +61 400 435 1000
Eseye, AnyNet, AnyNet Secure and Eseye Logos are registered trademarks of Eseye Ltd © Eseye 2017 Limited.
All Rights Reserved. enquiries@eseye.com | eseye.com
2.4.3.2 Errors:
2.4.3.2.1 E0001 Invalid input - Syntax error, malformed JSON:
This error message will display as follows:
{
"status": {
"status": "ERR",
"code": "E0001",
"message": "Invalid input - Syntax error, malformed
JSON"
}
}
This indicates that the JSON text was structured incorrectly. Check that your JSON text follows
the format described. Note this error can be received due to Microsoft Word style text being
entered, as some characters are slightly different between Microsoft Word and ASCII. To
avoid this, either type the text in directly, or configure Microsoft Word so that basic ASCII text
is entered. To do this, consult section 4.3.6.
{
"status": {
"status": "ERR",
"code": "E0002",
"message": "Function not recognized"
}
}
This indicates that the Tigrillo/changePassword section of the Request URL was entered
incorrectly.
{
"status": {
"status": "ERR",
"code": "E0003",
"message": "API version not recognized"
}
}
This indicates that the changePassword section of the Request URL was not entered.
Page 17
+ 44 1483 802501 | +1 512-813-0599 | +27 87 551 8200 | +33 9 87 67 53 36 | +61 8 9551 5200 | +61 400 435 1000
Eseye, AnyNet, AnyNet Secure and Eseye Logos are registered trademarks of Eseye Ltd © Eseye 2017 Limited.
All Rights Reserved. enquiries@eseye.com | eseye.com
2.4.3.2.4 E0005 Invalid parameter:
This error message will display as follows:
{
"status":{
"status":"ERR",
"code":"E0005",
"message":"Invalid parameter - currentPasswor"
}
}
This indicates that the parameter being reported is invalid. Either ‘currentPassword’ or
‘newPassword’ are misspelt or an additional parameter has been added. Correct the
spelling or delete the additional parameter in the JSON.
{
"status": {
"status": "ERR",
"code": "E0006",
"message": "Permission denied"
}
}
This indicates that either cookies are not being stored correctly or you are not logged in. To
verify that the cookies are not causing the error follow section 2.2 of this document. To verify
that you are logged in follow section 2.3 of this document.
{
"status": {
"status": "ERR",
"code": "E0116",
"message": "Invalid password"
}
}
This indicates that the new password does not meet the criteria specified (All passwords must
be: minimum of 6 and a maximum of 32 characters and contain one of each of the
following: a digit, an uppercase letter, and a lower case letter).
Page 18
+ 44 1483 802501 | +1 512-813-0599 | +27 87 551 8200 | +33 9 87 67 53 36 | +61 8 9551 5200 | +61 400 435 1000
Eseye, AnyNet, AnyNet Secure and Eseye Logos are registered trademarks of Eseye Ltd © Eseye 2017 Limited.
All Rights Reserved. enquiries@eseye.com | eseye.com
2.4.3.2.7 E0126 Passwords don’t match:
This error message will display as follows:
{
"status": {
"status": "ERR",
"code": "E0126",
"message": "Passwords don’t match"
}
}
This indicates that the Request URL is missing the ‘s’ in https or that the currentPassword field
does not match your existing password.
This indicates that either you are not connected to the internet or one or more of the
following sections of the Request URL were entered incorrectly. http ://
.eseye.com/
Page 19
+ 44 1483 802501 | +1 512-813-0599 | +27 87 551 8200 | +33 9 87 67 53 36 | +61 8 9551 5200 | +61 400 435 1000
Eseye, AnyNet, AnyNet Secure and Eseye Logos are registered trademarks of Eseye Ltd © Eseye 2017 Limited.
All Rights Reserved. enquiries@eseye.com | eseye.com
2.4.3.2.9 <!DOCTYPE html>:
This error message will begin as follows:
This indicates that one or more of the following sections of the Request URL were entered
incorrectly. siam tigrillostaging Japi/
2.5 getSIMs:
This function returns a list of SIM data. It requires the user to be logged in. To test the interface
in Postman app use the details shown below, to download a code example of this request
use the Generate Code button:
2.5.1 Production:
Request URL: https://siam.eseye.com/Japi/Tigrillo/getSIMs
Command: ‘Post’
Text box: Enter the following JSON formatted text. Note replace the nine ‘null’s in the JSON as
required. For more information on the JSON fields see section 2.5.3 JSON fields.
{
"searchCriteria" : {
"state" : null ,
"group" : null ,
"tariff" : null ,
"matchString" : null ,
"matchType" : null ,
"matchFields" : null
} ,
"sortOrder" : null ,
"startRec" : null ,
"numRecs" : null
}
Click the blue ‘Send’ button.
Page 20
+ 44 1483 802501 | +1 512-813-0599 | +27 87 551 8200 | +33 9 87 67 53 36 | +61 8 9551 5200 | +61 400 435 1000
Eseye, AnyNet, AnyNet Secure and Eseye Logos are registered trademarks of Eseye Ltd © Eseye 2017 Limited.
All Rights Reserved. enquiries@eseye.com | eseye.com
2.5.2 Staging:
Request URL: https://tigrillostaging.eseye.com/Japi/Tigrillo/getSIMs
Command: ‘Post’
Text box: Enter the following JSON formatted text. Note replace the nine ‘null’s in the JSON as
required. For more information on the JSON fields see section 2.5.3 JSON fields.
{
"searchCriteria" : {
"state" : null ,
"group" : null ,
"tariff" : null ,
"matchString" : null ,
"matchType" : null ,
"matchFields" : null
} ,
"sortOrder" : null ,
"startRec" : null ,
"numRecs" : null
}
Click the blue ‘Send’ button.
If null is entered as input for all parameters, all SIMs will be returned, in ascending order of
ICCID number.
2.5.3.1 “state”:
This field determines which state of SIM cards will be displayed. The available options are;
“suspended”, “terminated”, and “provisioned”.
2.5.3.2 “group”:
This field determines which Group Name of SIM cards will be displayed. Group names can be
set for collections of SIMs when activating them using the activateSIMs function 2.8 or
through the SIAM portal.
Page 21
+ 44 1483 802501 | +1 512-813-0599 | +27 87 551 8200 | +33 9 87 67 53 36 | +61 8 9551 5200 | +61 400 435 1000
Eseye, AnyNet, AnyNet Secure and Eseye Logos are registered trademarks of Eseye Ltd © Eseye 2017 Limited.
All Rights Reserved. enquiries@eseye.com | eseye.com
2.5.3.3 “tariff”:
This field determines which tariff ID of SIM cards will be displayed. Tariff ID are usually four
numerical digits in length (for example 2356).
2.5.3.4 “matchString”:
This field determines which string of information you want to match (i.e. receive responses
which match your string of information).
2.5.3.5 “matchType”:
This field determines the type of match to be made, used in conjunction with the
“matchString” and “matchFields”. The options are: “S”, “E”, “C”, and “M”, these respectively
stand for: starts with…, ends with…, contains, and matches. If this field is entered incorrectly
then the entire estate of SIM cards will be returned.
2.5.3.6 “matchFields”:
This field determines the field of information to match, used in conjunction with the
“matchString” and “matchType”. Enter either the relevant Field or Indicator from the table
below:
Field Indicator
“FriendlyName” “F”
“MSISDN” “M”
“IMSI” “S”
“ICCID” “I”
“IMEI” “E”
“IP Address” “A”
If this field is entered incorrectly then the entire estate of SIM cards will be returned.
2.5.3.7 “sortOrder”:
This determines what factor the SIM cards will be ordered by. Enter either the relevant Field or
Indicator from the table below:
Sort by Indicator
“FriendlyName” “F”
“MSISDN” “M”
“IMSI” “S”
“ICCID” “I”
“IMEI” “E”
“IP Address” “A”
If this field is entered incorrectly then the SIM cards will not be sorted by an indicator.
Page 22
+ 44 1483 802501 | +1 512-813-0599 | +27 87 551 8200 | +33 9 87 67 53 36 | +61 8 9551 5200 | +61 400 435 1000
Eseye, AnyNet, AnyNet Secure and Eseye Logos are registered trademarks of Eseye Ltd © Eseye 2017 Limited.
All Rights Reserved. enquiries@eseye.com | eseye.com
2.5.3.8 “startRec”:
This determines the number of the first SIM card to be returned (the records having been
ordered as you specified in sortOrder). The default is: null and “0”, they both display all of the
results, “1” doesn’t display the first result, “2” doesn’t display the first two results, and so on.
2.5.3.9 “numRecs”:
This determines how many SIM cards will be displayed. null displays all SIM cards, “1” displays
one and “2” displays two and so on.
2.5.4 Responses:
All of these responses are when viewed in the pretty form (default setting).
2.5.4.1 Successful:
If your request is successful a response will display as follows:
{
"totRecs": 29,
"sims": [
{
"MSISDN": 447924165904,
"friendlyName": "SHIELD",
"ICCID": "8944538523005817658",
"ipAddress": "10.245.140.95",
"group": null,
"status": "provisioned",
"alert": "",
"controls": "SU"
}
],
"status": {
"status": "OK",
"errorCode": "",
"errorMessage": ""
}
}
2.5.4.1.1 “totalRecs” row:
This displays the number of records displayed.
Page 23
+ 44 1483 802501 | +1 512-813-0599 | +27 87 551 8200 | +33 9 87 67 53 36 | +61 8 9551 5200 | +61 400 435 1000
Eseye, AnyNet, AnyNet Secure and Eseye Logos are registered trademarks of Eseye Ltd © Eseye 2017 Limited.
All Rights Reserved. enquiries@eseye.com | eseye.com
2.5.4.1.3 “friendlyName” row:
This displays the name assigned to help identify the SIM card. This can be altered in the SIAM
portal.
Page 24
+ 44 1483 802501 | +1 512-813-0599 | +27 87 551 8200 | +33 9 87 67 53 36 | +61 8 9551 5200 | +61 400 435 1000
Eseye, AnyNet, AnyNet Secure and Eseye Logos are registered trademarks of Eseye Ltd © Eseye 2017 Limited.
All Rights Reserved. enquiries@eseye.com | eseye.com
2.5.4.2 Errors:
2.5.4.2.1 E0001 Invalid input - Syntax error, malformed JSON:
This error message will display as follows:
{
"status": {
"status": "ERR",
"code": "E0001",
"message": "Invalid input - Syntax error, malformed
JSON"
}
}
This indicates that the JSON text was structured incorrectly. Check that your JSON text follows
the format described in 2.5 of this guide. Note this error can be received due to Microsoft
Word style text being entered, as some characters are slightly different between Microsoft
Word and ASCII. To avoid this, either type the text in directly, or configure Microsoft Word so
that basic ASCII text is entered. To do this, consult section 4.3.6.
{
"status": {
"status": "ERR",
"code": "E0002",
"message": "Function not recognized"
}
}
This indicates that the Tigrillo/getSIMs section of the Request URL was entered incorrectly.
{
"status": {
"status": "ERR",
"code": "E0003",
"message": "API version not recognized"
}
}
This indicates that the getSIMs section of the Request URL was not entered.
Page 25
+ 44 1483 802501 | +1 512-813-0599 | +27 87 551 8200 | +33 9 87 67 53 36 | +61 8 9551 5200 | +61 400 435 1000
Eseye, AnyNet, AnyNet Secure and Eseye Logos are registered trademarks of Eseye Ltd © Eseye 2017 Limited.
All Rights Reserved. enquiries@eseye.com | eseye.com
2.5.4.2.4 E0005 Invalid parameter:
This error message will display as follows:
{
"status":{
"status":"ERR",
"code":"E0005",
"message":"Invalid parameter - sortOrde"
}
}
This indicates that the parameter being reported is invalid. Either a parameter is misspelt or
an additional parameter has been added. Correct the spelling or delete the additional
parameter in the JSON.
{
"status": {
"status": "ERR",
"code": "E0006",
"message": "Permission denied"
}
}
This indicates that either cookies are not being stored correctly or you are not logged in. To
verify that the cookies are not causing the error follow section 2.2 of this document. To verify
that you are logged in follow section 2.3 of this document.
This indicates that either you are not connected to the internet or one or more of the
following sections of the Request URL were entered incorrectly. http ://
.eseye.com/
Page 26
+ 44 1483 802501 | +1 512-813-0599 | +27 87 551 8200 | +33 9 87 67 53 36 | +61 8 9551 5200 | +61 400 435 1000
Eseye, AnyNet, AnyNet Secure and Eseye Logos are registered trademarks of Eseye Ltd © Eseye 2017 Limited.
All Rights Reserved. enquiries@eseye.com | eseye.com
2.5.4.2.7 <!DOCTYPE html>:
This error message will begin as follows:
This indicates that one or more of the following sections of the Request URL were entered
incorrectly. siam tigrillostaging Japi/
2.6 getSIMStateOptions
This function returns a list of the possible states that a particular SIM card can be put into. It
requires the user to be logged in, and the ICCID of the SIM (this can be found using the
getSIMs function). To test the interface in Postman app use the details shown below, to
download a code example of this request use the Generate Code button:
2.6.1 Production:
Request URL: https://siam.eseye.com/Japi/Tigrillo/getSIMStateOptions
Command: ‘Post’
Text box: Enter the following JSON formatted text. Note replace the “input” with the relevant
ICCID enclosed by speech marks.
{
"ICCID" : "input"
}
Click the blue ‘Send’ button.
Page 27
+ 44 1483 802501 | +1 512-813-0599 | +27 87 551 8200 | +33 9 87 67 53 36 | +61 8 9551 5200 | +61 400 435 1000
Eseye, AnyNet, AnyNet Secure and Eseye Logos are registered trademarks of Eseye Ltd © Eseye 2017 Limited.
All Rights Reserved. enquiries@eseye.com | eseye.com
2.6.2 Staging:
Request URL: https://tigrillostaging.eseye.com/Japi/Tigrillo/getSIMStateOptions
Command: ‘Post’
Text box: Enter the following JSON formatted text. Note replace the “input” with the relevant
ICCID enclosed by speech marks.
{
"ICCID" : "input"
}
Click the blue ‘Send’ button.
2.6.3 Responses:
All of these responses are when viewed in the pretty form (default setting)
2.6.3.1 Successful:
If your request is successful a response will display as follows:
{
"status": {
"status": "OK",
"errorCode": "",
"errorMessage": ""
},
"stateOptions": [
{
"ID": "suspend",
"title": "Suspend SIM"
},
{
"ID": "terminate",
"title": "Terminate the SIM"
}
]
}
Page 28
+ 44 1483 802501 | +1 512-813-0599 | +27 87 551 8200 | +33 9 87 67 53 36 | +61 8 9551 5200 | +61 400 435 1000
Eseye, AnyNet, AnyNet Secure and Eseye Logos are registered trademarks of Eseye Ltd © Eseye 2017 Limited.
All Rights Reserved. enquiries@eseye.com | eseye.com
2.6.3.1.1 State Options
2.6.3.1.1.1 “suspend” “Suspend SIM”
This indicates that the SIM card can be suspended, if suspended the SIM will stop connecting
to the network and continue to be billed for the service charge. This is instant and can be
reversed.
2.6.3.1.1.4 "reason": "English language reason for why there are no options"
This indicates that the SIM card has no states that it can be altered into. It will state why the
SIM is unable to change state.
2.6.3.2 Errors:
2.6.3.2.1 E0001 Invalid input - Syntax error, malformed JSON:
This error message will display as follows:
{
"status": {
"status": "ERR",
"code": "E0001",
"message": "Invalid input - Syntax error, malformed
JSON"
}
}
This indicates that the JSON text was structured incorrectly. Check that your JSON text follows
the format described in. Note this error can be received due to Microsoft Word style text
being entered, as some characters are slightly different between Microsoft Word and ASCII.
Page 29
+ 44 1483 802501 | +1 512-813-0599 | +27 87 551 8200 | +33 9 87 67 53 36 | +61 8 9551 5200 | +61 400 435 1000
Eseye, AnyNet, AnyNet Secure and Eseye Logos are registered trademarks of Eseye Ltd © Eseye 2017 Limited.
All Rights Reserved. enquiries@eseye.com | eseye.com
To avoid this, either type the text in directly, or configure Microsoft Word so that basic ASCII
text is entered. To do this, consult section 4.3.6.
{
"status": {
"status": "ERR",
"code": "E0002",
"message": "Function not recognized"
}
}
This indicates that the Tigrillo/getSIMStateOptions section of the Request URL was entered
incorrectly.
{
"status": {
"status": "ERR",
"code": "E0003",
"message": "API version not recognized"
}
}
This indicates that the getSIMStateOptions section of the Request URL was not entered.
{
"status": {
"status": "ERR",
"code": "E0004",
"message": "Missing parameter - ICCID"
}
}
This indicates that the parameter being reported is absent or entered incorrectly, or that the
‘s’ in the ‘https’ section of the Request URL was not entered.
Page 30
+ 44 1483 802501 | +1 512-813-0599 | +27 87 551 8200 | +33 9 87 67 53 36 | +61 8 9551 5200 | +61 400 435 1000
Eseye, AnyNet, AnyNet Secure and Eseye Logos are registered trademarks of Eseye Ltd © Eseye 2017 Limited.
All Rights Reserved. enquiries@eseye.com | eseye.com
2.6.3.2.5 E0005 Invalid parameter:
This error message will display as follows:
{
"status":{
"status":"ERR",
"code":"E0005",
"message":"Invalid parameter - CCID"
}
}
This indicates that the parameter being reported is invalid. Either “ICCID” is misspelt or an
additional parameter has been added. Correct the spelling or delete the additional
parameter in the JSON.
{
"status": {
"status": "ERR",
"code": "E0006",
"message": "Permission denied"
}
}
This indicates that either cookies are not being stored correctly or you are not logged in. To
verify that the cookies are not causing the error follow section 2.2 of this document. To verify
that you are logged in follow section 2.3 of this document.
{
"status": {
"status": "ERR",
"code": "E0137",
"message": "Invalid SIM no. provided"
}
}
This indicates that the ICCID is not one associated with the account currently logged in.
Page 31
+ 44 1483 802501 | +1 512-813-0599 | +27 87 551 8200 | +33 9 87 67 53 36 | +61 8 9551 5200 | +61 400 435 1000
Eseye, AnyNet, AnyNet Secure and Eseye Logos are registered trademarks of Eseye Ltd © Eseye 2017 Limited.
All Rights Reserved. enquiries@eseye.com | eseye.com
2.6.3.2.8 Could not get any response:
This error message will display as follows:
This indicates that either you are not connected to the internet or one or more of the
following sections of the Request URL were entered incorrectly. http ://
.eseye.com/
This indicates that one or more of the following sections of the Request URL were entered
incorrectly. siam tigrillostaging Japi/
2.7 setSIMState:
This function sets the state of a single SIM, allowing for suspension “suspend”, activation and
reactivation “active”, and termination “terminate”.
It does not allow for activation of a single SIM, for which the activateSIMs function 2.8 is
required.
If you wish the set a new state for multiple SIMs you should use one of suspendSIMs 2.9,
unsuspendSIMs 2.10, or terminateSIMs 2.11.
It requires the user to be logged in 2.3 and the ICCID of the SIM card. It also requires the state
the SIM card is to be changed into, to verify the possible states that a SIM can be altered to
follow section 2.6 getSIMStateOptions.
Page 32
+ 44 1483 802501 | +1 512-813-0599 | +27 87 551 8200 | +33 9 87 67 53 36 | +61 8 9551 5200 | +61 400 435 1000
Eseye, AnyNet, AnyNet Secure and Eseye Logos are registered trademarks of Eseye Ltd © Eseye 2017 Limited.
All Rights Reserved. enquiries@eseye.com | eseye.com
To test the interface in Postman app use the details shown below, to download a code
example of this request use the Generate Code button:
2.7.1 Production:
Request URL: https://siam.eseye.com/Japi/Tigrillo/setSIMState
Command: ‘Post’
Text box: Enter the following JSON formatted text. Note replace the two “input”s with the
relevant information enclosed by speech marks. The possible options for “input” are:
“suspend”, “active”, and “terminate”.
{
"ICCID" : "input" ,
"state" : "input"
}
Click the blue ‘Send’ button.
2.7.2 Staging:
Request URL: https://tigrillostaging.eseye.com/Japi/Tigrillo/setSIMState
Command: ‘Post’
Text box: Enter the following JSON formatted text. Note replace the two “input”s with the
relevant information enclosed by speech marks. The possible options for “input” are:
“suspend”, “active”, and “terminate”.
{
"ICCID" : "input" ,
"state" : "input"
}
Click the blue ‘Send’ button.
2.7.3 Responses:
All of these responses are when viewed in the pretty form (default setting).
Page 33
+ 44 1483 802501 | +1 512-813-0599 | +27 87 551 8200 | +33 9 87 67 53 36 | +61 8 9551 5200 | +61 400 435 1000
Eseye, AnyNet, AnyNet Secure and Eseye Logos are registered trademarks of Eseye Ltd © Eseye 2017 Limited.
All Rights Reserved. enquiries@eseye.com | eseye.com
2.7.3.1 Successful:
If your request is successful a response will display as follows:
{
"status": {
"status": "OK",
"errorCode": "",
"errorMessage": ""
}
}
The SIM is now in the state requested.
2.7.3.2 Errors:
2.7.3.2.1 E0001 Invalid input - Syntax error, malformed JSON:
This error message will display as follows:
{
"status": {
"status": "ERR",
"code": "E0001",
"message": "Invalid input - Syntax error, malformed
JSON"
}
}
This indicates that the JSON text was structured incorrectly. Check that your JSON text follows
the format described. Note this error can be received due to Microsoft Word style text being
entered, as some characters are slightly different between Microsoft Word and ASCII. To
avoid this, either type the text in directly, or configure Microsoft Word so that basic ASCII text
is entered. To do this, consult section 4.3.6.
{
"status": {
"status": "ERR",
"code": "E0002",
"message": "Function not recognized"
}
}
This indicates that the Tigrillo/getSIMs section of the Request URL was entered incorrectly.
Page 34
+ 44 1483 802501 | +1 512-813-0599 | +27 87 551 8200 | +33 9 87 67 53 36 | +61 8 9551 5200 | +61 400 435 1000
Eseye, AnyNet, AnyNet Secure and Eseye Logos are registered trademarks of Eseye Ltd © Eseye 2017 Limited.
All Rights Reserved. enquiries@eseye.com | eseye.com
2.7.3.2.3 E0003 API Version not recognised:
This error message will display as follows:
{
"status": {
"status": "ERR",
"code": "E0003",
"message": "API version not recognized"
}
}
This indicates that the setSIMState section of the Request URL was not entered.
{
"status": {
"status": "ERR",
"code": "E0004",
"message": "Missing parameter - state"
}
}
This indicates that the parameter being reported is absent or entered incorrectly, or that the
‘s’ in the ‘https’ section of the Request URL was not entered.
{
"status":{
"status":"ERR",
"code":"E0005",
"message":"Invalid parameter - CCID"
}
}
This indicates that the parameter being reported is invalid. Either a parameter is misspelt or
an additional parameter has been added. Correct the spelling or delete the additional
parameter in the JSON.
Page 35
+ 44 1483 802501 | +1 512-813-0599 | +27 87 551 8200 | +33 9 87 67 53 36 | +61 8 9551 5200 | +61 400 435 1000
Eseye, AnyNet, AnyNet Secure and Eseye Logos are registered trademarks of Eseye Ltd © Eseye 2017 Limited.
All Rights Reserved. enquiries@eseye.com | eseye.com
2.7.3.2.6 E0006 Permission denied:
This error message will display as follows:
{
"status": {
"status": "ERR",
"code": "E0006",
"message": "Permission denied"
}
}
This indicates that either cookies are not being stored correctly or you are not logged in. To
verify that the cookies are not causing the error follow section 2.2 of this document. To verify
that you are logged in follow section 2.3 of this document.
{
"status": {
"status": "ERR",
"code": "E0137",
"message": "Invalid SIM no. provided"
}
}
This indicates that the ICCID number was entered incorrectly.
{
"status": {
"status": "ERR",
"code": "E0139",
"message": "SIM cannot change state: SIM is pending
termination"
}
}
This indicates that the SIM card is awaiting termination, if this was requested accidently then
contact the Eseye Support Team immediately.
Page 36
+ 44 1483 802501 | +1 512-813-0599 | +27 87 551 8200 | +33 9 87 67 53 36 | +61 8 9551 5200 | +61 400 435 1000
Eseye, AnyNet, AnyNet Secure and Eseye Logos are registered trademarks of Eseye Ltd © Eseye 2017 Limited.
All Rights Reserved. enquiries@eseye.com | eseye.com
2.7.3.2.9 E0140 Invalid state requested:
This error message will display as follows:
{
"status": {
"status": "ERR",
"code": "E0140",
"message": "Invalid state requested"
}
}
This indicates that the state requested was entered incorrectly. Either through a spelling error,
or because the state requested is unavailable for the SIM. To verify if the state is available for
the SIM use the getSIMStateOptions function 2.6.
{
"status": {
"status": "ERR",
"code": "E0142",
"message": "Cannot activate SIM via this route"
}
}
This indicates that the SIM card cannot be activated over the API, please contact Eseye.
This indicates that either you are not connected to the internet or one or more of the
following sections of the Request URL were entered incorrectly. http ://
.eseye.com/
Page 37
+ 44 1483 802501 | +1 512-813-0599 | +27 87 551 8200 | +33 9 87 67 53 36 | +61 8 9551 5200 | +61 400 435 1000
Eseye, AnyNet, AnyNet Secure and Eseye Logos are registered trademarks of Eseye Ltd © Eseye 2017 Limited.
All Rights Reserved. enquiries@eseye.com | eseye.com
2.7.3.2.12 <!DOCTYPE html>:
This error message will begin as follows:
This indicates that one or more of the following sections of the Request URL were entered
incorrectly. siam tigrillostaging Japi/
If you are using the Staging server, this request will not be executed, so if you wish to 'reset'
the SIM (in order that you can test the activation process again), contact Eseye.
2.8 activateSIMs:
This function activates single or multiple SIMs.
It requires the user to be logged in 2.3 and the ICCID of the SIM card. It also requires the Tariff
ID that the SIM card will be on (should it not have been pre provisioned). It also requires the
Friendly Name, Group Name, IMEI, and Device ID should you wish these to be assigned at
activation.
To test the interface in Postman app use the details shown below, to download a code
example of this request use the Generate Code button:
2.8.1 Production:
Production:
Command: ‘Post’
Text box: Enter the following JSON formatted text. Note replace the nine ‘null’s in the JSON as
required. For more information on the JSON fields see section 2.8.3 JSON fields and the IMEI
field row does not end in a comma.
Page 38
+ 44 1483 802501 | +1 512-813-0599 | +27 87 551 8200 | +33 9 87 67 53 36 | +61 8 9551 5200 | +61 400 435 1000
Eseye, AnyNet, AnyNet Secure and Eseye Logos are registered trademarks of Eseye Ltd © Eseye 2017 Limited.
All Rights Reserved. enquiries@eseye.com | eseye.com
{ "sims" : [ {
"ICCID" : "exampleICCID" ,
"friendlyName" : null ,
"IMEI" : null
} ,
{
"ICCID" : "exampleICCID2" ,
"friendlyName" : null,
"IMEI" : null
} ,
{
"ICCID" : "exampleICCID3" ,
"friendlyName" : null ,
"IMEI" : null
} ] ,
"tariffID" : null ,
"group" : null ,
"device" : null
}
In the above example three SIM cards have been activated. More or fewer can be entered
as desired according to the following pattern:
{
"ICCID" : "exampleICCID" ,
"friendlyName" : null ,
"IMEI" : null
}
Click the blue ‘Send’ button.
2.8.2 Staging:
Production:
Command: ‘Post’
Text box: Enter the following JSON formatted text. Note replace the nine ‘null’s in the JSON as
required. For more information on the JSON fields see section 2.8.3 JSON fields and the IMEI
field row does not end in a comma.
Page 39
+ 44 1483 802501 | +1 512-813-0599 | +27 87 551 8200 | +33 9 87 67 53 36 | +61 8 9551 5200 | +61 400 435 1000
Eseye, AnyNet, AnyNet Secure and Eseye Logos are registered trademarks of Eseye Ltd © Eseye 2017 Limited.
All Rights Reserved. enquiries@eseye.com | eseye.com
{ "sims" : [ {
"ICCID" : "exampleICCID" ,
"friendlyName" : null ,
"IMEI" : null
} ,
{
"ICCID" : "exampleICCID2" ,
"friendlyName" : null,
"IMEI" : null
} ,
{
"ICCID" : "exampleICCID3" ,
"friendlyName" : null ,
"IMEI" : null
} ] ,
"tariffID" : null ,
"group" : null ,
"device" : null
}
In the above example three SIM cards have been activated. More or fewer can be entered
as desired according to the following pattern:
{
"ICCID" : "exampleICCID" ,
"friendlyName" : null ,
"IMEI" : null
}
Click the blue ‘Send’ button.
Page 40
+ 44 1483 802501 | +1 512-813-0599 | +27 87 551 8200 | +33 9 87 67 53 36 | +61 8 9551 5200 | +61 400 435 1000
Eseye, AnyNet, AnyNet Secure and Eseye Logos are registered trademarks of Eseye Ltd © Eseye 2017 Limited.
All Rights Reserved. enquiries@eseye.com | eseye.com
Should you not wish to change a friendly name from what it is already set as or not use one
enter null, as seen in the example above.
Should you wish to remove an existing Friendly Name, enter an empty string, or two speech
marks: “”.
Should you not wish to change an IMEI already set or not use one enter null, as seen in the
example above.
Should you wish to remove an existing IMEI, enter an empty string, or two speech marks: “”.
If every SIM already has a package assigned through preprovisioning, null can be entered,
as seen in the example above.
You are notified of your tariff ID during contract signing. Contact Eseye if you are unable to
remember it.
Should you not wish to change a group name already set or not use one enter null, as seen
in the example above.
Should you wish to remove an existing group name, enter an empty string, or two speech
marks: “”.
Should you wish to not change a device ID already set or not use one enter null, as seen in
the example above.
Should you wish to remove an existing IMEI, enter an empty string, or two speech marks: “”.
Page 41
+ 44 1483 802501 | +1 512-813-0599 | +27 87 551 8200 | +33 9 87 67 53 36 | +61 8 9551 5200 | +61 400 435 1000
Eseye, AnyNet, AnyNet Secure and Eseye Logos are registered trademarks of Eseye Ltd © Eseye 2017 Limited.
All Rights Reserved. enquiries@eseye.com | eseye.com
2.8.4 Responses:
All of these responses are when viewed in the pretty form (default setting).
2.8.4.1 Successful:
If your request is successful a response will display as follows:
{
"status": {
"status": "OK",
"errorCode": "",
"errorMessage": ""
},
"simStatuses": {
"8944538523009421515": {
"ICCID": "8944538523009421515",
"status": "OK"
},
"8944538523006861424": {
"ICCID": "8944538523006861424",
"status": "AUTO"
}
}
}
2.8.4.1.1 “status" row:
2.8.4.1.1.1 "OK":
This indicates that the request has been sent to the provisioning team, as displayed with
exampleICCID1.
2.8.4.1.1.2 "AUTO":
This indicates that the SIM has been scheduled for activation and should be on the network
within five minutes, as displayed with exampleICCID2.
2.8.4.2 Errors:
Please note that if an error message is received none of SIMs have been activated. Even if
the error code refers to one or only some of the SIMs.
Page 42
+ 44 1483 802501 | +1 512-813-0599 | +27 87 551 8200 | +33 9 87 67 53 36 | +61 8 9551 5200 | +61 400 435 1000
Eseye, AnyNet, AnyNet Secure and Eseye Logos are registered trademarks of Eseye Ltd © Eseye 2017 Limited.
All Rights Reserved. enquiries@eseye.com | eseye.com
2.8.4.2.1 E0001 Invalid input ExampleICCID cannot be activated:
This error message will display as follows:
{
"status": {
"status": "ERR",
"errorCode": "See simErrors for details",
"errorMessage": ""
},
"simErrors": {
"8944538523007517298": "E0001:Invalid input -
8944538523007517298 cannot be activated "
}
}
This indicates that the SIM cannot be activated. To verify that the SIM can be activated
follow section 2.6 getSIMStateOptions. Note 8944538523007517298 is an example.
{
"status": {
"status": "ERR",
"errorCode": "See simErrors for details",
"errorMessage": ""
},
"simErrors": {
"89445385230079800": "E0001:Invalid input -
89445385230079800 is not a valid SIM number"
}
}
This indicates that the ICCID was entered incorrectly. Note 89445385230079800 is an
example.
Page 43
+ 44 1483 802501 | +1 512-813-0599 | +27 87 551 8200 | +33 9 87 67 53 36 | +61 8 9551 5200 | +61 400 435 1000
Eseye, AnyNet, AnyNet Secure and Eseye Logos are registered trademarks of Eseye Ltd © Eseye 2017 Limited.
All Rights Reserved. enquiries@eseye.com | eseye.com
2.8.4.2.3 E0001 Invalid input ExampleICCID is not an available SIM:
This error message will display as follows:
{
"status": {
"status": "ERR",
"errorCode": "See simErrors for details",
"errorMessage": ""
},
"simErrors": {
"89445385230079800": "E0001:Invalid input -
89445385230079800 is not an available SIM"
}
}
This indicates that the SIM is not available to be activated. To verify that the SIM can be
activated follow section 2.6 getSIMStateOptions. Note 89445385230079800 is an example.
{
"status": {
"status": "ERR",
"errorCode": "See simErrors for details",
"errorMessage": ""
},
"simErrors": {
"8944538523009250195": "E0001:Invalid input -
8944538523009250195 requires a tariff"
}
}
This indicates that a tariff ID needs to be assigned. Enter the correct tariff ID or if the Tariff ID
appears correct, or you have forgotten your tariff ID, contact Eseye.
{
"status": {
"status": "ERR",
"code": "E0001",
"message": "Invalid input - Syntax error, malformed
JSON"
}
}
Page 44
+ 44 1483 802501 | +1 512-813-0599 | +27 87 551 8200 | +33 9 87 67 53 36 | +61 8 9551 5200 | +61 400 435 1000
Eseye, AnyNet, AnyNet Secure and Eseye Logos are registered trademarks of Eseye Ltd © Eseye 2017 Limited.
All Rights Reserved. enquiries@eseye.com | eseye.com
This indicates that the JSON text was structured incorrectly. Check that your JSON text follows
the format described in. Note this error can be received due to Microsoft Word style text
being entered, as some characters are slightly different between Microsoft Word and ASCII.
To avoid this, either type the text in directly, or configure Microsoft Word so that basic ASCII
text is entered. To do this, consult section 4.3.6.
{
"status": {
"status": "ERR",
"code": "E0002",
"message": "Function not recognized"
}
}
This indicates that the Tigrillo/activateSIMs section of the Request URL was entered
incorrectly.
{
"status": {
"status": "ERR",
"code": "E0003",
"message": "API version not recognized"
}
}
This indicates that the activateSIMs section of the Request URL was not entered.
{
"status": {
"status": "ERR",
"code": "E0004",
"message": "Missing parameter - sims"
}
}
This indicates that the parameter being reported is absent or entered incorrectly, or that the
‘s’ in the ‘https’ section of the Request URL was not entered.
Page 45
+ 44 1483 802501 | +1 512-813-0599 | +27 87 551 8200 | +33 9 87 67 53 36 | +61 8 9551 5200 | +61 400 435 1000
Eseye, AnyNet, AnyNet Secure and Eseye Logos are registered trademarks of Eseye Ltd © Eseye 2017 Limited.
All Rights Reserved. enquiries@eseye.com | eseye.com
2.8.4.2.9 E0005 Invalid parameter:
This error message will display as follows:
{
"status":{
"status":"ERR",
"code":"E0005",
"message":"Invalid parameter - ICCI"
}
}
This indicates that the parameter being reported is invalid. Either “tariffID”, “group” or
“device” are misspelt or an additional parameter has been added. Correct the spelling or
delete the additional parameter in the JSON.
{
"status": {
"status": "ERR",
"code": "E0006",
"message": "Permission denied"
}
}
This indicates that either cookies are not being stored correctly or you are not logged in. To
verify that the cookies are not causing the error follow section 2.2 of this document. To verify
that you are logged in follow section 2.3 of this document.
{
"status": {
"status": "ERR",
"code": "E0132",
"message": "Invalid tariff selected"
}
}
This indicates that the Tariff ID was entered incorrectly. Check that the tariff ID entered is the
one agreed in your contract with Eseye. If the Tariff ID appears correct, or you have
forgotten your tariff ID, contact Eseye.
Page 46
+ 44 1483 802501 | +1 512-813-0599 | +27 87 551 8200 | +33 9 87 67 53 36 | +61 8 9551 5200 | +61 400 435 1000
Eseye, AnyNet, AnyNet Secure and Eseye Logos are registered trademarks of Eseye Ltd © Eseye 2017 Limited.
All Rights Reserved. enquiries@eseye.com | eseye.com
2.8.4.2.12 E0133 Device type is not valid:
This error message will display as follows:
{
"status": {
"status": "ERR",
"code": "E0133",
"message": "Invalid device type selected"
}
}
This indicates that the Device ID was entered incorrectly. Contact Eseye if the Device ID
appears to be valid and you are still receiving this response.
{
"status": {
"status": "ERR",
"code": "E9998",
"message": "System not available at this moment "
}
}
This indicates that the system is not currently running. Wait and then try again later.
This indicates that either you are not connected to the internet or one or more of the
following sections of the Request URL were entered incorrectly. http ://
.eseye.com/
Page 47
+ 44 1483 802501 | +1 512-813-0599 | +27 87 551 8200 | +33 9 87 67 53 36 | +61 8 9551 5200 | +61 400 435 1000
Eseye, AnyNet, AnyNet Secure and Eseye Logos are registered trademarks of Eseye Ltd © Eseye 2017 Limited.
All Rights Reserved. enquiries@eseye.com | eseye.com
2.8.4.2.15 <!DOCTYPE html>:
This error message will begin as follows:
This indicates that one or more of the following sections of the Request URL were entered
incorrectly. siam tigrillostaging Japi/
If you are using the Staging server, this request will not be executed, so if you wish to 'reset'
the SIM (in order that you can test the activation process again), contact Eseye.
{
"exampleICCID": {
"ICCID": "exampleICCID",
"status": "PAY"
"price" : "1.00"
"ccy" : "exampleCurrency"
}
}
This indicates that payment is required before the SIM can be activated, as displayed with
exampleICCID3. With this response two rows will appear; “price” indicates the amount
needed to pay, “ccy” indicates the currency requested.
To pay the outstanding amount log in to SIAM and use the Finance > Transactions > Make
Ad-hoc Payment By Credit Card.
2.9 suspendSIMs:
This function suspends multiple SIMs.
It requires the user to be logged in 2.3 and the ICCIDs of the SIM cards. It also requires the SIM
cards to be able to be suspended, to verify this use section 2.6 getSIMStateOptions.
To test the interface in Postman app use the details shown below, to download a code
example of this request use the Generate Code button:
Page 48
+ 44 1483 802501 | +1 512-813-0599 | +27 87 551 8200 | +33 9 87 67 53 36 | +61 8 9551 5200 | +61 400 435 1000
Eseye, AnyNet, AnyNet Secure and Eseye Logos are registered trademarks of Eseye Ltd © Eseye 2017 Limited.
All Rights Reserved. enquiries@eseye.com | eseye.com
2.9.1 Production:
Request URL: https://siam.eseye.com/Japi/Tigrillo/suspendSIMs
Command: ‘Post’
Text box: Enter the following JSON formatted text. Note replace the “exampleICCID”s with
the relevant ICCIDs enclosed by speech marks and ensure that all rows end in a comma
except the last ICCID.
{ "sims" : [
"exampleICCID" ,
"exampleICCID" ,
"exampleICCID" ,
"exampleICCID"
]
}
Click the blue ‘Send’ button.
2.9.2 Staging:
Request URL: https://tigrillostaging.eseye.com/Japi/Tigrillo/suspendSIMs
Command: ‘Post’
Text box: Enter the following JSON formatted text. Note replace the “exampleICCID”s with
the relevant ICCIDs enclosed by speech marks and ensure that all rows end in a comma
except the last ICCID.
{ "sims" : [
"exampleICCID" ,
"exampleICCID" ,
"exampleICCID" ,
"exampleICCID"
]
}
Click the blue ‘Send’ button.
Page 49
+ 44 1483 802501 | +1 512-813-0599 | +27 87 551 8200 | +33 9 87 67 53 36 | +61 8 9551 5200 | +61 400 435 1000
Eseye, AnyNet, AnyNet Secure and Eseye Logos are registered trademarks of Eseye Ltd © Eseye 2017 Limited.
All Rights Reserved. enquiries@eseye.com | eseye.com
2.9.3 Responses:
All of these responses are when viewed in the pretty form (default setting).
2.9.3.1 Successful:
If your request is successful a response will display as follows:
{
"status": {
"status": "OK",
"errorCode": "",
"errorMessage": ""
}
}
This indicates that all the listed SIMs have been suspended.
If the list of SIMs include some that are unsuccessful the response with display as follows:
{
"status": {
"status": "OK",
"errorCode": "",
"errorMessage": ""
},
"simStatuses": {
"894453852300680800": "E0137:Invalid SIM no.
provided"
}
Use the Errors below to verify the reasons for the errors.
2.9.3.2 Errors:
2.9.3.2.1 E0001 Invalid input - Syntax error, malformed JSON:
This error message will display as follows:
{
"status": {
"status": "ERR",
"code": "E0001",
"message": "Invalid input - Syntax error, malformed
JSON"
}
}
This indicates that the JSON text was structured incorrectly. Check that your JSON text follows
the format described in. Note this error can be received due to Microsoft Word style text
being entered, as some characters are slightly different between Microsoft Word and ASCII.
Page 50
+ 44 1483 802501 | +1 512-813-0599 | +27 87 551 8200 | +33 9 87 67 53 36 | +61 8 9551 5200 | +61 400 435 1000
Eseye, AnyNet, AnyNet Secure and Eseye Logos are registered trademarks of Eseye Ltd © Eseye 2017 Limited.
All Rights Reserved. enquiries@eseye.com | eseye.com
To avoid this, either type the text in directly, or configure Microsoft Word so that basic ASCII
text is entered. To do this, consult section 4.3.6.
{
"status": {
"status": "ERR",
"code": "E0002",
"message": "Function not recognized"
}
}
This indicates that the Tigrillo/suspendSIMs section of the Request URL was entered incorrectly.
{
"status": {
"status": "ERR",
"code": "E0003",
"message": "API version not recognized"
}
}
This indicates that the suspendSIMSs section of the Request URL was not entered.
{
"status": {
"status": "ERR",
"code": "E0004",
"message": "Missing parameter - sims"
}
}
This indicates that the parameter being reported is absent or entered incorrectly, or that the
‘s’ in the ‘https’ section of the Request URL was not entered.
Page 51
+ 44 1483 802501 | +1 512-813-0599 | +27 87 551 8200 | +33 9 87 67 53 36 | +61 8 9551 5200 | +61 400 435 1000
Eseye, AnyNet, AnyNet Secure and Eseye Logos are registered trademarks of Eseye Ltd © Eseye 2017 Limited.
All Rights Reserved. enquiries@eseye.com | eseye.com
2.9.3.2.5 E0005 Invalid parameter:
This error message will display as follows:
{
"status":{
"status":"ERR",
"code":"E0005",
"message":"Invalid parameter - ICCID"
}
}
This indicates that the parameter being reported is invalid. Ensure that “sims” is the only
parameter in the JSON text.
{
"status": {
"status": "ERR",
"code": "E0006",
"message": "Permission denied"
}
}
This indicates that either cookies are not being stored correctly or you are not logged in. To
verify that the cookies are not causing the error follow section 2.2 of this document. To verify
that you are logged in follow section 2.3 of this document.
{
"status": {
"status": "OK",
"errorCode": "",
"errorMessage": ""
},
"simStatuses": {
"89445385230980017": "E0137:Invalid SIM no. provided"
}
}
This indicates that the relevant ICCID was entered incorrectly.
Page 52
+ 44 1483 802501 | +1 512-813-0599 | +27 87 551 8200 | +33 9 87 67 53 36 | +61 8 9551 5200 | +61 400 435 1000
Eseye, AnyNet, AnyNet Secure and Eseye Logos are registered trademarks of Eseye Ltd © Eseye 2017 Limited.
All Rights Reserved. enquiries@eseye.com | eseye.com
2.9.3.2.8 E0143: SIM cannot be suspended:
This error message will display as follows:
{
"status": {
"status": "OK",
"errorCode": "",
"errorMessage": ""
},
"simStatuses": {
"89445385230079800": "E0143:SIM cannot be suspended"
}
}
This indicates that the SIM cannot be suspended, to verify that the SIM can be suspended
follow section 2.6 getSIMStateOptions. Note 89445385230079800 is an example.
This indicates that either you are not connected to the internet or one or more of the
following sections of the Request URL were entered incorrectly. http ://
.eseye.com/
This indicates that one or more of the following sections of the Request URL were entered
incorrectly. siam tigrillostaging Japi/
Page 53
+ 44 1483 802501 | +1 512-813-0599 | +27 87 551 8200 | +33 9 87 67 53 36 | +61 8 9551 5200 | +61 400 435 1000
Eseye, AnyNet, AnyNet Secure and Eseye Logos are registered trademarks of Eseye Ltd © Eseye 2017 Limited.
All Rights Reserved. enquiries@eseye.com | eseye.com
2.10 unsuspendSIMs:
This function unsuspends multiple SIMs. It can only be achieved after the SIM card has been
suspended for two hours.
It requires the user to be logged in 2.3 and the ICCIDs of the SIM cards. It also requires the SIM
cards to be able to be unsuspended, to verify this use section 2.6 getSIMStateOptions.
To test the interface in Postman app use the details shown below, to download a code
example of this request use the Generate Code button:
2.10.1 Production:
Request URL: https://siam.eseye.com/Japi/Tigrillo/unsuspendSIMs
Command: ‘Post’
Text box: Enter the following JSON formatted text. Note replace the “exampleICCID”s with
the relevant ICCIDs enclosed by speech marks and ensure that all rows end in a comma
except the last ICCID.
{ "sims" : [
"exampleICCID" ,
"exampleICCID" ,
"exampleICCID" ,
"exampleICCID"
]
}
Click the blue ‘Send’ button.
2.10.2 Staging:
Request URL: https:// tigrillostaging.eseye.com/Japi/Tigrillo/unsuspendSIMs
Command: ‘Post’
Text box: Enter the following JSON formatted text. Note replace the “exampleICCID”s with
the relevant ICCIDs enclosed by speech marks and ensure that all rows end in a comma
except the last ICCID.
Page 54
+ 44 1483 802501 | +1 512-813-0599 | +27 87 551 8200 | +33 9 87 67 53 36 | +61 8 9551 5200 | +61 400 435 1000
Eseye, AnyNet, AnyNet Secure and Eseye Logos are registered trademarks of Eseye Ltd © Eseye 2017 Limited.
All Rights Reserved. enquiries@eseye.com | eseye.com
{ "sims" : [
"exampleICCID" ,
"exampleICCID" ,
"exampleICCID" ,
"exampleICCID"
]
}
Click the blue ‘Send’ button.
2.10.3 Responses:
All of these responses are when viewed in the pretty form (default setting)
2.10.3.1 Successful:
If your request is successful a response will display as follows:
{
"status": {
"status": "OK",
"errorCode": "",
"errorMessage": ""
}
}
This indicates that all the listed SIMs have been unsuspended.
If the list of SIMs include some that are unsuccessful the response with display as follows:
{
"status": {
"status": "OK",
"errorCode": "",
"errorMessage": ""
},
"simStatuses": {
"8944538523005817781": "E0144:SIM cannot be
unsuspended",
"894453852300680800": "E0137:Invalid SIM no.
provided"
}
Use the errors codes below to verify the reasoning for the errors.
Page 55
+ 44 1483 802501 | +1 512-813-0599 | +27 87 551 8200 | +33 9 87 67 53 36 | +61 8 9551 5200 | +61 400 435 1000
Eseye, AnyNet, AnyNet Secure and Eseye Logos are registered trademarks of Eseye Ltd © Eseye 2017 Limited.
All Rights Reserved. enquiries@eseye.com | eseye.com
2.10.3.2 Errors:
2.10.3.2.1 E0001 Invalid input - Syntax error, malformed JSON:
This error message will display as follows:
{
"status": {
"status": "ERR",
"code": "E0001",
"message": "Invalid input - Syntax error, malformed
JSON"
}
}
This indicates that the JSON text was structured incorrectly. Check that your JSON text follows
the format described in. Note this error can be received due to Microsoft Word style text
being entered, as some characters are slightly different between Microsoft Word and ASCII.
To avoid this, either type the text in directly, or configure Microsoft Word so that basic ASCII
text is entered. To do this, consult section 4.3.6.
{
"status": {
"status": "ERR",
"code": "E0002",
"message": "Function not recognized"
}
}
This indicates that the Tigrillo/unsuspendSIMs section of the Request URL was entered
incorrectly.
{
"status": {
"status": "ERR",
"code": "E0003",
"message": "API version not recognized"
}
}
This indicates that the unsuspendSIMs section of the Request URL was not entered.
Page 56
+ 44 1483 802501 | +1 512-813-0599 | +27 87 551 8200 | +33 9 87 67 53 36 | +61 8 9551 5200 | +61 400 435 1000
Eseye, AnyNet, AnyNet Secure and Eseye Logos are registered trademarks of Eseye Ltd © Eseye 2017 Limited.
All Rights Reserved. enquiries@eseye.com | eseye.com
2.10.3.2.4 E0004 Missing parameter:
This error message will display as follows:
{
"status":{
"status":"ERR",
"code":"E0004",
"message":"missing parameter - sims"
}
}
This indicates that the parameter being reported is absent or entered incorrectly, or that the
‘s’ in the ‘https’ section of the Request URL was not entered.
{
"status":{
"status":"ERR",
"code":"E0005",
"message":"Invalid parameter - ICCID"
}
}
This indicates that the parameter being reported is invalid. Ensure that “sims” is the only
parameter in the JSON text.
{
"status": {
"status": "ERR",
"code": "E0006",
"message": "Permission denied"
}
}
This indicates that either cookies are not being stored correctly or you are not logged in. To
verify that the cookies are not causing the error follow section 2.2 of this document. To verify
that you are logged in follow section 2.3 of this document.
Page 57
+ 44 1483 802501 | +1 512-813-0599 | +27 87 551 8200 | +33 9 87 67 53 36 | +61 8 9551 5200 | +61 400 435 1000
Eseye, AnyNet, AnyNet Secure and Eseye Logos are registered trademarks of Eseye Ltd © Eseye 2017 Limited.
All Rights Reserved. enquiries@eseye.com | eseye.com
2.10.3.2.7 E0137 Invalid SIM no. provided:
This error message will display as follows:
{
"status": {
"status": "OK",
"errorCode": "",
"errorMessage": ""
},
"simStatuses": {
"89441226502644169": "E0137:Invalid SIM no. provided"
}
}
This indicates that either the relevant ICCID was entered incorrectly. Note
89441226502644169 is an example.
{
"status": {
"status": "OK",
"errorCode": "",
"errorMessage": ""
},
"simStatuses": {
"8944122650264416912": "E0144:SIM cannot be unsuspended"
}
}
This indicates that either: the SIM cannot be suspended, (to verify that the SIM can be
suspended follow section 2.6 getSIMStateOptions) or that either cookies are not being stored
correctly (to verify that the cookies are not causing the error follow section 2.2
getCookieName) or you are not logged in (to verify that you are successfully logged in follow
section 2.3 login).
Page 58
+ 44 1483 802501 | +1 512-813-0599 | +27 87 551 8200 | +33 9 87 67 53 36 | +61 8 9551 5200 | +61 400 435 1000
Eseye, AnyNet, AnyNet Secure and Eseye Logos are registered trademarks of Eseye Ltd © Eseye 2017 Limited.
All Rights Reserved. enquiries@eseye.com | eseye.com
2.10.3.2.9 Could not get any response:
This error message will display as follows:
This indicates that either you are not connected to the internet or one or more of the
following sections of the Request URL were entered incorrectly. http ://
.eseye.com/
This indicates that one or more of the following sections of the Request URL were entered
incorrectly. siam tigrillostaging Japi/
2.11 terminateSIMs:
This function terminates multiple SIMs.
It requires the user to be logged in 2.3 and the ICCIDs of the SIM cards. It also requires the SIM
cards to be able to be terminated, to verify this use section 2.6 getSIMStateOptions.
To test the interface in Postman app use the details shown below, to download a code
example of this request use the Generate Code button:
Page 59
+ 44 1483 802501 | +1 512-813-0599 | +27 87 551 8200 | +33 9 87 67 53 36 | +61 8 9551 5200 | +61 400 435 1000
Eseye, AnyNet, AnyNet Secure and Eseye Logos are registered trademarks of Eseye Ltd © Eseye 2017 Limited.
All Rights Reserved. enquiries@eseye.com | eseye.com
2.11.1 Production:
Request URL: https://siam.eseye.com/Japi/Tigrillo/terminateSIMs
Command: ‘Post’
Text box: Enter the following JSON formatted text. Note replace the “exampleICCID”s with
the relevant ICCIDs enclosed by speech marks and ensure that all rows end in a comma
except the last ICCID.
{ "sims" : [
"exampleICCID" ,
"exampleICCID" ,
"exampleICCID"
]
}
Click the blue ‘Send’ button.
2.11.2 Staging:
Request URL: https:// tigrillostaging.eseye.com/Japi/Tigrillo/terminateSIMs
Command: ‘Post’
Text box: Enter the following JSON formatted text. Note replace the “exampleICCID”s with
the relevant ICCIDs enclosed by speech marks and ensure that all rows end in a comma
except the last ICCID.
{ "sims" : [
"exampleICCID" ,
"exampleICCID" ,
"exampleICCID"
]
}
Click the blue ‘Send’ button.
Page 60
+ 44 1483 802501 | +1 512-813-0599 | +27 87 551 8200 | +33 9 87 67 53 36 | +61 8 9551 5200 | +61 400 435 1000
Eseye, AnyNet, AnyNet Secure and Eseye Logos are registered trademarks of Eseye Ltd © Eseye 2017 Limited.
All Rights Reserved. enquiries@eseye.com | eseye.com
2.11.3 Responses:
All of these responses are when viewed in the pretty form (default setting)
2.11.3.1 Successful:
If your request is successful a response will display as follows:
{
"status": {
"status": "OK",
"errorCode": "",
"errorMessage": ""
}
}
This indicates that all the listed SIMs have been terminated.
If the list of SIMs include some that are unsuccessful the response with display as follows:
{
"status": {
"status": "OK",
"errorCode": "",
"errorMessage": ""
},
"simStatuses": {
"8944538523005817781": "E0144:SIM cannot be
terminated",
"894453852300680800": "E0137:Invalid SIM no.
provided"
}
Use the errors codes below to verify the reasoning for the errors.
2.11.3.2 Errors:
2.11.3.2.1 E0001 Invalid input - Syntax error, malformed JSON:
This error message will display as follows:
{
"status": {
"status": "ERR",
"code": "E0001",
"message": "Invalid input - Syntax error, malformed
JSON"
}
}
This indicates that the JSON text was structured incorrectly. Check that your JSON text follows
the format described in. Note this error can be received due to Microsoft Word style text
Page 61
+ 44 1483 802501 | +1 512-813-0599 | +27 87 551 8200 | +33 9 87 67 53 36 | +61 8 9551 5200 | +61 400 435 1000
Eseye, AnyNet, AnyNet Secure and Eseye Logos are registered trademarks of Eseye Ltd © Eseye 2017 Limited.
All Rights Reserved. enquiries@eseye.com | eseye.com
being entered, as some characters are slightly different between Microsoft Word and ASCII.
To avoid this, either type the text in directly, or configure Microsoft Word so that basic ASCII
text is entered. To do this, consult section 4.3.6.
{
"status": {
"status": "ERR",
"code": "E0002",
"message": "Function not recognized"
}
}
This indicates that the Tigrillo/terminateSIMs section of the Request URL was entered
incorrectly.
{
"status": {
"status": "ERR",
"code": "E0003",
"message": "API version not recognized"
}
}
This indicates that the terminateSIMs section of the Request URL was not entered.
{
"status": {
"status": "ERR",
"code": "E0004",
"message": "Missing parameter - sims"
}
}
This indicates that the parameter being reported is absent or entered incorrectly, or that the
‘s’ in the ‘https’ section of the Request URL was not entered.
Page 62
+ 44 1483 802501 | +1 512-813-0599 | +27 87 551 8200 | +33 9 87 67 53 36 | +61 8 9551 5200 | +61 400 435 1000
Eseye, AnyNet, AnyNet Secure and Eseye Logos are registered trademarks of Eseye Ltd © Eseye 2017 Limited.
All Rights Reserved. enquiries@eseye.com | eseye.com
2.11.3.2.5 E0005 Invalid parameter:
This error message will display as follows:
{
"status":{
"status":"ERR",
"code":"E0005",
"message":"Invalid parameter - newPassword"
}
}
This indicates that the parameter being reported is invalid. Ensure that “sims” is the only
parameter in the JSON text.
{
"status": {
"status": "ERR",
"code": "E0006",
"message": "Permission denied"
}
}
This indicates that either cookies are not being stored correctly or you are not logged in. To
verify that the cookies are not causing the error follow section 2.2 of this document. To verify
that you are logged in follow section 2.3 of this document.
{
"status": {
"status": "ERR",
"code": "E9998",
"message": "System not available at this moment "
}
}
This indicates that the system is not currently running. Wait and then try again later.
Page 63
+ 44 1483 802501 | +1 512-813-0599 | +27 87 551 8200 | +33 9 87 67 53 36 | +61 8 9551 5200 | +61 400 435 1000
Eseye, AnyNet, AnyNet Secure and Eseye Logos are registered trademarks of Eseye Ltd © Eseye 2017 Limited.
All Rights Reserved. enquiries@eseye.com | eseye.com
2.11.3.2.8 Could not get any response:
This error message will display as follows:
This indicates that either you are not connected to the internet or one or more of the
following sections of the Request URL were entered incorrectly. http ://
.eseye.com/
This indicates that one or more of the following sections of the Request URL were entered
incorrectly. siam tigrillostaging Japi/
Page 64
+ 44 1483 802501 | +1 512-813-0599 | +27 87 551 8200 | +33 9 87 67 53 36 | +61 8 9551 5200 | +61 400 435 1000
Eseye, AnyNet, AnyNet Secure and Eseye Logos are registered trademarks of Eseye Ltd © Eseye 2017 Limited.
All Rights Reserved. enquiries@eseye.com | eseye.com
2.12 setSIMDetail:
This function updates the details of a single SIM.
It requires the user to be logged in 2.3 and the ICCID of the SIM card.
To test the interface in Postman app use the details shown below, to download a code
example of this request use the Generate Code button:
2.12.1 Production:
Request URL: https://siam.eseye.com/Japi/Siam/setSIMDetail
Command: ‘Post’
Text box: Enter the following JSON formatted text. Note replace the “input” with the ICCID
enclosed in speech marks and the 8 ‘null’s in the JSON as required. For more information on
the JSON fields see section 2.12.2 JSON fields.
{
"ICCID" : "input" ,
"friendlyName" : null,
"field1" : null,
"field2" : null,
"field3" : null,
"field4" : null,
"field5" : null,
"group" : null,
"IMEI" : null
}
Click the blue ‘Send’ button.
If null is entered as an input for a parameter, the value will remain as previously set.
Page 65
+ 44 1483 802501 | +1 512-813-0599 | +27 87 551 8200 | +33 9 87 67 53 36 | +61 8 9551 5200 | +61 400 435 1000
Eseye, AnyNet, AnyNet Secure and Eseye Logos are registered trademarks of Eseye Ltd © Eseye 2017 Limited.
All Rights Reserved. enquiries@eseye.com | eseye.com
2.12.3 Responses:
All of these responses are when viewed in the pretty form (default setting)
2.12.3.1 Successful:
If your request is successful a response will display as follows:
{
"status": {
"status": "OK",
"errorCode": "",
"errorMessage": ""
}
}
This indicates that all the listed SIMs have been updated.
2.12.3.2 Errors:
2.12.3.2.1 E0001 Invalid input - Syntax error, malformed JSON:
This error message will display as follows:
{
"status": {
"status": "ERR",
"code": "E0001",
"message": "Invalid input - Syntax error, malformed
JSON"
}
}
This indicates that the JSON text was structured incorrectly. Check that your JSON text follows
the format described in. Note this error can be received due to Microsoft Word style text
being entered, as some characters are slightly different between Microsoft Word and ASCII.
To avoid this, either type the text in directly, or configure Microsoft Word so that basic ASCII
text is entered. To do this, consult section 4.3.6.
{
"status": {
"status": "ERR",
"code": "E0002",
"message": "Function not recognized"
}
}
This indicates that the Siam/setSIMDetail section of the Request URL was entered incorrectly.
Page 66
+ 44 1483 802501 | +1 512-813-0599 | +27 87 551 8200 | +33 9 87 67 53 36 | +61 8 9551 5200 | +61 400 435 1000
Eseye, AnyNet, AnyNet Secure and Eseye Logos are registered trademarks of Eseye Ltd © Eseye 2017 Limited.
All Rights Reserved. enquiries@eseye.com | eseye.com
2.12.3.2.3 E0003 API Version not recognised:
This error message will display as follows:
{
"status": {
"status": "ERR",
"code": "E0003",
"message": "API version not recognized"
}
}
This indicates that the setSIMDetail section of the Request URL was not entered.
{
"status": {
"status": "ERR",
"code": "E0004",
"message": "Missing parameter - ICCID"
}
}
This indicates that the parameter being reported is absent or entered incorrectly, or that the
‘s’ in the ‘https’ section of the Request URL was not entered.
{
"status": {
"status": "ERR",
"code": "E0006",
"message": "Permission denied"
}
}
This indicates that either cookies are not being stored correctly or you are not logged in. To
verify that the cookies are not causing the error follow section 2.2 of this document. To verify
that you are logged in follow section 2.3 of this document.
Page 67
+ 44 1483 802501 | +1 512-813-0599 | +27 87 551 8200 | +33 9 87 67 53 36 | +61 8 9551 5200 | +61 400 435 1000
Eseye, AnyNet, AnyNet Secure and Eseye Logos are registered trademarks of Eseye Ltd © Eseye 2017 Limited.
All Rights Reserved. enquiries@eseye.com | eseye.com
2.12.3.2.6 E0137 Invalid SIM Number:
This error message will display as follows:
{
"status": {
"status": "ERR",
"code": "E0137",
"message": "Invalid SIM no. provided"
}
}
This indicates that the SIM number (ICCID) entered was incorrect.
{
"status": {
"status": "ERR",
"code": "E9998",
"message": "System not available at this moment "
}
}
This indicates that the system is not currently running. Wait and then try again later.
This indicates that either you are not connected to the internet or one or more of the
following sections of the Request URL were entered incorrectly. http ://
.eseye.com/
Page 68
+ 44 1483 802501 | +1 512-813-0599 | +27 87 551 8200 | +33 9 87 67 53 36 | +61 8 9551 5200 | +61 400 435 1000
Eseye, AnyNet, AnyNet Secure and Eseye Logos are registered trademarks of Eseye Ltd © Eseye 2017 Limited.
All Rights Reserved. enquiries@eseye.com | eseye.com
2.12.3.2.9 <!DOCTYPE html>:
This error message will begin as follows:
This indicates that one or more of the following sections of the Request URL were entered
incorrectly. siam tigrillostaging Japi/
2.13 getSIMBilling:
This function returns billing data for one SIM.
It requires the user to be logged in 2.3, the ICCIDs of the SIM cards.
To test the interface in Postman app use the details shown below, to download a code
example of this request use the Generate Code button:
2.13.1 Production:
Request URL: https://siam.eseye.com/Japi/Tigrillo/getSIMBilling
Command: ‘Post’
Text box: Enter the following JSON formatted text. Note replace the “input” with the ICCID
enclosed in speech marks and the six ‘null’s in the JSON as required. For more information on
the JSON fields see section 2.13.3 JSON fields.
{
"ICCID" : "input" ,
"startDate" : null ,
"endDate" : null ,
"sortOrder" : null ,
"startRec" : null ,
"numRecs" : null ,
"filter" : null
}
Click the blue ‘Send’ button.
Page 69
+ 44 1483 802501 | +1 512-813-0599 | +27 87 551 8200 | +33 9 87 67 53 36 | +61 8 9551 5200 | +61 400 435 1000
Eseye, AnyNet, AnyNet Secure and Eseye Logos are registered trademarks of Eseye Ltd © Eseye 2017 Limited.
All Rights Reserved. enquiries@eseye.com | eseye.com
2.13.2 Staging:
Request URL: https://tigrillostaging.eseye.com/Japi/Tigrillo/getSIMBilling
Command: ‘Post’
Text box: Enter the following JSON formatted text. Note replace the “input” with the ICCID
enclosed in speech marks and the six ‘null’s in the JSON as required. For more information on
the JSON fields see section 2.12.3 JSON fields.
{
"ICCID" : "input" ,
"startDate" : null ,
"endDate" : null ,
"sortOrder" : null ,
"startRec" : null ,
"numRecs" : null ,
"filter" : null
}
Click the blue ‘Send’ button.
Should you wish to leave the search period as the most recent number of records (as defined
by “numRecs”) enter null, as seen in the example above.
Page 70
+ 44 1483 802501 | +1 512-813-0599 | +27 87 551 8200 | +33 9 87 67 53 36 | +61 8 9551 5200 | +61 400 435 1000
Eseye, AnyNet, AnyNet Secure and Eseye Logos are registered trademarks of Eseye Ltd © Eseye 2017 Limited.
All Rights Reserved. enquiries@eseye.com | eseye.com
2.13.3.3 “endDate” – optional:
This field defines the end of the period to be searched for bills. The input should in the format
YYYY-MM-DD hh:mm:ss (year-month-date hour:minute:second, if no time is entered then 00-
00-00 is set as default) and enclosed in speech marks.
Should you wish to leave the search period as the most recent number of records (as defined
by “numRecs”) enter null, as seen in the example above.
For results ordered by activity the first character is an A, the second character is either A (for
ascending, alphabetical order) or D (for descending, reverse alphabetical order).
For results ordered by event the first character is an E, the second character is either A (for
ascending, oldest result first) or D (for descending, newest result first). Note if no date range
has been specified the results will be ordered in descending order only, regardless of the
second character.
Should you not wish to alter from the default ordering (event, descending) enter null, as seen
in the example above.
Should you not wish to alter from the default setting (returning the first record) enter null, as
seen in the example above.
Should you not wish to alter from the default setting (10 results) enter null, as seen in the
example above.
Page 71
+ 44 1483 802501 | +1 512-813-0599 | +27 87 551 8200 | +33 9 87 67 53 36 | +61 8 9551 5200 | +61 400 435 1000
Eseye, AnyNet, AnyNet Secure and Eseye Logos are registered trademarks of Eseye Ltd © Eseye 2017 Limited.
All Rights Reserved. enquiries@eseye.com | eseye.com
Character Returns
D Data
S SMS
V Voice
Enter the characters without spaces and enclosed in speech marks.
Should you not wish to alter from the default setting (all type of records returned) enter null,
as seen in the example above.
2.13.4 Responses:
All of these responses are when viewed in the pretty form (default setting)
2.13.4.1 Successful:
If your request is successful a response will display as follows:
{
"totalRecs": 1,
"recs": [
{
"activity": "Data",
"start": "2014-10-10 15:26:06",
"stop": "2014-10-10 15:33:39",
"description": "Zone 1 Data",
"quantity": 2236,
"price": "0.00",
"mcc": "208",
"mnc": "01"
"packageID": 1179
}
],
"status": {
"status": "OK",
"errorCode": "",
"errorMessage": ""
}
}
2.13.4.1.1 “totalRecs” row:
This displays the number of records displayed.
Page 72
+ 44 1483 802501 | +1 512-813-0599 | +27 87 551 8200 | +33 9 87 67 53 36 | +61 8 9551 5200 | +61 400 435 1000
Eseye, AnyNet, AnyNet Secure and Eseye Logos are registered trademarks of Eseye Ltd © Eseye 2017 Limited.
All Rights Reserved. enquiries@eseye.com | eseye.com
2.13.4.1.3 “start” row:
This displays the beginning time of the event. This is displayed in the format yyyy-MM-DD
hh:mm:ss (year-month-date hour:minute:second).
Page 73
+ 44 1483 802501 | +1 512-813-0599 | +27 87 551 8200 | +33 9 87 67 53 36 | +61 8 9551 5200 | +61 400 435 1000
Eseye, AnyNet, AnyNet Secure and Eseye Logos are registered trademarks of Eseye Ltd © Eseye 2017 Limited.
All Rights Reserved. enquiries@eseye.com | eseye.com
2.13.4.2 Errors:
2.13.4.2.1 E0001 Invalid input - Syntax error, malformed JSON:
This error message will display as follows:
{
"status": {
"status": "ERR",
"code": "E0001",
"message": "Invalid input - Syntax error, malformed
JSON"
}
}
This indicates that the JSON text was structured incorrectly. Check that your JSON text follows
the format described in. Note this error can be received due to Microsoft Word style text
being entered, as some characters are slightly different between Microsoft Word and ASCII.
To avoid this, either type the text in directly, or configure Microsoft Word so that basic ASCII
text is entered. To do this, consult section 4.3.6.
{
"status": {
"status": "ERR",
"code": "E0002",
"message": "Function not recognized"
}
}
This indicates that the Tigrillo/ section of the Request URL was entered incorrectly.
{
"status": {
"status": "ERR",
"code": "E0003",
"message": "API version not recognized"
}
}
This indicates that the getSIMBilling section of the Request URL was not entered.
Page 74
+ 44 1483 802501 | +1 512-813-0599 | +27 87 551 8200 | +33 9 87 67 53 36 | +61 8 9551 5200 | +61 400 435 1000
Eseye, AnyNet, AnyNet Secure and Eseye Logos are registered trademarks of Eseye Ltd © Eseye 2017 Limited.
All Rights Reserved. enquiries@eseye.com | eseye.com
2.13.4.2.4 E0005 Invalid parameter:
This error message will indicate the parameter which is invalid. E.g.:
{
"status":{
"status":"ERR",
"code":"E0005",
"message":"Invalid parameter - startDat"
}
}
This indicates that the parameter being reported is invalid. Either a parameter is misspelt or
an additional parameter has been added. Correct the spelling or delete the additional
parameter in the JSON.
{
"status": {
"status": "ERR",
"code": "E0006",
"message": "Permission denied"
}
}
This indicates you do not have permission to view the SIMBilling data. This indicates that either
cookies are not being stored correctly or you are not logged in. To verify that the cookies are
not causing the error follow section 2.2 of this document. To verify that you are logged in
follow section 2.3 of this document.
{
"status": {
"status": "ERR",
"code": "E0137",
"message": "Invalid SIM no. provided"
}
}
This indicates that either the ICCID is not one associated with the account currently logged in
or that the ‘s’ in the ‘https’ section of the Request URL was not entered.
Page 75
+ 44 1483 802501 | +1 512-813-0599 | +27 87 551 8200 | +33 9 87 67 53 36 | +61 8 9551 5200 | +61 400 435 1000
Eseye, AnyNet, AnyNet Secure and Eseye Logos are registered trademarks of Eseye Ltd © Eseye 2017 Limited.
All Rights Reserved. enquiries@eseye.com | eseye.com
2.13.4.2.7 Could not get any response:
This error message will display as follows:
This indicates that either you are not connected to the internet or one or more of the
following sections of the Request URL were entered incorrectly. http ://
.eseye.com/
This indicates that one or more of the following sections of the Request URL were entered
incorrectly. siam tigrillostaging Japi/
2.14 getSIMLastActivity
This function returns the details of the last activity of the SIM card.
To test the interface in Postman app use the details shown below, to download a code
example of this request use the Generate Code button:
2.14.1 Production:
Request URL: https://siam.eseye.com/Japi/Tigrillo/getSIMLastActivity
Command: ‘Post’
Page 76
+ 44 1483 802501 | +1 512-813-0599 | +27 87 551 8200 | +33 9 87 67 53 36 | +61 8 9551 5200 | +61 400 435 1000
Eseye, AnyNet, AnyNet Secure and Eseye Logos are registered trademarks of Eseye Ltd © Eseye 2017 Limited.
All Rights Reserved. enquiries@eseye.com | eseye.com
Text box: Enter the following JSON formatted text. Note replace the two “input”s with the
relevant information enclosed by speech marks. The possible options for “input” are:
“suspend”, “active”, and “terminate”.
{
"ICCID" : "input"
}
Click the blue ‘Send’ button.
2.14.2 Staging:
Request URL: https://tigrillostaging.eseye.com/Japi/Tigrillo/getSIMLastActivity
Command: ‘Post’
Text box: Enter the following JSON formatted text. Note replace the two “input”s with the
relevant information enclosed by speech marks. The possible options for “input” are:
“suspend”, “active”, and “terminate”.
{
"ICCID" : "input"
}
Click the blue ‘Send’ button.
2.14.3 Responses:
All of these responses are when viewed in the pretty form (default setting).
Page 77
+ 44 1483 802501 | +1 512-813-0599 | +27 87 551 8200 | +33 9 87 67 53 36 | +61 8 9551 5200 | +61 400 435 1000
Eseye, AnyNet, AnyNet Secure and Eseye Logos are registered trademarks of Eseye Ltd © Eseye 2017 Limited.
All Rights Reserved. enquiries@eseye.com | eseye.com
2.14.3.1 Successful:
If your request is successful a response will display as follows:
{
"info": {
"LastLat": "51.241656",
"LastLon": "-0.59972",
"LastRadiusBytes": 13619,
"LastUsername": "user",
"LastSMS": null,
"LastVoice": null,
"LastMCC": "234",
"LastMNC": "33",
"LastLAI": "638",
"LastCI": "17153",
"LastMCCMNCDate": "2015-11-04 09:47:04",
"LastLAICIDate": "2015-11-04 09:47:04",
"LastRadiusStart": "2015-11-06 10:48:44",
"LastRadiusStop": "2015-11-06 13:13:22",
"MonthsRadiusBytes": 0,
"LastSMSMO": null,
"LastSMSMT": "2015-10-08 15:29:43",
"LastVoiceMO": null,
"LastVoiceMT": null,
"LastUSSDMO": null,
"LastUSSDMT": null,
"LastIMEI": "3568530503077111",
"LastIMEIDate": "2015-10-06 07:38:24",
"LastIMSI": null,
"LastIMSIDate": null,
"MonthsDataTotal": 3012608,
"MonthsDataDate": "2015-11-06 11:35:14",
"MonthsSMSTotal": 0,
"MonthsSMSDate": "2015-11-06 11:35:14",
"MonthsUSSDTotal": 0,
"MonthsUSSDDate": "2015-11-06 11:35:14",
"MonthsVoiceTotal": 0,
"MonthsVoiceDate": "2015-11-06 11:35:14",
"LastSMSMT_DR": null,
"LastNetworkName": "GB - EE"
},
"status": {
"status": "OK",
"errorCode": "",
"errorMessage": ""
}
Page 78
+ 44 1483 802501 | +1 512-813-0599 | +27 87 551 8200 | +33 9 87 67 53 36 | +61 8 9551 5200 | +61 400 435 1000
Eseye, AnyNet, AnyNet Secure and Eseye Logos are registered trademarks of Eseye Ltd © Eseye 2017 Limited.
All Rights Reserved. enquiries@eseye.com | eseye.com
}
2.14.3.1.1 "LastLat" row:
This displays an estimate of the latitude of the SIM card last time it was active.
Page 79
+ 44 1483 802501 | +1 512-813-0599 | +27 87 551 8200 | +33 9 87 67 53 36 | +61 8 9551 5200 | +61 400 435 1000
Eseye, AnyNet, AnyNet Secure and Eseye Logos are registered trademarks of Eseye Ltd © Eseye 2017 Limited.
All Rights Reserved. enquiries@eseye.com | eseye.com
2.14.3.1.13 "LastRadiusStart" row:
This displays the start date and time of the last data session.
Page 80
+ 44 1483 802501 | +1 512-813-0599 | +27 87 551 8200 | +33 9 87 67 53 36 | +61 8 9551 5200 | +61 400 435 1000
Eseye, AnyNet, AnyNet Secure and Eseye Logos are registered trademarks of Eseye Ltd © Eseye 2017 Limited.
All Rights Reserved. enquiries@eseye.com | eseye.com
2.14.3.1.26 "MonthsDataTotal" row:
This displays the total of the data used over the last month (after rounding for billing).
Page 81
+ 44 1483 802501 | +1 512-813-0599 | +27 87 551 8200 | +33 9 87 67 53 36 | +61 8 9551 5200 | +61 400 435 1000
Eseye, AnyNet, AnyNet Secure and Eseye Logos are registered trademarks of Eseye Ltd © Eseye 2017 Limited.
All Rights Reserved. enquiries@eseye.com | eseye.com
2.14.3.2 Errors:
2.14.3.2.1 E0001 Invalid input - Syntax error, malformed JSON:
This error message will display as follows:
{
"status": {
"status": "ERR",
"code": "E0001",
"message": "Invalid input - Syntax error, malformed
JSON"
}
}
This indicates that the JSON text was structured incorrectly. Check that your JSON text follows
the format described in. Note this error can be received due to Microsoft Word style text
being entered, as some characters are slightly different between Microsoft Word and ASCII.
To avoid this, either type the text in directly, or configure Microsoft Word so that basic ASCII
text is entered. To do this, consult section 4.3.6.
{
"status": {
"status": "ERR",
"code": "E0002",
"message": "Function not recognized"
}
}
This indicates that the Tigrillo/terminateSIMs section of the Request URL was entered
incorrectly.
{
"status":{
"status":"ERR",
"code":"E0005",
"message":"Invalid parameter - iccd"
}
}
This indicates that the parameter being reported is invalid. Either a parameter is misspelt or
an additional parameter has been added. Correct the spelling or delete the additional
parameter in the JSON.
Page 82
+ 44 1483 802501 | +1 512-813-0599 | +27 87 551 8200 | +33 9 87 67 53 36 | +61 8 9551 5200 | +61 400 435 1000
Eseye, AnyNet, AnyNet Secure and Eseye Logos are registered trademarks of Eseye Ltd © Eseye 2017 Limited.
All Rights Reserved. enquiries@eseye.com | eseye.com
2.14.3.2.4 E0006 Permission denied:
This error message will appear as below:
{
"status": {
"status": "ERR",
"code": "E0006",
"message": "Permission denied"
}
}
This indicates you do not have permission to view the SIMBilling data. This indicates that either
cookies are not being stored correctly or you are not logged in. To verify that the cookies are
not causing the error follow section 2.2 of this document. To verify that you are logged in
follow section 2.3 of this document.
{
"status": {
"status": "ERR",
"code": "E0137",
"message": "Invalid SIM no. provided"
}
}
This indicates that either the ICCID is not one associated with the account currently logged in
or that the ‘s’ in the ‘https’ section of the Request URL was not entered.
Page 83
+ 44 1483 802501 | +1 512-813-0599 | +27 87 551 8200 | +33 9 87 67 53 36 | +61 8 9551 5200 | +61 400 435 1000
Eseye, AnyNet, AnyNet Secure and Eseye Logos are registered trademarks of Eseye Ltd © Eseye 2017 Limited.
All Rights Reserved. enquiries@eseye.com | eseye.com
This indicates that either you are not connected to the internet or one or more of the
following sections of the Request URL were entered incorrectly. http ://
.eseye.com/
This indicates that one or more of the following sections of the Request URL were entered
incorrectly. siam tigrillostaging Japi/
2.15 logout:
This function logs the user off.
To test the interface in Postman app use the details shown below, to download a code
example of this request use the Generate Code button:
2.15.1 Production:
Request URL: https://siam.eseye.com/Japi/Tigrillo/logout
Command: ‘Post’
2.15.2 Staging:
Request URL: https://tigrillostaging.eseye.com/Japi/Tigrillo/logout
Command: ‘Post’
Page 84
+ 44 1483 802501 | +1 512-813-0599 | +27 87 551 8200 | +33 9 87 67 53 36 | +61 8 9551 5200 | +61 400 435 1000
Eseye, AnyNet, AnyNet Secure and Eseye Logos are registered trademarks of Eseye Ltd © Eseye 2017 Limited.
All Rights Reserved. enquiries@eseye.com | eseye.com
2.15.3 Responses:
All of these responses are when viewed in the pretty form (default setting)
2.15.3.1 Successful:
If your request is successful a response will display as follows:
{
"status": {
"status": "OK",
"errorCode": "",
"errorMessage": ""
}
}
This indicates a successful logout. To use any functions except ping 2.1 and getCookieName
2.2 a successful login will be needed, follow login 2.3.
2.15.3.2 Errors:
2.15.3.2.1 E0001 Invalid input - Syntax error, malformed JSON:
This error message will display as follows:
{
"status": {
"status": "ERR",
"code": "E0001",
"message": "Invalid input - Syntax error, malformed
JSON"
}
}
This indicates that some JSON text has been entered, delete any content in the text box.
{
"status": {
"status": "ERR",
"code": "E0002",
"message": "Function not recognized"
}
}
This indicates that the Tigrillo/logout section of the Request URL was entered incorrectly.
Page 85
+ 44 1483 802501 | +1 512-813-0599 | +27 87 551 8200 | +33 9 87 67 53 36 | +61 8 9551 5200 | +61 400 435 1000
Eseye, AnyNet, AnyNet Secure and Eseye Logos are registered trademarks of Eseye Ltd © Eseye 2017 Limited.
All Rights Reserved. enquiries@eseye.com | eseye.com
{
"status": {
"status": "ERR",
"code": "E0003",
"message": "API version not recognized"
}
}
This indicates that the logout section of the Request URL was not entered.
{
"status":{
"status":"ERR",
"code":"E0005",
"message":"Invalid parameter - login"
}
}
This indicates that some JSON text has been entered, delete any content in the text box.
{
"status": {
"status": "ERR",
"code": "E0006",
"message": "Permission denied"
}
}
This indicates you are already logged out. If you were expecting to be logged in still this
indicates that the cookies are not being stored. To verify that the cookies are causing the
error follow section 2.2 of this document.
Page 86
+ 44 1483 802501 | +1 512-813-0599 | +27 87 551 8200 | +33 9 87 67 53 36 | +61 8 9551 5200 | +61 400 435 1000
Eseye, AnyNet, AnyNet Secure and Eseye Logos are registered trademarks of Eseye Ltd © Eseye 2017 Limited.
All Rights Reserved. enquiries@eseye.com | eseye.com
2.15.3.2.6 Could not get any response:
This error message will display as follows:
This indicates that either you are not connected to the internet or one or more of the
following sections of the Request URL were entered incorrectly. http ://
.eseye.com/
This indicates that one or more of the following sections of the Request URL were entered
incorrectly. siam tigrillostaging Japi/
Page 87
+ 44 1483 802501 | +1 512-813-0599 | +27 87 551 8200 | +33 9 87 67 53 36 | +61 8 9551 5200 | +61 400 435 1000
Eseye, AnyNet, AnyNet Secure and Eseye Logos are registered trademarks of Eseye Ltd © Eseye 2017 Limited.
All Rights Reserved. enquiries@eseye.com | eseye.com
3 Coding Examples
All of these examples are using the getSIMBilling
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL =>
"https://siam.eseye.com/Japi/Tigrillo/getSIMBilling",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => "{\r\n\"ICCID\" :
\"8944538523008137690\" ,\r\n \"startDate\" : null ,\r\n
\"endDate\" : null ,\r\n \"sortOrder\" : null ,\r\n
\"startRec\" : null ,\r\n \"numRecs\" : null ,\r\n \"filter\"
: null\r\n}",
CURLOPT_HTTPHEADER => array(
"cache-control: no-cache",
"content-type: application/json",
"postman-token: 7e182090-8249-8359-4525-c4628ecd8cbc"
),
));
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
Page 88
+ 44 1483 802501 | +1 512-813-0599 | +27 87 551 8200 | +33 9 87 67 53 36 | +61 8 9551 5200 | +61 400 435 1000
Eseye, AnyNet, AnyNet Secure and Eseye Logos are registered trademarks of Eseye Ltd © Eseye 2017 Limited.
All Rights Reserved. enquiries@eseye.com | eseye.com
4 FAQ
4.1 Versions of API
4.1.1 How do I use staging rather than production?
In order to use the staging server you should follow the Staging instructions, found at 2.X.2
rather than the Production instructions at 2.X.1 (where X refers to 1-13 depending on the
function).
e.g. To request the ping function for version 0.1 on the staging server, the request would use
URL
https://tigrillostaging.eseye.com/Japi/v0.1/Tigrillo/ping
Where no version number is explicitly requested, the latest version of the API processes the
request.
setSIMState 2.7 can be used to suspend, reactivate, and terminate a single SIM per request. If
you wish to alter the state of multiple SIMs use the relevant one of suspendSIMs 2.9,
unsuspendSIMS 2.10, _unsuspendSIMs:or terminateSIMS 2.11.
Page 89
+ 44 1483 802501 | +1 512-813-0599 | +27 87 551 8200 | +33 9 87 67 53 36 | +61 8 9551 5200 | +61 400 435 1000
Eseye, AnyNet, AnyNet Secure and Eseye Logos are registered trademarks of Eseye Ltd © Eseye 2017 Limited.
All Rights Reserved. enquiries@eseye.com | eseye.com
4.2.4 Can a suspended SIM be reprovisioned?
A suspended SIM is still provisioned. To re-enable services (i.e. Data, SMS and Voice), the SIM
should be unsuspended, use unusupendSIMs 2.10._unsuspendSIMs:
4.3 General
4.3.1 How long is data retained for?
Two months, so customers must store historic data if they wish to retain it.
Page 90
+ 44 1483 802501 | +1 512-813-0599 | +27 87 551 8200 | +33 9 87 67 53 36 | +61 8 9551 5200 | +61 400 435 1000
Eseye, AnyNet, AnyNet Secure and Eseye Logos are registered trademarks of Eseye Ltd © Eseye 2017 Limited.
All Rights Reserved. enquiries@eseye.com | eseye.com
4.3.6.1 For future use
4.3.6.1.1 Word 2013
Select Options from under the File Menu. Select Proofing, then Autocorrect Options. Click on
the "AutoFormat As You Type" tab, then uncheck "Straight quotes" with "Smart Quotes" under
the "Replace As You Type" tab.
Page 91
+ 44 1483 802501 | +1 512-813-0599 | +27 87 551 8200 | +33 9 87 67 53 36 | +61 8 9551 5200 | +61 400 435 1000
Eseye, AnyNet, AnyNet Secure and Eseye Logos are registered trademarks of Eseye Ltd © Eseye 2017 Limited.
All Rights Reserved. enquiries@eseye.com | eseye.com