Web:Kemp's API: Difference between revisions
Jspenceratty (talk | contribs) Created page with "== Kemp's API Setup == Note: The Kemp's API system allows access to your Kemp's Prime database using an API interface. You may set the nature of the user's access to your system. === Administration === To administer the Kemp's API System, go to Administration → Administration Menu and search for API. Choose Kemp's API Administration. ==== Kemp's API Administration ==== 1) API Settings Tab At installation, the API Registration URL and Validation String should bot..." |
Jspenceratty (talk | contribs) No edit summary |
||
| Line 12: | Line 12: | ||
At installation, the API Registration URL and Validation String should both have been entered for you. The "Days to Keep Log Entries" may have been entered as well. The only item you should change is the "Days to Keep Log Entries". This tells the system how long to keep log entries. Valid entries are between 1 and 365. If you wish to keep logs longer than that, you can always download the logs and save those files. | At installation, the API Registration URL and Validation String should both have been entered for you. The "Days to Keep Log Entries" may have been entered as well. The only item you should change is the "Days to Keep Log Entries". This tells the system how long to keep log entries. Valid entries are between 1 and 365. If you wish to keep logs longer than that, you can always download the logs and save those files. | ||
[[File:Screenshot 2025-05-09 at 1.17.06 PM.png|400px]] | |||
2) Add New User Tab | 2) Add New User Tab | ||
Add a new user by entering the username and password and clicking "Add new user". | Add a new user by entering the username and password and clicking "Add new user". | ||
[[File:Screenshot 2025-05-09 at 2.12.18 PM.png|400px]] | |||
3) Existing Users Tab | 3) Existing Users Tab | ||
See a list of existing users. You can change the password for existing users by entering a new password and clicking "Update". You can delete a user by clicking "Delete". Please note that tokens assigned to users will continue to be honored until they expire (typically 2 hours). | See a list of existing users. You can change the password for existing users by entering a new password and clicking "Update". You can delete a user by clicking "Delete". Please note that tokens assigned to users will continue to be honored until they expire (typically 2 hours). | ||
[[File:Screenshot 2025-05-09 at 2.12.25 PM.png|400px]] | |||
4) Assign Roles Tab | 4) Assign Roles Tab | ||
Choose a user in the dropdown to assign roles to the user. Users must have roles assigned to use version 1 of the Kemp's API System. Available Roles are shown on the left. Assigned Roles are shown on the right. To assign a role, select it by clicking on it, then click "Assign". The role will move from the left, Available Roles, to the right, Assigned Roles. To remove a role, select it by click on it, then click "Remove". The role will move from the right to the left. As with deleting a user, tokens assigned with particular roles will continue to be honored until they expire. | Choose a user in the dropdown to assign roles to the user. Users must have roles assigned to use version 1 of the Kemp's API System. Available Roles are shown on the left. Assigned Roles are shown on the right. To assign a role, select it by clicking on it, then click "Assign". The role will move from the left, Available Roles, to the right, Assigned Roles. To remove a role, select it by click on it, then click "Remove". The role will move from the right to the left. As with deleting a user, tokens assigned with particular roles will continue to be honored until they expire. | ||
{{Note|type=warn|text=Generally, users should not be assigned the 'Admin' role. This role has carte blanche to the entire API system.}} | |||
[[File:Screenshot 2025-05-09 at 2.12.31 PM.png|400px]] | |||
5) Assign Tables/Permissions Tab | 5) Assign Tables/Permissions Tab | ||
Version 2 of the Kemp's API System utilizes these permissions. You may choose (almost) any table in the system, and then set permissions for the user on that (those) tables. | Version 2 of the Kemp's API System utilizes these permissions. You may choose (almost) any table in the system, and then set permissions for the user on that (those) tables. | ||
[[File:Screenshot 2025-05-09 at 2.12.38 PM.png|400px]] | |||
Choose a user in the dropdown to assign tables and permissions to the user. Available tables are shown on the left. Assigned tables are shown on the right. To assign a table, select it by clicking on it, then click "Assign". The table will move from the left, Available Tables, to the right, Assigned Tables. To remove a table, select it by click on it, then click "Remove". The table will move from the right to the left. As with deleting a user, tokens assigned with particular tables and permissions will continue to be honored until they expire. | Choose a user in the dropdown to assign tables and permissions to the user. Available tables are shown on the left. Assigned tables are shown on the right. To assign a table, select it by clicking on it, then click "Assign". The table will move from the left, Available Tables, to the right, Assigned Tables. To remove a table, select it by click on it, then click "Remove". The table will move from the right to the left. As with deleting a user, tokens assigned with particular tables and permissions will continue to be honored until they expire. | ||
| Line 38: | Line 50: | ||
# Can Update - can modify an existing item in the table. | # Can Update - can modify an existing item in the table. | ||
# Can Delegate | # Can Delegate | ||
6) Review Logs Tab | |||
You can review the log entries or download them using the "Download Logs" button. | |||
[[File:Screenshot 2025-05-09 at 2.12.46 PM.png|400px]] | |||
Revision as of 19:17, 9 May 2025
Kemp's API Setup
Note: The Kemp's API system allows access to your Kemp's Prime database using an API interface. You may set the nature of the user's access to your system.
Administration
To administer the Kemp's API System, go to Administration → Administration Menu and search for API. Choose Kemp's API Administration.
Kemp's API Administration
1) API Settings Tab
At installation, the API Registration URL and Validation String should both have been entered for you. The "Days to Keep Log Entries" may have been entered as well. The only item you should change is the "Days to Keep Log Entries". This tells the system how long to keep log entries. Valid entries are between 1 and 365. If you wish to keep logs longer than that, you can always download the logs and save those files.
2) Add New User Tab
Add a new user by entering the username and password and clicking "Add new user".
3) Existing Users Tab
See a list of existing users. You can change the password for existing users by entering a new password and clicking "Update". You can delete a user by clicking "Delete". Please note that tokens assigned to users will continue to be honored until they expire (typically 2 hours).
4) Assign Roles Tab
Choose a user in the dropdown to assign roles to the user. Users must have roles assigned to use version 1 of the Kemp's API System. Available Roles are shown on the left. Assigned Roles are shown on the right. To assign a role, select it by clicking on it, then click "Assign". The role will move from the left, Available Roles, to the right, Assigned Roles. To remove a role, select it by click on it, then click "Remove". The role will move from the right to the left. As with deleting a user, tokens assigned with particular roles will continue to be honored until they expire.
5) Assign Tables/Permissions Tab
Version 2 of the Kemp's API System utilizes these permissions. You may choose (almost) any table in the system, and then set permissions for the user on that (those) tables.
Choose a user in the dropdown to assign tables and permissions to the user. Available tables are shown on the left. Assigned tables are shown on the right. To assign a table, select it by clicking on it, then click "Assign". The table will move from the left, Available Tables, to the right, Assigned Tables. To remove a table, select it by click on it, then click "Remove". The table will move from the right to the left. As with deleting a user, tokens assigned with particular tables and permissions will continue to be honored until they expire.
Permissions must also be granted to every assigned table. To assign permissions, click on the table in the Assigned Tables box. Once selected, a list of permissions appears to the right. Choose the permissions you wish to grant this user and click "Save Changes". Generally, the following are rights granted by each permission:
- Can View Schema - can see the list of fields, descriptions, etc.
- Can Lookup - can use the primary key to lookup a specific entry.
- Can Insert - can add a new item to the table.
- Can Update - can modify an existing item in the table.
- Can Delegate
6) Review Logs Tab
You can review the log entries or download them using the "Download Logs" button.
