{
"reqId": "string",
"reqCustomerId": 0,
"campaignBasis": {
"customerId": 0,
"campaignName": "string",
"itemType": "string",
"executionType": "string",
"scheduledDate": "string",
"campaignDurationType": "string",
"durationMonth": 0,
"campaignEndDate": "string",
"creatorId": 0,
"creatorName": "string"
},
"campaignNotify": {
"notifyMessage": true,
"notificationConfig": {
"notifyTemplateInfos": [
{
"notifyChannel": "string",
"templateScene": "string",
"notifyTemplateId": 0
}
],
"notifyType": "string",
"dailyHour": 0,
"firstSendTimeConfig": {
"sendSequence": 0,
"sendDayType": "string",
"scheduledTime": "string",
"appointedDateTime": "string"
},
"nextSendTimeConfigs": [
{
"sendSequence": 0,
"sendDayType": "string",
"scheduledTime": "string",
"appointedDateTime": "string"
}
]
}
},
"campaignTargetScope": {
"targetScope": "string",
"targetScopeDetail": {
"type": "string"
}
}
}
curl --location --request POST '/portal/user/Campaign/createCampaign' \
--header 'token: eyJhbGciOiJSUzI1NiJ9.eyJzdWIiOiJ7XCJpc3NcIjpcIkJXX0lOTkVSX0dBVEVXQVlcIixcImlhdFwiOjE3NTIwMzE4NzgsXCJwbGF0Zm9ybVwiOlwiU0dcIixcImp0aVwiOlwiU0dcIn0iLCJpc3MiOiJCV19JTk5FUl9HQVRFV0FZIiwiZXhwIjoxNzUzMDMxODc4LCJpYXQiOjE3NTIwMzE4NzgsInBsYXRmb3JtIjoiU0ciLCJqdGkiOiJTRyJ9.kHFzS4gQJzoq85Ar8oqVbGdmzP3eoHZfKficICpsqNagXAc9s7S3M5i2SobiWP_dLV7b-3ya8n97YWmoeX1xC9CSt2nr7flexFOCJocoubU36EWg3AKu7KT43aDgw5OP--yygGctEhuK8Zl8NLuPXQyEupFAcVCn37vurf5rT88' \
--header 'customer: 428166320547168262' \
--header 'user: ljing' \
--header 'Content-Type: application/json' \
--data-raw '{
"reqId": "string",
"reqCustomerId": 0,
"campaignBasis": {
"customerId": 0,
"campaignName": "string",
"itemType": "string",
"executionType": "string",
"scheduledDate": "string",
"campaignDurationType": "string",
"durationMonth": 0,
"campaignEndDate": "string",
"creatorId": 0,
"creatorName": "string"
},
"campaignNotify": {
"notifyMessage": true,
"notificationConfig": {
"notifyTemplateInfos": [
{
"notifyChannel": "string",
"templateScene": "string",
"notifyTemplateId": 0
}
],
"notifyType": "string",
"dailyHour": 0,
"firstSendTimeConfig": {
"sendSequence": 0,
"sendDayType": "string",
"scheduledTime": "string",
"appointedDateTime": "string"
},
"nextSendTimeConfigs": [
{
"sendSequence": 0,
"sendDayType": "string",
"scheduledTime": "string",
"appointedDateTime": "string"
}
]
}
},
"campaignTargetScope": {
"targetScope": "string",
"targetScopeDetail": {
"type": "string"
}
}
}'
{
"error": {
"code": "",
"message": "",
"detail": ""
},
"reqId": "",
"reqCustomerId": 0,
"data": 0
}