docs/WorkflowApi.md in ultracart_api-4.0.189 vs docs/WorkflowApi.md in ultracart_api-4.0.190
- old
+ new
@@ -306,11 +306,11 @@
- **Accept**: application/json
## get_workflow_task_by_object_type
-> <WorkflowTaskResponse> get_workflow_task_by_object_type(object_type, object_id)
+> <WorkflowTasksResponse> get_workflow_task_by_object_type(object_type, object_id)
Retrieve a workflow task by object type and id
Retrieve a workflow task by object type and id
@@ -342,19 +342,19 @@
#### Using the get_workflow_task_by_object_type_with_http_info variant
This returns an Array which contains the response data, status code and headers.
-> <Array(<WorkflowTaskResponse>, Integer, Hash)> get_workflow_task_by_object_type_with_http_info(object_type, object_id)
+> <Array(<WorkflowTasksResponse>, Integer, Hash)> get_workflow_task_by_object_type_with_http_info(object_type, object_id)
```ruby
begin
# Retrieve a workflow task by object type and id
data, status_code, headers = api_instance.get_workflow_task_by_object_type_with_http_info(object_type, object_id)
p status_code # => 2xx
p headers # => { ... }
- p data # => <WorkflowTaskResponse>
+ p data # => <WorkflowTasksResponse>
rescue UltracartClient::ApiError => e
puts "Error when calling WorkflowApi->get_workflow_task_by_object_type_with_http_info: #{e}"
end
```
@@ -365,10 +365,10 @@
| **object_type** | **String** | | |
| **object_id** | **String** | | |
### Return type
-[**WorkflowTaskResponse**](WorkflowTaskResponse.md)
+[**WorkflowTasksResponse**](WorkflowTasksResponse.md)
### Authorization
[ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)