Revision History:
| Author |
Version |
Date |
Description |
| Danie van der Walt |
0.1 |
Tue 21 July 2015 |
Initial API Created |
Copyright © 2015 Smartcall
Notes
AgencyFunctions
List setting_types(s) on the ssystem
List agency setting(s) on the ssystem
Edit an agency setting on the ssystem
UserCategoryFunctions
List user category type(s) on the system
List user category(s) on the system
UserFunctions
Get Agency from Domain
Login as a user
Validate a Session ID
Log a user out
List user_type(s) on the ssystem
List all users of a type for a agency on the ssystem
UserNotificationsFunctions
List user notification(s) on the ssystem
Edit an user notification on the ssystem
Delete an user notification on the ssystem
UserProfileFunctions
List user profile type(s) on the ssystem
List user profile(s) on the ssystem
Edit an user profile on the ssystem
Add an user profile item on the ssystem
Description:
List setting_types(s) on the ssystem
Info:
api_action - The name of the function
Info:
status - Status of the Call (True=Success/False=Faiure)
error_description - Error description if any
message_level - The message level, warning or critical
agency_setting_types - container for all agency_setting_types
agency_setting_type - container for each agency_setting_types
agency_setting_type_id - ID of the item
agency_setting_type_desc - Description of the item
agency_setting_type_default_value - Default value for the item
agency_setting_type_can_edit - Can the item be edited.
agency_setting_type_setting_type - Type for the Item
Back to Index
Copyright © 2015 Smartcall
Description:
List agency setting(s) on the ssystem
Info:
api_action - The name of the function
Info:
status - Status of the Call (True=Success/False=Faiure)
error_description - Error description if any
message_level - The message level, warning or critical
agency_settings - container for all items
agency_setting - container for each item
agency_setting_id - ID of the setting
agency_setting_type_id - ID of the setting type
agency_setting_value - Value of the setting
Back to Index
Copyright © 2015 Smartcall
Description:
Edit an agency setting on the ssystem
Info:
api_action - The name of the function
agency_setting_id - ID of the Item to edit
agency_setting_value - The new value
Info:
status - Status of the Call (True=Success/False=Faiure)
error_description - Error description if any
message_level - The message level, warning or critical
Back to Index
Copyright © 2015 Smartcall
Description:
List user category type(s) on the system
Info:
api_action - The name of the function
Info:
status - Status of the Call (True=Success/False=Faiure)
error_description - Error description if any
message_level - The message level, warning or critical
user_category_types - container for all items
user_category_type - container for each item
user_category_type_id - ID of the item
user_category_type_value - Value for the item
Back to Index
Copyright © 2015 Smartcall
Description:
List user category(s) on the system
Info:
api_action - The name of the function
api_content - container for all incomming data
session_id - The Session ID for the user
Info:
status - Status of the Call (True=Success/False=Faiure)
error_description - Error description if any
message_level - The message level, warning or critical
user_categories - Container for all items
user_category - Container for each item
user_category_id - ID of the item
user_category_types_id - The ID of the category type
user_category_hourly_cost- The hourly cost for the user
Back to Index
Copyright © 2015 Smartcall
Description:
Get Agency from Domain
Info:
api_action - The name of the function
domain - the url of the domain
Info:
status - Status of the Call (True=Success/False=Faiure)
error_description - Error description if any
message_level - The message level, warning or critical
agency_id - the ID of the agency
Back to Index
Copyright © 2015 Smartcall
Description:
Login as a user
Info:
api_action - The name of the function
agency_id - the ID for the agency to log in under
username - username of the user
password - password for the user
Info:
status - Status of the Call (True=Success/False=Faiure)
error_description - Error description if any
message_level - The message level, warning or critical
session_id - the ID of the session
user_type_id - ID of the user type
Back to Index
Copyright © 2015 Smartcall
Description:
Validate a Session ID
Info:
api_action - The name of the function
session_id - The Session_id to validate
Info:
status - Status of the Call (True=Success/False=Faiure)
error_description - Error description if any
message_level - The message level, warning or critical
Back to Index
Copyright © 2015 Smartcall
Description:
Log a user out
Info:
api_action - The name of the function
session_id - the session_id to destroy
Info:
status - Status of the Call (True=Success/False=Faiure)
error_description - Error description if any
message_level - The message level, warning or critical
Back to Index
Copyright © 2015 Smartcall
Description:
List user_type(s) on the ssystem
Info:
api_action - The name of the function
Info:
status - Status of the Call (True=Success/False=Faiure)
error_description - Error description if any
message_level - The message level, warning or critical
user_types - container for all user types
user_type - container for each user type
user_type_id - ID for the user type
user_type_value - Description of the user type
user_type_level - User type Level
Back to Index
Copyright © 2015 Smartcall
Description:
List all users of a type for a agency on the ssystem
Info:
api_action - The name of the function
action_content - container for all parameters
agency_users - return only agency_users
client_users - return only client_users
event_staff_users - return only even staff users
Info:
status - Status of the Call (True=Success/False=Faiure)
error_description - Error description if any
message_level - The message level, warning or critical
users - container for all items
user - container for each item
user_id - ID of the user
user_type_id - ID of the user type
user_username - username of the user
user_active - Is the user active
user_dbdate_added - when the user was added
user_dbdate_activated - when ther user was activated
Back to Index
Copyright © 2015 Smartcall
Description:
List user notification(s) on the ssystem
Info:
api_action - The name of the function
session_id - ID of the session
Info:
status - Status of the Call (True=Success/False=Faiure)
error_description - Error description if any
message_level - The message level, warning or critical
user_notifications - container for all items
user_notification - container for each item
user_notification_id - ID of the item
user_notification_value - Message of the notification
user_notification_dbdate - Date the notification was created
user_notification_shown - has this message been shown before
Back to Index
Copyright © 2015 Smartcall
Description:
Edit an user notification on the ssystem
Info:
api_action - The name of the function
user_notification_id - ID of the Item to edit
user_notification_shown - HAs the item been shown
Info:
status - Status of the Call (True=Success/False=Faiure)
error_description - Error description if any
message_level - The message level, warning or critical
Back to Index
Copyright © 2015 Smartcall
Description:
Delete an user notification on the ssystem
Info:
api_action - The name of the function
user_notification_id - ID of the Item to edit
Info:
status - Status of the Call (True=Success/False=Faiure)
error_description - Error description if any
message_level - The message level, warning or critical
Back to Index
Copyright © 2015 Smartcall
Description:
List user profile type(s) on the ssystem
Info:
api_action - The name of the function
Info:
status - Status of the Call (True=Success/False=Faiure)
error_description - Error description if any
message_level - The message level, warning or critical
user_profile_types - container for all items
user_profile_type - continer for each item
user_profile_type_id - ID of the item
user_type_id - ID of the user type
user_profile_type_desc - description of the item
user_profile_type_default_value - Default value for the item
user_profile_type_can_edit - Can the Item be edited
user_profile_type_type - Type of item
Back to Index
Copyright © 2015 Smartcall
Description:
List user profile(s) on the ssystem
Info:
api_action - The name of the function
session_id - ID of the session
Info:
status - Status of the Call (True=Success/False=Faiure)
error_description - Error description if any
message_level - The message level, warning or critical
user_profiles - container for all items
user_profile - continer for each item
user_profile_id - ID of the item
user_profile_type_id - ID of the profile type
user_profile_value - Value of the Item
Back to Index
Copyright © 2015 Smartcall
Description:
Edit an user profile on the ssystem
Info:
api_action - The name of the function
user_profile_id - ID of the Item to edit
user_profile_value - The new value
Info:
status - Status of the Call (True=Success/False=Faiure)
error_description - Error description if any
message_level - The message level, warning or critical
Back to Index
Copyright © 2015 Smartcall
Description:
Add an user profile item on the ssystem
Info:
api_action - The name of the function
user_profile_type_id - ID of the profile type to add
user_profile_value - The new value
Info:
status - Status of the Call (True=Success/False=Faiure)
error_description - Error description if any
message_level - The message level, warning or critical
Back to Index
Copyright © 2015 Smartcall