-
Notifications
You must be signed in to change notification settings - Fork 7
/
convert.sh
5 lines (5 loc) · 1.16 KB
/
convert.sh
1
2
3
4
5
curl -sXPOST -H 'Content-Type:application/xml' https://api.openepcis.io/converter/jsonConverter -d @../../XML/WithFullCombinationOfFields/aggregation_event_all_possible_fields.xml | jq . > aggregation_event_all_possible_fields.jsonld
curl -sXPOST -H 'Content-Type:application/xml' https://api.openepcis.io/converter/jsonConverter -d @../../XML/WithFullCombinationOfFields/association_event_all_possible_fields.xml | jq . > association_event_all_possible_fields.jsonld
curl -sXPOST -H 'Content-Type:application/xml' https://api.openepcis.io/converter/jsonConverter -d @../../XML/WithFullCombinationOfFields/object_event_all_possible_fields.xml | jq . > object_event_all_possible_fields.jsonld
curl -sXPOST -H 'Content-Type:application/xml' https://api.openepcis.io/converter/jsonConverter -d @../../XML/WithFullCombinationOfFields/transaction_event_all_possible_fields.xml | jq . > transaction_event_all_possible_fields.jsonld
curl -sXPOST -H 'Content-Type:application/xml' https://api.openepcis.io/converter/jsonConverter -d @../../XML/WithFullCombinationOfFields/transformation_event_all_possible_fields.xml | jq . > transformation_event_all_possible_fields.jsonld