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
Will you be adding an endpoint to retrieve an account by account ID from Caliper API?

Currently you can retrieve a list of accounts by customer id or login name, however getting a single account's data requires you to perform multiple calls and filtering if you only have the account's id. The function to call for a single account, much like a single user or customer can be retrieved, would be highly beneficial and create more efficient use of the api.

Posted 3 years ago
Votes Newest

Answers


I think this is doable depending on which information you're looking for. There's a bit of complication in the details here, so I'd like to further understand the problem. Given an account Id that you've gathered through other means you are looking for what additional info? Transaction history, HADE values, rights?

Posted 3 years ago
Brian Mego
45 × 1 Administrator
0

Hi Brian. In my example, let's assume I want the same information on the account that is returned by the Get Account List operation, which does include HADE values among other things. Let's say I wanted to make sure I had up to date information on that account. If this account belongs to a corporate customer with say, 25 accounts, then I have to call the Get Account List via customer id even though I have the account id, get a payload of all 25 accounts, then drop all except the one matching my account id, correct? Is there an operation I am missing to retrieve a single account's data?

— Eric Lacey   3 years ago
95 Views
1 Answer
3 years ago
3 years ago