Skip to content

Get Assignment Template as JSON

Request

Returns the assignment template details in JSON format for the specified assignment ID. Requires a valid bearer token in the Authorization header.

Security
Bearer
Query
assignmentIdinteger, (int32)required

The unique identifier for the assignment

curl -i -X GET \
  'https://developer.sustainabilitymaster.ai/_mock/openapi/api/DataCollection/ComposedAssignmentTemplate/Json?assignmentId=0' \
  -H 'Authorization: YOUR_API_KEY_HERE'

Responses

Successfully retrieved the assignment template URL for the specified assignment ID

Bodyapplication/json
dataPointsDetailsArray of objects or null(DataPointsDetails)

Detailed data-point definitions or metadata returned for the assignment template.

dataPointsSchemaArray of objects or null

Schema describing the data points expected in the assignment template.

Response
{ "dataPointsDetails": [ { … } ], "dataPointsSchema": [ { … } ] }