Uploads assignment data in JSON format, including metrics and dimensions, for the specified assignment. A valid authorization token is required for the request.
Security
Bearer
The instant assignment payload
Array []
The name of the collection metric (e.g., "Total Nos of Employee Count").
Example:"Total Nos of Employee Count"
The GUID associated with the metric, used for unique identification.
Example:"99384ade-09db-4219-ae19-81b0321cb727"
A list of dimensions associated with the collection metric. Each dimension contains further details related to the metric.
Example:
[ { "Country": "USA", "Company": "GlobalEco Corporation", "Department": "HR", "Location": "New York", "BusinessUnit": "North America", "Month": "March", "Year": 2025, "Value": 1000, "NotAvailable": false } ]
- Mock serverhttps://developer.sustainabilitymaster.ai/_mock/openapi/api/DataCollection/InstantAssignmentDataUpload
- https://developer.sustainabilitymaster.ai/apiportalhttps://developer.sustainabilitymaster.ai/apiportal/api/DataCollection/InstantAssignmentDataUpload
curl -i -X POST \
'https://developer.sustainabilitymaster.ai/_mock/openapi/api/DataCollection/InstantAssignmentDataUpload?assignmentId=0&uploadId=0' \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '[
{
"metricName": "Total Nos of Employee Count",
"metricId": 5244,
"metricGuid": "99384ade-09db-4219-ae19-81b0321cb727",
"dimensions": [
{
"Country": "USA",
"Company": "GlobalEco Corporation",
"Department": "HR",
"Location": "New York",
"BusinessUnit": "North America",
"Month": "March",
"Year": 2025,
"Value": 1000,
"NotAvailable": false
}
]
}
]'