Comparisons API

Create multiple comparisons

POST /api/comparisons/create.json

Parameters

Name : ids - required - Description : Document IDs

Name : email - required - Description : Email addresss

Name : auth_token - required - Description : Auth Token

Name : question Description : Question

Name : batch_id Description : Batch ID

Name : template_id Description : Template ID

Name : template_properties Description : Template Properties

Request

Headers



Route

POST /api/comparisons/create.json

Body

{"question":"Question text","ids":[[491,492],[493,494]],"email":"researcher29@university.edu","auth_token":"93mqzmssT9Xb-K6inLqo"}

Response

Headers

Content-Type: application/json; charset=utf-8

Status

200 OK

Body

{
  "batch_id": 2207
}