forked from pekrau/genologics
-
Notifications
You must be signed in to change notification settings - Fork 44
Open
Description
Hi,
I'm trying to use the Lab.create() function to create a new lab (account). The new account is being made but all the billing-address & shipping-address fields don't get filled in. Am I missing something obvious or is creating a new lab not yet fully supported ? Below the code I'm using:
account = Lab.create(
lims,
name=account_info['account_name'],
website=account_info['account_website'],
udf={'BudgetNrs' : account_info['account_BudgetNrs']},
billing_address={
'street' : account_info['billing_street'],
'city' : account_info['billing_city'],
'state' : account_info['billing_state'],
'country' : account_info['billing_country'],
'postalCode' : account_info['billing_postalCode'],
'institution' : account_info['billing_institution'],
'department' : account_info['billing_department']
},
shipping_address={
'street' : account_info['shipping_street'],
'city' : account_info['shipping_city'],
'state' : account_info['shipping_state'],
'country' : account_info['shipping_country'],
'postalCode' : account_info['shipping_postalCode'],
'institution' : account_info['shipping_institution'],
'department' : account_info['shipping_department']
}
)
account_info <- a dictionary containing all necessary info
Best,
Sander
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels