Canary Speech

PutScore

PUT - /org/assessment/:assessmentId/put-score
Required Permissions:
  • scope:api

Description

Create a score

Headers

Header KeyDescriptionExample
Authorization
The Authorization header for this endpoint. The value must be the token from the /v3/auth/tokens/get endpoint and given using the Bearer pattern.
Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdW...

Path Parameters

NameTypeDescription
assessmentIdstring
The UUID of the assessment

Body Parameters

NameTypeDescription
* dateRecordeddate-time
The ISO-8601 timestamp of when the score was recorded.
* scoreIdstring
The ID of the score as defined in the survey JSON.
* scoreTypestring
The type of the score as defined in the survey JSON.
* scoreDataobject
The data of the score. If the scoreType starts with "OVERSEER", this object will have a "data" field. Otherwise, it will have a "value" field.
extraDataobject
Any additional optional metadata of the score.

Successful Response

A successful response

Field NameTypeDescription
uuiduuid
The ID of the uploaded score.

Code Example