Content Management and Capture

Content Management and Capture

Come for answers. Stay for best practices. All we’re missing is you.

 View Only
  • 1.  How to transmit custom attribute to Datacap through API

    Posted 11/10/22 08:56 AM
    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
    ------------------------------


  • 2.  RE: How to transmit custom attribute to Datacap through API

    Posted 11/11/22 02:56 AM
    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
    ------------------------------



  • 3.  RE: How to transmit custom attribute to Datacap through API

    Posted 11/15/22 12:17 AM
    Geetha,

    Thank you! It works.

    ------------------------------
    Wei Li
    ------------------------------



  • 4.  RE: How to transmit custom attribute to Datacap through API

    Posted 11/22/22 09:53 AM
    Edited by Geetha Jini C 11/22/22 09:55 AM
    Hi Wei Li,

    I don't have idea on json request for CreateBatch API.  It will be helpful if you could share the same, if you can figure out the json request.

    Thanks,
    Geetha

    ------------------------------
    Geetha Jini C
    ------------------------------