888-974-6633 sales@prefrent.com

Finds and returns matching archetypes in the given domain to the given archetype id.

Arguments

domain – the domain id from which to request the related archetypes

archetype_id – id of the archetype to use to find related archetypes

Response variables (dictionary)

archetype_id – archetype id used in the request to find related archetypes

domain – the domain used in the request

best_matches – a list of dicionaries containing the related results. Each dictionary will have:

score, a value indicating the strength of the match. The higher the number, the greater the match, with the highest score being 100

archetype_id, the id of the matching archetype

Example Request

{
  "matches":
  [
    {
    "archetype_id":"bike" 
    },
    {
    "score":100,
    "archetype_id":"cuda" 
    },
    {
    "score":80,
    "archetype_id":"motorcycle" 
    }
  ],
  "domain":"subuPref.com", 
  "archetype_id":"viper", 
  "status":"success", 
  "errors":[]
}