POST
/v1/campaignsTaslak bir kampanya oluşturur
Yetki
campaigns:writeIdempotency-KeyAlanlar
İstek gövdesi
namestringZorunluagentVersionIdstring · agv_…ZorunluproviderConnectionIdstring · pcon_…ZorunluleadIdsarray<string> · lead_…Varsayılan: []callingWindowobjectBoş olabilirVarsayılan: nullcallingWindow.startMinuteintegerZorunlucallingWindow.endMinuteintegerZorunlucallingWindow.daysOfWeekarray<integer>ZorunlumaxAttemptsPerLeadPerDayintegerBoş olabilirVarsayılan: 2maxAttemptsPerLeadPerWeekintegerBoş olabilirVarsayılan: 5minMinutesBetweenAttemptsintegerBoş olabilirVarsayılan: 60budgetHardCapobjectBoş olabilirVarsayılan: nullbudgetHardCap.amountMinorintegerZorunlubudgetHardCap.currencystring · ISO 4217ZorunludisclosureTemplateIdstringBoş olabilirVarsayılan: nullvariablesobjectVarsayılan: {}variables.campaign_offerstringvariables.campaign_deadlinestringvariables.campaign_marketstringvariables.asset_urlstringtakenIndustriesarray<string>
Yanıt gövdesi · 201
idstring · cmp_…ZorunlunamestringZorunlustatestringZorunluDRAFTSCHEDULEDRUNNINGPAUSEDCOMPLETEDCANCELLEDagentVersionIdstring · agv_…ZorunluproviderConnectionIdstring · pcon_…ZorunludispatchPausedbooleanZorunlucallingWindowobjectZorunluBoş olabilircallingWindow.startMinuteintegerZorunlucallingWindow.endMinuteintegerZorunlucallingWindow.daysOfWeekarray<integer>ZorunlumaxAttemptsPerLeadPerDayintegerZorunluBoş olabilirmaxAttemptsPerLeadPerWeekintegerZorunluBoş olabilirminMinutesBetweenAttemptsintegerZorunluBoş olabilirbudgetHardCapobjectZorunluBoş olabilirbudgetHardCap.amountMinorintegerZorunlubudgetHardCap.currencystring · ISO 4217ZorunlubudgetSpentobjectZorunlubudgetSpent.amountMinorintegerZorunlubudgetSpent.currencystring · ISO 4217ZorunludisclosureTemplateIdstringZorunluBoş olabilirvariablesobjectZorunluvariables.campaign_offerstringvariables.campaign_deadlinestringvariables.campaign_marketstringvariables.asset_urlstringvariablesSetBystringZorunlupersoncredentialtakenIndustriesarray<string>ZorunluleadCountintegerZorunlucreatedAtstring · date-timeZorunlu