Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

OVERVIEW

It may be necessary to add flexible delivery amounts to Suppliers. For example we would like Supplier-X to be able to deliver between 30%-50% of the available completes.

Endpoint:

Code Block
POST Request: url/buyers/v2/surveys?UI=1

Sample Payload:

Code Block
{
  "survey_title": "Jonas Test Buyer",
  "live_url": "http://b_emulator.purespectrum.net:3000/emulated_surveys",
  "test_url": "http://b_emulator.purespectrum.net:3000/emulated_surveys",
  "click_balancing": 0,
  "estimated_clicks": 0,
  "survey_category_code": 232,
  "survey_localization": "en_US", //COUNTRY-LANGUAGE
  "completes_required": 1000,  //COMPLETES
  "expected_ir": 50, //IR 
  "expected_loi": 2, //LOI 
  "field_time": 5, //FIELD TIME
  "source": "platform",
  "buyer_user_id": 1437,
  "buyer_company": 25,
   "global_flexibility": 50,
  "qualifications": []
}