{"info":{"_postman_id":"b22c4ff3-7176-4479-be67-f34bd13c31fb","name":"crimeScan-decision/exact","description":"<html><head></head><body><p><strong>HTTP POST</strong></p>\n<p><a href=\"https://prod.crimescan.ai/v1/crime_search/decision/exact/search\">https://prod.crimescan.ai/v1/crime_search/decision/exact/search</a></p>\n<p><strong>Function</strong>: search<br><strong>Parameters</strong> : name, address, father_name, dob, case_category, type, service_type<br><strong>Output Type</strong> : JSON</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Param</strong></th>\n<th><strong>Description</strong></th>\n<th><strong>Required/Optional</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>name</strong></td>\n<td><strong>name of person</strong></td>\n<td><strong>required</strong></td>\n</tr>\n<tr>\n<td><strong>address</strong></td>\n<td><strong>full address recommended</strong></td>\n<td><strong>Required Address can be broken down into address, state and pincode. This is advised but not required. Example : \"address\":\"250h, banjara hills, hyderabad,Telegana,500005\"</strong></td>\n</tr>\n<tr>\n<td><strong>father_name</strong></td>\n<td><strong>father's name of the person</strong></td>\n<td><strong>optional</strong></td>\n</tr>\n<tr>\n<td><strong>dob</strong></td>\n<td><strong>date of birth of candidate(dd-mm-yyyy)</strong></td>\n<td><strong>optional</strong></td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Example:</strong></p>\n<p>curl -XPOST</p>\n<p>-H \"Content-Type: application/json\"<br>-H \"Authorization: Bearer xxxxxxx\"<br>-d '{<br>\"name\": \"Gobinda Arik\",<br>\"father_name\": \"Jalandhar\",<br>\"address\": \"House no 3, Block Dakshin Gopalnagar, South 24, Parganas\",<br>}'<a href=\"https://prod.crimescan.ai/v1/crime_search/decision/exact/search\">https://prod.crimescan.ai/v1/crime_search/decision/exact/search</a></p>\n<p><strong>Response:</strong></p>\n<p><strong>If successfull</strong></p>\n<p>{</p>\n<p>\"status\": 1,</p>\n<p>\"cs_id\": \"1a821e9c45c00086a813f\"</p>\n<p>}</p>\n<p><strong>If unsuccessfull</strong></p>\n<p>{</p>\n<p>\"status\" : 0,</p>\n<p>\"error_message\" : \"Authentication failed\"</p>\n<p>}</p>\n<p><strong>HTTP Status Codes:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>HTTP Codes</th>\n<th><strong>Explanation</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>200</td>\n<td>ok</td>\n</tr>\n<tr>\n<td>400</td>\n<td>Incorrect Input, Invalid Verify Id, Search type can be entity or individual</td>\n</tr>\n<tr>\n<td>401</td>\n<td>Authentication Failed</td>\n</tr>\n<tr>\n<td>503</td>\n<td>Search server overload</td>\n</tr>\n<tr>\n<td>500</td>\n<td>Server Error: The server encountered an unexpected condition or encountered an error while processing the request. Please try again later</td>\n</tr>\n<tr>\n<td>422</td>\n<td>unporcessable entity</td>\n</tr>\n<tr>\n<td>429</td>\n<td>too many requests</td>\n</tr>\n</tbody>\n</table>\n</div></body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"30522218","collectionId":"b22c4ff3-7176-4479-be67-f34bd13c31fb","publishedId":"2s9YRB1rgS","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"4169e1"},"publishDate":"2023-10-20T05:01:04.000Z"},"item":[{"name":"search","item":[{"name":"/decision/exact/search","id":"2a14e1da-b37e-4c8f-88a2-ee086f1a626b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"xxxxxxxxxx\",\n    \"father_name\": \"xxxxxxxx\",\n    \"address\": \"xxxxxxx\"\n}","options":{"raw":{"language":"json"}}},"url":"https://prod.crimescan.ai/v1/crime_search/decision/exact/search","description":"<p>In case of an exact match, this API will respond with \"YES\" or \"NO\" in the JSON format to indicate the presence or absence of a match.</p>\n","urlObject":{"protocol":"https","path":["v1","crime_search","decision","exact","search"],"host":["prod","crimescan","ai"],"query":[],"variable":[]}},"response":[{"id":"92af2df2-abb3-4b2f-a9cb-0f99eef7a31e","name":"success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"Gobinda Ari\",\n    \"father_name\": \"Jalandhar\",\n    \"address\": \"House no 3, Block Dakshin Gopalnagar, South 24, Parganas\",\n    \"case_category\": \"\",\n    \"source\": \"ecourt\",\n      \n      \n}","options":{"raw":{"language":"json"}}},"url":"https://prod.crimescan.ai/v1/crime_search/decision/exact/search"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 19 Oct 2023 13:41:52 GMT"},{"key":"Server","value":"Apache/2.4.7 (Ubuntu)"},{"key":"Content-Length","value":"51"},{"key":"Content-Type","value":"application/json"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 1,\n    \"cs_id\": \"653a46c170a85e0163b9b176__decision__exact\"\n}"},{"id":"c1b3c0f7-8814-40d5-810b-8685c123a879","name":"failure","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"Gobinda Ari\",\n    \"father_name\": \"Jalandhar\",\n    \"address\": \"House no 3, Block Dakshin Gopalnagar, South 24, Parganas\",\n    \"case_category\": \"\",\n    \"source\": \"ecourt\",\n      \n    \"auth_token\": \"22I28r1JrXQQqMBPeo4f4fW8U8eMeV1dr6NtJSS1LJEdLn9hizAzbE2chbRyyyL\"\n}","options":{"raw":{"language":"json"}}},"url":"https://prod.crimescan.ai/v1/crime_search/decision/exact/search"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 19 Oct 2023 13:43:18 GMT"},{"key":"Server","value":"Apache/2.4.7 (Ubuntu)"},{"key":"Content-Length","value":"62"},{"key":"Content-Type","value":"application/json"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"2a14e1da-b37e-4c8f-88a2-ee086f1a626b"}],"id":"941e3489-c163-4e76-a9f6-07dd34eb9c4f","description":"<p>Allows you to algorithmically search individual from a database</p>\n","_postman_id":"941e3489-c163-4e76-a9f6-07dd34eb9c4f"},{"name":"result","item":[{"name":"/crime_search/result","id":"edceb359-7d51-426e-9c97-2abb3a1b0aca","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"cs_id\": \"668fab4a296faffae8c7d777__decision__exact\"\n}","options":{"raw":{"language":"json"}}},"url":"https://prod.crimescan.ai/v1/crime_search/results","urlObject":{"protocol":"https","path":["v1","crime_search","results"],"host":["prod","crimescan","ai"],"query":[],"variable":[]}},"response":[{"id":"115c2d0f-771d-4b0c-b17e-66ef15aaeb2d","name":"failure","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"cs_id\": \"65313220a1f3713b382d590\"\n}","options":{"raw":{"language":"json"}}},"url":"https://prod.crimescan.ai/v1/crime_search/results"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 19 Oct 2023 13:48:36 GMT"},{"key":"Server","value":"Apache/2.4.7 (Ubuntu)"},{"key":"Content-Length","value":"44"},{"key":"Content-Type","value":"application/json"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":""},{"id":"70ed99c7-1014-48a9-a9ab-2f4691afeafa","name":"success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"cs_id\": \"653b4e2470a85e053c97d7cf__decision__exact\"\n}","options":{"raw":{"language":"json"}}},"url":"https://prod.crimescan.ai/v1/crime_search/results"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 27 Oct 2023 08:06:33 GMT"},{"key":"Server","value":"Apache/2.4.7 (Ubuntu)"},{"key":"Content-Length","value":"95"},{"key":"Content-Type","value":"application/json"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 1,\n    \"match\": false,\n    \"message\": \"Process completed.. No match found in decision service..\"\n}"}],"_postman_id":"edceb359-7d51-426e-9c97-2abb3a1b0aca"}],"id":"b53c2e79-4b03-4f4f-8e19-4b7449ab61ea","description":"<p><strong>HTTP POST</strong></p>\n<p><a href=\"https://prod.crimescan.ai/v1/crime_search/results\">https://prod.crimescan.ai/v1/crime_search/results</a></p>\n<p><strong>Function</strong>: result<br /><strong>Parameters</strong> : user, auth_token, cs_id<br /><strong>Output Type</strong> : JSON</p>\n<p>curl -XPOST -H \"Content-Type: application/json\" -d '{</p>\n<p>\"cs_id\" : \"1a821e29c4635c00086a813f\"</p>\n<p>}' <a href=\"https://prod.crimescan.ai/v1/crime_search/results\">https://prod.crimescan.ai/v1/crime_search/results</a></p>\n<p><strong>Response:</strong><br />A message of 'processing pending' indicates that searching is still in process If unsuccessful</p>\n<p>{</p>\n<p>'status' : 0,</p>\n<p>'message' : 'Processing pending',</p>\n<p>}</p>\n","_postman_id":"b53c2e79-4b03-4f4f-8e19-4b7449ab61ea"}],"event":[{"listen":"prerequest","script":{"id":"d2949946-8cbc-4920-8208-00f60fdc59e7","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"46372b40-697c-463a-988f-5195872706f1","type":"text/javascript","exec":[""]}}],"variable":[{"key":"base_url","value":"https://prod.crimescan.ai/v1/crime_search/","type":"string"},{"key":"use","value":"testing","type":"string"},{"key":"auth_token","value":"auth_token","type":"string"}]}