Exemplo n.º 1
0
from org.salesforce.account.account import Account


if __name__ == "__main__":
    account = Account()
    new_account = {"Name": "BlueDart__2"}
    account.create(new_account)




Exemplo n.º 2
0
from org.salesforce.account.account import Account

if __name__ == "__main__":
    account = Account()
    new_account = {"Name": "BlueDart__2"}

    print new_account
    account.create(new_account)
import pprint
import json

from org.salesforce.account.account import Account


if __name__ == "__main__":
    account = Account()
    data = account.get_list()
    pp = pprint.PrettyPrinter(indent=4)
    pp.pprint(json.loads(data))
    print(data)
Exemplo n.º 4
0
from org.salesforce.account.account import Account

if __name__ == "__main__":
    account = Account()
    account_id = '0012800000mkMrpAAE'
    account.delete(account_id)