-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathreq.sh
38 lines (38 loc) · 1.11 KB
/
req.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
curl 'https://data.veridion.com/search/v2/companies' \
-H "x-api-key: pXStedvXkA9pMcNK1tWvx_4DesmTsIZ47qfTa6WkqFxgrCvCqJA0mpALQ53J" \
-H "Content-type: application/json" \
-d '{
"filters": {
"and": [
{
"attribute": "company_location",
"relation": "in",
"value": [
{
"country": "$1"
}
],
"strictness": 1
},
{
"attribute": "company_products",
"relation": "match_expression",
"value": {
"match": {
"operator": "OR",
"operands": [
"biopharma",
"biopharmaceutical",
"biopharmaceuticals"
]
}
},
"strictness": 2,
"supplier_types": [
"manufacturer",
"distributor"
]
}
]
}
}'