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

Closed
JoernBerkefeld opened this issue Jul 9, 2024 · 1 comment · Fixed by #1630 or #1642
Closed

[FEATURE] resume journey #1434

JoernBerkefeld opened this issue Jul 9, 2024 · 1 comment · Fixed by #1630 or #1642
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
@JoernBerkefeld JoernBerkefeld modified the milestones: 8, 7.4.0 Aug 29, 2024
@JoernBerkefeld JoernBerkefeld linked a pull request Aug 29, 2024 that will close this issue
4 tasks
@JoernBerkefeld JoernBerkefeld modified the milestones: 7.5.0, 7.4.0 Sep 2, 2024
@github-actions github-actions bot closed this as completed Sep 2, 2024
Copy link

github-actions bot commented Sep 2, 2024

Closed by #1630.

@JoernBerkefeld JoernBerkefeld mentioned this issue Sep 16, 2024
11 tasks
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
1 participant