All URIs are relative to https://secure.ultracart.com/rest/v2
| Method | HTTP request | Description |
|---|---|---|
| get_workflow_agent_websocket_authorization | PUT /workflow/agent/auth | Get agent websocket authorization |
| get_workflow_assignment_groups | GET /workflow/assignment_groups | Retrieve a list of groups that workflow tasks can be assigned to |
| get_workflow_assignment_users | GET /workflow/assignment_users | Retrieve a list of users that workflow tasks can be assigned to |
| get_workflow_me | GET /workflow/me | Retrieve a user object for myself |
| get_workflow_task | GET /workflow/tasks/{task_uuid} | Retrieve a workflow task |
| get_workflow_task_attachment_upload_url | GET /workflow/tasks/attachments/{extension} | Get a presigned workflow task attachment upload URL |
| get_workflow_task_by_object_type | GET /workflow/tasks/by/{object_type}/{object_id} | Retrieve a workflow task by object type and id |
| get_workflow_task_open_count | GET /workflow/tasks/open_count | Retrieve workflow task open count |
| get_workflow_task_tags | GET /workflow/tasks/tags | Get a list of existing workflow task tags |
| get_workflow_tasks | POST /workflow/tasks/search | Search workflow tasks |
| insert_workflow_task | POST /workflow/tasks | Insert a workflow task |
| update_workflow_task | PUT /workflow/tasks/{task_uuid} | Update a workflow task |
get_workflow_agent_websocket_authorization
Get agent websocket authorization
Retrieve a JWT to authorize an agent to make a websocket connection.
# Internal API. No samples are provided as merchants will never need this api methodThis returns an Array which contains the response data, status code and headers.
<Array(, Integer, Hash)> get_workflow_agent_websocket_authorization_with_http_info
begin
# Get agent websocket authorization
data, status_code, headers = api_instance.get_workflow_agent_websocket_authorization_with_http_info
p status_code # => 2xx
p headers # => { ... }
p data # => <WorkflowAgentAuthResponse>
rescue UltracartClient::ApiError => e
puts "Error when calling WorkflowApi->get_workflow_agent_websocket_authorization_with_http_info: #{e}"
endThis endpoint does not need any parameter.
ultraCartOauth, ultraCartSimpleApiKey
- Content-Type: Not defined
- Accept: application/json
get_workflow_assignment_groups(opts)
Retrieve a list of groups that workflow tasks can be assigned to
Retrieve a list of groups that workflow tasks can be assigned to
# Internal API. No samples are provided as merchants will never need this api methodThis returns an Array which contains the response data, status code and headers.
<Array(, Integer, Hash)> get_workflow_assignment_groups_with_http_info(opts)
begin
# Retrieve a list of groups that workflow tasks can be assigned to
data, status_code, headers = api_instance.get_workflow_assignment_groups_with_http_info(opts)
p status_code # => 2xx
p headers # => { ... }
p data # => <WorkflowGroupsResponse>
rescue UltracartClient::ApiError => e
puts "Error when calling WorkflowApi->get_workflow_assignment_groups_with_http_info: #{e}"
end| Name | Type | Description | Notes |
|---|---|---|---|
| _limit | Integer | The maximum number of records to return on this one API call. (Max 200) | [optional][default to 100] |
| _offset | Integer | Pagination of the record set. Offset is a zero based index. | [optional][default to 0] |
ultraCartOauth, ultraCartSimpleApiKey
- Content-Type: Not defined
- Accept: application/json
get_workflow_assignment_users(opts)
Retrieve a list of users that workflow tasks can be assigned to
Retrieve a list of users that workflow tasks can be assigned to
# Internal API. No samples are provided as merchants will never need this api methodThis returns an Array which contains the response data, status code and headers.
<Array(, Integer, Hash)> get_workflow_assignment_users_with_http_info(opts)
begin
# Retrieve a list of users that workflow tasks can be assigned to
data, status_code, headers = api_instance.get_workflow_assignment_users_with_http_info(opts)
p status_code # => 2xx
p headers # => { ... }
p data # => <WorkflowUsersResponse>
rescue UltracartClient::ApiError => e
puts "Error when calling WorkflowApi->get_workflow_assignment_users_with_http_info: #{e}"
end| Name | Type | Description | Notes |
|---|---|---|---|
| _limit | Integer | The maximum number of records to return on this one API call. (Max 200) | [optional][default to 100] |
| _offset | Integer | Pagination of the record set. Offset is a zero based index. | [optional][default to 0] |
ultraCartOauth, ultraCartSimpleApiKey
- Content-Type: Not defined
- Accept: application/json
get_workflow_me
Retrieve a user object for myself
Retrieve a user object for myself
# Internal API. No samples are provided as merchants will never need this api methodThis returns an Array which contains the response data, status code and headers.
<Array(, Integer, Hash)> get_workflow_me_with_http_info
begin
# Retrieve a user object for myself
data, status_code, headers = api_instance.get_workflow_me_with_http_info
p status_code # => 2xx
p headers # => { ... }
p data # => <WorkflowUserResponse>
rescue UltracartClient::ApiError => e
puts "Error when calling WorkflowApi->get_workflow_me_with_http_info: #{e}"
endThis endpoint does not need any parameter.
ultraCartOauth, ultraCartSimpleApiKey
- Content-Type: Not defined
- Accept: application/json
get_workflow_task(task_uuid)
Retrieve a workflow task
Retrieve a workflow task
# Internal API. No samples are provided as merchants will never need this api methodThis returns an Array which contains the response data, status code and headers.
<Array(, Integer, Hash)> get_workflow_task_with_http_info(task_uuid)
begin
# Retrieve a workflow task
data, status_code, headers = api_instance.get_workflow_task_with_http_info(task_uuid)
p status_code # => 2xx
p headers # => { ... }
p data # => <WorkflowTaskResponse>
rescue UltracartClient::ApiError => e
puts "Error when calling WorkflowApi->get_workflow_task_with_http_info: #{e}"
end| Name | Type | Description | Notes |
|---|---|---|---|
| task_uuid | String |
ultraCartOauth, ultraCartSimpleApiKey
- Content-Type: Not defined
- Accept: application/json
get_workflow_task_attachment_upload_url(extension)
Get a presigned workflow task attachment upload URL
Get a presigned workflow task attachment upload URL
# Internal API. No samples are provided as merchants will never need this api methodThis returns an Array which contains the response data, status code and headers.
<Array(, Integer, Hash)> get_workflow_task_attachment_upload_url_with_http_info(extension)
begin
# Get a presigned workflow task attachment upload URL
data, status_code, headers = api_instance.get_workflow_task_attachment_upload_url_with_http_info(extension)
p status_code # => 2xx
p headers # => { ... }
p data # => <WorkflowAttachmentUploadUrlResponse>
rescue UltracartClient::ApiError => e
puts "Error when calling WorkflowApi->get_workflow_task_attachment_upload_url_with_http_info: #{e}"
end| Name | Type | Description | Notes |
|---|---|---|---|
| extension | String |
WorkflowAttachmentUploadUrlResponse
ultraCartOauth, ultraCartSimpleApiKey
- Content-Type: Not defined
- Accept: application/json
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
# Internal API. No samples are provided as merchants will never need this api methodThis returns an Array which contains the response data, status code and headers.
<Array(, Integer, Hash)> get_workflow_task_by_object_type_with_http_info(object_type, object_id)
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 # => <WorkflowTasksResponse>
rescue UltracartClient::ApiError => e
puts "Error when calling WorkflowApi->get_workflow_task_by_object_type_with_http_info: #{e}"
end| Name | Type | Description | Notes |
|---|---|---|---|
| object_type | String | ||
| object_id | String |
ultraCartOauth, ultraCartSimpleApiKey
- Content-Type: Not defined
- Accept: application/json
get_workflow_task_open_count
Retrieve workflow task open count
Retrieve workflow task open count
# Internal API. No samples are provided as merchants will never need this api methodThis returns an Array which contains the response data, status code and headers.
<Array(, Integer, Hash)> get_workflow_task_open_count_with_http_info
begin
# Retrieve workflow task open count
data, status_code, headers = api_instance.get_workflow_task_open_count_with_http_info
p status_code # => 2xx
p headers # => { ... }
p data # => <WorkflowTaskOpenCountResponse>
rescue UltracartClient::ApiError => e
puts "Error when calling WorkflowApi->get_workflow_task_open_count_with_http_info: #{e}"
endThis endpoint does not need any parameter.
ultraCartOauth, ultraCartSimpleApiKey
- Content-Type: Not defined
- Accept: application/json
get_workflow_task_tags
Get a list of existing workflow task tags
Retrieves a unique list of all the existing workflow task tags.
# Internal API. No samples are provided as merchants will never need this api methodThis returns an Array which contains the response data, status code and headers.
<Array(, Integer, Hash)> get_workflow_task_tags_with_http_info
begin
# Get a list of existing workflow task tags
data, status_code, headers = api_instance.get_workflow_task_tags_with_http_info
p status_code # => 2xx
p headers # => { ... }
p data # => <WorkflowTaskTagsResponse>
rescue UltracartClient::ApiError => e
puts "Error when calling WorkflowApi->get_workflow_task_tags_with_http_info: #{e}"
endThis endpoint does not need any parameter.
ultraCartOauth, ultraCartSimpleApiKey
- Content-Type: Not defined
- Accept: application/json
get_workflow_tasks(workflow_tasks_query, opts)
Search workflow tasks
Retrieves a set of workflow tasks from the account based on a query object.
# Internal API. No samples are provided as merchants will never need this api methodThis returns an Array which contains the response data, status code and headers.
<Array(, Integer, Hash)> get_workflow_tasks_with_http_info(workflow_tasks_query, opts)
begin
# Search workflow tasks
data, status_code, headers = api_instance.get_workflow_tasks_with_http_info(workflow_tasks_query, opts)
p status_code # => 2xx
p headers # => { ... }
p data # => <WorkflowTasksResponse>
rescue UltracartClient::ApiError => e
puts "Error when calling WorkflowApi->get_workflow_tasks_with_http_info: #{e}"
end| Name | Type | Description | Notes |
|---|---|---|---|
| workflow_tasks_query | WorkflowTasksRequest | Workflow tasks query | |
| _limit | Integer | The maximum number of records to return on this one API call. (Default 100, Max 500) | [optional][default to 100] |
| _offset | Integer | Pagination of the record set. Offset is a zero based index. | [optional][default to 0] |
| _sort | String | The sort order of the items. See Sorting documentation for examples of using multiple values and sorting by ascending and descending. | [optional] |
ultraCartOauth, ultraCartSimpleApiKey
- Content-Type: application/json
- Accept: application/json
insert_workflow_task(workflow_task)
Insert a workflow task
Insert a workflow task
# Internal API. No samples are provided as merchants will never need this api methodThis returns an Array which contains the response data, status code and headers.
<Array(, Integer, Hash)> insert_workflow_task_with_http_info(workflow_task)
begin
# Insert a workflow task
data, status_code, headers = api_instance.insert_workflow_task_with_http_info(workflow_task)
p status_code # => 2xx
p headers # => { ... }
p data # => <WorkflowTaskResponse>
rescue UltracartClient::ApiError => e
puts "Error when calling WorkflowApi->insert_workflow_task_with_http_info: #{e}"
end| Name | Type | Description | Notes |
|---|---|---|---|
| workflow_task | WorkflowTask | workflow task |
ultraCartOauth, ultraCartSimpleApiKey
- Content-Type: application/json
- Accept: application/json
update_workflow_task(task_uuid, workflow_task)
Update a workflow task
Update a workflow task
# Internal API. No samples are provided as merchants will never need this api methodThis returns an Array which contains the response data, status code and headers.
<Array(, Integer, Hash)> update_workflow_task_with_http_info(task_uuid, workflow_task)
begin
# Update a workflow task
data, status_code, headers = api_instance.update_workflow_task_with_http_info(task_uuid, workflow_task)
p status_code # => 2xx
p headers # => { ... }
p data # => <WorkflowTaskResponse>
rescue UltracartClient::ApiError => e
puts "Error when calling WorkflowApi->update_workflow_task_with_http_info: #{e}"
end| Name | Type | Description | Notes |
|---|---|---|---|
| task_uuid | String | ||
| workflow_task | WorkflowTask | Workflow task |
ultraCartOauth, ultraCartSimpleApiKey
- Content-Type: application/json
- Accept: application/json