Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escape special characters +-&|!(){}[]^"~*?:\ - e.g. \+ \* \!
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
 
Answered
Create an account through Q2 API or DBObject

Hello,
I am able to create a new user but also want to be able to create a new account in a similar way that you can from the command line q2_add_new_account. This includes adding specific details such as account type and account amount as well as others. Is there a way to do this?

Posted 3 years ago
Votes Newest

Answers


Depends on your intended purpose. If you want to see how q2 add_new_account does it, the code can be seen here: https://code.q2developer.com/Q2Antilles/q2-sdk/-/blob/develop/sdk/q2_sdk/entrypoints/add_new_account.py

But it should be known, this is only useful in dev. This is not how accounts get created in actual environments. In actual environments accounts are created on the Bank's core and at login, the account is pulled and loaded into the Q2 DB.

Posted 3 years ago
Ryan Hollister
196 × 4 Administrator
102 Views
1 Answer
3 years ago
3 years ago