Stop opportunity

POST
/opportunities/{opportunityId}/stop

Permanently stop an opportunity. This action cannot be reversed. Valid from active or paused status.

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

opportunityId*string

Response Body

application/json

application/json

application/json

application/json

curl -X POST "https://terac.com/api/external/v2/opportunities/string/stop"
{
  "id": "string",
  "title": "string",
  "internal_title": "string",
  "description": "string",
  "status": "draft",
  "num_participants": 0,
  "estimated_duration_minutes": 0,
  "filters": [
    {}
  ],
  "screening_questions": [
    {
      "key": "string",
      "text": "string",
      "pick": "one",
      "answers": [
        {
          "text": "string",
          "qualify_logic": "may"
        }
      ]
    }
  ],
  "quotas": [
    {
      "screening_question": "string",
      "targets": [
        {
          "value": "string",
          "count": 1
        }
      ]
    }
  ],
  "tasks": [
    {
      "sequence": 0,
      "task_type": "string",
      "review_type": "string",
      "task_url": "string",
      "title": "string",
      "description": "string",
      "duration_minutes": 0
    }
  ],
  "pricing": {
    "cost_per_participant_cents": 0,
    "total_cost_cents": 0,
    "currency": "usd"
  },
  "device_types": [
    "string"
  ],
  "business_type": "string",
  "project_id": "string",
  "created_at": "2019-08-24T14:15:22Z",
  "updated_at": "2019-08-24T14:15:22Z",
  "launched_at": "2019-08-24T14:15:22Z",
  "links": {
    "self": "string",
    "launch": "string",
    "submissions": "string"
  },
  "submission_stats": {
    "total": 0,
    "in_progress": 0,
    "awaiting_review": 0,
    "approved": 0,
    "rejected": 0
  },
  "quota_progress": [
    {
      "screening_question": "string",
      "targets": [
        {
          "value": "string",
          "count": 0,
          "current": 0
        }
      ]
    }
  ]
}
{
  "code": "string",
  "message": "string",
  "details": [
    {
      "field": "string",
      "message": "string"
    }
  ]
}
{
  "code": "string",
  "message": "string",
  "details": [
    {
      "field": "string",
      "message": "string"
    }
  ]
}
{
  "code": "string",
  "message": "string",
  "details": [
    {
      "field": "string",
      "message": "string"
    }
  ]
}