Hi Wei Li,
We can send custom attributes using batch level variables while creating a batch. The below CreateBatch request will create batch level variables MyVariable1,MyVariable2.
<createBatchAttributes>
<application>TravelDocs</application>
<job>MainJob</job>
<pageFile>
<B id="">
<V n="STATUS">0</V>
<V n="TYPE">TravelDocs</V>
<V n="MyVariable1">abc</V>
<V n="MyVariable2">def</V>
</B>
</pageFile>
</createBatchAttributes>
Thanks,
Geetha
------------------------------
Geetha Jini C
------------------------------
Original Message:
Sent: Thu November 10, 2022 01:28 AM
From: Wei Li
Subject: How to transmit custom attribute to Datacap through API
Hi
Custom is calling Datacap API to create batch and proceed files following Datacap workflow. How can we transmit custom attributes to this batch through
API, then Datacap actions can use these attributes?
Thanks,
Wei Li
------------------------------
Wei Li
------------------------------