AWorld APIs are in a pre-alpha stage and are being updated frequently. For integration inquiries or technical information, please contact us at server@aworld.org.
curl --location --request POST 'https://api.eu-west-1.aworld.cloud/dashboard/v1/missionAssignments' \
--header 'Content-Type: application/json' \
--data-raw '{
"userId": "string",
"groupTagId": "string",
"missionType": "INDIVIDUAL",
"missionId": "string",
"startsAt": "2019-08-24T14:15:22Z",
"endsAt": "2019-08-24T14:15:22Z",
"currentAmount": 0,
"targetAmount": 0,
"timeframeType": "RANGE"
}'
{
"missionAssignmentId": "string",
"missionType": "INDIVIDUAL",
"missionId": "string",
"missionRuleId": "string",
"periodId": "string",
"timeframeType": "PERMANENT",
"startsAt": "2019-08-24T14:15:22Z",
"endsAt": "2019-08-24T14:15:22Z",
"completedAt": "2019-08-24T14:15:22Z",
"isCompleted": true,
"state": "PENDING",
"groupTagId": "string",
"userId": "string",
"currentAmount": 0,
"targetAmount": 0,
"incrementExpression": {},
"targetAmountExpression": {},
"accountId": "string",
"workspaceId": "string",
"sourceRegion": "string",
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z"
}