diff --git a/api-docs/apiLive.htm b/api-docs/apiLive.htm index 781539785..ca4b31fb5 100644 --- a/api-docs/apiLive.htm +++ b/api-docs/apiLive.htm @@ -902,6 +902,14 @@
Search API allows to search scoped resources clients, loans and groups on specified fields.
+Scoped Resources |
+ Scoped fields |
+
| Client | +Display Name | + +
| Account Number | +|
| External Id | +|
| Loan | +Account Number | + +
| Client Identifiers | +Document Key | + +
| Group | +Name | + +
| External Id | + +
Example Requests:
+Parameters |
+ Description |
+
|
+ query
+ (mandatory) + |
+ + String which is searched on scoped resources + | +
|
+ resource
+ (non-mandatory) + |
+ + Scoped resources on which search can be performed. If there is no resource parameter passed then search will be performed on all scoped resources. + | +
Order of Search results |
+
+ List exact match results in following order
+
|
+
+ List partial match results in following order
+
|
+
+GET https://DomainName/api/v1/search?query=000000111
+
+
+[
+ {
+ "entityId": 111,
+ "entityAccountNo": "000000111",
+ "entityName": "12-A Flat Loan",
+ "entityType": "LOAN",
+ "parentId": 65,
+ "parentName": "aaaa aaaaa"
+ }
+]
+
+