Create Assessment
  • 30 Jun 2021
  • 1 Minute to read
  • Contributors
  • Dark
    Light
  • PDF

Create Assessment

  • Dark
    Light
  • PDF

Article summary

Assessment

POST /assessment

NameData TypeDescription
Content-type:application/jsonfor all requests
Authorization:EAPI {token}for all requests

Body Parameters

Parameters indicated with a * are mandatory

Name
Data Type
Description
ExternalIdstring (64)External Id. Should be unique. Alpha-Numeric. Autogenerated by default.
Title*string (100)Assessment title
Purpose*integerAssessment purpose
Possible values:
1 - Summative
2 - Formative
3 - Mixed
Code*string (100)Assessment code
Ownerstring (64)Assessment owner UserName. This field overrides Assessment owner from External API settings of Cirrus app. (Owner must be set in settings or in this field)

Sample Request URL

https://api.cirrusplatform.com/api/v1/integrations/assessment

Sample Request

{
     "Title": "External assessment",
     "ExternalId": "Ext_a_2",
     "Purpose": 3,
     "Code": "ext_assessment_2"
}

Sample Response

{
    "Content": "Ext_a_2",
    "Success": true,
    "Errors": null
}

Response codes

CodeDescription
200Successful operation
403Not allowed to use external API
400Possible error codes:
Assessment info is not valid
Assessment must be published
Assessment creator hasn’t been set in External API settings
Selected assessment owner no longer has permission to create assessments
The specified condition was not met for “Purpose”
External id [ExternalId] is already in use
'External Id' should not be empty.
'Code' should not be empty.
'Purpose' should not be empty.
'Title' should not be empty.
Assessment owner does not exist in the system
Internal server error
500Internal server error

Was this article helpful?