888-974-6633 sales@prefrent.com

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

Arguments

domain – the domain id from which the archetype belongs

set_id – the set id to find related archetypes to the given archetype_id

archetype_id – id of the archetype to be related to the set

Response variables (dictionary)

domain – the domain used in the request

set_id – the set id that contains the archetype ids

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

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":
  [
    {
    "score":100,
    "archetype_id":"bike" },
    {
    "score":100,
    "archetype_id":"cuda" },
    {
    "score":80,
    "archetype_id":"motorcycle" }
  ], 
  "domain":"subuPref.com", 
  "archetype_id":"viper", 
  "set_id":"fastCars", 
  "status":"success", 
  "errors":[]
}