Site Search:
Home
Products
Products Overview
adTempus
Report Commander
Arcana Scheduler
Support
Support Home
Knowledge Base
License Management
Contact Support
Community
Purchase
Pricing and Ordering
Additional Purchasing Information
Contact
About Us
Help
Log In
Register
Community
Arcana Development Forums
>
adTempus
>
API
>
Enable/Disable job via API
{1}
##LOC[OK]##
{1}
##LOC[OK]##
##LOC[Cancel]##
{1}
##LOC[OK]##
##LOC[Cancel]##
Enable/Disable job via API
You must be
logged in
to reply to this topic.
1
(Showing 1 to 3 of 3)
yr2yr
Joined: February 9, 2009
Posts: 5
Posted February 9, 2009 11:40:36 PM
How do I enable or disable a job via API?
- AdTempus Version 3.0.5
The ADTempus Console on the General Tab has an "Enabled" checkbox. How do I turn that on or off via API?
Bill
Arcana Development Staff
Joined: September 21, 2007
Posts: 79
Posted February 10, 2009 8:07:43 AM
I'm assuming you're already able to retrieve the job through the API. If not, see
here
for sample code for doing that.
Once you have the job, set the Held property to True or False and then save the job.
Beginning in 3.0.6 there are HoldJob and ReleaseJob methods that change Held and do the save for you. If a user has Hold/Release permission for the job but not Modify permission, you have to use HoldJob/ReleaseJob, because Save will fail with a permission error.
yr2yr
Joined: February 9, 2009
Posts: 5
Posted February 10, 2009 10:44:23 AM
Thank you - I saw the Held but didn't equate that to enable/disable - DUH!
Copyright 2012 Arcana Development, LLC. Use of this site signifies your agreement to the
terms of use and privacy policy
.