Overview

Retrieves all parents of selected record.

Request Arguments

Name Type Description Required
module String The name of sugar module that contains a nested set data and implements the NestedSetInterface. True
:record String The ID of record True

Response Arguments

This endpoint does not return any response arguments.

Response

[{
    "id": "045c03b9-327b-11e4-818b-5404a67f3363",
    "name": "Audit",
    "date_entered": null,
    "date_modified": null,
    "modified_user_id": null,
    "created_by": null,
    "description": null,
    "deleted": "0",
    "source_id": null,
    "source_type": null,
    "source_meta": null,
    "root": "935d3e07-327a-11e4-818b-5404a67f3363",
    "lft": "10",
    "rgt": "19",
    "level": "1"
}, {
    "id": "045c1de6-327b-11e4-818b-5404a67f3363",
    "name": "Financial",
    "date_entered": null,
    "date_modified": null,
    "modified_user_id": null,
    "created_by": null,
    "description": null,
    "deleted": "0",
    "source_id": null,
    "source_type": null,
    "source_meta": null,
    "root": "935d3e07-327a-11e4-818b-5404a67f3363",
    "lft": "11",
    "rgt": "14",
    "level": "2"
}]

Change Log

Version Change
v10 Added /<module>/:record/path GET endpoint.