Get All Preset Application Packages

Get the list of all preset application package groups.

URL: /rest-api/preset-app-package/group/list.do
Method: GET
Response format: application/json

Error codes:

  • 401 Unauthorized - authentication error
  • 403 Forbidden - user has not enough permissions

Response sample:
200OK

[{"id":1,"title":"Group1"},{"id":2,"title":"Group2"}, ... ]

Parameters:
hash - a MD5 digest of concatenated username's md5 password and the given timestamp
timestamp - UNIX timestamp used in hash generation
username - the given username

Create | Update Application Package Group

Save new preset application package group or update old one, in case, if parameter 'id' provided.

URL: /rest-api/preset-app-package/group/save.do
Method: POST
Response format: application/json

Error codes:

  • 401 Unauthorized - authentication error
  • 403 Forbidden - user has not enough permissions
  • 404 Not Found - in case if groupId provided, but not found

Response sample:
200OK

Parameters:
hash - a MD5 digest of concatenated username's md5 password and the given timestamp
timestamp - UNIX timestamp used in hash generation
username - the given username
groupId - group id (optional)
title - group title (required)

Delete Application Package Group

Delete preset application package group.

URL: /rest-api/preset-app-package/group/delete.do
Method: DELETE
Response format: application/json

Error codes:

  • 401 Unauthorized - authentication error
  • 403 Forbidden - user has not enough permissions
  • 404 Not Found - in case if groupId not found

Response sample:
200OK

Parameters:
hash - a MD5 digest of concatenated username's md5 password and the given timestamp
timestamp - UNIX timestamp used in hash generation
username - the given username
groupId - group id (required)

Delete Application Package Group by id

Delete preset application packages from a given group.

URL: /rest-api/preset-app-package/group/clear.do
Method: DELETE
Response format: application/json

Error codes:

  • 401 Unauthorized - authentication error
  • 403 Forbidden - user has not enough permissions
  • 404 Not Found - in case if groupId not found

Response sample:
200OK

Parameters:
hash - a MD5 digest of concatenated username's md5 password and the given timestamp
timestamp - UNIX timestamp used in hash generation
username - the given username
groupId - group id (required)

Get Application Package Group bufor Group

Get list preset application packages for a given group.

URL: /rest-api/preset-app-package/all-by-group.do
Method: GET
Response format: application/json

Error codes:

  • 401 Unauthorized - authentication error
  • 403 Forbidden - user has not enough permissions
  • 404 Not Found - in case if groupId not found

Response sample:
200OK

Parameters:
hash - a MD5 digest of concatenated username's md5 password and the given timestamp
timestamp - UNIX timestamp used in hash generation
username - the given username
groupId - group id (required)

Update Application Package group by id

Add new preset application package for group.

URL: /rest-api/preset-app-package/add.do
Method: POST
Response format: application/json

Error codes:

  • 401 Unauthorized - authentication error
  • 403 Forbidden - user has not enough permissions
  • 404 Not Found - in case if groupId not found

Response sample:
200OK

Parameters:
hash - a MD5 digest of concatenated username's md5 password and the given timestamp
timestamp - UNIX timestamp used in hash generation
username - the given username
groupId - group id (required)
applicationPackage - application package value to add (required)

Delete Application Package by id

Delete preset application package by its id.

URL: /rest-api/preset-app-package/delete.do
Method: DELETE
Response format: application/json

Error codes:

  • 401 Unauthorized - authentication error
  • 403 Forbidden - user has not enough permissions
  • 404 Not Found - in case if groupId not found

Response sample:
200OK

Parameters:
hash - a MD5 digest of concatenated username's md5 password and the given timestamp
timestamp - UNIX timestamp used in hash generation
username - the given username
applicationPackageId - application package id (required)

Upload Application Packages to a Group from a File

Upload application packages into group from file.

URL: /rest-api/preset-app-package/upload-packages.do
Method: POST
Response format: application/json

Error codes:

  • 401 Unauthorized - authentication error
  • 403 Forbidden - user has not enough permissions
  • 404 Not Found - in case if groupId not found

Response sample:
200OK

Parameters:
hash - a MD5 digest of concatenated username's md5 password and the given timestamp
timestamp - UNIX timestamp used in hash generation
username - the given username
file - file to parse
groupId - group id (required)

Need more help?

Should you require any additional help with our solutions, do not hesitate to contact Epom technical support at support@epom.com. Our support managers are dedicated to resolving any issues and providing you with solutions and support if you face difficulties or have questions.