Back to Main Menu

Link Assessment Form Result to Assessment Task

Introduction

An Assetic Assessment Form Result is a set of data recorded against an assessment form definition pre-defined by a system administrator. Once an assessment form result has been created a result is assigned to an assessment task. If an assessment form has been created without a parent linkage, the following Assetic REST API endpoint may be used to link an Assessment Form Result to an Assessment Task:

  • PUT /api/v2/assessmenttask/{id}/linkformresult/{formResultId}
    • Links an unlinked assessment form result to a parent assessment task

 

This API requires both the system-generated GUIDs for the assessment task and assessment form result to be known, represented as {id} and {formResultId} respectively in the above request endpoint.

 

Refer to this article in the Integration SDK section for a sample application of linking an assessment form result to a parent task using a Python script.

 
Note: It is not possible to change the parent of an already linked assessment form result to a different assessment task.

Sample Request

The following sample PUT request links an unlinked assessment form result to a parent assessment task.

Request

https://[yoursite].assetic.net/api/v2/assessmenttask/064a8546-7966-4ef4-a9c7-6ae06f934e74/linkformresult/47803f67-36b2-4745-aaed-d70563f20c92

Response

If successful the response code is 200, and the response body will return the Boolean value 'true'.