Accenture / sfmc-devtools

Fast-track your developers and devops engineers by allowing them to programmatically copy-paste / deploy changes and work offline
https://www.npmjs.org/package/mcdev
MIT License
137 stars 36 forks source link

[FEATURE] Retrieve journey history #1125

Open phjulia opened 1 year ago

phjulia commented 1 year ago

Is your feature request related to a problem? Please describe. This feature would be useful to identify any potential problems with journeys. For example, if a data model has been updated this can cause journeys using that relationship path to throw errors. Being able to retrieve journey history of all journeys on the BU one can identify journeys affected by the change.

Describe the solution you'd like Retrieve journey history: https://developer.salesforce.com/docs/marketing/marketing-cloud/guide/downloadJourneyHistory.html#usage Feature should support running the command on all BUs, get journey history of any specific journeys or all on the BU (and across all BUs). User should be able to specify additional optional criteria such as which columns to retrieve, start and end of the query, and statuses.

JoernBerkefeld commented 1 year ago

Updated: my original thoughts were based on not reading the official docs :D CSV and TSV formats will do just fine. good that the API returns these options already. i take it you would be writing a mere wrapper around the API here which is cool.