Versions Compared

Key

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

...

  • For expected responses with atleast at least one meaningful sentence (not categorical responses such as brand names, people and place names, slang, etc)

  • Expected responses are in the same language as survey language (For example, if the survey is in French, response should be only in French)

...

Code Block
languagejson
{
    "ps_buy_api_status_code": 1014,
    "ps_api_response_message": "Invalid parameters: Answer Text, Question Code/Id or Transaction Id is missing."
}

Example 1 for a termination due to AI detection:

POST https://spectrumsurveys.com/buyers/v2/transactions/ps_api_fail

...

Code Block
languagejson
{
    "transaction_id": "2W6ZHlCrBZIgyf9kH04Stb",
    "buyer_ps_api_fail": true,
}

...

Example 2 for a termination due to PureText Deduplication:

POST https://spectrumsurveys.com/buyers/v2/transactions/ps_api_fail

Body:

Code Block
languagejson
{
  "question_id": "456",
  "text": "I prefer white chocolate over any other chocolate.",
  "transaction_id": "2W6ZHlCrBZIgyf9kH04Stb"
}

Response which results in a termination:

Code Block
languagejson
{
    "transaction_id": "2W6ZHlCrBZIgyf9kH04Stb",
    "buyer_ps_api_fail": true,
    "original_transaction_id": "5WnZHkorNWIgyl7kH08gBt"
}