{
  "info": {
    "_postman_id": "999d1750-998d-49ff-a030-ca41f4660246",
    "name": "Lucid Marketplace API",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "_exporter_id": "15002045"
  },
  "item": [
    {
      "name": "Lookup - Definitions",
      "item": [
        {
          "name": "List Global Definitions",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "{{key}}"
              }
            ],
            "url": {
              "raw": "{{url}}/Lookup/v1/BasicLookups/BundledLookups/CountryLanguages,Industries,SampleTypes,StudyTypes,SupplierLinkTypes,SurveyStatuses",
              "host": [
                "{{url}}"
              ],
              "path": [
                "Lookup",
                "v1",
                "BasicLookups",
                "BundledLookups",
                "CountryLanguages,Industries,SampleTypes,StudyTypes,SupplierLinkTypes,SurveyStatuses"
              ]
            },
            "description": "Returns a list of available global system definitions. Arguments can be passed individually or in aggregate, with arguments separated by a comma. One argument must be provided at minimum."
          },
          "response": []
        },
        {
          "name": "List Suppliers",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "{{key}}"
              }
            ],
            "url": {
              "raw": "{{url}}/Core/v1/Suppliers/AllWithAccount",
              "host": [
                "{{url}}"
              ],
              "path": [
                "Core",
                "v1",
                "Suppliers",
                "AllWithAccount"
              ]
            },
            "description": "Returns a list of all available suppliers."
          },
          "response": []
        },
        {
          "name": "List Business Units",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "{{key}}"
              }
            ],
            "url": {
              "raw": "{{url}}/Core/v1/BusinessUnits/All",
              "host": [
                "{{url}}"
              ],
              "path": [
                "Core",
                "v1",
                "BusinessUnits",
                "All"
              ]
            },
            "description": "Returns a list of all Business Units."
          },
          "response": []
        }
      ]
    },
    {
      "name": "Lookup - Question Library",
      "item": [
        {
          "name": "List Standard Questions",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "{{key}}"
              }
            ],
            "url": {
              "raw": "{{url}}/Lookup/v1/QuestionLibrary/AllQuestions/{{CountryLanguageID}}",
              "host": [
                "{{url}}"
              ],
              "path": [
                "Lookup",
                "v1",
                "QuestionLibrary",
                "AllQuestions",
                "{{CountryLanguageID}}"
              ]
            },
            "description": "Returns a list of all Standard Questions and question texts for the specified country-language pair."
          },
          "response": []
        },
        {
          "name": "List Custom Questions",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "{{key}}"
              }
            ],
            "url": {
              "raw": "{{url}}/Lookup/v1/QuestionLibrary/AllCustomQuestionsByAccount/{{CountryLanguageID}}",
              "host": [
                "{{url}}"
              ],
              "path": [
                "Lookup",
                "v1",
                "QuestionLibrary",
                "AllCustomQuestionsByAccount",
                "{{CountryLanguageID}}"
              ]
            },
            "description": "Returns a list of custom questions associated with and created by your account for the specified country-language pair."
          },
          "response": []
        },
        {
          "name": "Show Question Text",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "{{key}}"
              }
            ],
            "url": {
              "raw": "{{url}}/Lookup/v1/QuestionLibrary/QuestionById/{{CountryLanguageID}}/{{QuestionID}}",
              "host": [
                "{{url}}"
              ],
              "path": [
                "Lookup",
                "v1",
                "QuestionLibrary",
                "QuestionById",
                "{{CountryLanguageID}}",
                "{{QuestionID}}"
              ]
            },
            "description": "Returns the details of a specific Standard or Custom Qualification."
          },
          "response": []
        },
        {
          "name": "Show Question Options",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "{{key}}"
              }
            ],
            "url": {
              "raw": "{{url}}/Lookup/v1/QuestionLibrary/AllQuestionOptions/{{CountryLanguageID}}/{{QuestionID}}",
              "host": [
                "{{url}}"
              ],
              "path": [
                "Lookup",
                "v1",
                "QuestionLibrary",
                "AllQuestionOptions",
                "{{CountryLanguageID}}",
                "{{QuestionID}}"
              ]
            },
            "description": "Returns the answer options and associated precodes for a specific QuestionID and Country-Language pair."
          },
          "response": []
        }
      ]
    },
    {
      "name": "Supply - Feed",
      "item": [
        {
          "name": "Opportunities",
          "item": [
            {
              "name": "Post Opportunities Subscription",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "type": "text",
                    "value": "application/json"
                  },
                  {
                    "key": "Authorization",
                    "type": "text",
                    "value": "{{key}}"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n\t\"callback\" : \"http://example.com\",\n    \"include_quotas\": true,\n\t \"opportunities\": [{\n\t\t\"country_language\" : {\"in\": [\"eng_us\"]},\n    \t\"cpi\": { \"gte\" : 1 }\n\t }]\n}"
                },
                "url": {
                  "raw": "{{url}}/supply/opportunities/v1/subscriptions/{{SupplierCode}}",
                  "host": [
                    "{{url}}"
                  ],
                  "path": [
                    "supply",
                    "opportunities",
                    "v1",
                    "subscriptions",
                    "{{SupplierCode}}"
                  ]
                }
              },
              "response": [
                {
                  "name": "Create a Subscription: all Body Arguments",
                  "originalRequest": {
                    "method": "POST",
                    "header": [
                      {
                        "key": "Content-Type",
                        "value": "application/json",
                        "type": "text"
                      },
                      {
                        "key": "Authorization",
                        "value": "{{key}}",
                        "type": "text"
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": "{\n\t\"callback\" : {{callback}},\n\t \"opportunities\": [{\n\t\t\"bid_incidence\": { \"gte\" : 10 },\n\t\t\"bid_length_of_interview\": { \"lte\" : 20 },\n\t\t\"collects_pii\": { \"eq\" : false },\n\t\t\"country_language\" : {\"in\": [\"eng_gb\", \"eng_us\", \"fre_fr\"]},\n\t\t\"cpi\": { \"gte\" : 1 },\n    \t\"industry\": {\"nin\": [\"Education\", \"Pets\"]},\n    \t\"is_only_supplier_in_group\": { \"eq\" : false },\n    \t\"study_type\": {\"in\": [\"Adhoc\", \"Recontact\"]},\n    \t\"survey_group_ids\": { \"nin\" : [10002] },\n    \t\"survey_name\": { \"eq\" : \"Fun Survey!\" }\n\t }]\n}"
                    },
                    "url": {
                      "raw": "{{url}}/supply/opportunities/v1/subscriptions/{{SupplierCode}}",
                      "host": [
                        "{{url}}"
                      ],
                      "path": [
                        "supply",
                        "opportunities",
                        "v1",
                        "subscriptions",
                        "{{SupplierCode}}"
                      ]
                    }
                  },
                  "status": "OK",
                  "code": 200,
                  "_postman_previewlanguage": "json",
                  "header": [
                    {
                      "key": "Access-Control-Allow-Origin",
                      "value": "*"
                    },
                    {
                      "key": "Content-Type",
                      "value": "application/json; charset=utf-8"
                    },
                    {
                      "key": "Date",
                      "value": "Tue, 30 Apr 2019 19:08:02 GMT"
                    },
                    {
                      "key": "Server",
                      "value": "nginx/1.14.1"
                    },
                    {
                      "key": "Via",
                      "value": "kong/0.11.2"
                    },
                    {
                      "key": "X-Kong-Proxy-Latency",
                      "value": "64"
                    },
                    {
                      "key": "X-Kong-Upstream-Latency",
                      "value": "33"
                    },
                    {
                      "key": "Content-Length",
                      "value": "5"
                    },
                    {
                      "key": "Connection",
                      "value": "keep-alive"
                    }
                  ],
                  "cookie": [],
                  "body": "\"OK\""
                }
              ]
            },
            {
              "name": "Delete Opportunities Subscription",
              "request": {
                "method": "DELETE",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Authorization",
                    "value": "{{key}}",
                    "type": "text"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": ""
                },
                "url": {
                  "raw": "{{url}}/supply/opportunities/v1/subscriptions/{{SupplierCode}}",
                  "host": [
                    "{{url}}"
                  ],
                  "path": [
                    "supply",
                    "opportunities",
                    "v1",
                    "subscriptions",
                    "{{SupplierCode}}"
                  ]
                }
              },
              "response": []
            },
            {
              "name": "Get Opportunities Subscription",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Authorization",
                    "value": "{{key}}",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{url}}/supply/opportunities/v1/subscriptions/{{SupplierCode}}",
                  "host": [
                    "{{url}}"
                  ],
                  "path": [
                    "supply",
                    "opportunities",
                    "v1",
                    "subscriptions",
                    "{{SupplierCode}}"
                  ]
                }
              },
              "response": []
            }
          ]
        },
        {
          "name": "Respondent Outcomes v2",
          "item": [
            {
              "name": "Create Outcomes Subscription (v2)",
              "request": {
                "auth": {
                  "type": "noauth"
                },
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "default"
                  },
                  {
                    "key": "Authorization",
                    "value": "{{key}}",
                    "type": "default"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n  \"callback\" : \"https://www.supplier-delivery-endpoint.com/api/outcomes\",\n   \"outcomes\": [{\n    \"marketplace_status\" : {\"eq\": 3},\n      \"client_status\": { \"eq\" : 10 }\n   }]\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{url}}/supply/respondent-outcomes/v2/subscriptions/{{supplier_code}}",
                  "host": [
                    "{{url}}"
                  ],
                  "path": [
                    "supply",
                    "respondent-outcomes",
                    "v2",
                    "subscriptions",
                    "{{supplier_code}}"
                  ]
                }
              },
              "response": []
            },
            {
              "name": "Delete Outcomes Subscription (v2)",
              "request": {
                "auth": {
                  "type": "noauth"
                },
                "method": "DELETE",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "default"
                  },
                  {
                    "key": "Authorization",
                    "value": "{{key}}",
                    "type": "default"
                  }
                ],
                "url": {
                  "raw": "{{url}}/supply/respondent-outcomes/v2/subscriptions/{{supplier_code}}",
                  "host": [
                    "{{url}}"
                  ],
                  "path": [
                    "supply",
                    "respondent-outcomes",
                    "v2",
                    "subscriptions",
                    "{{supplier_code}}"
                  ]
                }
              },
              "response": []
            },
            {
              "name": "Get Outcomes Subscription (v2)",
              "request": {
                "auth": {
                  "type": "noauth"
                },
                "method": "GET",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "default"
                  },
                  {
                    "key": "Authorization",
                    "value": "{{key}}",
                    "type": "default"
                  }
                ],
                "url": {
                  "raw": "{{url}}/supply/respondent-outcomes/v2/subscriptions/{{supplier_code}}",
                  "host": [
                    "{{url}}"
                  ],
                  "path": [
                    "supply",
                    "respondent-outcomes",
                    "v2",
                    "subscriptions",
                    "{{supplier_code}}"
                  ]
                }
              },
              "response": []
            }
          ]
        }
      ]
    },
    {
      "name": "Supply - Recontact",
      "item": [
        {
          "name": "List Qualified Respondents",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "{{key}}"
              }
            ],
            "url": {
              "raw": "{{url}}/Supply/v1/SurveyQualifiedRespondents/BySurveyNumberSupplierCode/{{SurveyNumber}}/{{SupplierCode}}",
              "host": [
                "{{url}}"
              ],
              "path": [
                "Supply",
                "v1",
                "SurveyQualifiedRespondents",
                "BySurveyNumberSupplierCode",
                "{{SurveyNumber}}",
                "{{SupplierCode}}"
              ]
            }
          },
          "response": []
        }
      ]
    },
    {
      "name": "Supply - Survey Groups",
      "item": [
        {
          "name": "List a Survey's Groups",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "{{key}}"
              }
            ],
            "url": {
              "raw": "{{url}}/Supply/v1/Surveys/SurveyGroups/BySurveyNumber/{{SurveyNumber}}/{{SupplierCode}}",
              "host": [
                "{{url}}"
              ],
              "path": [
                "Supply",
                "v1",
                "Surveys",
                "SurveyGroups",
                "BySurveyNumber",
                "{{SurveyNumber}}",
                "{{SupplierCode}}"
              ]
            }
          },
          "response": []
        }
      ]
    },
    {
      "name": "Supply - Entry Links",
      "item": [
        {
          "name": "Create a Link",
          "event": [
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "//var jsonData = pm.response.json()",
                  "",
                  "//pm.environment.set(\"SupplierGroupID\", jsonData.SupplierGroup.ID);"
                ]
              }
            },
            {
              "listen": "prerequest",
              "script": {
                "type": "text/javascript",
                "exec": [
                  "//pm.environment.set(\"SupplierCode\", \"0200\");"
                ]
              }
            }
          ],
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Authorization",
                "value": "{{key}}"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\r\n  \"SupplierLinkTypeCode\": \"OWS\",\r\n  \"TrackingTypeCode\": \"NONE\"\r\n}"
            },
            "url": {
              "raw": "{{url}}/Supply/v1/SupplierLinks/Create/{{SurveyNumber}}/{{SupplierCode}}",
              "host": [
                "{{url}}"
              ],
              "path": [
                "Supply",
                "v1",
                "SupplierLinks",
                "Create",
                "{{SurveyNumber}}",
                "{{SupplierCode}}"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Update a Link",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Content-Type",
                "value": "application/json"
              },
              {
                "key": "Authorization",
                "value": "{{key}}"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"SupplierLinkTypeCode\": \"OWS\",\n  \"TrackingTypeCode\": \"NONE\",\n  \"DefaultLink\": \"https://dev.acquiremind.com/jproject/fulcrum/trunk/receiver.php?tsfn=[%TSFN%]&tssn=[%TSSN%]&tsfloi=[%TSFLOI%]&cost=[%COST%]\",\n  \"SuccessLink\": \"https://dev.acquiremind.com/jproject/fulcrum/trunk/receiver.php?tsfn=[%TSFN%]&tssn=[%TSSN%]&tsfloi=[%TSFLOI%]&cost=[%COST%]\",\n  \"FailureLink\": \"https://dev.acquiremind.com/jproject/fulcrum/trunk/receiver.php?tsfn=[%TSFN%]&tssn=[%TSSN%]&tsfloi=[%TSFLOI%]&cost=[%COST%]\",\n  \"OverQuotaLink\": \"https://dev.acquiremind.com/jproject/fulcrum/trunk/receiver.php?tsfn=[%TSFN%]&tssn=[%TSSN%]&tsfloi=[%TSFLOI%]&cost=[%COST%]\",\n  \"QualityTerminationLink\": \"https://dev.acquiremind.com/jproject/fulcrum/trunk/receiver.php?tsfn=[%TSFN%]&tssn=[%TSSN%]&tsfloi=[%TSFLOI%]&cost=[%COST%]\"\n}"
            },
            "url": {
              "raw": "{{url}}/Supply/v1/SupplierLinks/Update/{{SurveyNumber}}/{{SupplierCode}}",
              "host": [
                "{{url}}"
              ],
              "path": [
                "Supply",
                "v1",
                "SupplierLinks",
                "Update",
                "{{SurveyNumber}}",
                "{{SupplierCode}}"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Show a Link",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "{{key}}"
              }
            ],
            "url": {
              "raw": "{{url}}/Supply/v1/SupplierLinks/BySurveyNumber/{{SurveyNumber}}/{{SupplierCode}}",
              "host": [
                "{{url}}"
              ],
              "path": [
                "Supply",
                "v1",
                "SupplierLinks",
                "BySurveyNumber",
                "{{SurveyNumber}}",
                "{{SupplierCode}}"
              ]
            }
          },
          "response": []
        }
      ]
    },
    {
      "name": "Supply - Inventory",
      "item": [
        {
          "name": "List Allocated Surveys",
          "request": {
            "auth": {
              "type": "noauth"
            },
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "{{key}}",
                "type": "default"
              }
            ],
            "url": {
              "raw": "{{url}}/Supply/v1/Surveys/Inventory/{{SupplierCode}}",
              "host": [
                "{{url}}"
              ],
              "path": [
                "Supply",
                "v1",
                "Surveys",
                "Inventory",
                "{{SupplierCode}}"
              ]
            }
          },
          "response": []
        }
      ]
    },
    {
      "name": "Supply - Classic",
      "item": [
        {
          "name": "Supply - Surveys",
          "item": [
            {
              "name": "List Filtered Marketplace Surveys",
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      "pm.test(\"Status code is 200\", function () {",
                      "    pm.response.to.have.status(200);",
                      "});",
                      "pm.test(\"Offerwall with Country Works\", function () {",
                      "    pm.expect(pm.response.text()).to.include(\"GetAllOfferwallSurveys successful\");",
                      "});",
                      "console.log(pm.response.responseTime + \",NEW - ALL CPI & LOI\");",
                      "",
                      ""
                    ]
                  }
                }
              ],
              "request": {
                "method": "GET",
                "header": [
                  {
                    "description": "Grab API Key",
                    "key": "Authorization",
                    "type": "text",
                    "value": "{{key}}"
                  },
                  {
                    "description": "Content Description",
                    "key": "Content-Type",
                    "type": "text",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{url}}/Supply/v1/Surveys/AllOfferwall?CountryLanguageID={{CountryLanguageID}}&SupplierCode={{SupplierCode}}&CollectsPII={{CollectsPII}}&CPIGTE={{CPIGTE}}&CPILTE={{CPILTE}}&IndustryID={{IndustryID}}",
                  "host": [
                    "{{url}}"
                  ],
                  "path": [
                    "Supply",
                    "v1",
                    "Surveys",
                    "AllOfferwall"
                  ],
                  "query": [
                    {
                      "key": "CountryLanguageID",
                      "value": "{{CountryLanguageID}}",
                      "description": "REQUIRED - Unique id associated with the country-language pair the survey is open to. - csv"
                    },
                    {
                      "key": "SupplierCode",
                      "value": "{{SupplierCode}}",
                      "description": "REQUIRED - Single Unique code associated with a supplier account."
                    },
                    {
                      "key": "CollectsPII",
                      "value": "{{CollectsPII}}",
                      "description": "1 indicates that the survey will collect PII."
                    },
                    {
                      "key": "CPIGTE",
                      "value": "{{CPIGTE}}",
                      "description": "Minimum gross payout per complete. This value is before any applicable commissions or fees."
                    },
                    {
                      "key": "CPILTE",
                      "value": "{{CPILTE}}",
                      "description": "Maximum gross payout per complete. This value is before any applicable commissions or fees."
                    },
                    {
                      "key": "IndustryID",
                      "value": "{{IndustryID}}",
                      "description": "Industry associated with the survey’s topic. - csv"
                    },
                    {
                      "key": "BidIncidenceGTE\t",
                      "value": "{{BidIncidenceGTE}}",
                      "disabled": true
                    },
                    {
                      "key": "BidIncidenceLTE",
                      "value": "{{BidIncidenceLTE}}",
                      "disabled": true
                    },
                    {
                      "key": "BidLengthOfInterviewGTE\t",
                      "value": "{{BidLengthOfInterviewGTE}}\t",
                      "disabled": true
                    },
                    {
                      "key": "BidLengthOfInterviewLTE",
                      "value": "{{BidLengthOfInterviewLTE}}",
                      "disabled": true
                    },
                    {
                      "key": "ConversionGTE",
                      "value": "{{ConversionGTE}}",
                      "disabled": true
                    },
                    {
                      "key": "IsOnlySupplierInGroup",
                      "value": "{{IsOnlySupplierInGroup}}",
                      "disabled": true
                    },
                    {
                      "key": "LengthOfInterviewLTE",
                      "value": "{{LengthOfInterviewLTE}}",
                      "disabled": true
                    },
                    {
                      "key": "OverallCompletesGTE\t",
                      "value": "{{OverallCompletesGTE}}",
                      "disabled": true
                    },
                    {
                      "key": "SampleTypeID",
                      "value": "{{SampleTypeID}}",
                      "disabled": true
                    },
                    {
                      "key": "StudyTypeID",
                      "value": "{{StudyTypeID}}",
                      "disabled": true
                    },
                    {
                      "key": "SurveyGroupExists",
                      "value": "{{SurveyGroupExists}}",
                      "disabled": true
                    },
                    {
                      "key": "SurveyMobileConversionGTE",
                      "value": "{{SurveyMobileConversionGTE}}",
                      "disabled": true
                    },
                    {
                      "key": "SurveyName",
                      "value": "{{SurveyName}}",
                      "disabled": true
                    },
                    {
                      "key": "SurveyNumber",
                      "value": "{{SurveyNumber}}",
                      "disabled": true
                    },
                    {
                      "key": "SurveyQuotaCalcTypeID\tt",
                      "value": "{{SurveyQuotaCalcTypeID}}",
                      "disabled": true
                    },
                    {
                      "key": "SurveySID",
                      "value": "{{SurveySID}}",
                      "disabled": true
                    },
                    {
                      "key": "TerminationLengthOfInterviewLTE",
                      "value": "{{TerminationLengthOfInterviewLTE}}",
                      "disabled": true
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "List Marketplace Surveys",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "{{key}}"
                  }
                ],
                "url": {
                  "raw": "{{url}}/Supply/v1/Surveys/AllOfferwall/{{SupplierCode}}",
                  "host": [
                    "{{url}}"
                  ],
                  "path": [
                    "Supply",
                    "v1",
                    "Surveys",
                    "AllOfferwall",
                    "{{SupplierCode}}"
                  ]
                }
              },
              "response": []
            },
            {
              "name": "List Marketplace Surveys By Country Language",
              "event": [
                {
                  "listen": "prerequest",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      "//pm.environment.set(\"CountryLanguageID\", \"10\"); //French-France",
                      "",
                      "pm.environment.set(\"CountryLanguageID\", \"9\"); //English-US",
                      "",
                      ""
                    ]
                  }
                }
              ],
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "{{key}}"
                  }
                ],
                "url": {
                  "raw": "{{url}}/Supply/v1/Surveys/AllOfferwall/ByCountryLanguage/{{CountryLanguageID}}/{{SupplierCode}}",
                  "host": [
                    "{{url}}"
                  ],
                  "path": [
                    "Supply",
                    "v1",
                    "Surveys",
                    "AllOfferwall",
                    "ByCountryLanguage",
                    "{{CountryLanguageID}}",
                    "{{SupplierCode}}"
                  ]
                }
              },
              "response": []
            }
          ]
        },
        {
          "name": "Supply - Allocations",
          "item": [
            {
              "name": "List Allocated Surveys",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "{{key}}"
                  }
                ],
                "url": {
                  "raw": "{{url}}/Supply/v1/Surveys/SupplierAllocations/All/{{SupplierCode}}",
                  "host": [
                    "{{url}}"
                  ],
                  "path": [
                    "Supply",
                    "v1",
                    "Surveys",
                    "SupplierAllocations",
                    "All",
                    "{{SupplierCode}}"
                  ]
                }
              },
              "response": []
            },
            {
              "name": "Show an Allocated Survey",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "{{key}}"
                  }
                ],
                "url": {
                  "raw": "{{url}}/Supply/v1/Surveys/SupplierAllocations/BySurveyNumber/{{SurveyNumber}}",
                  "host": [
                    "{{url}}"
                  ],
                  "path": [
                    "Supply",
                    "v1",
                    "Surveys",
                    "SupplierAllocations",
                    "BySurveyNumber",
                    "{{SurveyNumber}}"
                  ]
                },
                "description": "Returns allocation information against a specific study."
              },
              "response": []
            },
            {
              "name": "List Allocated Surveys by Date",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "{{key}}"
                  }
                ],
                "url": {
                  "raw": "{{url}}/Supply/v1/Surveys/SupplierAllocations/ByDate/{{Date}}/{{SupplierCode}}",
                  "host": [
                    "{{url}}"
                  ],
                  "path": [
                    "Supply",
                    "v1",
                    "Surveys",
                    "SupplierAllocations",
                    "ByDate",
                    "{{Date}}",
                    "{{SupplierCode}}"
                  ]
                }
              },
              "response": []
            },
            {
              "name": "List Allocated Surveys By CountryLanguage",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "{{key}}"
                  }
                ],
                "url": {
                  "raw": "{{url}}/Supply/v1/Surveys/SupplierAllocations/ByCountryLanguage/{{CountryLanguageID}}/{{SupplierCode}}",
                  "host": [
                    "{{url}}"
                  ],
                  "path": [
                    "Supply",
                    "v1",
                    "Surveys",
                    "SupplierAllocations",
                    "ByCountryLanguage",
                    "{{CountryLanguageID}}",
                    "{{SupplierCode}}"
                  ]
                }
              },
              "response": []
            },
            {
              "name": "List Allocated Surveys By CountryLanguage And Date",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "{{key}}"
                  }
                ],
                "url": {
                  "raw": "{{url}}/Supply/v1/Surveys/SupplierAllocations/ByCountryLanguage/{{CountryLanguageID}}/ByDate/{{Date}}/{{SupplierCode}}",
                  "host": [
                    "{{url}}"
                  ],
                  "path": [
                    "Supply",
                    "v1",
                    "Surveys",
                    "SupplierAllocations",
                    "ByCountryLanguage",
                    "{{CountryLanguageID}}",
                    "ByDate",
                    "{{Date}}",
                    "{{SupplierCode}}"
                  ]
                }
              },
              "response": []
            }
          ]
        },
        {
          "name": "Supply - Qualifications",
          "item": [
            {
              "name": "Show Qualifications",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "{{key}}"
                  }
                ],
                "url": {
                  "raw": "{{url}}/Supply/v1/SurveyQualifications/BySurveyNumberForOfferwall/{{SurveyNumber}}",
                  "host": [
                    "{{url}}"
                  ],
                  "path": [
                    "Supply",
                    "v1",
                    "SurveyQualifications",
                    "BySurveyNumberForOfferwall",
                    "{{SurveyNumber}}"
                  ]
                }
              },
              "response": []
            }
          ]
        },
        {
          "name": "Supply - Quotas",
          "item": [
            {
              "name": "Show Quotas",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "{{key}}"
                  }
                ],
                "url": {
                  "raw": "{{url}}/Supply/v1/SurveyQuotas/BySurveyNumber/{{SurveyNumber}}/{{SupplierCode}}",
                  "host": [
                    "{{url}}"
                  ],
                  "path": [
                    "Supply",
                    "v1",
                    "SurveyQuotas",
                    "BySurveyNumber",
                    "{{SurveyNumber}}",
                    "{{SupplierCode}}"
                  ]
                }
              },
              "response": []
            }
          ]
        },
        {
          "name": "Supply - Statistics",
          "item": [
            {
              "name": "Show Statistics",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "{{key}}"
                  }
                ],
                "url": {
                  "raw": "{{url}}/Supply/v1/SurveyStatistics/BySurveyNumber/{{SurveyNumber}}/{{SupplierCode}}/Global/Trailing",
                  "host": [
                    "{{url}}"
                  ],
                  "path": [
                    "Supply",
                    "v1",
                    "SurveyStatistics",
                    "BySurveyNumber",
                    "{{SurveyNumber}}",
                    "{{SupplierCode}}",
                    "Global",
                    "Trailing"
                  ]
                }
              },
              "response": []
            },
            {
              "name": "List Statistics",
              "event": [
                {
                  "listen": "prerequest",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      "//pm.environment.set(\"Scope\", \"Global\");",
                      "// Global or Supplier",
                      "",
                      "",
                      "//pm.environment.set(\"Timespan\", \"Trailing\");",
                      "//Trailing or Lifetime",
                      "",
                      "",
                      ""
                    ]
                  }
                }
              ],
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "{{key}}"
                  }
                ],
                "url": {
                  "raw": "{{url}}/Supply/v1/SurveyStatistics/All/{{SupplierCode}}/{{Scope}}/{{Timespan}}",
                  "host": [
                    "{{url}}"
                  ],
                  "path": [
                    "Supply",
                    "v1",
                    "SurveyStatistics",
                    "All",
                    "{{SupplierCode}}",
                    "{{Scope}}",
                    "{{Timespan}}"
                  ]
                }
              },
              "response": []
            }
          ]
        },
        {
          "name": "Respondent Outcomes v1",
          "item": [
            {
              "name": "Post Outcomes Subscription",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Authorization",
                    "value": "{{key}}",
                    "type": "text"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n\t\"callback\" : \"https://www.supplier-delivery-endpoint.com/api/outcomes\",\n\t \"outcomes\": [{\n\t\t\"marketplace_status\" : {\"eq\": 3},\n    \t\"client_status\": { \"eq\" : 10 }\n\t }]\n}"
                },
                "url": {
                  "raw": "{{url}}/supply/respondent-outcomes/v1/subscriptions/{{supplier_code}}",
                  "host": [
                    "{{url}}"
                  ],
                  "path": [
                    "supply",
                    "respondent-outcomes",
                    "v1",
                    "subscriptions",
                    "{{supplier_code}}"
                  ]
                }
              },
              "response": [
                {
                  "name": "Create a Subscription: all Body Arguments",
                  "originalRequest": {
                    "method": "POST",
                    "header": [
                      {
                        "key": "Content-Type",
                        "value": "application/json",
                        "type": "text"
                      },
                      {
                        "key": "Authorization",
                        "value": "{{key}}",
                        "type": "text"
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": "{\n\t\"callback\" : {{callback}},\n\t \"opportunities\": [{\n\t\t\"bid_incidence\": { \"gte\" : 10 },\n\t\t\"bid_length_of_interview\": { \"lte\" : 20 },\n\t\t\"collects_pii\": { \"eq\" : false },\n\t\t\"country_language\" : {\"in\": [\"eng_gb\", \"eng_us\", \"fre_fr\"]},\n\t\t\"cpi\": { \"gte\" : 1 },\n    \t\"industry\": {\"nin\": [\"Education\", \"Pets\"]},\n    \t\"is_only_supplier_in_group\": { \"eq\" : false },\n    \t\"study_type\": {\"in\": [\"Adhoc\", \"Recontact\"]},\n    \t\"survey_group_ids\": { \"nin\" : [10002] },\n    \t\"survey_name\": { \"eq\" : \"Fun Survey!\" }\n\t }]\n}"
                    },
                    "url": {
                      "raw": "{{url}}/supply/opportunities/v1/subscriptions/{{supplier_code}}",
                      "host": [
                        "{{url}}"
                      ],
                      "path": [
                        "supply",
                        "opportunities",
                        "v1",
                        "subscriptions",
                        "{{supplier_code}}"
                      ]
                    }
                  },
                  "status": "OK",
                  "code": 200,
                  "_postman_previewlanguage": "json",
                  "header": [
                    {
                      "key": "Access-Control-Allow-Origin",
                      "value": "*"
                    },
                    {
                      "key": "Content-Type",
                      "value": "application/json; charset=utf-8"
                    },
                    {
                      "key": "Date",
                      "value": "Tue, 30 Apr 2019 19:08:02 GMT"
                    },
                    {
                      "key": "Server",
                      "value": "nginx/1.14.1"
                    },
                    {
                      "key": "Via",
                      "value": "kong/0.11.2"
                    },
                    {
                      "key": "X-Kong-Proxy-Latency",
                      "value": "64"
                    },
                    {
                      "key": "X-Kong-Upstream-Latency",
                      "value": "33"
                    },
                    {
                      "key": "Content-Length",
                      "value": "5"
                    },
                    {
                      "key": "Connection",
                      "value": "keep-alive"
                    }
                  ],
                  "cookie": [],
                  "body": "\"OK\""
                }
              ]
            },
            {
              "name": "Delete Outcomes Subscription",
              "request": {
                "method": "DELETE",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Authorization",
                    "value": "{{key}}",
                    "type": "text"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": ""
                },
                "url": {
                  "raw": "{{url}}/supply/respondent-outcomes/v1/subscriptions/{{supplier_code}}",
                  "host": [
                    "{{url}}"
                  ],
                  "path": [
                    "supply",
                    "respondent-outcomes",
                    "v1",
                    "subscriptions",
                    "{{supplier_code}}"
                  ]
                }
              },
              "response": []
            },
            {
              "name": "Get Outcomes Subscription",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Authorization",
                    "value": "{{key}}",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{url}}/supply/respondent-outcomes/v1/subscriptions/{{supplier_code}}",
                  "host": [
                    "{{url}}"
                  ],
                  "path": [
                    "supply",
                    "respondent-outcomes",
                    "v1",
                    "subscriptions",
                    "{{supplier_code}}"
                  ]
                }
              },
              "response": []
            }
          ]
        }
      ],
      "description": "Check with support@luc.id for more information about these requests. ",
      "event": [
        {
          "listen": "prerequest",
          "script": {
            "type": "text/javascript",
            "exec": [
              ""
            ]
          }
        },
        {
          "listen": "test",
          "script": {
            "type": "text/javascript",
            "exec": [
              ""
            ]
          }
        }
      ]
    }
  ],
  "event": [
    {
      "listen": "prerequest",
      "script": {
        "type": "text/javascript",
        "packages": {},
        "exec": [
          ""
        ]
      }
    },
    {
      "listen": "test",
      "script": {
        "type": "text/javascript",
        "packages": {},
        "exec": [
          ""
        ]
      }
    }
  ],
  "variable": [
    {
      "key": "url",
      "value": "https://api.samplicio.us/",
      "type": "string"
    }
  ]
}