postGuideStepsByIdDoneWithHttpInfo method
Marks one step of the caller org's journey complete and returns the refreshed journey.
Marks one step of the caller org's journey complete and returns the refreshed journey. Dependency-GATED, exactly as start is: a step whose prerequisites are unfinished is refused 409 carrying {error, step, blockedBy} naming what is in the way.
Note: This method returns the HTTP Response.
Parameters:
- String id (required): ID is the step's id, as it appears in the journey (e.g. "gsuite").
Implementation
Future<Response> postGuideStepsByIdDoneWithHttpInfo(String id,) async {
// ignore: prefer_const_declarations
final path = r'/v1/guide/steps/{id}/done'
.replaceAll('{id}', id);
// ignore: prefer_final_locals
Object? postBody;
final queryParams = <QueryParam>[];
final headerParams = <String, String>{};
final formParams = <String, String>{};
const contentTypes = <String>[];
return apiClient.invokeAPI(
path,
'POST',
queryParams,
postBody,
headerParams,
formParams,
contentTypes.isEmpty ? null : contentTypes.first,
);
}