Launch a Market Test


Route: /api/ocmr/launch

Action: POST

Launch a Market Test experiment.

Query Parameters

ParameterTypeDescription
typestringThe type of the Market Test experiment, limited to valid experiment types.
stimulistring[] <=5Text array of stimuli.
productTypestringType of product being launched
descriptionstringOptional product description

Valid experiment types

Experiment TypeParameter name
Product Concept Testproduct-concept-test
Business Name Evaluatorcompany-name-test
Domain Name Likability Checkdomain-name-likability-check
Product Name Testproduct-name-test
Brand Name Testbrand-name-test
Ad Copy Testad-copy-test
Product Description Testproduct-description-test

Example Query

{
    "type": 'company-name-test'
    "stimuli": ["Arrizo","Mirai","Baccarat","Philomene","Efris"] 
    "productType": "Card game" 
    "description": "A new type of card game, to be played with groups of friends"
}

Response Parameters

ParameterTypeDescription
idnumberId of the launching job
statusstringStatus of the job, set to created
responsestringResponse Json when job is completed or failed

Example Response

{
   "id": 948032 
   "status": 'created' 
   "response": null 
}

Results of checking job status

When checking job status after a launch request has been posted, the response that you receive is dependent on the current job status.

Example Response - Job state is completed

{
   "id": 948032 
   "status": 'completed' 
   "response": {
                    "experiment_id": Number // id of experiment being created
                } 
}

Example Response - Job state is failed

{
   "id": 948032 
   "status": 'created' 
   "response": {
                    "message": String|null // error message
                }
}

Example Response - Job state is created or pending

{
   "id": 948032 
   "status": 'created' 
   "response": null
}