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/mission-rules//publish' \
--header 'Authorization: Bearer <token>'
{
"missionRuleId": "string",
"missionType": "INDIVIDUAL",
"name": "string",
"groupTagId": "string",
"usersMatchCondition": {
"==": [
1,
1
]
},
"missionConfigurationsPool": [
"string"
],
"missionsMatchCondition": {
"==": [
1,
1
]
},
"timeframeType": "PERMANENT",
"timeframeTimezoneType": "FIXED",
"timeframeTimezone": "Europe/Andorra",
"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": "aa",
"langs": [
"aa"
],
"eventMatchType": "INSTANCE",
"eventMatchEntity": "Activity",
"eventMatchEntityId": "string",
"eventMatchCondition": {
"==": [
1,
1
]
},
"accountId": "stringstri",
"workspaceId": "stringstri",
"sourceRegion": "us-east-1",
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z",
"stage": "DRAFT"
}