Employee Data
...
Endpoints
Elasticsearch DSL
Postman Tutorial
1min
this tutorial covers making a post request in clean employee api using postman (curl requests) steps from two to nine cover authorization flow prepare your curl request using the elasticsearch schema and example requests elasticsearch dsl docid\ pkoqnjhsbflf7svuhv5au refer to the endpoint schema and usage tips request example elasticsearch endpoint curl x 'post' \\ 'https //api coresignal com/cdapi/v2/employee clean/search/es dsl' \\ h 'accept application/json' \\ h 'apikey {api key}' \\ h 'content type application/json' \\ d '{ "query" { "bool" { "should" \[ { "query string" { "query" "python", "default field" "description", "default operator" "and" } }, { "query string" { "query" "python", "default field" "job title", "default operator" "and" } }, { "nested" { "path" "experience", "query" { "bool" { "should" \[ { "query string" { "query" "python", "default field" "experience description", "default operator" "and" } }, { "query string" { "query" "python", "default field" "experience title", "default operator" "and" } } ] } } } } ] } } }' open postman click import paste the example request in the pop up window click authorization click the drop down menu to see the authorization options select api key enter the correct values key – enter apikey value – enter your unique api key click send click body and collect the returned ids save the id(s) to use in the get request