Skip to content

Commit

Permalink
Merge pull request #319 from oneblink/ON-41108
Browse files Browse the repository at this point in the history
ON-41108 # Changed submissionEvent to workflowEvent
  • Loading branch information
divporter authored Jun 11, 2024
2 parents a0946dc + 12e07fd commit 1542402
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions OneBlink.SDK/FormsClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -329,14 +329,14 @@ internal FormSubmissionEvent submissionEvent
}
}

public async Task<FormSubmissionWorkflowEvent> ExecuteWorkflowEvent(long formId, Guid submissionId, FormSubmissionEvent submissionEvent)
public async Task<FormSubmissionWorkflowEvent> ExecuteWorkflowEvent(long formId, Guid submissionId, FormSubmissionEvent workflowEvent)
{
string url = "/form-submission-meta/replay-submission-event";
return await this.oneBlinkApiClient.PostRequest<ExecuteWorkflowEventRequest, FormSubmissionWorkflowEvent>(url, new ExecuteWorkflowEventRequest()
{
submissionId = submissionId,
formId = formId,
submissionEvent = submissionEvent
submissionEvent = workflowEvent
});
}

Expand Down
10 changes: 5 additions & 5 deletions docs/forms-client.md
Original file line number Diff line number Diff line change
Expand Up @@ -684,11 +684,11 @@ FormSubmissionWorkflowEvent formSubmissionWorkflowEvent = await formsClient.Exec

### Parameters

| Parameter | Required | Type | Description |
| --------------------- | -------- | ------------------- | ----------------------------------------------------------------------- |
| `formId` | Yes | long | The exact id of the form. |
| `submissionId` | Yes | Guid | The submission identifier generated after a successful form submission. |
| `formSubmissionEvent` | Yes | FormSubmissionEvent | The form workflow event to be executed. |
| Parameter | Required | Type | Description |
| --------------- | -------- | ------------------- | ----------------------------------------------------------------------- |
| `formId` | Yes | long | The exact id of the form. |
| `submissionId` | Yes | Guid | The submission identifier generated after a successful form submission. |
| `workflowEvent` | Yes | FormSubmissionEvent | The form workflow event to be executed. |

### Throws

Expand Down

0 comments on commit 1542402

Please sign in to comment.