1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "interchanges": [{
10 "sourceId": "store-qa-order-1001",
11 "content": "UNB+UNOC:3+STORE-QA-SENDER:14+STORE-QA-RECEIVER:14+260916:1200+STORE-QA-1'UNH+1+ORDERS:D:01B:UN'BGM+220+PO-1001+9'DTM+137:20260916:102'NAD+BY+STORE-QA-BUYER::9'LIN+1++STORE-QA-SKU:EN'QTY+21:5'UNT+7+1'UNZ+1+STORE-QA-1'",
12 }],
13 "directory": "D01B",
14 "generateContrl": True,
15 "partnerRules": [],
16}
17
18
19run = client.actor("ceddl/unedifact-transaction-quality-gate").call(run_input=run_input)
20
21
22print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
23for item in client.dataset(run.default_dataset_id).iterate_items():
24 print(item)
25
26