Difference between revisions of "User: JenkinsSBO"

From Genesys Documentation
Jump to: navigation, search
Line 36: Line 36:
 
   }'</pre>
 
   }'</pre>
 
|responses=
 
|responses=
{{{!}}  
+
{
 +
{{!}}  
 
! Code
 
! Code
 
! Description
 
! Description
 
! Schema
 
! Schema
 +
 
{{!}}-  
 
{{!}}-  
{{!}} 200
+
 
{{!}} The job result.
+
 
{{!}} object
+
{{!}} 200  
 +
{{!}} The job result to join A/B data.
 +
 
 +
'''Example''' (''JSON response''):
 +
 
 +
<pre>{
 +
  "ok": true,
 +
  "message": "Job to join A/B data started successfully."
 +
}</pre>
 +
 
 +
{{!}} object  
 +
{{!}}
 
{{!}}}
 
{{!}}}
|security=
 
 
}}
 

Revision as of 08:18, October 7, 2020

{{YAML

 |id=

yaml-23-0

|method=

POST

|content=
|path=

/ab_testing/join |parameters=

Name Located in Description Required Schema
json body A valid JSON containing the following parameters: token, prrPredictor, from_date (optional), to_date (optional). For additional details, see the schema definition. Yes PredictorABTestRequest

|summary=A/B Test predictor |description= A POST REST endpoint to join A/B test predictor.

curl -X POST
  'https://app.journeyoptimization.com/api/v2.0/ab_testing/join'
  -H 'Content-Type: application/json'
  -d '{
    "prrPredictor": "P1",
    "token": "token",
    "from_date": "11/11/2011",
    "to_date": "12/12/2012"
  }'

|responses= { | ! Code ! Description ! Schema

|-


| 200 | The job result to join A/B data.

Example (JSON response):

{
  "ok": true,
  "message": "Job to join A/B data started successfully."
}

| object | |}

Retrieved from "https://all.docs.genesys.com/User:JenkinsSBO (2025-06-19 14:26:46)"