Index
hypha.apply.projects.services.sageintacct.wrapper
¶
ApiBase
¶
The base class for all API classes.
Source code in hypha/apply/projects/services/sageintacct/wrapper/api_base.py
set_sender_id
¶
Set the sender id for APIs :param sender_id: sender id :return: None
set_sender_password
¶
Set the sender password for APIs :param sender_password: sender id :return: None
get_session_id
¶
Sets the session id for APIs :param access_token: acceess token (JWT) :return: session id
Source code in hypha/apply/projects/services/sageintacct/wrapper/api_base.py
set_session_id
¶
Set the session id for APIs :param session_id: session id :return: None
format_and_send_request
¶
Format data accordingly to convert them to xml.
Parameters:
-
data
(dict
) –HTTP POST body data for the wanted API.
Returns:
-
–
A response from the __post_request (dict).
Source code in hypha/apply/projects/services/sageintacct/wrapper/api_base.py
post
¶
count
¶
Source code in hypha/apply/projects/services/sageintacct/wrapper/api_base.py
read_by_query
¶
Read by Query from Sage Intacct
Parameters:
-
fields
(list
, default:None
) –Get selective fields to be returned. (optional).
Returns:
-
–
Dict.
Source code in hypha/apply/projects/services/sageintacct/wrapper/api_base.py
get
¶
Get data from Sage Intacct based on filter.
Parameters:
-
field
(str
) –A parameter to filter by the field. (required).
-
value
(str
) –A parameter to filter by the field - value. (required).
Returns:
-
–
Dict.
Source code in hypha/apply/projects/services/sageintacct/wrapper/api_base.py
get_all
¶
Get all data from Sage Intacct
Returns:
-
–
List of Dict.
Source code in hypha/apply/projects/services/sageintacct/wrapper/api_base.py
get_by_query
¶
Get data from Sage Intacct using query method based on filter.
See sage intacct documentation here for query structures: https://developer.intacct.com/web-services/queries/
Parameters:
fields (str): A parameter to filter by the field. (required).
and_filter (list(tuple)): List of tuple containing (operator (str),field (str), value (str))
or_filter (list(tuple)): List of tuple containing (operator (str),field (str), value (str))
filter_payload (dict): Formatted query payload in dictionary format.
if 'between' operators is used on and_filter or or_filter field must be submitted as
[str,str]
if 'in' operator is used field may be submitted as [str,str,str,...]
Returns:
Dict.
Source code in hypha/apply/projects/services/sageintacct/wrapper/api_base.py
386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 |
|
get_lookup
¶
Returns all fields with attributes from the object called on.
Source code in hypha/apply/projects/services/sageintacct/wrapper/api_base.py
Invoice
¶
Bases: ApiBase
Class to create Contract Invoice Release at Sage IntAcct.
Source code in hypha/apply/projects/services/sageintacct/wrapper/api_base.py
set_sender_id
¶
Set the sender id for APIs :param sender_id: sender id :return: None
set_sender_password
¶
Set the sender password for APIs :param sender_password: sender id :return: None
get_session_id
¶
Sets the session id for APIs :param access_token: acceess token (JWT) :return: session id
Source code in hypha/apply/projects/services/sageintacct/wrapper/api_base.py
set_session_id
¶
Set the session id for APIs :param session_id: session id :return: None
format_and_send_request
¶
Format data accordingly to convert them to xml.
Parameters:
-
data
(dict
) –HTTP POST body data for the wanted API.
Returns:
-
–
A response from the __post_request (dict).
Source code in hypha/apply/projects/services/sageintacct/wrapper/api_base.py
count
¶
Source code in hypha/apply/projects/services/sageintacct/wrapper/api_base.py
read_by_query
¶
Read by Query from Sage Intacct
Parameters:
-
fields
(list
, default:None
) –Get selective fields to be returned. (optional).
Returns:
-
–
Dict.
Source code in hypha/apply/projects/services/sageintacct/wrapper/api_base.py
get
¶
Get data from Sage Intacct based on filter.
Parameters:
-
field
(str
) –A parameter to filter by the field. (required).
-
value
(str
) –A parameter to filter by the field - value. (required).
Returns:
-
–
Dict.
Source code in hypha/apply/projects/services/sageintacct/wrapper/api_base.py
get_all
¶
Get all data from Sage Intacct
Returns:
-
–
List of Dict.
Source code in hypha/apply/projects/services/sageintacct/wrapper/api_base.py
get_by_query
¶
Get data from Sage Intacct using query method based on filter.
See sage intacct documentation here for query structures: https://developer.intacct.com/web-services/queries/
Parameters:
fields (str): A parameter to filter by the field. (required).
and_filter (list(tuple)): List of tuple containing (operator (str),field (str), value (str))
or_filter (list(tuple)): List of tuple containing (operator (str),field (str), value (str))
filter_payload (dict): Formatted query payload in dictionary format.
if 'between' operators is used on and_filter or or_filter field must be submitted as
[str,str]
if 'in' operator is used field may be submitted as [str,str,str,...]
Returns:
Dict.
Source code in hypha/apply/projects/services/sageintacct/wrapper/api_base.py
386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 |
|
get_lookup
¶
Returns all fields with attributes from the object called on.
Source code in hypha/apply/projects/services/sageintacct/wrapper/api_base.py
Project
¶
Bases: ApiBase
Class for contract APIs.
Source code in hypha/apply/projects/services/sageintacct/wrapper/project.py
set_sender_id
¶
Set the sender id for APIs :param sender_id: sender id :return: None
set_sender_password
¶
Set the sender password for APIs :param sender_password: sender id :return: None
get_session_id
¶
Sets the session id for APIs :param access_token: acceess token (JWT) :return: session id
Source code in hypha/apply/projects/services/sageintacct/wrapper/api_base.py
set_session_id
¶
Set the session id for APIs :param session_id: session id :return: None
format_and_send_request
¶
Format data accordingly to convert them to xml.
Parameters:
-
data
(dict
) –HTTP POST body data for the wanted API.
Returns:
-
–
A response from the __post_request (dict).
Source code in hypha/apply/projects/services/sageintacct/wrapper/api_base.py
post
¶
count
¶
Source code in hypha/apply/projects/services/sageintacct/wrapper/api_base.py
read_by_query
¶
Read by Query from Sage Intacct
Parameters:
-
fields
(list
, default:None
) –Get selective fields to be returned. (optional).
Returns:
-
–
Dict.
Source code in hypha/apply/projects/services/sageintacct/wrapper/api_base.py
get
¶
Get data from Sage Intacct based on filter.
Parameters:
-
field
(str
) –A parameter to filter by the field. (required).
-
value
(str
) –A parameter to filter by the field - value. (required).
Returns:
-
–
Dict.
Source code in hypha/apply/projects/services/sageintacct/wrapper/api_base.py
get_all
¶
Get all data from Sage Intacct
Returns:
-
–
List of Dict.
Source code in hypha/apply/projects/services/sageintacct/wrapper/api_base.py
get_by_query
¶
Get data from Sage Intacct using query method based on filter.
See sage intacct documentation here for query structures: https://developer.intacct.com/web-services/queries/
Parameters:
fields (str): A parameter to filter by the field. (required).
and_filter (list(tuple)): List of tuple containing (operator (str),field (str), value (str))
or_filter (list(tuple)): List of tuple containing (operator (str),field (str), value (str))
filter_payload (dict): Formatted query payload in dictionary format.
if 'between' operators is used on and_filter or or_filter field must be submitted as
[str,str]
if 'in' operator is used field may be submitted as [str,str,str,...]
Returns:
Dict.
Source code in hypha/apply/projects/services/sageintacct/wrapper/api_base.py
386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 |
|
get_lookup
¶
Returns all fields with attributes from the object called on.
Source code in hypha/apply/projects/services/sageintacct/wrapper/api_base.py
Purchasing
¶
Bases: ApiBase
Class for Purchasing APIs.
Source code in hypha/apply/projects/services/sageintacct/wrapper/purchasing.py
set_sender_id
¶
Set the sender id for APIs :param sender_id: sender id :return: None
set_sender_password
¶
Set the sender password for APIs :param sender_password: sender id :return: None
get_session_id
¶
Sets the session id for APIs :param access_token: acceess token (JWT) :return: session id
Source code in hypha/apply/projects/services/sageintacct/wrapper/api_base.py
set_session_id
¶
Set the session id for APIs :param session_id: session id :return: None
format_and_send_request
¶
Format data accordingly to convert them to xml.
Parameters:
-
data
(dict
) –HTTP POST body data for the wanted API.
Returns:
-
–
A response from the __post_request (dict).
Source code in hypha/apply/projects/services/sageintacct/wrapper/api_base.py
post
¶
count
¶
Source code in hypha/apply/projects/services/sageintacct/wrapper/api_base.py
read_by_query
¶
Read by Query from Sage Intacct
Parameters:
-
fields
(list
, default:None
) –Get selective fields to be returned. (optional).
Returns:
-
–
Dict.
Source code in hypha/apply/projects/services/sageintacct/wrapper/api_base.py
get
¶
Get data from Sage Intacct based on filter.
Parameters:
-
field
(str
) –A parameter to filter by the field. (required).
-
value
(str
) –A parameter to filter by the field - value. (required).
Returns:
-
–
Dict.
Source code in hypha/apply/projects/services/sageintacct/wrapper/api_base.py
get_all
¶
Get all data from Sage Intacct
Returns:
-
–
List of Dict.
Source code in hypha/apply/projects/services/sageintacct/wrapper/api_base.py
get_by_query
¶
Get data from Sage Intacct using query method based on filter.
See sage intacct documentation here for query structures: https://developer.intacct.com/web-services/queries/
Parameters:
fields (str): A parameter to filter by the field. (required).
and_filter (list(tuple)): List of tuple containing (operator (str),field (str), value (str))
or_filter (list(tuple)): List of tuple containing (operator (str),field (str), value (str))
filter_payload (dict): Formatted query payload in dictionary format.
if 'between' operators is used on and_filter or or_filter field must be submitted as
[str,str]
if 'in' operator is used field may be submitted as [str,str,str,...]
Returns:
Dict.
Source code in hypha/apply/projects/services/sageintacct/wrapper/api_base.py
386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 |
|
get_lookup
¶
Returns all fields with attributes from the object called on.