GetFamilyInfo

Takes an input Precisely ID and returns the parent Precisely ID and the number of children/siblings Precisely IDs
  • Precisely ID input returns the parent Precisely ID and the total number of children/siblings Precisely IDs.

Resource URL

JSON endpoint:

https://OnDemandServer/rest/GetFamilyInfo/results.json
https://OnDemandServer/rest/GetFamilyInfo?_wadl

XML endpoint:

https://OnDemandServer/rest/GetFamilyInfo/results.xml
https://OnDemandServer/rest/GetFamilyInfo?_wadl

For a list of Spectrum OnDemand servers, see Connecting to Spectrum OnDemand Servers.

Example with JSON Response

The following example requests a JSON response:

https://spectrum.precisely.com/rest/GetFamilyInfo/results.json?Data.PreciselyID=P00002T21ESU

The JSON returned by this request would be:

{
    "Output": [
        {
            "ChildCount": 111,
            "ParentPreciselyID": "P00002T4TFZN",
            "PreciselyID.Input": "P00002T21ESU",
            "user_fields": []
        }
    ]
}

Example with XML Response

The following example requests an XML response:

https://spectrum.precisely.com/rest/GetFamilyInfo/results.xml?Data.PreciselyID=P00002T21ESU

The XML returned by this request would be:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<xml.GetFamilyInfoResponse xmlns="http://www.pb.com/spectrum/services/GetFamilyInfo">
    <Output>
        <Row>
            <ChildCount>111</ChildCount>
            <ParentPreciselyID>P00002T4TFZN</ParentPreciselyID>
            <PreciselyID.Input>P00002T21ESU</PreciselyID.Input>
            <user_fields/>
        </Row>
    </Output>
</xml.GetFamilyInfoResponse>