How to specify the batch type in FlexiCapture Connect?

Question

How to configure FlexiCapture Connect in order for it to work with the specific batch type?

Answer

Add the batchType parameter in the  FlexiCapture Connect config file and enter the name of the batch type that it should use, i.e.:

{
  "url": "",
  "tenant": "%tenant_name%",
  "user": "%username%",
  "password": "%password%",
  "projects": [
    {
      "name": "Invoice",
      "batchType": "%batch_type_name%",
      "import": {
        "directory": "C:\\Users\\test\\Desktop\\Connect_Import",
        "fileMask": "*",
        "settings": {
          "region": "US",
          "verification_type": "NoVerification",
          "export_format": "Xml"
        },
        "createDocument": "ForEachFile",
        "period": "00:01:00",
        "schedule": [ "12:00:00", "06:00:00" ]
      },
      "export": {
        "directory": "C:\\Users\\test\\Desktop\\Connect_Export",
        "period": "00:00:20",
        "schedule": [ "12:00:00" ]
      },
      "templates": [
        {
          "name": "Invoice",
          "datasets": [
            {
            }
          ]
        }
      ]
    }
  ]
}

 

Was this article helpful?

0 out of 0 found this helpful

Have more questions? Submit a request