Bulk Create, Update, and Delete Operations

TA supports bulk Create, Update, and Delete API requests.

Create Multiple Entries of a TA Object in a Single API Request

It creates multiple entries of the OSJob Object in a single API request.

<?xml version="1.0" encoding="UTF-8"?>
<entry xmlns="http://purl.org/atom/ns#">
<id>xxx</id>
<tes:OSJob.create xmlns:tes="http://www.tidalsoftware.com/client/tesservlet">
<tes:OSJob>
<tes:parentid>8</tes:parentid>
<tes:agentid>44</tes:agentid>
<tes:name>Agent-Job1</tes:name>
<tes:agenttype>6</tes:agenttype>
<tes:agentostype>1</tes:agentostype>
<tes:parameters>20</tes:parameters>
<tes:ownerid>1</tes:ownerid>
<tes:type>2</tes:type>
<tes:command>sleep</tes:command>
<tes:active>Y</tes:active>
<tes:saveoutputoption>Y</tes:saveoutputoption>
</tes:OSJob>
</tes:OSJob.create>
<tes:OSJob.create xmlns:tes="http://www.tidalsoftware.com/client/tesservlet">
<tes:OSJob>
<tes:parentid>8</tes:parentid>
<tes:agentid>44</tes:agentid>
<tes:name>Agent-Job2</tes:name>
<tes:agenttype>6</tes:agenttype>
<tes:agentostype>1</tes:agentostype>
<tes:parameters>20</tes:parameters>
<tes:ownerid>1</tes:ownerid>
<tes:type>2</tes:type>
<tes:command>sleep</tes:command>
<tes:active>Y</tes:active>
<tes:saveoutputoption>Y</tes:saveoutputoption>
</tes:OSJob>
</tes:OSJob.create>
<tes:OSJob.create xmlns:tes="http://www.tidalsoftware.com/client/tesservlet">
<tes:OSJob>
<tes:parentid>8</tes:parentid>
<tes:agentid>44</tes:agentid>
<tes:name>Agent-Job3</tes:name>
<tes:agenttype>6</tes:agenttype>
<tes:agentostype>1</tes:agentostype>
<tes:parameters>20</tes:parameters>
<tes:ownerid>1</tes:ownerid>
<tes:type>2</tes:type>
<tes:command>sleep</tes:command>
<tes:active>Y</tes:active>
<tes:saveoutputoption>Y</tes:saveoutputoption>
</tes:OSJob>
</tes:OSJob.create>
<tes:OSJob.create xmlns:tes="http://www.tidalsoftware.com/client/tesservlet">
<tes:OSJob>
<tes:parentid>8</tes:parentid>
<tes:agentid>65</tes:agentid>
<tes:name>Agent-Job4</tes:name>
<tes:agenttype>6</tes:agenttype>
<tes:agentostype>1</tes:agentostype>
<tes:parameters>20</tes:parameters>
<tes:ownerid>1</tes:ownerid>
<tes:type>2</tes:type>
<tes:command>sleep</tes:command>
<tes:active>Y</tes:active>
<tes:saveoutputoption>Y</tes:saveoutputoption>
</tes:OSJob>
</tes:OSJob.create>
<tes:OSJob.create xmlns:tes="http://www.tidalsoftware.com/client/tesservlet">
<tes:OSJob>
<tes:parentid>8</tes:parentid>
<tes:agentid>44</tes:agentid>
<tes:name>Agent-Job5</tes:name>
<tes:agenttype>6</tes:agenttype>
<tes:agentostype>1</tes:agentostype>
<tes:parameters>20</tes:parameters>
<tes:ownerid>1</tes:ownerid>
<tes:type>2</tes:type>
<tes:command>sleep</tes:command>
<tes:active>Y</tes:active>
<tes:saveoutputoption>Y</tes:saveoutputoption>
</tes:OSJob>
</tes:OSJob.create>
</entry>

Create Multiple TA Objects in a Single API Request

It creates multiple TA objects in a single API request.

<?xml version="1.0" encoding="UTF-8"?>
<entry xmlns="http://purl.org/atom/ns#">
<id>xxx</id>
<! Create an OSJob -->
<tes:OSJob.create xmlns:tes="http://www.tidalsoftware.com/client/tesservlet">
<tes:OSJob>
<tes:parentid>8</tes:parentid>
<tes:agentid>44</tes:agentid>
<tes:name>Agent-Job1</tes:name>
<tes:agenttype>6</tes:agenttype>
<tes:agentostype>1</tes:agentostype>
<tes:parameters>20</tes:parameters>
<tes:ownerid>1</tes:ownerid>
<tes:type>2</tes:type>
<tes:command>sleep</tes:command>
<tes:active>Y</tes:active>
<tes:saveoutputoption>Y</tes:saveoutputoption>
</tes:OSJob>
</tes:OSJob.create>
<!-- End of OSJob creation -->
<!-- Creating a Tag -->
<tes:Tag.create
xmlns:tes="http://www.tidalsoftwae.com/client/tesservlet">
<tes:Tag>
<tes:name>Completed_JR</tes:name>
<tes:ownerid>2</tes:ownerid>
<tes:active>Y</tes:active>
<tes:pub>Y</tes:pub>
<tes:type>1</tes:type>
<tes:clientcontext>client-context-1</tes:clientcontext>
</tes:Tag>
</tes:Tag.create>
<!-- End of Tag creation -->
<!-- Creating a Calendar -->
<tes:Calendar.create xmlns:tes="http://www.tidalsoftware.com/client/tesservlet">
<tes:calendar>
<tes:frequency>0</tes:frequency>
<tes:weekdays>NNNNNNN</tes:weekdays>
<tes:type>6</tes:type>
<tes:id>-2</tes:id>
<tes:createtime>2015-06-06T00:43:21-0700</tes:createtime>
<tes:monthdays>NNNNNNNNNNNNNNNN</tes:monthdays>
<tes:ownername>testuser</tes:ownername>
<tes:intsect>N</tes:intsect>
<tes:description>My description -- Deployed from WIN-7EL8UQCDFGG
by domain\testuser on 06/06/2015 12:43:48 AM</tes:description>
<tes:untildate>2018-12-31T00:00:00-0800</tes:untildate>
<tes:name>test_list</tes:name>
<tes:untildateasstring>20181231000000</tes:untildateasstring>
<tes:offset>0</tes:offset>
<tes:forecastdate>2018-12-31T00:00:00-0800</tes:forecastdate>
<tes:ownerid>1</tes:ownerid>
<tes:pub>Y</tes:pub>
<tes:weeks>NNNNN</tes:weeks>
<tes:forecastdateasstring>20181231000000</tes:forecastdateasstring>
<tes:months>NNNNNNNNNNNN</tes:months>
<tes:typestring>List</tes:typestring>
</tes:calendar>
<reqops
xmlns=""
xmlns:ns3="http://purl.org/atom/ns#" objid="uid-2"/>
</tes:Calendar.create>
<!-- End of Calendar creation -->
</entry>

Update Multiple Entries of a TA Object in a Single API Request

It updates multiple entries of the OSJob Object in a single API request.

<?xml version="1.0" encoding="UTF-8"?>
<entry xmlns="http://purl.org/atom/ns#">
<id>xxx</id>
<tes:OSJob.update xmlns:tes="http://www.tidalsoftware.com/client/tesservlet">
<tes:OSJob>
<tes:id>105</tes:id>
<tes:name>Agent-Job11</tes:name>
<tes:parameters>30</tes:parameters>
<tes:ownerid>1</tes:ownerid>
<tes:type>2</tes:type>
<tes:agentid>44</tes:agentid>
</tes:OSJob>
</tes:OSJob.update>
<tes:OSJob.update xmlns:tes="http://www.tidalsoftware.com/client/tesservlet">
<tes:OSJob>
<tes:id>106</tes:id>
<tes:name>Agent-Job22</tes:name>
<tes:parameters>30</tes:parameters>
<tes:ownerid>1</tes:ownerid>
<tes:type>2</tes:type>
<tes:agentid>44</tes:agentid>
</tes:OSJob>
</tes:OSJob.update>
<tes:OSJob.update xmlns:tes="http://www.tidalsoftware.com/client/tesservlet">
<tes:OSJob>
<tes:id>107</tes:id>
<tes:name>Agent-Job33</tes:name>
<tes:parameters>30</tes:parameters>
<tes:ownerid>1</tes:ownerid>
<tes:type>2</tes:type>
<tes:agentid>44</tes:agentid>
</tes:OSJob>
</tes:OSJob.update>
<tes:OSJob.update xmlns:tes="http://www.tidalsoftware.com/client/tesservlet">
<tes:OSJob>
<tes:id>108</tes:id>
<tes:name>Agent-Job44</tes:name>
<tes:parameters>30</tes:parameters>
<tes:ownerid>1</tes:ownerid>
<tes:type>2</tes:type>
<tes:agentid>44</tes:agentid>
</tes:OSJob>
</tes:OSJob.update>
<tes:OSJob.update xmlns:tes="http://www.tidalsoftware.com/client/tesservlet">
<tes:OSJob>
<tes:id>109</tes:id>
<tes:name>Agent-Job55</tes:name>
<tes:parameters>30</tes:parameters>
<tes:ownerid>1</tes:ownerid>
<tes:type>2</tes:type>
<tes:agentid>44</tes:agentid>
</tes:OSJob>
</tes:OSJob.update>
</entry>

Update Multiple TA Objects in a Single API Request

It updates multiple TA objects in a single API request.

<?xml version="1.0" encoding="UTF-8"?>
<entry
xmlns="http://purl.org/atom/ns#">
<id>xxx</id>
<!-- Updating an OSJob -->
<tes:OSJob.update xmlns:tes="http://www.tidalsoftware.com/client/tesservlet">
<tes:OSJob>
<tes:id>105</tes:id>
<tes:name>Agent-Job11</tes:name>
<tes:parameters>30</tes:parameters>
<tes:ownerid>1</tes:ownerid>
<tes:type>2</tes:type>
<tes:agentid>44</tes:agentid>
</tes:OSJob>
</tes:OSJob.update>
<!-- End of OSJob update -->
<!-- Creating a Tab -->
<tes:Tag.update xmlns:tes="http://www.tidalsoftware.com/client/tesservlet">
<tes:id>414</tes:id>
<tes:name>Completed_JR</tes:name>
<tes:active>Y</tes:active>
<tes:description>test</tes:description>
<tes:ownerid>2</tes:ownerid>
<tes:pub>Y</tes:pub>
<tes:type>1</tes:type><tes:parentid>415</tes:parentid>
<tes:clientcontext>client-context-1</tes:clientcontext>
</tes:Tag.update>
<!-- End of Tag update -->
<!-- Updating a Calendar -->
<tes:Calendar.update xmlns:tes="http://www.tidalsoftware.com/client/tesservlet">
<tes:calendar>
<tes:frequency>0</tes:frequency>
<tes:weekdays>NNNNNNN</tes:weekdays>
<tes:type>6</tes:type>
<tes:id>377</tes:id>
<tes:createtime>2015-06-06T00:43:21-0700</tes:createtime>
<tes:monthdays>NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN</tes:monthdays>
<tes:ownername>testuser</tes:ownername>
<tes:intsect>N</tes:intsect>
<tes:description>My description -- Updated from WIN-7EL8UQCDFGG by domain\testuser on 06/06/2015 12:46:33 AM</tes:description>
<tes:untildate>2018-12-31T00:00:00-0800</tes:untildate>
<tes:name>test_list</tes:name>
<tes:untildateasstring>20181231000000</tes:untildateasstring>
<tes:offset>0</tes:offset>
<tes:forecastdate>2018-12-31T00:00:00-0800</tes:forecastdate>
<tes:ownerid>1</tes:ownerid>
<tes:pub>Y</tes:pub>
<tes:weeks>NNNNN</tes:weeks>
<tes:forecastdateasstring>20181231000000</tes:forecastdateasstring>
<tes:months>NNNNNNNNNNNN</tes:months>
<tes:typestring>List</tes:typestring>
</tes:calendar>
<reqops
xmlns=""
xmlns:ns3="http://purl.org/atom/ns#" objid="uid377"/>
</tes:Calendar.update>
<!-- End of Calendar update -->

Delete Multiple Entries of a TA Object in a Single API Request

It deletes multiple entries of the OSJob Object in a single API request.

<?xml version="1.0" encoding="UTF-8"?>
<entry xmlns="http://purl.org/atom/ns#">
<id>xxx</id>
<tes:OSJob.delete xmlns:tes="http://www.tidalsoftware.com/client/tesservlet">
<tes:OSJob>
<tes:id>105</tes:id>
</tes:OSJob>
</tes:OSJob.delete>
<tes:OSJob.delete xmlns:tes="http://www.tidalsoftware.com/client/tesservlet">
<tes:OSJob>
<tes:id>106</tes:id>
</tes:OSJob>
</tes:OSJob.delete>
</tes:OSJob.delete>
<tes:OSJob.delete xmlns:tes="http://www.tidalsoftware.com/client/tesservlet">
<tes:OSJob>
<tes:id>109</tes:id>
</tes:OSJob>
</tes:OSJob.delete>
</entry>

Delete Multiple TA Objects in a Single API Request

It deletes multiple TA Objects in a single API request.

<?xml version="1.0" encoding="UTF-8"?>
<entry
xmlns="http://purl.org/atom/ns#">
<id>xxx</id>
<! Deleting an OSJob -->
<tes:OSJob.delete xmlns:tes="http://www.tidalsoftware.com/client/tesservlet">
<tes:OSJob>
<tes:id>105</tes:id>
</tes:OSJob>
</tes:OSJob.delete>
<!-- End of OSJob deletion -->
<!-- Deleting a Calendar -->
<tes:Calendar.delete xmlns:tes="http://www.tidalsoftware.com/client/tesservlet">
<tes:Calendar>
<tes:id>376</tes:id>
</tes:Calendar>
</tes:Calendar.delete>
<!-- End of Calendar deletion -->
<!-- Deleting an Authorization Policy -->
<tes:AuthorizationPolicy.delete xmlns:tes="http://www.tidalsoftware.com/client/tesservlet">
<object>
<tes:id>86</tes:id>
</object>
</tes:AuthorizationPolicy.delete>
<!-- End of Authorization Policy deletion -->
</entry>

Tracking Bulk Create and Update API Requests

When requesting bulk creation and update of TA objects, track each object’s Create or Update request by sending a unique piece of information with each object operation request. To track each request, add the clientcontext field as shown in the examples below. The data sent in the clientcontext field is returned in the API response without any modification.

Adding Client Context in the Create Job API Request

It includes the tes:clientcontext parameter in the Job.create API request.

<<?xml version="1.0" encoding="UTF-8"?>
<entry xmlns="http://purl.org/atom/ns#">
<tes:Job.create xmlns:tes="http://www.tidalsoftware.com/client/tesservlet">
<tes:job    xmlns:tes="http://www.tidalsoftware.com/client/tesservlet">
<tes:id>553</tes:id>
<tes:type>2</tes:type>
<tes:typename>JOB</tes:typename>
<tes:name>job-api-1</tes:name>
<tes:active>Y</tes:active>
<tes:effectivecalendarid>0</tes:effectivecalendarid>
<tes:ownerid>1</tes:ownerid>
<tes:ownername>dv\tes</tes:ownername>
<tes:lastusermodifiedtime>2022-09-20T02:13:08-0500</tes:lastusermodifiedtime>
<tes:lastusermodifiedtimeasstring>20220920021308</tes:lastusermodifiedtimeasstring>
<tes:dirty></tes:dirty>
<tes:successorsvalue>N</tes:successorsvalue>
<tes:predecessorsvalue>N</tes:predecessorsvalue>
<tes:critical>N</tes:critical>
<tes:childrencount>0</tes:childrencount>
<tes:agentid>289</tes:agentid>
<tes:effectiveagentid>289</tes:effectiveagentid>
<tes:effectiveagentlistid>0</tes:effectiveagentlistid>
<tes:agentname>172.21.244.24</tes:agentname>
<tes:agenttype>6</tes:agenttype>
<tes:agentostype>1</tes:agentostype>
<tes:allowunscheduled>Y</tes:allowunscheduled>
<tes:inheritcalendar>N</tes:inheritcalendar>
<tes:inheritagent>N</tes:inheritagent>
<tes:inherittimewindow>N</tes:inherittimewindow>
<tes:command>sleep</tes:command>
<tes:allowrerun>Y</tes:allowrerun>
<tes:concurrency>1</tes:concurrency>
<tes:createtime>2022-09-20T02:13:08-0500</tes:createtime>
<tes:dependencylogic>1</tes:dependencylogic>
<tes:disablecarryover>0</tes:disablecarryover>
<tes:durationestimated>60</tes:durationestimated>
<tes:durationmaximum>60</tes:durationmaximum>
<tes:durationminimum>60</tes:durationminimum>
<tes:estimatedmethod>1</tes:estimatedmethod>
<tes:excludeabnormalduration>4</tes:excludeabnormalduration>
<tes:exitcodenormaloperator>1</tes:exitcodenormaloperator>
<tes:fullpath>\job dep-api-9</tes:fullpath>
<tes:historyretention>30</tes:historyretention>
<tes:inheritoptions>N</tes:inheritoptions>
<tes:inheritrepeat>N</tes:inheritrepeat>
<tes:isnotes>false</tes:isnotes>
<tes:isrunbook>false</tes:isrunbook>
<tes:jobdetailid>553</tes:jobdetailid>
<tes:lastchangetime>2022-09-20T02:13:08-0500</tes:lastchangetime>
<tes:nearoutage>3</tes:nearoutage>
<tes:normalexitfromrange>0</tes:normalexitfromrange>
<tes:normalexittorange>0</tes:normalexittorange>
<tes:parameters/>
<tes:priority>50</tes:priority>
<tes:repeat/>
<tes:rerundependency>N</tes:rerundependency>
<tes:forcererun>N</tes:forcererun>
<tes:saveoutputoption>R</tes:saveoutputoption>
<tes:trackingmethod>1</tes:trackingmethod>
<tes:waitOperator>N</tes:waitOperator>
<tes:waitoperator>N</tes:waitoperator>
<tes:concurrencytype>2</tes:concurrencytype>
<tes:tags/>
<tes:sharedownerids/>
<tes:sharedowners/>
<tes:terminateparentonerrorflag>N</tes:terminateparentonerrorflag>
<tes:terminateparentonabnormalflag>N</tes:terminateparentonabnormalflag>
<tes:terminateparentonabortflag>N</tes:terminateparentonabortflag>
<tes:onterminatereqignoreflag>N</tes:onterminatereqignoreflag>
<tes:onterminatereqabortactiveflag>N</tes:onterminatereqabortactiveflag>
<tes:onterminatereqterminateparentflag>N</tes:onterminatereqterminateparentflag>
<tes:unixprofile>0</tes:unixprofile>
<tes:transactionid>0</tes:transactionid>
<tes:clientcontext>job-api-1-client context-1</tes:clientcontext>
</tes:job>
</tes:Job.create>
<tes:Job.create xmlns:tes="http://www.tidalsoftware.com/client/tesservlet">
<tes:job xmlns:tes="http://www.tidalsoftware.com/client/tesservlet">
<tes:id>553</tes:id>
<tes:type>2</tes:type>
<tes:typename>JOB</tes:typename>
<tes:name>job-api-2</tes:name>
<tes:active>Y</tes:active>
<tes:effectivecalendarid>0</tes:effectivecalendarid>
<tes:ownerid>1</tes:ownerid>
<tes:ownername>dv\tes</tes:ownername>
<tes:lastusermodifiedtime>2022-09-20T02:13:08-0500</tes:lastusermodifiedtime>
<tes:lastusermodifiedtimeasstring>20220920021308</tes:lastusermodifiedtimeasstring>
<tes:dirty></tes:dirty>
<tes:successorsvalue>N</tes:successorsvalue>
<tes:predecessorsvalue>N</tes:predecessorsvalue>
<tes:critical>N</tes:critical>
<tes:childrencount>0</tes:childrencount>
<tes:agentid>289</tes:agentid>
<tes:effectiveagentid>289</tes:effectiveagentid>
<tes:effectiveagentlistid>0</tes:effectiveagentlistid>
<tes:agentname>172.21.244.24</tes:agentname>
<tes:agenttype>6</tes:agenttype>
<tes:agentostype>1</tes:agentostype>
<tes:allowunscheduled>Y</tes:allowunscheduled>
<tes:inheritcalendar>N</tes:inheritcalendar>
<tes:inheritagent>N</tes:inheritagent>
<tes:inherittimewindow>N</tes:inherittimewindow>
<tes:command>sleep</tes:command>
<tes:allowrerun>Y</tes:allowrerun>
<tes:concurrency>1</tes:concurrency>
<tes:createtime>2022-09-20T02:13:08-0500</tes:createtime>
<tes:dependencylogic>1</tes:dependencylogic>
<tes:disablecarryover>0</tes:disablecarryover>
<tes:durationestimated>60</tes:durationestimated>
<tes:durationmaximum>60</tes:durationmaximum>
<tes:durationminimum>60</tes:durationminimum>
<tes:estimatedmethod>1</tes:estimatedmethod>
<tes:excludeabnormalduration>4</tes:excludeabnormalduration>
<tes:exitcodenormaloperator>1</tes:exitcodenormaloperator>
<tes:fullpath>\job dep-api-9</tes:fullpath>
<tes:historyretention>30</tes:historyretention>
<tes:inheritoptions>N</tes:inheritoptions>
<tes:inheritrepeat>N</tes:inheritrepeat>
<tes:isnotes>false</tes:isnotes>
<tes:isrunbook>false</tes:isrunbook>
<tes:jobdetailid>553</tes:jobdetailid>
<tes:lastchangetime>2022-09-20T02:13:08-0500</tes:lastchangetime>
<tes:nearoutage>3</tes:nearoutage>
<tes:normalexitfromrange>0</tes:normalexitfromrange>
<tes:normalexittorange>0</tes:normalexittorange>
<tes:parameters/>
<tes:priority>50</tes:priority>
<tes:repeat/>
<tes:rerundependency>N</tes:rerundependency>
<tes:forcererun>N</tes:forcererun>
<tes:saveoutputoption>R</tes:saveoutputoption>
<tes:trackingmethod>1</tes:trackingmethod>
<tes:waitOperator>N</tes:waitOperator>
<tes:waitoperator>N</tes:waitoperator>
<tes:concurrencytype>2</tes:concurrencytype>
<tes:tags/>
<tes:sharedownerids/>
<tes:sharedowners/>
<tes:terminateparentonerrorflag>N</tes:terminateparentonerrorflag>
<tes:terminateparentonabnormalflag>N</tes:terminateparentonabnormalflag>
<tes:terminateparentonabortflag>N</tes:terminateparentonabortflag>
<tes:onterminatereqignoreflag>N</tes:onterminatereqignoreflag>
<tes:onterminatereqabortactiveflag>N</tes:onterminatereqabortactiveflag>
<tes:onterminatereqterminateparentflag>N</tes:onterminatereqterminateparentflag>
<tes:unixprofile>0</tes:unixprofile>
<tes:transactionid>0</tes:transactionid>
<tes:clientcontext>job-api-2-client context-2</tes:clientcontext>
</tes:job>
</tes:Job.create>
<tes:Job.create xmlns:tes="http://www.tidalsoftware.com/client/tesservlet">
<tes:job xmlns:tes="http://www.tidalsoftware.com/client/tesservlet">
<tes:id>553</tes:id>
<tes:type>2</tes:type>
<tes:typename>JOB</tes:typename>
<tes:name>job-api-3</tes:name>
<tes:active>Y</tes:active>
<tes:effectivecalendarid>0</tes:effectivecalendarid>
<tes:ownerid>1</tes:ownerid>
<tes:ownername>dv\tes</tes:ownername>
<tes:lastusermodifiedtime>2022-09-20T02:13:08-0500</tes:lastusermodifiedtime>
<tes:lastusermodifiedtimeasstring>20220920021308</tes:lastusermodifiedtimeasstring>
<tes:dirty></tes:dirty>
<tes:successorsvalue>N</tes:successorsvalue>
<tes:predecessorsvalue>N</tes:predecessorsvalue>
<tes:critical>N</tes:critical>
<tes:childrencount>0</tes:childrencount>
<tes:agentid>289</tes:agentid>
<tes:effectiveagentid>289</tes:effectiveagentid>
<tes:effectiveagentlistid>0</tes:effectiveagentlistid>
<tes:agentname>172.21.244.24</tes:agentname>
<tes:agenttype>6</tes:agenttype>
<tes:agentostype>1</tes:agentostype>
<tes:allowunscheduled>Y</tes:allowunscheduled>
<tes:inheritcalendar>N</tes:inheritcalendar>
<tes:inheritagent>N</tes:inheritagent>
<tes:inherittimewindow>N</tes:inherittimewindow>
<tes:command>sleep</tes:command>
<tes:allowrerun>Y</tes:allowrerun>
<tes:concurrency>1</tes:concurrency>
<tes:createtime>2022-09-20T02:13:08-0500</tes:createtime>
<tes:dependencylogic>1</tes:dependencylogic>
<tes:disablecarryover>0</tes:disablecarryover>
<tes:durationestimated>60</tes:durationestimated>
<tes:durationmaximum>60</tes:durationmaximum>
<tes:durationminimum>60</tes:durationminimum>
<tes:estimatedmethod>1</tes:estimatedmethod>
<tes:excludeabnormalduration>4</tes:excludeabnormalduration>
<tes:exitcodenormaloperator>1</tes:exitcodenormaloperator>
<tes:fullpath>\job dep-api-9</tes:fullpath>
<tes:historyretention>30</tes:historyretention>
<tes:inheritoptions>N</tes:inheritoptions>
<tes:inheritrepeat>N</tes:inheritrepeat>
<tes:isnotes>false</tes:isnotes>
<tes:isrunbook>false</tes:isrunbook>
<tes:jobdetailid>553</tes:jobdetailid>
<tes:lastchangetime>2022-09-20T02:13:08-0500</tes:lastchangetime>
<tes:nearoutage>3</tes:nearoutage>
<tes:normalexitfromrange>0</tes:normalexitfromrange>
<tes:normalexittorange>0</tes:normalexittorange>
<tes:parameters/>
<tes:priority>50</tes:priority>
<tes:repeat/>
<tes:rerundependency>N</tes:rerundependency>
<tes:forcererun>N</tes:forcererun>
<tes:saveoutputoption>R</tes:saveoutputoption>
<tes:trackingmethod>1</tes:trackingmethod>
<tes:waitOperator>N</tes:waitOperator>
<tes:waitoperator>N</tes:waitoperator>
<tes:concurrencytype>2</tes:concurrencytype>
<tes:tags/>
<tes:sharedownerids/>
<tes:sharedowners/>
<tes:terminateparentonerrorflag>N</tes:terminateparentonerrorflag>
<tes:terminateparentonabnormalflag>N</tes:terminateparentonabnormalflag>
<tes:terminateparentonabortflag>N</tes:terminateparentonabortflag>
<tes:onterminatereqignoreflag>N</tes:onterminatereqignoreflag>
<tes:onterminatereqabortactiveflag>N</tes:onterminatereqabortactiveflag>
<tes:onterminatereqterminateparentflag>N</tes:onterminatereqterminateparentflag>
<tes:unixprofile>0</tes:unixprofile>
<tes:transactionid>0</tes:transactionid>
<tes:clientcontext>job-api-3-client context-3</tes:clientcontext>
</tes:job>
</tes:Job.create>
<tes:Job.create xmlns:tes="http://www.tidalsoftware.com/client/tesservlet">
<tes:job xmlns:tes="http://www.tidalsoftware.com/client/tesservlet">
<tes:id>553</tes:id>
<tes:type>2</tes:type>
<tes:typename>JOB</tes:typename>
<tes:name>job-api-4</tes:name>
<tes:active>Y</tes:active>
<tes:effectivecalendarid>0</tes:effectivecalendarid>
<tes:ownerid>1</tes:ownerid>
<tes:ownername>dv\tes</tes:ownername>
<tes:lastusermodifiedtime>2022-09-20T02:13:08-0500</tes:lastusermodifiedtime>
<tes:lastusermodifiedtimeasstring>20220920021308</tes:lastusermodifiedtimeasstring>
<tes:dirty></tes:dirty>
<tes:successorsvalue>N</tes:successorsvalue>
<tes:predecessorsvalue>N</tes:predecessorsvalue>
<tes:critical>N</tes:critical>
<tes:childrencount>0</tes:childrencount>
<tes:agentid>289</tes:agentid>
<tes:effectiveagentid>289</tes:effectiveagentid>
<tes:effectiveagentlistid>0</tes:effectiveagentlistid>
<tes:agentname>172.21.244.24</tes:agentname>
<tes:agenttype>6</tes:agenttype>
<tes:agentostype>1</tes:agentostype>
<tes:allowunscheduled>Y</tes:allowunscheduled>
<tes:inheritcalendar>N</tes:inheritcalendar>
<tes:inheritagent>N</tes:inheritagent>
<tes:inherittimewindow>N</tes:inherittimewindow>
<tes:command>sleep</tes:command>
<tes:allowrerun>Y</tes:allowrerun>
<tes:concurrency>1</tes:concurrency>
<tes:createtime>2022-09-20T02:13:08-0500</tes:createtime>
<tes:dependencylogic>1</tes:dependencylogic>
<tes:disablecarryover>0</tes:disablecarryover>
<tes:durationestimated>60</tes:durationestimated>
<tes:durationmaximum>60</tes:durationmaximum>
<tes:durationminimum>60</tes:durationminimum>
<tes:estimatedmethod>1</tes:estimatedmethod>
<tes:excludeabnormalduration>4</tes:excludeabnormalduration>
<tes:exitcodenormaloperator>1</tes:exitcodenormaloperator>
<tes:fullpath>\job dep-api-9</tes:fullpath>
<tes:historyretention>30</tes:historyretention>
<tes:inheritoptions>N</tes:inheritoptions>
<tes:inheritrepeat>N</tes:inheritrepeat>
<tes:isnotes>false</tes:isnotes>
<tes:isrunbook>false</tes:isrunbook>
<tes:jobdetailid>553</tes:jobdetailid>
<tes:lastchangetime>2022-09-20T02:13:08-0500</tes:lastchangetime>
<tes:nearoutage>3</tes:nearoutage>
<tes:normalexitfromrange>0</tes:normalexitfromrange>
<tes:normalexittorange>0</tes:normalexittorange>
<tes:parameters/>
<tes:priority>50</tes:priority>
<tes:repeat/>
<tes:rerundependency>N</tes:rerundependency>
<tes:forcererun>N</tes:forcererun>
<tes:saveoutputoption>R</tes:saveoutputoption>
<tes:trackingmethod>1</tes:trackingmethod>
<tes:waitOperator>N</tes:waitOperator>
<tes:waitoperator>N</tes:waitoperator>
<tes:concurrencytype>2</tes:concurrencytype>
<tes:tags/>
<tes:sharedownerids/>
<tes:sharedowners/>
<tes:terminateparentonerrorflag>N</tes:terminateparentonerrorflag>
<tes:terminateparentonabnormalflag>N</tes:terminateparentonabnormalflag>
<tes:terminateparentonabortflag>N</tes:terminateparentonabortflag>
<tes:onterminatereqignoreflag>N</tes:onterminatereqignoreflag>
<tes:onterminatereqabortactiveflag>N</tes:onterminatereqabortactiveflag>
<tes:onterminatereqterminateparentflag>N</tes:onterminatereqterminateparentflag>
<tes:unixprofile>0</tes:unixprofile>
<tes:transactionid>0</tes:transactionid>
<tes:clientcontext>job-api-4-client context-4</tes:clientcontext>
</tes:job>
</tes:Job.create>
</entry>

Similarly, you can include the tes:clientcontext parameter to the update API requests for TA objects.

<feed version="0.3" xmlns="http://purl.org/atom/ns#">
<title>production/tes:Job.create</title>
<generator uri="http://www.tidalsoftware.com">TES</generator>
<modified>2022-09-29T10:11:27.056-05:00</modified>
<entry>
<id>0</id>
<title>Job has been created.</title>
<source>com.tidalsoft.framework.rpc.Result</source>
<tes:result
xmlns:tes="http://www.tidalsoftware.com/client/tesservlet">
<tes:message>Job has been created.</tes:message>
<tes:objectid>604</tes:objectid>
<tes:id>0</tes:id>
<tes:operation>CREATE</tes:operation>
<tes:ok>true</tes:ok>
<tes:clientcontext>job-api-1-client context-1</tes:clientcontext>
<tes:objectname>Job</tes:objectname>
</tes:result>
</entry>
<entry>
<id>0</id>
<title>Job has been created.</title>
<source>com.tidalsoft.framework.rpc.Result</source>
<tes:result
xmlns:tes="http://www.tidalsoftware.com/client/tesservlet">
<tes:message>Job has been created.</tes:message>
<tes:objectid>605</tes:objectid>
<tes:id>0</tes:id>
<tes:operation>CREATE</tes:operation>
<tes:ok>true</tes:ok>
<tes:clientcontext>job-api-2-client context-2</tes:clientcontext>
<tes:objectname>Job</tes:objectname>
</tes:result>
</entry>
<entry>
<id>0</id>
<title>Job has been created.</title>
<source>com.tidalsoft.framework.rpc.Result</source>
<tes:result
xmlns:tes="http://www.tidalsoftware.com/client/tesservlet">
<tes:message>Job has been created.</tes:message>
<tes:objectid>606</tes:objectid>
<tes:id>0</tes:id>
<tes:operation>CREATE</tes:operation>
<tes:ok>true</tes:ok>
<tes:clientcontext>job-api-3-client context-3</tes:clientcontext>
<tes:objectname>Job</tes:objectname>
</tes:result>
</entry>
<entry>
<id>0</id>
<title>exception:java.lang.Exception
reason:com.tidalsoft.scheduler.api.ApiException: TES_010003:A Job/Group with that name [job-api-4] already exists.
description:com.tidalsoft.scheduler.api.ApiException: TES_010003:A Job/Group with that name [job-api-4] already exists.
=&gt; com.tidalsoft.scheduler.api.methods.impl.CreateObject.execute [CreateObject.java 44]
=&gt; com.tidalsoft.framework.execute.Transaction.execute [Transaction.java 108]
=&gt; com.tidalsoft.framework.execute.Executor.execute [Executor.java 65]
=&gt; com.tidalsoft.framework.execute.Executor.executeAsync [Executor.java 52]
=&gt; com.tidalsoft.framework.execute.Execution.execute [Execution.java 24]
=&gt; com.tidalsoft.framework.rpc.RpcServer$1.onMessage [RpcServer.java 161]
=&gt; org.apache.activemq.ActiveMQSession.run [ActiveMQSession.java 1054]
=&gt; org.apache.activemq.ActiveMQQueueSession.run [ActiveMQQueueSession.java 237]
=&gt; com.tidalsoft.framework.jms.ServerSessionPool$ServerSession.run [ServerSessionPool.java 245]
=&gt; java.util.concurrent.ThreadPoolExecutor.runWorker [null -1]
=&gt; java.util.concurrent.ThreadPoolExecutor$Worker.run [null -1]
=&gt; java.lang.Thread.run [null -1]Caused by exception:java.lang.Exception
reason:TES_010003:A Job/Group with that name [job-api-4] already exists. description:TES_010003:A Job/Group with that name [job-api-4] already exists.
=&gt; com.tidalsoft.scheduler.api.objects.impl.JobHelper.validateJobNameIsUnique [JobHelper.java 3487]
=&gt; com.tidalsoft.scheduler.api.objects.impl.JobHelper.validateJobNameCreate [JobHelper.java 3501]
=&gt; com.tidalsoft.scheduler.api.objects.impl.JobHelper.createJob [JobHelper.java 139]
=&gt; com.tidalsoft.scheduler.api.objects.impl.Job.create [Job.java 40]
=&gt; sun.reflect.NativeMethodAccessorImpl.invoke0 [null -2]
=&gt; sun.reflect.NativeMethodAccessorImpl.invoke [null -1]
=&gt; sun.reflect.DelegatingMethodAccessorImpl.invoke [null -1]
=&gt; java.lang.reflect.Method.invoke [null -1]
=&gt; com.tidalsoft.framework.execute.CallMethod.execute [CallMethod.java 229]
=&gt; com.tidalsoft.scheduler.api.methods.impl.CreateObject.execute [CreateObject.java 37]
=&gt; com.tidalsoft.framework.execute.Transaction.execute [Transaction.java 108]
=&gt; com.tidalsoft.framework.execute.Executor.execute [Executor.java 65]
=&gt; com.tidalsoft.framework.execute.Executor.executeAsync [Executor.java 52]
=&gt; com.tidalsoft.framework.execute.Execution.execute [Execution.java 24]
=&gt; com.tidalsoft.framework.rpc.RpcServer$1.onMessage [RpcServer.java 161]
=&gt; org.apache.activemq.ActiveMQSession.run [ActiveMQSession.java 1054]
=&gt; org.apache.activemq.ActiveMQQueueSession.run [ActiveMQQueueSession.java 237]
=&gt; com.tidalsoft.framework.jms.ServerSessionPool$ServerSession.run [ServerSessionPool.java 245]
=&gt; java.util.concurrent.ThreadPoolExecutor.runWorker [null -1]
=&gt; java.util.concurrent.ThreadPoolExecutor$Worker.run [null -1]
=&gt; java.lang.Thread.run [null -1]</title>
<source>com.tidalsoft.framework.rpc.Result</source>
<tes:result
xmlns:tes="http://www.tidalsoftware.com/client/tesservlet">
<tes:message>exception:java.lang.Exception reason:com.tidalsoft.scheduler.api.ApiException: TES_010003:A Job/Group with that name [job-api-4] already exists.
description:com.tidalsoft.scheduler.api.ApiException: TES_010003:A Job/Group with that name [job-api-4] already exists.
=&gt; com.tidalsoft.scheduler.api.methods.impl.CreateObject.execute [CreateObject.java 44]
=&gt; com.tidalsoft.framework.execute.Transaction.execute [Transaction.java 108]
=&gt; com.tidalsoft.framework.execute.Executor.execute [Executor.java 65]
=&gt; com.tidalsoft.framework.execute.Executor.executeAsync [Executor.java 52]
=&gt; com.tidalsoft.framework.execute.Execution.execute [Execution.java 24]
=&gt; com.tidalsoft.framework.rpc.RpcServer$1.onMessage [RpcServer.java 161]
=&gt; org.apache.activemq.ActiveMQSession.run [ActiveMQSession.java 1054]
=&gt; org.apache.activemq.ActiveMQQueueSession.run [ActiveMQQueueSession.java 237]
=&gt; com.tidalsoft.framework.jms.ServerSessionPool$ServerSession.run [ServerSessionPool.java 245]
exception:java.lang.Exception
reason:TES_010003:A Job/Group with that name [job-api-4] already exists. description:TES_010003:A Job/Group with that name [job-api-4] already exists.
=&gt; com.tidalsoft.scheduler.api.objects.impl.JobHelper.validateJobNameIsUnique [JobHelper.java 3487]
=&gt; com.tidalsoft.scheduler.api.objects.impl.JobHelper.validateJobNameCreate [JobHelper.java 3501]
=&gt; com.tidalsoft.scheduler.api.objects.impl.JobHelper.createJob [JobHelper.java 139]
=&gt; com.tidalsoft.scheduler.api.objects.impl.Job.create [Job.java 40]
=&gt; sun.reflect.NativeMethodAccessorImpl.invoke0 [null -2]
=&gt; sun.reflect.NativeMethodAccessorImpl.invoke [null -1]
=&gt; sun.reflect.DelegatingMethodAccessorImpl.invoke [null -1]
=&gt; java.lang.reflect.Method.invoke [null -1]
=&gt; com.tidalsoft.framework.execute.CallMethod.execute [CallMethod.java 229]
=&gt; com.tidalsoft.scheduler.api.methods.impl.CreateObject.execute [CreateObject.java 37]
=&gt; com.tidalsoft.framework.execute.Transaction.execute [Transaction.java 108]
=&gt; com.tidalsoft.framework.execute.Executor.execute [Executor.java 65]
=&gt; com.tidalsoft.framework.execute.Executor.executeAsync [Executor.java 52]
=&gt; com.tidalsoft.framework.execute.Execution.execute [Execution.java 24]
=&gt; com.tidalsoft.framework.rpc.RpcServer$1.onMessage [RpcServer.java 161]
=&gt; org.apache.activemq.ActiveMQSession.run [ActiveMQSession.java 1054]
=&gt; org.apache.activemq.ActiveMQQueueSession.run [ActiveMQQueueSession.java 237]
=&gt; com.tidalsoft.framework.jms.ServerSessionPool$ServerSession.run [ServerSessionPool.java 245]
=&gt; java.util.concurrent.ThreadPoolExecutor.runWorker [null -1]
=&gt; java.util.concurrent.ThreadPoolExecutor$Worker.run [null -1]
=&gt; java.lang.Thread.run [null -1]</tes:message>
<tes:objectid>0</tes:objectid>
<tes:localizedmessage>TES_010003:A Job/Group with that name [job-api-4] already exists.</tes:localizedmessage>
<tes:id>0</tes:id>
<tes:ok>false</tes:ok>
<tes:clientcontext>job-api-4-client context-4</tes:clientcontext>
<tes:objectname>java.lang.Exception</tes:objectname>
</tes:result>
</entry>
</feed>