Hi,
is there an API to delete activity from order?

I have audit API for my account, but the deletion it self is not visible in inbound data audit, so I can’t take API from there.
Thank you!
Regards
Torsten
Hi,
is there an API to delete activity from order?

I have audit API for my account, but the deletion it self is not visible in inbound data audit, so I can’t take API from there.
Thank you!
Regards
Torsten
Best answer by Joshua Liem
Hi Torsten,
Please try below API for deleting Service Order open activity.
Please replace the order_id and demand_id with appropriate value.
<root xmlns:dt="urn:schemas-microsoft-com:datatypes" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<session email="" alias="">
<state bc_name="Service_Order">
<action name="data">
<main>
<row>
<order_id dtype="string">SVXXXXXXXXXX@@1</order_id>
</row>
</main>
<demand_labor>
<row delete="true">
<demand_id dtype="int">123</demand_id>
<bo_search_keys>
<item>
<name>demand_id</name>
<value>123</value>
</item>
</bo_search_keys>
</row>
</demand_labor>
</action>
</state>
</session>
</root>
Regards,
Joshua
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.