Index
hypha.apply.projects.services.sageintacct
¶
Sage Intacct init
ExpiredTokenError
¶
Bases: SageIntacctSDKError
Expired (old) access token, 498 error.
Source code in hypha/apply/projects/services/sageintacct/exceptions.py
InternalServerError
¶
Bases: SageIntacctSDKError
The rest SageIntacctSDK errors, 500 error.
Source code in hypha/apply/projects/services/sageintacct/exceptions.py
InvalidTokenError
¶
Bases: SageIntacctSDKError
Wrong/non-existing access token, 401 error.
Source code in hypha/apply/projects/services/sageintacct/exceptions.py
NoPrivilegeError
¶
Bases: SageIntacctSDKError
The user has insufficient privilege, 403 error.
Source code in hypha/apply/projects/services/sageintacct/exceptions.py
NotFoundItemError
¶
Bases: SageIntacctSDKError
Not found the item from URL, 404 error.
Source code in hypha/apply/projects/services/sageintacct/exceptions.py
SageIntacctSDKError
¶
Bases: Exception
The base exception class for SageIntacctSDK.
Parameters:
-
msg
(str
) –Short description of the error.
-
response
–Error response from the API call.
Source code in hypha/apply/projects/services/sageintacct/exceptions.py
WrongParamsError
¶
Bases: SageIntacctSDKError
Some of the parameters (HTTP params or request body) are wrong, 400 error.
Source code in hypha/apply/projects/services/sageintacct/exceptions.py
SageIntacctSDK
¶
Sage Intacct SDK
Initialize connection to Sage Intacct :param sender_id: Sage Intacct sender id :param sender_password: Sage Intacct sener password :param user_id: Sage Intacct user id :param company_id: Sage Intacct company id :param user_password: Sage Intacct user password :param (optional) entity_id: Sage Intacct entity ID
Source code in hypha/apply/projects/services/sageintacct/sageintacctsdk.py
update_sender_id
¶
Update the sender id in all API objects.
Source code in hypha/apply/projects/services/sageintacct/sageintacctsdk.py
update_sender_password
¶
Update the sender password in all API objects.
Source code in hypha/apply/projects/services/sageintacct/sageintacctsdk.py
update_session_id
¶
Update the session id and change it in all API objects.