Skip to main content

get_root_causes

GET /root_causes

Get all the root causes of the company

require 'rest-client'

RestClient::Request.execute method: :get,
url: 'https://api.diduenjoy.com/api/v1/root_causes',
user: 'PUT-YOUR-API-KEY-HERE'

---------------Filter--------------------------
require 'rest-client'

RestClient::Request.execute method: :get,
url: "https://api.diduenjoy.com/api/v1/root_causes?filter[name]=Delivery",
user: 'PUT-YOUR-API-KEY-HERE'

attributes

attributedescription
name
string
name of the root cause

optional parameters "filter"

parameterdescription
name
string
return all root causes whose name contains name.