{"info":{"_postman_id":"e5652004-5b3c-4b7d-822f-4675440aab08","name":"Paradigm Vendor API Documentation","description":"<html><head></head><body><h2 id=\"introduction\">Introduction</h2>\n<p>The Paradigm Gateway Vendor API Guide provides the opportunity for Vendors to integrate into Paradigm’s preferred network of high-quality sample providers. The purpose of this programmatic framework is to ensure efficient, effective, and real-time transmission of well-targeted sample to our clients’ surveys.</p>\n<p>This document outlines the Paradigm Gateway Framework, containing the suite API calls Paradigm’s Gateway expects to have available when launching a programmatic sample project. To integrate, Vendors must at minimum accommodate the following calls to viably integrate with the full project lifecycle.</p>\n<h2 id=\"specifications\">Specifications</h2>\n<p>APIGateway supports only RESTful APIs and only HTTPS protocol is allowed. There should be a sandbox environment which can be used for integration testing with APIGateway system and it should not place any actual orders on successful API calls. All the API endpoints should be authenticated and credentials should not have a validation period. I.e. they should not expire after a certain time period.</p>\n<h2 id=\"servicesendpoints\">Services/endpoints</h2>\n<p>The required API endpoints include:</p>\n<ul>\n<li>Feasibility API</li>\n<li>Project APIs<ul>\n<li>Create Project API</li>\n<li>Get Project API</li>\n<li>Update Project API</li>\n</ul>\n</li>\n<li>Server-to-Server Redirect API</li>\n<li>Reconciliation API</li>\n</ul>\n<h2 id=\"api-specs\">API Specs</h2>\n<p>APIGateway supports the following HTTP response status codes:</p>\n<ul>\n<li>200 OK -- The request was processed successfully.</li>\n<li>201 Created -- The resource was created successfully.</li>\n<li>204 No Content -- The resource was updated successfully.</li>\n<li>400 Bad Request -- The request is invalid.</li>\n<li>401 Unauthorized -- The API key is wrong.</li>\n<li>403 Forbidden -- No access to the requested resource.</li>\n<li>404 Not Found -- The specified resource could not be found.</li>\n<li>405 Method Not Allowed -- Tried to access a resource with an invalid method.</li>\n<li>409 Conflict - The resource already exists</li>\n<li>406 Not Acceptable -- Invalid JSON.</li>\n<li>410 Gone -- The resource requested has been removed from the servers.</li>\n<li>422 Unprocessable entity. The JSON body is not in expected format.</li>\n<li>429 Too Many Requests -- Requesting too many resources.</li>\n<li>500 Internal Server Error --The system is facing an issue. Please try again later.</li>\n<li>503 Service Unavailable -- The system is temporarily down for maintenance. Please try again later.</li>\n</ul>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"7214981","collectionId":"e5652004-5b3c-4b7d-822f-4675440aab08","publishedId":"TVCmRQes","public":true,"customColor":{"top-bar":"000000","right-sidebar":"303030","highlight":"81B9EA"},"publishDate":"2025-08-20T09:09:34.000Z"},"item":[{"name":"Feasibility API","item":[{"name":"Feasibility API","id":"cd7d5689-1c5f-41ac-a593-2c04858c859b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"https://base.url/feasibility/","description":"<p>This API allows Paradigm to run feasibility estimates for sample targets and automate the live bidding process to receive allocations to our surveys. This API requests and expects to receive estimated sample capacities and pricing matched to various scenarios of project specifications.</p>\n<p>The feasibility API should contain a distinguishable endpoint and it should accept the following parameters and feasibility should be calculated based on those values.</p>\n<p>The feasibility API parameters are given below:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>LOI</td>\n<td>Length of incidence, in minutes of ‘integer’ datatype. Eg: 1, 12, 35.</td>\n</tr>\n<tr>\n<td>IR</td>\n<td>Incidence rate, in percentage of ‘integer’ datatype. Eg: 10, 28, 89.</td>\n</tr>\n<tr>\n<td>FieldDays</td>\n<td>Number of days the project is in the field. Should be greater than 0. It should be of ‘integer’ datatype. Eg: 1,3,5</td>\n</tr>\n<tr>\n<td>Device Types (optional)</td>\n<td>An integer array where the survey platform is specified (desktop, mobile, etc).</td>\n</tr>\n<tr>\n<td>Language Id (Optional)</td>\n<td>The survey language Id as ‘integer’ datatype (English, Spanish, etc).</td>\n</tr>\n<tr>\n<td>RequiredN (optional)</td>\n<td>Number of completes required for this study. It should be of ‘integer’ datatype.</td>\n</tr>\n<tr>\n<td>Qualifications</td>\n<td>A list of dictionaries. Each dictionary should have two fields: id (integer) and value (string array).</td>\n</tr>\n<tr>\n<td>Country</td>\n<td>2 digit ISO country code of ‘string’ datatype.</td>\n</tr>\n</tbody>\n</table>\n</div><p>The supported device-types and languages are listed under</p>\n<p><a href=\"https://developer.paradigmsample.com/view/7214981/TVCmRQes#597c8c10-00a9-4f64-9de7-bcfbc08f7903\">Reference Libraries</a></p>\n<p>. If requiredN is specified in the payload, the feasibility should return values that are between 0 and requiredN or max completes should be returned.</p>\n<p>The feasibility should be calculated using the above parameters and the specific qualifications and the estimated completes that can be delivered should be returned as the response.</p>\n<p>Response should contain the following information:</p>\n<ul>\n<li>Feasibility estimates returned for the target should be rounded to the nearest integer.</li>\n<li>The CPI (Cost per incidence) should be returned in USD ($). It should be a decimal value and should not be in a range. This should be a recommended CPI to achieve maximum feasibility for the target, but Paradigm will specify a desired CPI in the create project request.</li>\n<li>Errors in the request if any should be listed in an array on the root of the response structure.</li>\n</ul>\n<p>If there is any error in the request, the response should be in the corresponding 4xx status code and the response should contain the description for the error.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"}]},"isInherited":true,"source":{"_postman_id":"e5652004-5b3c-4b7d-822f-4675440aab08","id":"e5652004-5b3c-4b7d-822f-4675440aab08","name":"Paradigm Vendor API Documentation","type":"collection"}},"urlObject":{"protocol":"https","path":["feasibility",""],"host":["base","url"],"query":[],"variable":[]}},"response":[{"id":"83d590aa-6b1d-4bf6-b8ec-3c644878d35d","name":"Feasibility API failure API call","originalRequest":{"method":"POST","header":[],"url":"https://base.url/feasibility/"},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{\r\n   “errors”: [\r\n      “Error message 1”,\r\n      “Error message 2”,\r\n      “Error message 3”\r\n   ]\r\n}"},{"id":"e44fedf2-4f4a-459b-bfba-29f0439978e1","name":"Feasibility API Success API Call","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"country\": \"US\",\n    \"loi\": 20,\n    \"ir\": 15,\n    \"fieldDays\": 1,\n    \"deviceTypes\": [\n        1,\n        2,\n        3\n    ],\n    \"languageId\": 3,\n    \"requiredN\": 100,\n    \"qualifications\": [\n        {\n            \"id\": 2,\n            \"value\": [\n                \"1\",\n                \"2\",\n                \"10735\"\n            ]\n        },\n        {\n            \"id\": 1,\n            \"value\": [\n                \"18-99\"\n            ]\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"https://base.url/feasibility/"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{\r\n   \"feasibility\": 100,\r\n   \"cpi\": 3.5\r\n}\r\n"}],"_postman_id":"cd7d5689-1c5f-41ac-a593-2c04858c859b"}],"id":"849240eb-6ecd-4018-a77d-a200772c7d4f","description":"<p>Feasibility related API's will be listed down here.</p>\n","_postman_id":"849240eb-6ecd-4018-a77d-a200772c7d4f","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"}]},"isInherited":true,"source":{"_postman_id":"e5652004-5b3c-4b7d-822f-4675440aab08","id":"e5652004-5b3c-4b7d-822f-4675440aab08","name":"Paradigm Vendor API Documentation","type":"collection"}}},{"name":"Project APIs","item":[{"name":"Create Project API","id":"c3eb4334-adef-4685-bb01-3b1780d84a62","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"https://base.url/Project/","description":"<p>Create project or campaign API should be an endpoint that supports an HTTP POST method.</p>\n<p>On calling this API the survey should be launched on the vendor’s side and it should return the created project Id (an identifier that can be later used to address this newly created project at the vendor’s end) OR the request payload should have a parameter that accepts a unique Identifier generated by Paradigm that will be used in the future to address the newly created project on the vendor side.</p>\n<p>The parameters that a project creation endpoint should accept are as follows:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Project Name</td>\n<td>The name of the survey of ‘string’ datatype.</td>\n</tr>\n<tr>\n<td>Campaign Id</td>\n<td>A unique project identifier of ‘integer’ datatype.</td>\n</tr>\n<tr>\n<td>Live URL</td>\n<td>The URL from which the respondent will access the API Gateway. It should be of ‘string’ datatype.</td>\n</tr>\n<tr>\n<td>Device Types</td>\n<td>An integer array where the survey platform is specified (desktop, mobile, etc).</td>\n</tr>\n<tr>\n<td>Study Type (Optional)</td>\n<td>The survey study type Id as ‘integer’ datatype (B2b, Consumer, healthcare).</td>\n</tr>\n<tr>\n<td>Project Type (Optional)</td>\n<td>The survey type Id as ‘integer’ datatype (adhoc, tracker, qualitative,recontact).</td>\n</tr>\n<tr>\n<td>Language Id (Optional)</td>\n<td>The survey language Id as ‘integer’ datatype (English, Spanish, etc).</td>\n</tr>\n<tr>\n<td>Country</td>\n<td>2 digit ISO country code of ‘string’ datatype.</td>\n</tr>\n<tr>\n<td>LOI</td>\n<td>Length of incidence, in minutes of ‘integer’ datatype. Eg: 1, 12, 35.</td>\n</tr>\n<tr>\n<td>IR</td>\n<td>Incidence rate, in percentage of ‘integer’ datatype. Eg: 10, 28, 89.</td>\n</tr>\n<tr>\n<td>FieldDays</td>\n<td>Number of days the project is in the field. Should be greater than 0. It should be of ‘integer’ datatype. Eg: 1, 3 ,5</td>\n</tr>\n<tr>\n<td>CPI</td>\n<td>Requested cost per incidence in ‘decimal’ datatype.</td>\n</tr>\n<tr>\n<td>Qualificaions</td>\n<td>A list of dictionaries. Each dictionary should have two fields: id (integer) and value (string array).</td>\n</tr>\n<tr>\n<td>RequiredN</td>\n<td>Number of completes required for this study. It should be of ‘integer’ datatype.</td>\n</tr>\n<tr>\n<td>DeDupeTags</td>\n<td>An array of strings, basically to deduplicate respondents for the same survey.</td>\n</tr>\n<tr>\n<td>Client Name (Optional)</td>\n<td>The name of the client of ‘string’ datatype.</td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>Client CPI (Optional)</td>\n<td>Requested cost per incidence of the client in ‘decimal’ datatype.</td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>Inclusion Identifiers</td>\n<td>An array of strings, Create (or update) the respondents of an existing recontact project(the project type should be recontact) using previously acquired respondent ids. Eg: 5361, a263q ,q215</td>\n</tr>\n</tbody>\n</table>\n</div><p>The supported Study-types, project-types and languages are listed under the</p>\n<p><a href=\"https://developer.paradigmsample.com/view/7214981/TVCmRQes#597c8c10-00a9-4f64-9de7-bcfbc08f7903\">Reference Libraries</a></p>\n<p>.</p>\n<p>Response should contain the following information:</p>\n<ul>\n<li><p>The projectId should be returned on successful launch (if a unique identifier is not requested on the API params).</p>\n</li>\n<li><p>Errors in the request if any should be listed in an array on the root of the response structure.</p>\n</li>\n</ul>\n<p>DeDupeTags Clarification: Whenever a Survey is created with dedupe tags, any previous respondent(s) from a Survey with a matching tag should be excluded from the new Survey. Additionally, when a new Survey is created with a dedupe tag, any existing active (not closed) Survey with a matching tag should exclude the new Survey's respondents.</p>\n<p>Live URL Clarification: When a member of a panel has been selected to participate in a Survey, that respondent will be redirected to the survey url with a system unique ID which will be replaced on the placeholder '[ID]'. This respondent ID will be saved by the APIGateway system during redirection and it will be used to track the respondent, respondent transition and reconciliation process.</p>\n<p>The live link should include the respondent's unique session identifier [ID] tag for study and the respondent's unique alphanumeric ID tag [RespondentId]<br />to be included, e.g.<br />'<a href=\"http://www.survey.url/survey?surveyid=surv-eyun-ique-iden-tify-er16&amp;seskey=%5BID%5D&amp;respondentid=%5BRespondentId%5D'\">http://www.survey.url/survey?surveyid=surv-eyun-ique-iden-tify-er16&amp;seskey=[ID]&amp;respondentid=[RespondentId]'</a>,<br />By default our redirect url has surveyId, seskey and respondentid query params. These values should not be altered and API call to create a survey should fail with a validation error if the surveyid, seskey or [ID],respondentid or [RespondentId] are not properly included in the survey url.</p>\n<p>In addition to the parameters listed above, some links may include additional qualification parameters in the form \"&amp;qualificationId=[qualificationId]\". When redirecting respondents, replace [qualificationId] with the actual option ID value, without the square brackets. For open-end qualifications (e.g., Age, Zip), replace [qualificationId] with the answer text. For multi-select qualifications, replace [qualificationId] with comma-separated option IDs.</p>\n<p>Example:<br />If the qualification ID for Gender is 2, the parameter is represented as &amp;2=[2].<br />If the selected option ID for Male is 1, the parameter should be returned as &amp;2=1.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"}]},"isInherited":true,"source":{"_postman_id":"e5652004-5b3c-4b7d-822f-4675440aab08","id":"e5652004-5b3c-4b7d-822f-4675440aab08","name":"Paradigm Vendor API Documentation","type":"collection"}},"urlObject":{"protocol":"https","path":["Project",""],"host":["base","url"],"query":[],"variable":[]}},"response":[{"id":"95a30499-62fc-42e4-b317-89409fd4ac99","name":"Create project API success API call ","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"country\": \"US\",\n    \"projectName\": \"Project Name\",\n    \"loi\": 20,\n    \"ir\": 15,\n    \"fieldDays\": 1,\n    \"liveLink\": \"http://www.survey.url/survey?surveyid=surv-eyun-ique-iden-tify-er16&seskey=[ID]&respondentid=[RespondentId]\",\n    \"deviceTypes\": [\n        1,\n        2,\n        3\n    ],\n    \"studyType\": 1,\n    \"projectType\": 2,\n    \"languageId\": 3,\n    \"qualifications\": [\n        {\n            \"id\": 2,\n            \"value\": [\n                \"1\",\n                \"2\",\n                \"10735\"\n            ]\n        },\n        {\n            \"id\": 1,\n            \"value\": [\n                \"18-25\",\"30\",\"40-45\",\"50\"\n            ]\n        }\n    ],\n    \"cpi\": 3.5,\n    \"requiredN\": 100,\n    \"dedupe\": [\n        \"dupeT1\",\n        \"dupeT2\"\n    ],\n    \"clientname\": \"User Testing\",\n    \"clientcpi\": 2.50,\n    \"inclusionIdentifiers\": []\n}","options":{"raw":{"language":"json"}}},"url":"https://base.url/project/"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{\r\n   \"campaignId\": 12345\r\n}\r\n"},{"id":"98189169-b793-4046-b238-1b0594e9345a","name":"Create project API success API call with campaignId","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"country\": \"US\",\n    \"campaignId\": 23458,\n    \"projectName\": \"Project Name\",\n    \"loi\": 20,\n    \"ir\": 15,\n    \"fieldDays\": 1,\n    \"liveLink\": \"http://www.survey.url/survey?surveyid=surv-eyun-ique-iden-tify-er16&seskey=[ID]&respondentid=[RespondentId]\",\n    \"deviceTypes\": [\n        1,\n        2,\n        3\n    ],\n    \"studyType\": 1,\n    \"projectType\": 2,\n    \"languageId\": 3,\n    \"qualifications\": [\n        {\n            \"id\": 2,\n            \"value\": [\n                \"1\",\n                \"2\",\n                \"10735\"\n            ]\n        },\n        {\n            \"id\": 1,\n            \"value\": [\n                 \"18-25\",\"30\",\"40-45\",\"50\"\n            ]\n        }\n    ],\n    \"cpi\": 3.5,\n    \"requiredN\": 100,\n    \"dedupe\": [\n        \"dupeT1\",\n        \"dupeT2\"\n    ],\n    \"clientname\": \"User Testing\",\n    \"clientcpi\": 2.50,\n    \"inclusionIdentifiers\": []\n}","options":{"raw":{"language":"json"}}},"url":"https://base.url/project/"},"status":"No Content","code":204,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"ee600d41-483a-4ba3-8e25-db15fd222328","name":"Create project API failure API call","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"country\": \"US\",\n    \"campaignId\": 23458,\n    \"projectName\": \"Project Name\",\n    \"loi\": 20,\n    \"ir\": 15,\n    \"fieldDays\": 1,\n    \"liveLink\": \"http://www.survey.url/survey?surveyid=surv-eyun-ique-iden-tify-er16&seskey=[ID]&respondentid=[RespondentId]\",\n    \"deviceTypes\": [\n        1,\n        2,\n        3\n    ],\n    \"studyType\": 1,\n    \"projectType\": 2,\n    \"languageId\": 3,\n    \"qualifications\": [\n        {\n            \"id\": 2,\n            \"value\": [\n                \"1\",\n                \"2\",\n                \"10735\"\n            ]\n        },\n        {\n            \"id\": 1,\n            \"value\": [\n                 \"18-25\",\"30\",\"40-45\",\"50\"\n            ]\n        }\n    ],\n    \"cpi\": 3.5,\n    \"requiredN\": 100,\n    \"dedupe\": [\n        \"dupeT1\",\n        \"dupeT2\"\n    ],\n    \"clientname\": \"User Testing\",\n    \"clientcpi\": 2.50,\n    \"inclusionIdentifiers\": []\n}","options":{"raw":{"language":"json"}}},"url":"https://base.url/project/"},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{\r\n   “errors”: [\r\n      “Error message 1”,\r\n      “Error message 2”,\r\n      “Error message 3”\r\n   ]\r\n}"}],"_postman_id":"c3eb4334-adef-4685-bb01-3b1780d84a62"},{"name":"Get Project API","id":"01d0cc43-5b7b-4d4d-8f34-491e2b99214d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://base.url/project/12345","description":"<p>This API should be an HTTP GET supported endpoint that will pull the details of an already created project. The details of the pulled project should contain its current status, the estimated LOI, IR and all the other details that were provided upon project creation.</p>\n<p>The project current status will be in terms of Ids as an integer and the project statuses that are supported by the APIGateway system are as listed under the</p>\n<p><a href=\"https://developer.paradigmsample.com/view/7214981/TVCmRQes#597c8c10-00a9-4f64-9de7-bcfbc08f7903\">Reference Libraries</a></p>\n<p>.</p>\n<p>This API should accept the campaignId as its param and it should be a mandatory field. This API might be mainly used to get the current status of the survey.</p>\n<p>In the provided example, ‘12345’ is the projectId of the project which the details has to be retrieved.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"}]},"isInherited":true,"source":{"_postman_id":"e5652004-5b3c-4b7d-822f-4675440aab08","id":"e5652004-5b3c-4b7d-822f-4675440aab08","name":"Paradigm Vendor API Documentation","type":"collection"}},"urlObject":{"protocol":"https","path":["project","12345"],"host":["base","url"],"query":[],"variable":[]}},"response":[{"id":"4c2c8c82-fae6-444c-a674-2e2e557441d3","name":"Get Project API Success API response","originalRequest":{"method":"GET","header":[],"url":"https://base.url/project/12345"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\r\n   \"campaignId\": 12345,\r\n   \"status\": 1,\r\n   \"country\": \"US\",\r\n   \"loi\": 20,\r\n   \"ir\": 15,\r\n   \"fieldDays\": 1,\r\n   \"liveLink\": \"http://www.survey.url/survey?surveyid=surv-eyun-ique-iden-tify-er16&seskey=[ID]\",\r\n   \"deviceTypes\": [1,2],\r\n   \"studyType\": 1,\r\n   \"projectType\": 2,\r\n   \"languageId\": 3,\r\n   \"qualifications\":[\r\n        {\r\n            \"id\": 2,\r\n            \"value\": [\r\n                \"1\",\r\n                \"2\",\r\n                \"10735\"\r\n            ]\r\n        },\r\n        {\r\n            \"id\": 1,\r\n            \"value\": [\r\n                \"18-99\"\r\n            ]\r\n        }\r\n    ],\r\n  \"cpi\": 3.5,\r\n  \"requiredN\": 100,\r\n  \"clientname\": \"User Testing\",\r\n  \"clientcpi\": 2.50,\r\n  \"dedupe\": [\"dupeT1\", \"dupeT2\"]\r\n}\r\n"},{"id":"ce15509e-1fa6-4f40-b04f-81429c5bdb65","name":"Get Project API invalid projectId response","originalRequest":{"method":"GET","header":[],"url":"https://base.url/project/12346"},"status":"Not Found","code":404,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{\r\n   “errors”: [\r\n      “Error message 1”,\r\n      “Error message 2”,\r\n      “Error message 3”\r\n   ]\r\n}"}],"_postman_id":"01d0cc43-5b7b-4d4d-8f34-491e2b99214d"},{"name":"Update Project API","id":"072b8ad4-4671-447c-b414-af34dfa9f034","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"url":"https://base.url/project/12345","description":"<p>The update project API should be of an endpoint that supports HTTP PUT protocol and allows for the edit or update of all parameters of a created project.</p>\n<p>This endpoint will mainly be used to change the current status of the launched survey along with occasional other parameter changes such as LOI, IR, CPI, limit and qualification update.</p>\n<p>The parameters that a project update endpoint should accept are as follows:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Project Name</td>\n<td>The name of the survey of ‘string’ datatype.</td>\n</tr>\n<tr>\n<td>Campaign Id</td>\n<td>It should be accepted as the URL parameter and it is to identify the project to be updated.  It should be of ‘integer’ datatype.</td>\n</tr>\n<tr>\n<td>Status</td>\n<td>The status of the project of ‘integer’ datatype.</td>\n</tr>\n<tr>\n<td>Live URL</td>\n<td>The URL from which the respondent will access the API Gateway. It should be of ‘string’ datatype.</td>\n</tr>\n<tr>\n<td>Device Type</td>\n<td>An integer array where the survey platform is specified (desktop, mobile, etc).</td>\n</tr>\n<tr>\n<td>Study Type   (Optional)</td>\n<td>The survey study type Id as ‘integer’ datatype (B2b, Consumer, healthcare).</td>\n</tr>\n<tr>\n<td>Project Type (Optional)</td>\n<td>The survey type Id as ‘integer’ datatype (adhoc, tracker, qualitative,recontact).</td>\n</tr>\n<tr>\n<td>Language Id  (Optional)</td>\n<td>The survey language Id as ‘integer’ datatype (English, Spanish, etc).</td>\n</tr>\n<tr>\n<td>Country</td>\n<td>2 digit ISO country code of ‘string’ datatype.</td>\n</tr>\n<tr>\n<td>LOI</td>\n<td>Length of incidence, in minutes of ‘integer’ datatype. Eg: 1, 12, 35.</td>\n</tr>\n<tr>\n<td>IR</td>\n<td>Incidence rate, in percentage of ‘integer’ datatype. Eg: 10, 28, 89.</td>\n</tr>\n<tr>\n<td>FieldDays</td>\n<td>Number of days the project is in the field. Should be greater than 0. It should be of ‘integer’ datatype.  Eg: 1, 3 ,5</td>\n</tr>\n<tr>\n<td>CPI</td>\n<td>Cost per incidence in ‘decimal’ datatype.</td>\n</tr>\n<tr>\n<td>Qualifications</td>\n<td>A list of dictionaries. Each dictionary should have two fields: id (integer) and value (string array).</td>\n</tr>\n<tr>\n<td>RequiredN</td>\n<td>Number of completes required for this study. It should be of ‘integer’ datatype.</td>\n</tr>\n<tr>\n<td>DeDupeTags</td>\n<td>An array of strings, basically to deduplicate respondents for the same survey.</td>\n</tr>\n<tr>\n<td>Client Name (Optional)</td>\n<td>The name of the client of ‘string’ datatype.</td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>Client CPI (Optional)</td>\n<td>Requested cost per incidence of the client in ‘decimal’ datatype.</td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>Inclusion Identifiers</td>\n<td>An array of strings, Create (or update) the respondents of an existing recontact project(the project type should be recontact) using previously acquired respondent ids.</td>\n</tr>\n</tbody>\n</table>\n</div><p>The supported status, study-types, project-types and languages are listed under the <a href=\"https://developer.paradigmsample.com/view/7214981/TVCmRQes#597c8c10-00a9-4f64-9de7-bcfbc08f7903\">Reference Libraries</a>.\nThe response for this request can be in a 204 or 200 status code with the updated information. If the request fails, it should be in 4xx series status code and it should contain the description for the error.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"}]},"isInherited":true,"source":{"_postman_id":"e5652004-5b3c-4b7d-822f-4675440aab08","id":"e5652004-5b3c-4b7d-822f-4675440aab08","name":"Paradigm Vendor API Documentation","type":"collection"}},"urlObject":{"protocol":"https","path":["project","12345"],"host":["base","url"],"query":[],"variable":[]}},"response":[{"id":"55f4d54c-c148-49ad-b2f1-3ceef3984a22","name":"Update project API Success responsse","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"campaignId\": 12345,\n    \"status\": 1,\n    \"projectName\": \"Name\",\n    \"country\": \"US\",\n    \"liveLink\": \"http://www.survey.url/survey?surveyid=surv-eyun-ique-iden-tify-er16&seskey=[ID]&respondentid=[RespondentId]\",\n    \"deviceTypes\": [\n        1,\n        2,\n        3\n    ],\n    \"studyType\": 1,\n    \"projectType\": 2,\n    \"languageId\": 3,\n    \"loi\": 20,\n    \"ir\": 15,\n    \"fieldDays\": 1,\n    \"qualifications\": [\n        {\n            \"id\": 2,\n            \"value\": [\n                \"1\",\n                \"2\",\n                \"10735\"\n            ]\n        },\n        {\n            \"id\": 1,\n            \"value\": [\n                 \"18-25\",\"30\",\"40-45\",\"50\"\n            ]\n        }\n    ],\n    \"cpi\": 3.5,\n    \"requiredN\": 100,\n    \"dedupe\": [\n        \"dupeT1\",\n        \"dupeT2\"\n    ],\n    \"clientname\": \"User Testing\",\n    \"clientcpi\": 15.50,\n    \"inclusionIdentifiers\": []\n}","options":{"raw":{"language":"json"}}},"url":"https://base.url/project/12345"},"status":"No Content","code":204,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"9b160e65-7ba8-4855-b199-8ee151c11ed2","name":"Update project API failure API response","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"campaignId\": 10025,\n    \"status\": 4,\n    \"projectName\": \"Name\",\n    \"country\": \"US\",\n    \"liveLink\": \"http://www.survey.url/survey?surveyid=surv-eyun-ique-iden-tify-er16&seskey=[ID]&respondentid=[RespondentId]\",\n    \"deviceTypes\": [\n        3\n    ],\n    \"loi\": 20,\n    \"ir\": 15,\n    \"fieldDays\": 1,\n    \"studyType\": 1,\n    \"projectType\": 2,\n    \"languageId\": 3,\n    \"qualifications\": [\n        {\n            \"id\": 2,\n            \"value\": [\n                \"1\",\n                \"2\",\n                \"10735\"\n            ]\n        },\n        {\n            \"id\": 1,\n            \"value\": [\n                 \"18-25\",\"30\",\"40-45\",\"50\"\n            ]\n        }\n    ],\n    \"cpi\": 3.5,\n    \"requiredN\": 100,\n    \"dedupe\": [\n        \"dupeT1\",\n        \"dupeT2\"\n    ],\n    \"clientname\": \"User Testing\",\n    \"clientcpi\": 15.50,\n    \"inclusionIdentifiers\": []\n}","options":{"raw":{"language":"json"}}},"url":"https://base.url/project/12346"},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{\r\n   “errors”: [\r\n      “Error message 1”,\r\n      “Error message 2”,\r\n      “Error message 3”\r\n   ]\r\n}"}],"_postman_id":"072b8ad4-4671-447c-b414-af34dfa9f034"}],"id":"2b2609d8-b1e2-4f31-836e-6277a6ed3139","description":"<p>All project APIs will be listed here.</p>\n","_postman_id":"2b2609d8-b1e2-4f31-836e-6277a6ed3139","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"}]},"isInherited":true,"source":{"_postman_id":"e5652004-5b3c-4b7d-822f-4675440aab08","id":"e5652004-5b3c-4b7d-822f-4675440aab08","name":"Paradigm Vendor API Documentation","type":"collection"}}},{"name":"Info Endpoint","item":[{"name":"Health Check","id":"af6b4d8a-45a4-4096-baea-f7c0b7d031e2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://base.url/health/","description":"<p>A simple GET request to the specific endpoint (/health), that will respond with the HTTP status 200 OK/503 Service Unavailable.\nWhen the system goes offline due to server issues, it may be related to a specific endpoint or API transaction caused by bugs in your application.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"}]},"isInherited":true,"source":{"_postman_id":"e5652004-5b3c-4b7d-822f-4675440aab08","id":"e5652004-5b3c-4b7d-822f-4675440aab08","name":"Paradigm Vendor API Documentation","type":"collection"}},"urlObject":{"protocol":"https","path":["health",""],"host":["base","url"],"query":[],"variable":[]}},"response":[{"id":"d1140d2b-a90d-40d9-80b3-e079c27324a9","name":"Health check success","originalRequest":{"method":"GET","header":[],"url":"https://base.url/health/"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null},{"id":"a382c234-d2ca-4724-8a45-ab74693f094f","name":"Health check failure","originalRequest":{"method":"GET","header":[],"url":"https://base.url/health/"},"status":"Service Unavailable","code":503,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"af6b4d8a-45a4-4096-baea-f7c0b7d031e2"}],"id":"9418295a-7bcf-4c05-a6b4-7e949419b8bb","description":"<p>To ensure Audience API is reachable.</p>\n","_postman_id":"9418295a-7bcf-4c05-a6b4-7e949419b8bb","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"}]},"isInherited":true,"source":{"_postman_id":"e5652004-5b3c-4b7d-822f-4675440aab08","id":"e5652004-5b3c-4b7d-822f-4675440aab08","name":"Paradigm Vendor API Documentation","type":"collection"}}},{"name":"Server-to-Server Redirect API","item":[{"name":"Respondent Transition API","id":"e0b734ad-5a04-4826-90dc-d2e16652b240","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://base.url/respondents/transition","description":"<p>After a respondent completes the survey, the respondent will be redirected back to the vendor's portal via a predefined URL. This URL should contain a place holder where the seskey (respondent unique key) should be placed. For example '<a href=\"https://base.url/survey/return/%5BId%5D\">https://base.url/survey/return/[Id]</a>' or '<a href=\"https://base.url/survey/return?seskey=%5BId%5D\">https://base.url/survey/return?seskey=[Id]</a>'.\nThrough that process, the vendor will receive information on the respondent's activity in the survey. As part of this handoff, the information should be passed via an API (server to server) to avoid exposure to manipulation. </p>\n<p>The status received via API call for a respondent should be the status of the record, independent of the URL that the respondent redirects to. As such, completion redirects that are received without a prior API call should not be considered as completes without off-line validation.</p>\n<p>This endpoint can be an HTTP POST protocol API that expects a dictionary of respondents and their status.</p>\n<p>Mandatory parameters that are required in this endpoint are provided below.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Seskey</td>\n<td>The unique Id of the respondent of 'String’ datatype.</td>\n</tr>\n<tr>\n<td>Status</td>\n<td>The status of the respondent of 'Integer' data type.</td>\n</tr>\n</tbody>\n</table>\n</div><p>The eligible statuses for a respondent will be passed as Status Ids and their corresponding descriptions are listed under <a href=\"https://developer.paradigmsample.com/view/7214981/TVCmRQes#597c8c10-00a9-4f64-9de7-bcfbc08f7903\">Reference Libraries</a>.</p>\n<p>The API should return a 204 status code on response and if there is an error in the request, the response should be in 4xx status code and it should contain the description for the error.</p>\n<p>Note : <b>When an S2S call fails due to any error , we will not block that respondent in DIG , but will be passing an additional parameter , EOT as 1, in the normal redirection link of the vendor </b>.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"}]},"isInherited":true,"source":{"_postman_id":"e5652004-5b3c-4b7d-822f-4675440aab08","id":"e5652004-5b3c-4b7d-822f-4675440aab08","name":"Paradigm Vendor API Documentation","type":"collection"}},"urlObject":{"protocol":"https","path":["respondents","transition"],"host":["base","url"],"query":[],"variable":[]}},"response":[{"id":"4204617f-3fa3-45ad-93a1-5da9ee85c14f","name":"Respondent Transition API Success API Call","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"seskey\": \"respo-ndent-uniqu-eGuid\",\n    \"status\": 1\n}","options":{"raw":{"language":"json"}}},"url":"https://base.url/respondents/transition"},"status":"No Content","code":204,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"b42e3477-ad83-42d1-89d8-1a6c6ae8cd51","name":"Respondent Transition Failure API Call","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"seskey\": \"respo-ndent-uniqu-eGuid\",\n    \"status\": 5,\n    \"eot\":true\n}","options":{"raw":{"language":"json"}}},"url":"https://base.url/respondents/transition"},"status":"Unprocessable Entity","code":422,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":"{\r\n   “errors”: [\r\n      “Error message 1”,\r\n      “Error message 2”,\r\n      “Error message 3”\r\n   ]\r\n}"}],"_postman_id":"e0b734ad-5a04-4826-90dc-d2e16652b240"}],"id":"7b55fce2-085a-4b55-af0e-c5442530a0de","description":"<p>All vendor respondent transition APIs will be listed in this directory.</p>\n","event":[{"listen":"prerequest","script":{"id":"255ff486-ac2e-4211-a27d-5cd9f36442bf","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"5811255b-5cb1-4681-9979-a447c4c21a55","type":"text/javascript","exec":[""]}}],"_postman_id":"7b55fce2-085a-4b55-af0e-c5442530a0de","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"}]},"isInherited":true,"source":{"_postman_id":"e5652004-5b3c-4b7d-822f-4675440aab08","id":"e5652004-5b3c-4b7d-822f-4675440aab08","name":"Paradigm Vendor API Documentation","type":"collection"}}},{"name":"Reconciliation APIs","item":[{"name":"Reconciliation API (Optional)","id":"17cf15df-1928-4cfa-8a51-3163bef10e11","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"https://base.url/reconciliation","description":"<p>This is an optional endpoint.</p>\n<p>In the case where there is a need to update respondent response statuses at a later time, e.g. if there was a technical issue setting response status, or responses have been found to be bad quality after a survey data review, there should be an endpoint that helps in reconciling the respondent’s data.</p>\n<p>This endpoint can be an HTTP POST protocol API that expects an array of a dictionary of respondents and their updated status. One or more respondents should be allowed to be updated in a single API call.</p>\n<p>Mandatory parameters that are required in a reconciliation endpoint are given below.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Seskey</td>\n<td>The unique Id of the respondent of 'String’ datatype.</td>\n</tr>\n<tr>\n<td>Status</td>\n<td>The updated status of the respondent of 'Integer' data type.</td>\n</tr>\n</tbody>\n</table>\n</div><p>The supported respondent statuses are listed under the</p>\n<p><a href=\"https://developer.paradigmsample.com/view/7214981/TVCmRQes#597c8c10-00a9-4f64-9de7-bcfbc08f7903\">Reference Libraries</a></p>\n<p>.The API should return 204 status code on response and if there is an error in the request, the response should be in 4xx status code and it should contain the description for the error.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"}]},"isInherited":true,"source":{"_postman_id":"e5652004-5b3c-4b7d-822f-4675440aab08","id":"e5652004-5b3c-4b7d-822f-4675440aab08","name":"Paradigm Vendor API Documentation","type":"collection"}},"urlObject":{"protocol":"https","path":["reconciliation"],"host":["base","url"],"query":[],"variable":[]}},"response":[{"id":"3d33ee0b-c327-429a-a117-0cc23d03529c","name":"Reconciliation API failure response","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"[\r\n     {\r\n        \"seskey\": \"\",\r\n        \"status\": 0\r\n     }\r\n]\r\n","options":{"raw":{"language":"json"}}},"url":"http://base.url/reconciliation"},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{\r\n   “errors”: [\r\n      “Error message 1”,\r\n      “Error message 2”,\r\n      “Error message 3”\r\n   ]\r\n}"},{"id":"af5d42d6-64e5-4a11-9d06-352624d46df4","name":"Reconciliation API success API response","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"[\n    {\n        \"seskey\": \"04fe9a97-a579-43c5-bb1a-58ed29bf0a6a\",\n        \"status\": 4\n    }\n]","options":{"raw":{"language":"json"}}},"url":"http://base.url/reconciliation"},"status":"No Content","code":204,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"17cf15df-1928-4cfa-8a51-3163bef10e11"}],"id":"89cceca1-281e-44f8-b4d3-596b9764630e","description":"<p>All vendor reconiliation APIs will be listed in this directory.</p>\n","event":[{"listen":"prerequest","script":{"id":"520b40ef-f555-4e9b-b861-9fc32f607b7a","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"70a82c31-70b2-436c-9c59-45dc4e42bf26","type":"text/javascript","exec":[""]}}],"_postman_id":"89cceca1-281e-44f8-b4d3-596b9764630e","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"}]},"isInherited":true,"source":{"_postman_id":"e5652004-5b3c-4b7d-822f-4675440aab08","id":"e5652004-5b3c-4b7d-822f-4675440aab08","name":"Paradigm Vendor API Documentation","type":"collection"}}},{"name":"Quota Details API","item":[{"name":"Quota Details API","id":"050736e1-c81e-419c-ab86-b20305ade1dc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman.","key":"Authorization","value":"<Please contact Paradigm for authorization value>","type":"text"}],"url":"https://base.url/api/gateway/survey/{surveyId}/quota","description":"<p>This API is a HTTP GET supported endpoint that will pull the quota details of the survey created in PS-DI.</p>\n<p>The details of the quota contain fields like qualificationId, qualificationOptionId, clickN and completeN for the respective sub quota.</p>\n<p>This API accepts surveyId as its parameter and it is a mandatory field. This API might be mainly used to get the quota details of a survey in PS-DI.</p>\n<p>In the provided example, ‘334’ is the surveyId of the survey which the quota details have to be retrieved.</p>\n<p>Some of the fields in the response json like qualificationId, qualificationOptionId are integer values. The master values of those fields supported in PS-DI will be exposed through <a href=\"https://developer.paradigmsample.com/#648fce5e-860e-4b40-8941-b0c08d5740a0\">Master API</a>.</p>\n<p>The parameters that this endpoint should accept are as follows:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>surveyId*</td>\n<td>Id of survey that partner needs the details (integer)</td>\n</tr>\n</tbody>\n</table>\n</div><p>.The API should return 200 status code on response and if there is an error in the request, the response should be in 4xx status code and it should contain the description for the error.</p>\n<p>For Example if the qualification and options are as follows</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Qualifications</strong></th>\n<th><strong>Options</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Gender</td>\n<td>Male</td>\n</tr>\n<tr>\n<td></td>\n<td>Female</td>\n</tr>\n<tr>\n<td>Relationship Status</td>\n<td>Single, Never Married</td>\n</tr>\n<tr>\n<td></td>\n<td>Married</td>\n</tr>\n<tr>\n<td>Education</td>\n<td>Masters Degree</td>\n</tr>\n<tr>\n<td></td>\n<td>Doctorate Degree</td>\n</tr>\n</tbody>\n</table>\n</div><p>Then If the quota allocation as follows</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Individual Quota</strong></th>\n<th></th>\n<th></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Quota</td>\n<td>QuotaClickLimit</td>\n<td>QuotaClickLimit</td>\n</tr>\n<tr>\n<td>Single, never married</td>\n<td>50</td>\n<td>20</td>\n</tr>\n<tr>\n<td><strong>LinkedQuota</strong></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>Quota</td>\n<td>QuotaClickLimit</td>\n<td>QuotaClickLimit</td>\n</tr>\n<tr>\n<td>Married, Masters Degree</td>\n<td>50</td>\n<td>10</td>\n</tr>\n<tr>\n<td><strong>Sub Quota Group</strong></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>Quota</td>\n<td>QuotaClickLimit</td>\n<td>QuotaClickLimit</td>\n</tr>\n<tr>\n<td>Male,Female</td>\n<td>150</td>\n<td>100</td>\n</tr>\n</tbody>\n</table>\n</div><p>Then the quota API respose will be</p>\n<p>{<br />\"subQuota\": [<br />{<br />\"qualificationId\": 6,<br />\"isCustomQualification\": false,<br />\"options\": [{ \"qualificationOptionId\": 34, \"qualificationOptionText\": \"\", \"clickN\": 50, \"completeN\": 20, \"remainingClicks\": 50, \"remainingCompletes\": 20, \"isPaused\": false}],<br />\"subQuotaGroup\": null,<br />\"clickReserve\": 0, \"completeReserve\": 0<br />},<br />{<br />\"qualificationId\": 2,<br />\"isCustomQualification\": false,<br />\"options\": null,<br />\"subQuotaGroup\": [{ \"groupId\": 2664, \"groupName\": \"MF\", \"clickN\": 150, \"completeN\": 50, \"remainingClicks\": 150, \"remainingCompletes\": 50,\"isPaused\": false,<br />\"subQuota\": [ { \"qualificationOptionId\": 1, \"qualificationOptionText\": \"\" },<br />{ \"qualificationOptionId\": 2, \"qualificationOptionText\": \"\" }]}],<br />\"clickReserve\": 0, \"completeReserve\": 0<br />}<br />],<br />\"linkedQuota\": {<br />\"linkedQuotaDetails\": [<br />{<br />\"clickN\": 150,<br />\"completeN\": 100,<br />\"isPaused\": false,<br />\"subQuota\": [ { \"qualificationId\": 6, \"qualificationOptionId\": 35, \"qualificationOptionText\": \"\", \"isCustomQualification\": false},<br />{ \"qualificationId\": 7, \"qualificationOptionId\": 48, \"qualificationOptionText\": \"\", \"isCustomQualification\": false} ],<br />\"remainingClicks\": 150, \"remainingCompletes\": 100<br />}<br />],<br />\"clickReserve\": 0, \"completeReserve\": 0<br />}<br />}</p>\n","urlObject":{"protocol":"https","path":["api","gateway","survey","{surveyId}","quota"],"host":["base","url"],"query":[],"variable":[]}},"response":[{"id":"8092578a-caa5-4990-9cb2-0732f1c23b3c","name":"Quota Details API success API response","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"url":"https://base.url/api/gateway/survey/334/quota"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"subQuota\": [\n        {\n            \"qualificationId\": 12,\n            \"isCustomQualification\": false,\n            \"options\": [\n                {\n                    \"qualificationOptionId\": 149,\n                    \"qualificationOptionText\": \"\",\n                    \"clickN\": 0,\n                    \"completeN\": 0,\n                    \"remainingClicks\": 0,\n                    \"remainingCompletes\": 0,\n                    \"IsPaused\": false\n                },\n                {\n                    \"qualificationOptionId\": 148,\n                    \"qualificationOptionText\": \"\",\n                    \"clickN\": 0,\n                    \"completeN\": 0,\n                    \"remainingClicks\": 0,\n                    \"remainingCompletes\": 0,\n                    \"IsPaused\": false\n                }\n            ],\n            \"subQuotaGroup\": null,\n            \"clickReserve\": 0,\n            \"completeReserve\": 10\n        },\n        {\n            \"qualificationId\": 2,\n            \"isCustomQualification\": false,\n            \"options\": null,\n            \"subQuotaGroup\": [\n                {\n                    \"groupId\": 1856,\n                    \"groupName\": \"m/f\",\n                    \"clickN\": 0,\n                    \"completeN\": 5,\n                    \"remainingClicks\": 0,\n                    \"remainingCompletes\": 5,\n                    \"IsPaused\": false,\n                    \"subQuota\": [\n                        {\n                            \"qualificationOptionId\": 3\n                        },\n                        {\n                            \"qualificationOptionId\": 4\n                        }\n                    ]\n                },\n                {\n                    \"groupId\": 1857,\n                    \"groupName\": \"Non-Binary\",\n                    \"clickN\": 0,\n                    \"completeN\": 5,\n                    \"remainingClicks\": 0,\n                    \"remainingCompletes\": 5,\n                    \"IsPaused\": false,\n                    \"subQuota\": [\n                        {\n                            \"qualificationOptionId\": 1093\n                        }\n                    ]\n                }\n            ],\n            \"clickReserve\": 0,\n            \"completeReserve\": 0\n        },\n        {\n            \"qualificationId\": 8,\n            \"isCustomQualification\": false,\n            \"options\": null,\n            \"subQuotaGroup\": [\n                {\n                    \"groupId\": 1863,\n                    \"groupName\": \"I do not have any pets\",\n                    \"clickN\": 0,\n                    \"completeN\": 1,\n                    \"remainingClicks\": 0,\n                    \"remainingCompletes\": 1,\n                    \"IsPaused\": false,\n                    \"subQuota\": [\n                        {\n                            \"qualificationOptionId\": 57\n                        }\n                    ]\n                },\n                {\n                    \"groupId\": 1862,\n                    \"groupName\": \"Horse(s)\",\n                    \"clickN\": 0,\n                    \"completeN\": 1,\n                    \"remainingClicks\": 0,\n                    \"remainingCompletes\": 1,\n                    \"IsPaused\": false,\n                    \"subQuota\": [\n                        {\n                            \"qualificationOptionId\": 56\n                        }\n                    ]\n                },\n                {\n                    \"groupId\": 1865,\n                    \"groupName\": \"Reptiles (turtles, snakes, lizards, etc.)\",\n                    \"clickN\": 0,\n                    \"completeN\": 1,\n                    \"remainingClicks\": 0,\n                    \"remainingCompletes\": 1,\n                    \"IsPaused\": false,\n                    \"subQuota\": [\n                        {\n                            \"qualificationOptionId\": 55\n                        }\n                    ]\n                },\n                {\n                    \"groupId\": 1858,\n                    \"groupName\": \"birds/cats\",\n                    \"clickN\": 0,\n                    \"completeN\": 1,\n                    \"remainingClicks\": 0,\n                    \"remainingCompletes\": 1,\n                    \"IsPaused\": false,\n                    \"subQuota\": [\n                        {\n                            \"qualificationOptionId\": 51\n                        },\n                        {\n                            \"qualificationOptionId\": 49\n                        }\n                    ]\n                },\n                {\n                    \"groupId\": 1860,\n                    \"groupName\": \"Dog(s)\",\n                    \"clickN\": 0,\n                    \"completeN\": 1,\n                    \"remainingClicks\": 0,\n                    \"remainingCompletes\": 1,\n                    \"IsPaused\": false,\n                    \"subQuota\": [\n                        {\n                            \"qualificationOptionId\": 50\n                        }\n                    ]\n                }\n            ],\n            \"clickReserve\": 0,\n            \"completeReserve\": 0\n        }\n    ],\n    \"linkedQuota\": {\n        \"linkedQuotaDetails\": [\n            {\n                \"clickN\": 20,\n                \"completeN\": 10,\n                \"remainingClicks\": 15,\n                \"remainingCompletes\": 5,\n                \"IsPaused\": false,\n                \"subQuota\": [\n                    {\n                        \"qualificationId\": 1,\n                        \"qualificationOptionId\": 11,\n                        \"qualificationOptionText\": \"\",\n                        \"isCustomQualification\": false\n                    },\n                    {\n                        \"qualificationId\": 2,\n                        \"qualificationOptionId\": 21,\n                        \"qualificationOptionText\": \"\",\n                        \"isCustomQualification\": false\n                    }\n                ]\n            }\n        ],\n        \"clickReserve \": 10,\n        \"completeReserve \": 7\n    }\n}"},{"id":"09de1fae-3f47-427d-a3ba-fbdd589dc870","name":"Quota Details API failure response","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"url":"https://base.url/api/gateway/survey/334/quota"},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"Text","header":[],"cookie":[],"responseTime":null,"body":"{\r\n   “errors”: [\r\n      “Error message 1”,\r\n      “Error message 2”,\r\n      “Error message 3”\r\n   ]\r\n}"}],"_postman_id":"050736e1-c81e-419c-ab86-b20305ade1dc"}],"id":"9f70b3fe-9573-4834-a673-bec5148c2b96","event":[{"listen":"prerequest","script":{"id":"f45a049d-f3d9-444f-bb8a-e656f69dfa7e","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"54a1c860-349e-444c-ada8-e73b157332ba","type":"text/javascript","exec":[""]}}],"_postman_id":"9f70b3fe-9573-4834-a673-bec5148c2b96","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"}]},"isInherited":true,"source":{"_postman_id":"e5652004-5b3c-4b7d-822f-4675440aab08","id":"e5652004-5b3c-4b7d-822f-4675440aab08","name":"Paradigm Vendor API Documentation","type":"collection"}}},{"name":"Publish APIs","item":[{"name":"Survey List API","id":"d237b8d8-0697-4125-92d2-606b00a4a4da","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"Authorization","value":"<Please contact Paradigm for authorization value>","type":"text"}],"url":"https://base.url/api/gateway/quota/survey-list","description":"<p>This API is a HTTP GET supported endpoint that allows vendors to fetch the minimal survey details. This api will fetch the following details.</p>\n<ul>\n<li>All active surveys.</li>\n<li>Surveys that were modified within 30 days.</li>\n</ul>\n<p>Authorization need to be passed as a header value. Vendors need to contact Paradigm for the Authorization value.</p>\n<p>Fields like client name, client cpi, total n, total completes, paradigm num, boost num are configurable. Vendors need to contact Paradigm for enabling these fields in their response json.</p>\n<p>Some of the fields in the response json like project type, language Id, status are integer values. The master values of those fields supported in DIG will be exposed through <a href=\"#648fce5e-860e-4b40-8941-b0c08d5740a0\">Master API</a>.</p>\n","urlObject":{"protocol":"https","path":["api","gateway","quota","survey-list"],"host":["base","url"],"query":[],"variable":[]}},"response":[{"id":"481e6df1-6420-450e-84d8-d6ef7e2cda56","name":"Survey List Success API call","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"<Please contact Paradigm for authorization value>","type":"text"}],"url":"https://base.url/api/gateway/quota/survey-list"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"1579"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Server","value":"Microsoft-IIS/10.0"},{"key":"Request-Context","value":"appId=cid-v1:764778b9-d33b-462e-b4e9-31634adb6fe4"},{"key":"Strict-Transport-Security","value":"max-age=2592000"},{"key":"X-Powered-By","value":"ASP.NET"},{"key":"Set-Cookie","value":"ARRAffinity=477c467e1f57b76334baec514c54a5d56c1d47860edfaad95570e11303ae0a7a;Path=/;HttpOnly;Secure;Domain=dig-api-staging.paradigmsample.com"},{"key":"Set-Cookie","value":"ARRAffinitySameSite=477c467e1f57b76334baec514c54a5d56c1d47860edfaad95570e11303ae0a7a;Path=/;HttpOnly;SameSite=None;Secure;Domain=dig-api-staging.paradigmsample.com"},{"key":"Date","value":"Wed, 12 May 2021 07:16:55 GMT"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"project Name\": \"Sample Project\",\n        \"campaign Id\": 13456,\n        \"status\": 3,\n        \"study Type\": 1,\n        \"project Type Id\": 1,\n        \"language Id\": 1,\n        \"country\": \"US\",\n        \"loi\": 10,\n        \"ir\": 50,\n        \"field Days\": 7,\n        \"cpi\": 8,\n        \"required N\": 100,\n        \"client CPI\": 10.03,\n        \"client Name\": \"Visioneer Research\",\n        \"total N\": 0,\n        \"completes Remaining\": 100,\n        \"total Completes\": 0,\n        \"total Completes 24hr\": 0,\n        \"first Complete\": null,\n        \"last Complete\": null,\n        \"live Conversion\": null,\n        \"live LOI\": null,\n        \"paradigm Num\": \"111\",\n        \"boost Num\": 0\n    },\n    {\n        \"project Name\": \"Test Project\",\n        \"campaign Id\": 456783,\n        \"status\": 3,\n        \"study Type\": 2,\n        \"project Type Id\": 4,\n        \"language Id\": 1,\n        \"country\": \"US\",\n        \"loi\": 6,\n        \"ir\": 100,\n        \"field Days\": 20,\n        \"cpi\": 2,\n        \"required N\": 100,\n        \"client CPI\": 3,\n        \"client Name\": \"Opinion Dynamics\",\n        \"total N\": 0,\n        \"completes Remaining\": 100,\n        \"total Completes\": 0,\n        \"total Completes 24hr\": 0,\n        \"first Complete\": null,\n        \"last Complete\": null,\n        \"live Conversion\": null,\n        \"live LOI\": null,\n        \"paradigm Num\": \"222\",\n        \"boost Num\": 0\n    }\n    \n]"},{"id":"248fadf1-8d62-4a94-b63c-031e2c302e84","name":"Survey List Failure API call","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"","type":"text"}],"url":"https://base.url/api/gateway/quota/survey-list"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"162"},{"key":"Content-Type","value":"application/problem+json; charset=utf-8"},{"key":"Server","value":"Microsoft-IIS/10.0"},{"key":"Request-Context","value":"appId=cid-v1:764778b9-d33b-462e-b4e9-31634adb6fe4"},{"key":"Strict-Transport-Security","value":"max-age=2592000"},{"key":"X-Powered-By","value":"ASP.NET"},{"key":"Date","value":"Wed, 12 May 2021 07:19:43 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"type\": \"https://tools.ietf.org/html/rfc7235#section-3.1\",\n    \"title\": \"Unauthorized\",\n    \"status\": 401,\n    \"traceId\": \"00-94b9514ba5f4cb4097f22d68aef5b850-165e8d082660a64b-00\"\n}"}],"_postman_id":"d237b8d8-0697-4125-92d2-606b00a4a4da"},{"name":"Survey Detail API","id":"81a0e116-3cb6-446c-85e6-a2f81123ab52","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"Authorization","value":"<Please contact Paradigm for authorization value>","type":"text"}],"url":"https://base.url/api/gateway/quota/survey-details?surveyId=12345","description":"<p>This API is a HTTP GET supported endpoint that will pull the details of an already created survey in DIG. </p>\n<p>The details of the survey contains fields like project name, LOI, IR, qualifications and all the other details that were provided upon survey creation.</p>\n<p>This API accepts surveyId as its param and it is a mandatory field. This API might be mainly used to get the details of a survey in DIG.</p>\n<p>In the provided example, ‘12345’ is the surveyId of the survey which the details has to be retrieved.</p>\n<p>Authorization need to be passed as a header value. Vendors need to contact Paradigm for the Authorization value.</p>\n<p>Fields like client name, client cpi, total n, total completes, paradigm num, boost num are configurable. Vendors need to contact Paradigm for enabling these fields in their response json.</p>\n<p>Some of the fields in the response json like project type, language Id, status are integer values. The master values of those fields supported in DIG will be exposed through <a href=\"#648fce5e-860e-4b40-8941-b0c08d5740a0\">Master API</a>.</p>\n","urlObject":{"protocol":"https","path":["api","gateway","quota","survey-details"],"host":["base","url"],"query":[{"key":"surveyId","value":"12345"}],"variable":[]}},"response":[{"id":"897ec9cd-0869-4799-9e7a-248a885c4d0a","name":"Survey Detail  Success API call","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"<Please contact Paradigm for authorization value>","type":"text"}],"url":{"raw":"https://base.url/api/gateway/quota/survey-details?surveyId=12345","protocol":"https","host":["base","url"],"path":["api","gateway","quota","survey-details"],"query":[{"key":"surveyId","value":"12345"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"558"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Server","value":"Microsoft-IIS/10.0"},{"key":"Request-Context","value":"appId=cid-v1:764778b9-d33b-462e-b4e9-31634adb6fe4"},{"key":"Strict-Transport-Security","value":"max-age=2592000"},{"key":"X-Powered-By","value":"ASP.NET"},{"key":"Date","value":"Wed, 12 May 2021 07:49:59 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"project Name\": \"Sample Project\",\n    \"campaign Id\": 12345,\n    \"status\": 3,\n    \"live URL\": \"http://example.com?digid=[Sesskey]&UL=[UniqueLinks]\",\n    \"device Types\": [\n        1,\n        2,\n        3\n    ],\n    \"study Type\": 1,\n    \"project Type Id\": 1,\n    \"language Id\": 1,\n    \"country\": \"US\",\n    \"loi\": 10,\n    \"ir\": 50,\n    \"field Days\": 7,\n    \"cpi\": 8,\n    \"qualifications\": {\n        \"442\": [\n            \"31\",\n            \"24\",\n            \"76676\"\n        ]\n    },\n    \"required N\": 100,\n    \"de Dupe Tags\": null,\n    \"client CPI\": 10.03,\n    \"client Name\": \"Visioneer Research\",\n    \"total N\": 0,\n    \"completes Remaining\": 100,\n    \"total Completes\": 0,\n    \"total Completes 24hr\": 0,\n    \"first Complete\": null,\n    \"last Complete\": null,\n    \"live Conversion\": null,\n    \"live LOI\": null,\n    \"paradigm Num\": \"1001\",\n    \"boost Num\": 0,\n    \"groupID\": 4567\n}"},{"id":"715db3cc-48e3-413a-944c-962c5856e7e8","name":"Survey Detail  Failure API call","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"<Please contact Paradigm for authorization value>","type":"text"}],"url":{"raw":"https://base.url/api/gateway/quota/survey-details?surveyId=12345","protocol":"https","host":["base","url"],"path":["api","gateway","quota","survey-details"],"query":[{"key":"surveyId","value":"12345"}]}},"status":"Unprocessable Entity (WebDAV) (RFC 4918)","code":422,"_postman_previewlanguage":"plain","header":[{"key":"Server","value":"Microsoft-IIS/10.0"},{"key":"Request-Context","value":"appId=cid-v1:764778b9-d33b-462e-b4e9-31634adb6fe4"},{"key":"Strict-Transport-Security","value":"max-age=2592000"},{"key":"X-Powered-By","value":"ASP.NET"},{"key":"Date","value":"Wed, 12 May 2021 07:51:15 GMT"},{"key":"Content-Length","value":"0"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"81a0e116-3cb6-446c-85e6-a2f81123ab52"},{"name":"Master API","id":"648fce5e-860e-4b40-8941-b0c08d5740a0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"Authorization","value":"<Please contact Paradigm for authorization value>","type":"text"}],"url":"https://base.url/api/gateway/quota/dig_maters?countryISOCode=US","description":"<p>This API is a HTTP GET supported endpoint that will pull the master details in DIG. </p>\n<p>The response contains fields like device type, status, study type, language, project type ,questions and its corresponding options.</p>\n<p>This API accepts the countryISOCode as its param. </p>\n<p>In the provided example, 'US’ is the countryISOCode, the questions and options mapped to the country 'US' will be listed in the node name 'question' of the API response.</p>\n<p>Authorization need to be passed as a header value. Vendors need to contact Paradigm for the Authorization value.</p>\n","urlObject":{"protocol":"https","path":["api","gateway","quota","dig_maters"],"host":["base","url"],"query":[{"key":"countryISOCode","value":"US"}],"variable":[]}},"response":[{"id":"67d4a45a-c5b7-4cf0-a998-e877a144b2bf","name":"Master Success API call","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"<Please contact Paradigm for authorization value>","type":"text"}],"url":{"raw":"https://base.url/api/gateway/quota/dig_maters?countryISOCode=US","protocol":"https","host":["base","url"],"path":["api","gateway","quota","dig_maters"],"query":[{"key":"countryISOCode","value":"US"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Encoding","value":"gzip"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Server","value":"Microsoft-IIS/10.0"},{"key":"Request-Context","value":"appId=cid-v1:764778b9-d33b-462e-b4e9-31634adb6fe4"},{"key":"Strict-Transport-Security","value":"max-age=2592000"},{"key":"X-Powered-By","value":"ASP.NET"},{"key":"Date","value":"Wed, 12 May 2021 07:56:43 GMT"}],"cookie":[],"responseTime":null,"body":"{\n\t\"deviceTypes\": [{\n\t\t\t\"id\": 1,\n\t\t\t\"name\": \"deviceType1\"\n\t\t},\n\t\t{\n\t\t\t\"id\": 2,\n\t\t\t\"name\": \"deviceType2\"\n\t\t}\n\t],\n\t\"apiStatus\": [{\n\t\t\t\"id\": 1,\n\t\t\t\"name\": \"apiStatus1\"\n\t\t},\n\t\t{\n\t\t\t\"id\": 2,\n\t\t\t\"name\": \"apiStatus2\"\n\t\t}\n\t],\n\t\"studyType\": [{\n\t\t\t\"id\": 1,\n\t\t\t\"name\": \"studyType1\"\n\t\t},\n\t\t{\n\t\t\t\"id\": 2,\n\t\t\t\"name\": \"studyType2\"\n\t\t}\n\t],\n\t\"languages\": [{\n\t\t\t\"id\": 1,\n\t\t\t\"name\": \"language1\"\n\t\t},\n\t\t{\n\t\t\t\"id\": 2,\n\t\t\t\"name\": \"language2\"\n\t\t}\n\t],\n\t\"projectType\": [{\n\t\t\t\"id\": 1,\n\t\t\t\"name\": \"projectType1\"\n\t\t},\n\t\t{\n\t\t\t\"id\": 2,\n\t\t\t\"name\": \"projectType2\"\n\t\t}\n\t],\n\t\"question\": [{\n\t\t\t\"qualId\": 1,\n\t\t\t\"qualDescription\": \"question1\",\n\t\t\t\"qualType\": \"Open Text\",\n\t\t\t\"options\": [{\n\t\t\t\t\"optionId\": 0,\n\t\t\t\t\"optionDescription\": \"NULL\"\n\t\t\t}]\n\t\t},\n\t\t{\n\t\t\t\"qualId\": 2,\n\t\t\t\"qualDescription\": \"question2\",\n\t\t\t\"qualType\": \"Single Select\",\n\t\t\t\"options\": [{\n\t\t\t\t\t\"optionId\": 1,\n\t\t\t\t\t\"optionDescription\": \"option1\"\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"optionId\": 1,\n\t\t\t\t\t\"optionDescription\": \"option2\"\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"optionId\": 2,\n\t\t\t\t\t\"optionDescription\": \"option3\"\n\t\t\t\t}\n\t\t\t]\n\t\t}\n\n\t]\n}"},{"id":"5535e818-e13b-47e6-90a1-942382dfa158","name":"Master Failure API call","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"","type":"text"}],"url":{"raw":"https://base.url/api/gateway/quota/dig_maters?countryISOCode=US","protocol":"https","host":["base","url"],"path":["api","gateway","quota","dig_maters"],"query":[{"key":"countryISOCode","value":"US"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"162"},{"key":"Content-Type","value":"application/problem+json; charset=utf-8"},{"key":"Server","value":"Microsoft-IIS/10.0"},{"key":"Request-Context","value":"appId=cid-v1:764778b9-d33b-462e-b4e9-31634adb6fe4"},{"key":"Strict-Transport-Security","value":"max-age=2592000"},{"key":"X-Powered-By","value":"ASP.NET"},{"key":"Date","value":"Wed, 12 May 2021 07:57:55 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"type\": \"https://tools.ietf.org/html/rfc7235#section-3.1\",\n    \"title\": \"Unauthorized\",\n    \"status\": 401,\n    \"traceId\": \"00-7329a57e509e6d4e834a301efff38c6d-5158381df3185145-00\"\n}"}],"_postman_id":"648fce5e-860e-4b40-8941-b0c08d5740a0"}],"id":"f0fa8039-286f-4abb-a03d-aec1a0995fc6","description":"<p>Publish API's will be listed down here. These API provides live stats and information for all projects launched by DIG.</p>\n","_postman_id":"f0fa8039-286f-4abb-a03d-aec1a0995fc6","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"}]},"isInherited":true,"source":{"_postman_id":"e5652004-5b3c-4b7d-822f-4675440aab08","id":"e5652004-5b3c-4b7d-822f-4675440aab08","name":"Paradigm Vendor API Documentation","type":"collection"}}},{"name":"Reference Libraries","item":[],"id":"597c8c10-00a9-4f64-9de7-bcfbc08f7903","description":"<p>This section contains the API reference libraries for Survey and Respondent statuses transmitted through the Paradigm Gateway API.</p>\n<p><strong>Qualifications</strong></p>\n<p>For respondent Qualifications to be mapped for our surveys, please refer to the linked <a href=\"https://corporate.paradigmsample.com/wp-content/uploads/2020/07/Paradigm-Digital-Insights-Gateway-Standard-Qualifications.xlsx\">Paradigm Vendor API Standard Qualifications</a> sheet. We will be regularly updating the countries and targeting points that we service via API, through this link. The current countries supported include US, UK, FR, DE, IT, ES, CA, AU, CN, and BR, with many more coming soon!</p>\n<p><strong>Project Statuses</strong></p>\n<p>The project statuses that are supported by the APIGateway system with their corresponding descriptions are listed below.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Status Code</th>\n<th>Status Name</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>2</td>\n<td>Paused</td>\n<td>The Survey is paused. While in the \"Paused\" status, the vendor system will not be sending Respondents to the Survey. A Survey can be transitioned from \"Active\" to \"Paused\" via API. A paused survey can be changed to the \"Active\" or \"Closed\" status via the API.</td>\n</tr>\n<tr>\n<td>3</td>\n<td>Active</td>\n<td>The Survey has become active and the vendor system will try to send Respondents to fill any open quotas.</td>\n</tr>\n<tr>\n<td>4</td>\n<td>Closed</td>\n<td>This status represents the final close, i.e. closed for invoicing. There are no allowed status transitions from the \"Closed\" status. Reconciliation should be allowed only after the transition to this status.</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Note:</strong> The Draft status(Status Code 1) is obsolete and hence removed from the above list. The initial survey status should be \"Active\".</p>\n<p><strong>Respondent transition Statuses</strong></p>\n<p>The respondent transition statuses that are supported by the API Gateway system and their corresponding descriptions are listed below.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Status Code</th>\n<th>Status Name</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>Complete</td>\n<td>Survey complete</td>\n</tr>\n<tr>\n<td>2</td>\n<td>Terminate</td>\n<td>Terminated from survey</td>\n</tr>\n<tr>\n<td>3</td>\n<td>Overquota</td>\n<td>Terminated due to survey quota</td>\n</tr>\n<tr>\n<td>4</td>\n<td>Security Terminate</td>\n<td>Terminated due to security reasons.</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Respondent reconciliation Statuses</strong></p>\n<p>The respondent reconciliation statuses that are supported by the API Gateway system and their corresponding descriptions are listed below.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Status Code</th>\n<th>Status Name</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>Complete</td>\n<td>Survey complete</td>\n</tr>\n<tr>\n<td>2</td>\n<td>Terminate</td>\n<td>Terminated from survey</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Study Types</strong></p>\n<p>The Study Types that are supported by the API Gateway system are listed below.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Id</th>\n<th>Study Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>B2B</td>\n</tr>\n<tr>\n<td>2</td>\n<td>Consumer</td>\n</tr>\n<tr>\n<td>3</td>\n<td>Healthcare Professionals</td>\n</tr>\n<tr>\n<td>4</td>\n<td>Ailments</td>\n</tr>\n<tr>\n<td>5</td>\n<td>Consumer and B2B</td>\n</tr>\n<tr>\n<td>6</td>\n<td>Moms</td>\n</tr>\n<tr>\n<td>7</td>\n<td>Client Provided List</td>\n</tr>\n<tr>\n<td>8</td>\n<td>Others</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Project Types</strong></p>\n<p>The Project Types that are supported by the API Gateway system are listed below.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Id</th>\n<th>Project Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>Qualitative Recruit</td>\n</tr>\n<tr>\n<td>2</td>\n<td>Adhoc</td>\n</tr>\n<tr>\n<td>3</td>\n<td>Tracker - Daily</td>\n</tr>\n<tr>\n<td>4</td>\n<td>Recontact</td>\n</tr>\n<tr>\n<td>5</td>\n<td>Qre creation/review</td>\n</tr>\n<tr>\n<td>6</td>\n<td>Translations</td>\n</tr>\n<tr>\n<td>7</td>\n<td>Open end coding</td>\n</tr>\n<tr>\n<td>8</td>\n<td>Report Shell Creation</td>\n</tr>\n<tr>\n<td>9</td>\n<td>Report Population/proofing</td>\n</tr>\n<tr>\n<td>10</td>\n<td>Data deliverables</td>\n</tr>\n<tr>\n<td>11</td>\n<td>Max diff/Conjoint Deliverables</td>\n</tr>\n<tr>\n<td>12</td>\n<td>Tracker - Weekly</td>\n</tr>\n<tr>\n<td>13</td>\n<td>Tracker - Monthly</td>\n</tr>\n<tr>\n<td>14</td>\n<td>Tracker - Quarterly</td>\n</tr>\n<tr>\n<td>15</td>\n<td>Tracker - Yearly</td>\n</tr>\n<tr>\n<td>16</td>\n<td>Others</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Device Types</strong></p>\n<p>The Device Types that are supported by the API Gateway system are listed below.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Id</th>\n<th>Device Type</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>Mobile</td>\n</tr>\n<tr>\n<td>2</td>\n<td>Web</td>\n</tr>\n<tr>\n<td>3</td>\n<td>Tab</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Languages</strong></p>\n<p>The languages that are supported by the API Gateway system are listed below.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Id</th>\n<th>Language</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>English</td>\n</tr>\n<tr>\n<td>2</td>\n<td>French</td>\n</tr>\n<tr>\n<td>3</td>\n<td>Italian</td>\n</tr>\n<tr>\n<td>4</td>\n<td>Spanish</td>\n</tr>\n<tr>\n<td>5</td>\n<td>German</td>\n</tr>\n<tr>\n<td>6</td>\n<td>Simplified Chinese</td>\n</tr>\n<tr>\n<td>7</td>\n<td>Portuguese</td>\n</tr>\n</tbody>\n</table>\n</div>","event":[{"listen":"prerequest","script":{"id":"48304aee-6d21-42ae-afaa-ee33ec35ecd1","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"27ef785f-5414-46f0-9918-9e3bcf2d5368","type":"text/javascript","exec":[""]}}],"_postman_id":"597c8c10-00a9-4f64-9de7-bcfbc08f7903","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"}]},"isInherited":true,"source":{"_postman_id":"e5652004-5b3c-4b7d-822f-4675440aab08","id":"e5652004-5b3c-4b7d-822f-4675440aab08","name":"Paradigm Vendor API Documentation","type":"collection"}}},{"name":"Additional feature APIs","item":[{"name":"Get Respondent Status API","id":"463761fa-9474-4c10-b019-4c10e7db5af3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://base.url/respondent/{projectId}/{sesskey}","description":"<p>This is an optional endpoint. This should be an HTTP GET protocol API which expects project id and sesskey in the URL route.</p>\n<p>Mandatory parameters that are required in a this endpoint are given below.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>ProjectId</td>\n<td>Project Id of 'Integer' data type</td>\n</tr>\n<tr>\n<td>Sesskey</td>\n<td>The unique Id of the respondent of 'String’ datatype</td>\n</tr>\n</tbody>\n</table>\n</div><p>The API should return 200 status code on response with current status of the respondent and if the sesskey is invalid, the response should be in 404 status code</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"}]},"isInherited":true,"source":{"_postman_id":"e5652004-5b3c-4b7d-822f-4675440aab08","id":"e5652004-5b3c-4b7d-822f-4675440aab08","name":"Paradigm Vendor API Documentation","type":"collection"}},"urlObject":{"protocol":"https","path":["respondent","{projectId}","{sesskey}"],"host":["base","url"],"query":[],"variable":[]}},"response":[{"id":"6abca3ec-55f5-4ae3-8a61-d32c27a9f27d","name":"Get Respondent Status API failure response","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text","disabled":true}],"url":"http://base.url/respondent/12345/key2"},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[],"cookie":[],"responseTime":null,"body":""},{"id":"e4037105-2c66-4206-ae66-7cba70277a1f","name":"Get Respondent Status API success response","originalRequest":{"method":"GET","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text","disabled":true}],"url":"http://base.url/respondent/12345/key1"},"status":"Success","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"projectId\": 12345,\n    \"sesskey\": \"key1\",\n    \"status\": \"Complete\",\n    \"statusId\": 1\n}"}],"_postman_id":"463761fa-9474-4c10-b019-4c10e7db5af3"}],"id":"8f953b9d-fba2-411c-bbdc-1fbd4ce943bb","description":"<p>These are optional endpoints, which would help with respondent tracking, download survey reports etc</p>\n","event":[{"listen":"prerequest","script":{"id":"a8fc3e99-20a0-4e2d-b80b-4590bde7b08d","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"6cb9ae97-45d1-44da-8295-4428319f8330","type":"text/javascript","exec":[""]}}],"_postman_id":"8f953b9d-fba2-411c-bbdc-1fbd4ce943bb","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"}]},"isInherited":true,"source":{"_postman_id":"e5652004-5b3c-4b7d-822f-4675440aab08","id":"e5652004-5b3c-4b7d-822f-4675440aab08","name":"Paradigm Vendor API Documentation","type":"collection"}}},{"name":"Changelog","item":[],"id":"8fac12a6-533d-465b-8435-5fafa2ce1265","description":"<p><strong>April 28,2026</strong></p>\n<p>Added qualification parameter support to Entry URL<br /><a href=\"https://developer.paradigmsample.com/view/7214981/TVCmRQes#c3eb4334-adef-4685-bb01-3b1780d84a62\">Create Project</a></p>\n<p><strong>August 26, 2021</strong></p>\n<p>Age qualification's example value has updated in the</p>\n<p><a href=\"https://developer.paradigmsample.com/view/7214981/TVCmRQes#849240eb-6ecd-4018-a77d-a200772c7d4f\">Feasibility API</a></p>\n<p><a href=\"https://developer.paradigmsample.com/view/7214981/TVCmRQes#c3eb4334-adef-4685-bb01-3b1780d84a62\">, Create Project API</a></p>\n<p>and</p>\n<p><a href=\"https://developer.paradigmsample.com/view/7214981/TVCmRQes#072b8ad4-4671-447c-b414-af34dfa9f034\">Update Project API</a></p>\n<p>\"Example Request\".</p>\n<p><strong>August 8, 2021</strong></p>\n<p>Updated the qualification node value from integer array to string array in</p>\n<p><a href=\"https://developer.paradigmsample.com/view/7214981/TVCmRQes#849240eb-6ecd-4018-a77d-a200772c7d4f\">Feasibility API</a></p>\n<p><a href=\"https://developer.paradigmsample.com/view/7214981/TVCmRQes#c3eb4334-adef-4685-bb01-3b1780d84a62\">, Create Project API</a></p>\n<p>and</p>\n<p><a href=\"https://developer.paradigmsample.com/view/7214981/TVCmRQes#072b8ad4-4671-447c-b414-af34dfa9f034\">Update Project API</a></p>\n<p>Added two new optional fields Client Name and Client CPI in</p>\n<p><a href=\"https://developer.paradigmsample.com/view/7214981/TVCmRQes#c3eb4334-adef-4685-bb01-3b1780d84a62\">Create Project API</a></p>\n<p>and</p>\n<p><a href=\"https://developer.paradigmsample.com/view/7214981/TVCmRQes#072b8ad4-4671-447c-b414-af34dfa9f034\">Update Project API</a></p>\n<p><strong>August 4, 2021</strong></p>\n<p>Added new fields in</p>\n<p><a href=\"https://developer.paradigmsample.com/view/7214981/TVCmRQes#597c8c10-00a9-4f64-9de7-bcfbc08f7903\">Study Types</a></p>\n<p>(5 new fields) and</p>\n<p><a href=\"https://developer.paradigmsample.com/view/7214981/TVCmRQes#597c8c10-00a9-4f64-9de7-bcfbc08f7903\">Project types</a></p>\n<p>(12 new fields).</p>\n<p><strong>June 29, 2021</strong></p>\n<p>Added</p>\n<p><a href=\"https://developer.paradigmsample.com/view/7214981/TVCmRQes#9418295a-7bcf-4c05-a6b4-7e949419b8bb\">Info Endpoint</a></p>\n<p>to ensure Audience API is reachable.</p>\n<p><strong>June 17, 2021</strong></p>\n<p>Added</p>\n<p><a href=\"https://developer.paradigmsample.com/view/7214981/TVCmRQes#7b55fce2-085a-4b55-af0e-c5442530a0de\">EOT parameter</a></p>\n<p>in vendor redirection link.This parameter will be sent as true if an S2S call fails.</p>\n<p><strong>June 1, 2021</strong></p>\n<p>Added Recontact</p>\n<p><a href=\"https://developer.paradigmsample.com/view/7214981/TVCmRQes#597c8c10-00a9-4f64-9de7-bcfbc08f7903\">Project type</a></p>\n<p>. This type provides the ability to include respondents based on participation in previous study. Respondents IDs should be added to the \"Inclusion Identifiers\" node during</p>\n<p><a href=\"https://developer.paradigmsample.com/view/7214981/TVCmRQes#2b2609d8-b1e2-4f31-836e-6277a6ed3139\">Project creation / update</a></p>\n<p>.</p>\n","_postman_id":"8fac12a6-533d-465b-8435-5fafa2ce1265","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"}]},"isInherited":true,"source":{"_postman_id":"e5652004-5b3c-4b7d-822f-4675440aab08","id":"e5652004-5b3c-4b7d-822f-4675440aab08","name":"Paradigm Vendor API Documentation","type":"collection"}}}],"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"}]}},"event":[{"listen":"prerequest","script":{"id":"8ba44860-60bc-45ba-8dda-3314c7bfe9bc","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"618921ff-1ca1-47e7-9c13-6c23a994c8a3","type":"text/javascript","exec":[""]}}]}