Certica Products

/test/items

Updated Mar 24, 2021

GET Returns item records belonging to a test. POST sets items to a test.

Reading

GET /test/<test_id>/items HTTP/1.1
Host: assess.itemlogic.com

Fields

See /item for more information regarding fields returned in this query.

Changing Test Items

Performing a POST to /test/:testId/items has the effect of setting the test items to the new array supplied. Here's an example exchange.

POST /test/<test_id>/items?client_id=XXX&client_secret=YYY HTTP/1.1
Content-Type: application/json
Host: assess.itemlogic.com
Content-Length: 89

{"items":["556330cd-3460-44c2-9427-10060a000164","55634110-7854-4738-8b5f-10310a010134"]}

Important:

  • You may only assign as many as 100 items to a single test.
  • Setting test items is not an atomic operation. Therefore, you must ensure this route is only ever called one-at-a-time. Simultaneous (or near-simultaneous) calls to this route will result in an inconsistent set of items being set for this test. This is a known issue and we are working on a way to prevent inadvertent simultaneous writes to this route.
Previous Article /test/edit
Next Article /test/items/delete