Skip to main content

Record my progress through a product tour.

PATCH/api/v1/me/tours/{tour_id}/progressaccount:write

Creates or updates the caller's progress, as the tour player does when a step is reached, the tour is finished or it is dismissed: a flag that is not sent keeps its value, a completed tour is also started and not dismissed, a dismissed one is started once a step was reached, and a neutral step update marks the tour started. Written by the Portal's own function, last writer wins. Needs Edit Own Tour Progress.

Scopeaccount:write
AsynchronousNo
MCP toolupdate_my_tour_progress
Portal permissionsedit_own_tour_progress

Parameters​

NameInTypeRequiredDescription
tour_idpathstringRequired
Docwize-Versionheaderstring (date)Optional
If-MatchheaderstringOptional

Request body​

Content typeType
application/jsonTourProgressPatchInput
application/merge-patch+jsonTourProgressPatchInput

Responses​

StatusDescriptionBody
200Success.application/json TourProgress or object
400invalid_version, malformed_jsonapplication/problem+json Problem
401token_expired, unauthenticatedapplication/problem+json Problem
403forbidden, insufficient_scope, token_owner_inactiveapplication/problem+json Problem
404not_foundapplication/problem+json Problem
405method_not_allowedapplication/problem+json Problem
406not_acceptableapplication/problem+json Problem
412precondition_failedapplication/problem+json Problem
413payload_too_largeapplication/problem+json Problem
415unsupported_media_typeapplication/problem+json Problem
421wrong_regionapplication/problem+json Problem
422validation_failedapplication/problem+json Problem
500internal_errorapplication/problem+json Problem
503tenant_unavailable, unavailableapplication/problem+json Problem
504timeoutapplication/problem+json Problem

Errors​

The problem codes this operation can answer with. Each code links to its page.

Schemas​

TourProgress​

FieldTypeRequiredDescription
current_stepinteger or nullRequiredThe step the person is on, as the player numbers them (from 1); null before any step.
is_completedbooleanRequiredTrue only when the person finished the tour.
is_dismissedbooleanRequiredTrue when the person stopped the tour without finishing it.
is_startedbooleanRequiredTrue after the first step, and when the tour is completed.
tour_idstringRequired
updated_atstring (date-time) or nullRequired

TourProgressPatchInput​

FieldTypeRequiredDescription
current_stepinteger or nullOptionalThe step the person is on, from 1.
is_completedboolean or nullOptional
is_dismissedboolean or nullOptional
is_startedboolean or nullOptional
tour_idstring or nullOptional
updated_atstring (date-time) or nullOptional