public virtual JsonResult SubmitInstance(int instanceId, int actionType, ClientFieldData[] additionalData) { var additionalFields = additionalData.SetAdditionalFieldForm(); var submitResponse = new VerSubmitInstanceRequest { InstanceId = instanceId, ActionType = actionType, AdditionalData = additionalFields, Mode = SubmitType.MANUAL }; var response = _verService.SubmitInstance(submitResponse); return(Json(response)); }