But....
know I have another question
The answer is also in JSON Format:
{"meta":{"code":201},"data":{"tracking":{"id":"XYZ","created_at":"2018-12-20T00:38:01+00:00","updated_at":"2018-12-20T00:38:01+00:00","last_updated_at":"2018-12-20T00:38:01+00:00","tracking_number":"ABCD","slug":"dhl-germany","active":true,"android":[],"custom_fields":null,"customer_name":null,"delivery_time":0,"destination_country_iso3":null,"courier_destination_country_iso3":null,"emails":[],"expected_delivery":null,"ios":[],"note":null,"order_id":"AUM11231","order_id_path":null,"origin_country_iso3":null,"shipment_package_count":0,"shipment_pickup_date":null,"shipment_delivery_date":null,"shipment_type":null,"shipment_weight":null,"shipment_weight_unit":null,"signed_by":null,"smses":[],"source":"api","tag":"Pending","subtag":"Pending_001","subtag_message":"Pending","title":"ABCD","tracked_count":0,"last_mile_tracking_supported":null,"language":"de","unique_token":"deprecated","checkpoints":[],"subscribed_smses":[],"subscribed_emails":[],"return_to_sender":false,"tracking_account_number":null,"tracking_origin_country":null,"tracking_destination_country":null,"tracking_key":null,"tracking_postal_code":null,"tracking_ship_date":null,"tracking_state":null}}}
What can I do to get the variable from Tracking ID (XYZ)?
My Idea was
Code: Select all
put jsonImport(vorconvert) into temp --put the answer into temp
--put the keys of temp (Shows: META and DATA)
put temp["data"]["id"]
But I did not received anything from the temp["data"]["id"] array. What is wrong?
Thanks
Stef