{"activeVersionTag":"latest","latestAvailableVersionTag":"latest","collection":{"info":{"_postman_id":"58ed9ff0-2f2c-4849-9b03-22f63caa0ce7","name":"Turtlefin OneAPI Platform (v1 - 1.0.0)","description":"**Welcome to Turtlefin OneAPI Platform - Embed insurance purchase in your regular e-commerce journey.**\r\n\r\n Turtlefin OneAPI is the platform that delivers on our vision to launch your digital insurance experience in 7 days.\r\nPlease <b style=\"color:green;\">[Contact us](https://developers.turtlefin.com/contact-us)</b> for API updates.                          \r\n\r\n\r\n \r\n\r\n \r\n\r\n This document describes the API resources available to promote Turtlefin OneAPI Platform insurance products on your own website.\r\n\r\n The Turtlefin OneAPI Platform API adheres to the principles of a REST architectural style. It is user-friendly: it is predictive, with logically organized resource-oriented URLs, and it uses HTTP response codes to indicate any errors (explained under the Error section).\r\n\r\n We will offer a sandbox environment [Developer Playground] that you can use to test the Turtlefin OneAPI Platform API and its integration. \r\n\r\n \r\n\r\n \r\n\r\n# Authentication\r\n\r\n All HTTP requests sent to the Turtlefin OneAPI Platform API must be signed with a special signature to be fully authenticated, and must also be provided in the `Authorization` header of the HTTP request.  To do this, you can obtain an API key and a secret signing key from Self Sign up on <b style=\"color:green;\">[Developer Portal](https://developers.turtlefin.com/login)</b>.\r\n\r\n\r\n Example [ javascript code ]:<b style=\"color:crimson;\"> \r\n\r\n ```javascript\r\n\r\n var myHeaders = new Headers(); myHeaders.append(\"Authorization\", \"Bearer [YOUR_AUTH_TOKEN]\"); \r\n\r\n var requestOptions = { method: 'GET', headers: myHeaders, redirect: 'follow' }; \r\n\r\n fetch(\"https://api.eval.mintpro.in/v1/products/private-car/lookups/rto?search=mh6\", requestOptions) \r\n .then(response => response.text())  \r\n .then(result => console.log(result))  \r\n .catch(error => console.log('error', error)); \r\n\r\n``` \r\n\r\n </b> \r\n\r\n \r\n\r\n#  Error Codes\r\n\r\nTurtlefin OneAPI Platform uses conventional HTTP response codes to indicate the success or failure of an API request. \r\nError codes ranging from 200 to 299 indicate a successful operation. \r\nError codes ranging from 400 to 499 represent various error codes. \r\nErrors that can be resolved programmatically will result in an error code that briefly explains the type of error or reason for the error. \r\n5xx codes indicate an error within the Turtlefin OneAPI Platform servers, which will be minimized on our end. In the unlikely event of a 5xx error, our engineering team will automatically receive a report and will fix the issue as fast as possible. \r\n\r\n\r\n| Status | Description |\r\n| ----------- | ----------- | \r\n| 200 - OK | Everything worked as expected. | \r\n| 201 - Created | The request has been fulfilled and has resulted in one or more new resources being created. | \r\n| 400 - Bad Request | The request was not accepted, often due to the wrong format of the request. | \r\n| 401 - Unauthorized | No valid API key was provided. | \r\n| 402 - Request Failed | The parameters were valid, but the request failed. | \r\n| 404 - Not Found | The requested resource doesn't exist. | \r\n| 409 - Conflict | The request conflicts with another request, perhaps due to the usage of the same idempotency key. | \r\n| 422 - Unprocessable Entity | Used mostly for validation or logical errors. | \r\n| 429 - Too Many Requests | Too many requests hit the API too quickly. We recommend an exponential back-off of your requests. | \r\n| 500, 502, 503, 504 - Server Errors | Something went wrong on Turtlefin OneAPI Platforms's end. (These are rare, we promise!) | \r\n\r\n \r\n\r\n# Workflow\r\n\r\nTo issue policy online, insurance product has multiple stages like generate quotes, create proposal etc. Below is the sample workflow for the motor insurance product:\r\n\r\n![motor-workflow](https://turtleone-devportal.apigee.io/files/motor-workflow.png)\r\n\r\nTurtleFin OneAPI helps developer to build the complex workflows for the seamless integration with 30+ insurers...\r\n\r\n#  Explore our APIs\r\n\r\n Below are the details of each API & schema [object] with the detail information like <b> Data Types, fields, ENUMs, Request/Response Examples </b> etc.","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","isPublicCollection":false,"owner":"861564","team":347626,"collectionId":"58ed9ff0-2f2c-4849-9b03-22f63caa0ce7","publishedId":"UVC6imTD","public":true,"publicUrl":"https://postman.turtlefin.com","privateUrl":"https://go.postman.co/documentation/861564-58ed9ff0-2f2c-4849-9b03-22f63caa0ce7","customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"009E9E"},"documentationLayout":"classic-double-column","customisation":null,"version":"8.11.4","publishDate":"2021-12-08T12:16:34.000Z","activeVersionTag":"latest","documentationTheme":"light","metaTags":{},"logos":{}},"statusCode":200},"environments":[],"user":{"authenticated":false,"permissions":{"publish":false}},"run":{"button":{"js":"https://run.pstmn.io/button.js","css":"https://run.pstmn.io/button.css"}},"web":"https://www.getpostman.com/","team":{"logo":"https://res.cloudinary.com/postman/image/upload/t_team_logo_pubdoc/v1/team/d70f3f3b05b465298a00773add7baa9d9ab2367fa0b5db2265d19cfbadd4cba9","favicon":"https://res.cloudinary.com/postman/image/upload/v1556091274/team/ecjxqmd2jrepnasouplv.ico"},"isEnvFetchError":false,"languages":"[{\"key\":\"csharp\",\"label\":\"C#\",\"variant\":\"HttpClient\"},{\"key\":\"csharp\",\"label\":\"C#\",\"variant\":\"RestSharp\"},{\"key\":\"curl\",\"label\":\"cURL\",\"variant\":\"cURL\"},{\"key\":\"dart\",\"label\":\"Dart\",\"variant\":\"http\"},{\"key\":\"go\",\"label\":\"Go\",\"variant\":\"Native\"},{\"key\":\"http\",\"label\":\"HTTP\",\"variant\":\"HTTP\"},{\"key\":\"java\",\"label\":\"Java\",\"variant\":\"OkHttp\"},{\"key\":\"java\",\"label\":\"Java\",\"variant\":\"Unirest\"},{\"key\":\"javascript\",\"label\":\"JavaScript\",\"variant\":\"Fetch\"},{\"key\":\"javascript\",\"label\":\"JavaScript\",\"variant\":\"jQuery\"},{\"key\":\"javascript\",\"label\":\"JavaScript\",\"variant\":\"XHR\"},{\"key\":\"c\",\"label\":\"C\",\"variant\":\"libcurl\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Axios\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Native\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Request\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Unirest\"},{\"key\":\"objective-c\",\"label\":\"Objective-C\",\"variant\":\"NSURLSession\"},{\"key\":\"ocaml\",\"label\":\"OCaml\",\"variant\":\"Cohttp\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"cURL\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"Guzzle\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"HTTP_Request2\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"pecl_http\"},{\"key\":\"powershell\",\"label\":\"PowerShell\",\"variant\":\"RestMethod\"},{\"key\":\"python\",\"label\":\"Python\",\"variant\":\"http.client\"},{\"key\":\"python\",\"label\":\"Python\",\"variant\":\"Requests\"},{\"key\":\"r\",\"label\":\"R\",\"variant\":\"httr\"},{\"key\":\"r\",\"label\":\"R\",\"variant\":\"RCurl\"},{\"key\":\"ruby\",\"label\":\"Ruby\",\"variant\":\"Net::HTTP\"},{\"key\":\"shell\",\"label\":\"Shell\",\"variant\":\"Httpie\"},{\"key\":\"shell\",\"label\":\"Shell\",\"variant\":\"wget\"},{\"key\":\"swift\",\"label\":\"Swift\",\"variant\":\"URLSession\"}]","languageSettings":[{"key":"csharp","label":"C#","variant":"HttpClient"},{"key":"csharp","label":"C#","variant":"RestSharp"},{"key":"curl","label":"cURL","variant":"cURL"},{"key":"dart","label":"Dart","variant":"http"},{"key":"go","label":"Go","variant":"Native"},{"key":"http","label":"HTTP","variant":"HTTP"},{"key":"java","label":"Java","variant":"OkHttp"},{"key":"java","label":"Java","variant":"Unirest"},{"key":"javascript","label":"JavaScript","variant":"Fetch"},{"key":"javascript","label":"JavaScript","variant":"jQuery"},{"key":"javascript","label":"JavaScript","variant":"XHR"},{"key":"c","label":"C","variant":"libcurl"},{"key":"nodejs","label":"NodeJs","variant":"Axios"},{"key":"nodejs","label":"NodeJs","variant":"Native"},{"key":"nodejs","label":"NodeJs","variant":"Request"},{"key":"nodejs","label":"NodeJs","variant":"Unirest"},{"key":"objective-c","label":"Objective-C","variant":"NSURLSession"},{"key":"ocaml","label":"OCaml","variant":"Cohttp"},{"key":"php","label":"PHP","variant":"cURL"},{"key":"php","label":"PHP","variant":"Guzzle"},{"key":"php","label":"PHP","variant":"HTTP_Request2"},{"key":"php","label":"PHP","variant":"pecl_http"},{"key":"powershell","label":"PowerShell","variant":"RestMethod"},{"key":"python","label":"Python","variant":"http.client"},{"key":"python","label":"Python","variant":"Requests"},{"key":"r","label":"R","variant":"httr"},{"key":"r","label":"R","variant":"RCurl"},{"key":"ruby","label":"Ruby","variant":"Net::HTTP"},{"key":"shell","label":"Shell","variant":"Httpie"},{"key":"shell","label":"Shell","variant":"wget"},{"key":"swift","label":"Swift","variant":"URLSession"}],"languageOptions":[{"label":"C# - HttpClient","value":"csharp - HttpClient - C#"},{"label":"C# - RestSharp","value":"csharp - RestSharp - C#"},{"label":"cURL - cURL","value":"curl - cURL - cURL"},{"label":"Dart - http","value":"dart - http - Dart"},{"label":"Go - Native","value":"go - Native - Go"},{"label":"HTTP - HTTP","value":"http - HTTP - HTTP"},{"label":"Java - OkHttp","value":"java - OkHttp - Java"},{"label":"Java - Unirest","value":"java - Unirest - Java"},{"label":"JavaScript - Fetch","value":"javascript - Fetch - JavaScript"},{"label":"JavaScript - jQuery","value":"javascript - jQuery - JavaScript"},{"label":"JavaScript - XHR","value":"javascript - XHR - JavaScript"},{"label":"C - libcurl","value":"c - libcurl - C"},{"label":"NodeJs - Axios","value":"nodejs - Axios - NodeJs"},{"label":"NodeJs - Native","value":"nodejs - Native - NodeJs"},{"label":"NodeJs - Request","value":"nodejs - Request - NodeJs"},{"label":"NodeJs - Unirest","value":"nodejs - Unirest - NodeJs"},{"label":"Objective-C - NSURLSession","value":"objective-c - NSURLSession - Objective-C"},{"label":"OCaml - Cohttp","value":"ocaml - Cohttp - OCaml"},{"label":"PHP - cURL","value":"php - cURL - PHP"},{"label":"PHP - Guzzle","value":"php - Guzzle - PHP"},{"label":"PHP - HTTP_Request2","value":"php - HTTP_Request2 - PHP"},{"label":"PHP - pecl_http","value":"php - pecl_http - PHP"},{"label":"PowerShell - RestMethod","value":"powershell - RestMethod - PowerShell"},{"label":"Python - http.client","value":"python - http.client - Python"},{"label":"Python - Requests","value":"python - Requests - Python"},{"label":"R - httr","value":"r - httr - R"},{"label":"R - RCurl","value":"r - RCurl - R"},{"label":"Ruby - Net::HTTP","value":"ruby - Net::HTTP - Ruby"},{"label":"Shell - Httpie","value":"shell - Httpie - Shell"},{"label":"Shell - wget","value":"shell - wget - Shell"},{"label":"Swift - URLSession","value":"swift - URLSession - Swift"}],"layoutOptions":[{"value":"classic-single-column","label":"Single Column"},{"value":"classic-double-column","label":"Double Column"}],"versionOptions":[],"environmentOptions":[{"value":"0","label":"No Environment"}],"canonicalUrl":"https://postman.turtlefin.com/view/metadata/UVC6imTD"}