{"info":{"_postman_id":"ad5710b7-5dea-4c23-bd03-fc0da3e522b9","name":"crimeScan-decision/possible","description":"<html><head></head><body><p><strong>HTTP POST</strong></p>\n<p><a href=\"https://prod.crimescan.ai/v1/crime_search/decision/possible/search\">https://prod.crimescan.ai/v1/crime_search/decision/possible/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>optional 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</strong></td>\n<td><strong>optional</strong></td>\n</tr>\n<tr>\n<td><strong>source</strong></td>\n<td><strong>“ecourt”,”hc”,”sc”</strong></td>\n<td><strong>optional</strong></td>\n</tr>\n<tr>\n<td><strong>case_category</strong></td>\n<td><strong>“civil” , “criminal”</strong></td>\n<td><strong>by default check for both</strong></td>\n</tr>\n<tr>\n<td><strong>type</strong></td>\n<td><strong>\"petitioner\" , \"respondent\"</strong></td>\n<td><strong>by default check for both</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 nOptGekzz6gAFk5Q2nvWmnwkxdOmJLDG.H8cknFeZm1Dqast75ebWAabYzlml59mYY2cJ\"<br>-d '{<br>\"name\": \"Gobinda Arik\",<br>\"father_name\": \"Jalandhar\",<br>\"address\": \"House no 3, Block Dakshin Gopalnagar, South 24, Parganas\",<br>\"case_category\": \"\",<br>\"source\": \"ecourt\"<br>}'<a href=\"https://prod.crimescan.ai/v1/crime_search/decision/possible/search\">https://prod.crimescan.ai/v1/crime_search/decision/possible/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>unprocessable 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":"ad5710b7-5dea-4c23-bd03-fc0da3e522b9","publishedId":"2s9YRB1rgW","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"4169e1"},"publishDate":"2023-10-20T05:03:10.000Z"},"item":[{"name":"search","item":[{"name":"/decision/possible/search","id":"de5b9304-912e-4f37-b185-c50428a667c0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"Salman Khan\",\n    \"father_name\": \"Salim\",\n    \"address\": \"galaxy appartment\",\n    \"case_category\": \"\",\n    \"source\": \"ecourt\"\n}","options":{"raw":{"language":"json"}}},"url":"https://prod.crimescan.ai/v1/crime_search/decision/possible/search","description":"<p>For potential match criteria, this API will output either \"YES\" or \"NO\" in JSON format, denoting whether a match has been found.</p>\n","urlObject":{"protocol":"https","path":["v1","crime_search","decision","possible","search"],"host":["prod","crimescan","ai"],"query":[],"variable":[]}},"response":[{"id":"701bd1ee-bdc6-481a-9518-81a25f3922ed","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/possible/search"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 19 Oct 2023 14:26:11 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__possible\"\n}"},{"id":"74cf9948-bd48-4a96-b33e-721962db4d9c","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     \n}","options":{"raw":{"language":"json"}}},"url":"https://prod.crimescan.ai/v1/crime_search/decision/possible/search"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 19 Oct 2023 14:29:14 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":"de5b9304-912e-4f37-b185-c50428a667c0"}],"id":"819599f9-4217-4f6b-b9e8-c5d8889cd0a2","_postman_id":"819599f9-4217-4f6b-b9e8-c5d8889cd0a2","description":""},{"name":"result","item":[{"name":"/crime_search/results","id":"4b00e8ec-0c6a-4c64-adfe-be1d236fdd97","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\": \"xxxxxxxxxxxxxxxxxxxxxxxxx\"\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":"38de972e-a1e6-4f3e-8a9c-4af3c90d47e2","name":"success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"cs_id\": \"65313220a1fb3713b382d590\"\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":"Thu, 19 Oct 2023 14:36:13 GMT"},{"key":"Server","value":"Apache/2.4.7 (Ubuntu)"},{"key":"Content-Length","value":"159"},{"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.. Possible match found in decision service.. Please use our 'Case Details' service to get more details\"\n}"},{"id":"3ba5b61e-b945-455b-92d5-dfd257822889","name":"failure","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"cs_id\": \"65313220a1b3713b382d590\"\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 14:38:02 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":""}],"_postman_id":"4b00e8ec-0c6a-4c64-adfe-be1d236fdd97"}],"id":"998dc3aa-f036-4546-8ce4-79f05841e8c1","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":"998dc3aa-f036-4546-8ce4-79f05841e8c1"}]}