Create mission rule
POST
https://api.eu-west-1.aworld.cloud/dashboard/v1/missionRules
MissionRules
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.eu-west-1.aworld.cloud/dashboard/v1/missionRules' \
--header 'Content-Type: application/json' \
--data-raw '{
"missionType": "INDIVIDUAL",
"name": "string",
"groupTagId": "string",
"usersMatchCondition": {},
"missionsPool": [
"string"
],
"missionsMatchCondition": {},
"timeframeType": "PERMANENT",
"timeframeTimezoneType": "FIXED",
"timeframeTimezone": "string",
"timeframeStartsAt": "2019-08-24T14:15:22Z",
"timeframeEndsAt": "2019-08-24T14:15:22Z",
"recurrence": "DAILY",
"scheduleCron": "string",
"assignmentMode": "LAZY",
"defaultLang": "string",
"translations": [
{
"lang": "string",
"description": "string"
}
],
"eventMatchType": "INSTANCE",
"eventMatchEntity": "Activity",
"eventMatchEntityId": "string",
"eventMatchCondition": {}
}'
Response Response Example
{
"missionRuleId": "string",
"missionType": "INDIVIDUAL",
"name": "string",
"groupTagId": "string",
"usersMatchCondition": {},
"missionsPool": [
"string"
],
"missionsMatchCondition": {},
"timeframeType": "PERMANENT",
"timeframeTimezoneType": "FIXED",
"timeframeTimezone": "string",
"timeframeStartsAt": "2019-08-24T14:15:22Z",
"timeframeEndsAt": "2019-08-24T14:15:22Z",
"recurrence": "DAILY",
"scheduleCron": "string",
"assignmentMode": "LAZY",
"state": "PENDING",
"origin": "CATALOG",
"missionRuleCatalogId": "string",
"syncWithCatalog": true,
"defaultLang": "string",
"langs": [
"string"
],
"eventMatchType": "INSTANCE",
"eventMatchEntity": "Activity",
"eventMatchEntityId": "string",
"eventMatchCondition": {},
"accountId": "string",
"workspaceId": "string",
"sourceRegion": "string",
"stage": "DRAFT",
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z"
}
Request
Body Params application/json
Responses
Modified at 2025-06-26 12:48:25