You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: web/site/public/rs/regsearch-spec.yaml
+142-3Lines changed: 142 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -483,7 +483,6 @@ paths:
483
483
- name
484
484
business:
485
485
$ref: '#/components/schemas/Business_Business'
486
-
487
486
entityAct:
488
487
type: string
489
488
entityDescription:
@@ -1057,6 +1056,102 @@ paths:
1057
1056
description: The account that the user is operating on behalf of.
1058
1057
required: true
1059
1058
parameters: []
1059
+
/v2/search/businesses/bulk:
1060
+
parameters:
1061
+
- schema:
1062
+
type: string
1063
+
in: header
1064
+
name: Account-Id
1065
+
description: The account that the user is operating on behalf of.
1066
+
required: true
1067
+
post:
1068
+
summary: Bulk Search Businesses
1069
+
tags:
1070
+
- search
1071
+
operationId: post-v2-search-businesses-bulk
1072
+
description: '<p>Return the bulk business search results that match the given payload specifications (query/filter parameters).<ul><li>The maximum combined length of the ''names'' and ''identifiers'' arrays is 1000.</li><li>The minimum combined length of the ''names'' and ''identifiers'' arrays is 1 (i.e. if ''names'' is provided with at least 1 value then ''identifiers'' does not need to be provided in the payload).</li><li>The initial maximum value for ''rows'' is 10,000.</li><li>If ''state'' is not provided then the response will include businesses in all states.</li></ul></p>'
1073
+
requestBody:
1074
+
content:
1075
+
application/json:
1076
+
schema:
1077
+
$ref: '#/components/schemas/Search_Query_Bulk'
1078
+
examples:
1079
+
all-filters-example:
1080
+
summary: Submit a bulk search request with all filters.
1081
+
value:
1082
+
names:
1083
+
- FULL BUSINESS NAME INC.
1084
+
- A DIFFERENT NAME CORP.
1085
+
identifiers:
1086
+
- BC1234567
1087
+
- FM7654321
1088
+
rows: 1000
1089
+
state: ACTIVE
1090
+
names-filter-example:
1091
+
summary: Submit a bulk search request querying only on business names.
1092
+
value:
1093
+
names:
1094
+
- FULL BUSINESS NAME INC.
1095
+
- A DIFFERENT NAME CORP.
1096
+
identifiers-filter-example:
1097
+
summary: Submit a bulk search request querying only on business identifiers.
1098
+
value:
1099
+
identifiers:
1100
+
- BC1234567
1101
+
- FM7654321
1102
+
responses:
1103
+
'200':
1104
+
description: OK
1105
+
headers: {}
1106
+
content:
1107
+
application/json:
1108
+
schema:
1109
+
type: object
1110
+
properties:
1111
+
results:
1112
+
type: array
1113
+
items:
1114
+
$ref: '#/components/schemas/Facet_result'
1115
+
description: The list of results that match any of the items inside the request names or identifiers arrays.
1116
+
totalResults:
1117
+
type: integer
1118
+
description: 'The number of results the request found. If this is larger than the length of results then you may need to increase the request rows value, provide a request state, or ensure there are no partial names or identifiers submitted in the request.'
1119
+
required:
1120
+
- results
1121
+
- totalResults
1122
+
examples:
1123
+
example-1:
1124
+
summary: Bulk business search response example.
1125
+
value:
1126
+
results:
1127
+
- bn: 123456789BC0001
1128
+
goodStanding: false
1129
+
identifier: BC0000001
1130
+
legalType: BC
1131
+
name: FULL BUSINESS NAME INC.
1132
+
score: 10.525328
1133
+
status: ACTIVE
1134
+
- bn: 123456788BC0001
1135
+
goodStanding: false
1136
+
identifier: BC0000002
1137
+
legalType: BEN
1138
+
name: A DIFFERENT NAME CORP.
1139
+
score: 10.525328
1140
+
status: ACTIVE
1141
+
- bn: 123456787BC0001
1142
+
goodStanding: true
1143
+
identifier: BC1234567
1144
+
legalType: BC
1145
+
name: FOUND BY IDENTIFIER INC.
1146
+
score: 10.525328
1147
+
status: ACTIVE
1148
+
- bn: 123456787BC0001
1149
+
identifier: FM7654321
1150
+
legalType: FM
1151
+
name: FOUND BY IDENTIFIER FIRM
1152
+
score: 10.525328
1153
+
status: ACTIVE
1154
+
totalResults: 4
1060
1155
/v2/search/parties:
1061
1156
post:
1062
1157
summary: Search parties
@@ -1312,6 +1407,7 @@ components:
1312
1407
- CUL
1313
1408
- EPR
1314
1409
- FI
1410
+
- FM
1315
1411
- FOR
1316
1412
- GP
1317
1413
- LIC
@@ -1559,7 +1655,6 @@ components:
1559
1655
nullable: true
1560
1656
required:
1561
1657
- type
1562
-
1563
1658
Business_Address:
1564
1659
type: object
1565
1660
title: Address Schema
@@ -1765,7 +1860,51 @@ components:
1765
1860
- Incorporator
1766
1861
- Proprietor
1767
1862
- Partner
1768
-
1863
+
Search_Query_Bulk:
1864
+
type: object
1865
+
x-examples:
1866
+
example-all:
1867
+
names:
1868
+
- FULL BUSINESS NAME INC.
1869
+
- A DIFFERENT NAME CORP.
1870
+
identifiers:
1871
+
- BC1234567
1872
+
- FM7654321
1873
+
rows: 1000
1874
+
state: ACTIVE
1875
+
example-minimal:
1876
+
names:
1877
+
- FULL BUSINESS NAME INC.
1878
+
description: Contains bulk business search request query/filter parameters.
1879
+
properties:
1880
+
names:
1881
+
type: array
1882
+
items:
1883
+
type: string
1884
+
description: The full business name to query/filter on.
1885
+
example: FULL BUSINESS NAME INC.
1886
+
identifiers:
1887
+
type: array
1888
+
items:
1889
+
type: string
1890
+
description: The fully formatted business identifier to query/filter on.
1891
+
example: BC1234567
1892
+
rows:
1893
+
type: integer
1894
+
description: 'Optional, the maximum number of results to return.'
1895
+
example: 2000
1896
+
minimum: 1
1897
+
state:
1898
+
type: string
1899
+
description: 'Optional, the state of the business to query/filter on.'
0 commit comments