Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] resume journey #1434

Open
JoernBerkefeld opened this issue Jul 9, 2024 · 0 comments
Open

[FEATURE] resume journey #1434

JoernBerkefeld opened this issue Jul 9, 2024 · 0 comments
Labels
c/journey COMPONENT enhancement New feature or request; requires increasing the minor version of mcdev. Jira issue-type "Story"
Milestone

Comments

@JoernBerkefeld
Copy link
Contributor

JoernBerkefeld commented Jul 9, 2024

related to:

docs:

journeys that were paused cannot be re-published but instead need to be "resumed".

this should add a tutorial into the warning of the publish method, telling people to resume the journey instead with this command

Name Type   Description
definitionID string Required The ID of the journey to be resumed, expressed in the form of a GUID (UUID).
versionNumber integer Required The version number of the journey to be resumed. This parameter is optional only when the allVersions parameter is true.
allVersions integer   Indicates whether to resume all versions of the journey. This parameter is required only when you don't provide a versionNumber in the request URL.

request

POST /interaction/v1/interactions/resume/{definitionID}?versionNumber={versionNumber}
Host: https://YOUR_SUBDOMAIN.rest.marketingcloudapis.com
POST  /interaction/v1/interactions/resume/unique-UUID-provided-by-SFMC?versionNumber=1&allVersions=false
Content-Type: application/json
Authorization: Bearer YOUR_ACCESS_TOKEN

response (ok):

{
    "status": "Accepted"
}

response (error):

{
    "message": "AllVersions=true or VersionNumber required.",
    "errorcode": 10005,
    "documentation": ""
}
{
    "message": "Must provide a valid ID or Key parameter",
    "errorcode": 10005,
    "documentation": ""
}
{
    "message": "An interaction must be in paused status to be resumed.",
    "errorcode": 10000,
    "documentation": ""
}
@JoernBerkefeld JoernBerkefeld added enhancement New feature or request; requires increasing the minor version of mcdev. Jira issue-type "Story" c/journey COMPONENT labels Jul 9, 2024
@JoernBerkefeld JoernBerkefeld added this to the 7.2.0 milestone Jul 9, 2024
@JoernBerkefeld JoernBerkefeld added the PRIORITY used for professional service clients label Jul 9, 2024
@JoernBerkefeld JoernBerkefeld removed the PRIORITY used for professional service clients label Aug 2, 2024
@JoernBerkefeld JoernBerkefeld modified the milestones: 7.2.0, 7.3.0 Aug 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c/journey COMPONENT enhancement New feature or request; requires increasing the minor version of mcdev. Jira issue-type "Story"
Projects
None yet
Development

No branches or pull requests

1 participant