Versions Compared

Key

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

...

Code Block
PUT $apihost/$basepath/surveys/5000<survey_id>

($apihost is the environment against which you are testing, and $basepath is the base path with the api version. All Buy API calls will require access-token parameter in the header)

...

Code Block
languagejs
{
   
    "survey_title": "Sample Survey to enable FEOT",
    "survey_category_code": 232,
    "completes_required": 100,
    "field_time": 10,
    "expected_loi": 10,
    "expected_ir": 60,
    "survey_localization": "en_US",
    "offer_price": 0.01,   
    "is_feot_enabled": true, // enter "false" if FEOT needs to be disabled
    "feot": {
        "pacing": "days",
        "interval": 1,
        "is_custom": true
    },
    "survey_grouping": [
        1021418, //surveys to be grouped are to be added here 
        1021420,
        1053096
    ]
    
}

...