getChildren

Gets the records that are children of the record with a specified ID.

Parameters

recordId is an ID for which to return children.

Returns

An array of ChildRecord objects are returned.

Errors

RecordDoesNotExistException
The input record ID does not exist.
InvalidArgumentException
The record ID is invalid.
java.lang.Exception
A system error occurred when the request was being processed.
AccessException
The user does not have access to the record.

Sample request

<soapenv:Envelope 
	xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" 	xmlns:ws="http://ws.tririga.com">
   <soapenv:Body>
      <ws:getChildren>
         <ws:recordId>213004</ws:recordId>
      </ws:getChildren>
   </soapenv:Body>
</soapenv:Envelope>

Sample response

<soap:Envelope 
	xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" 	xmlns:xsd="http://www.w3.org/2001/XMLSchema" 	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
   <soap:Body>
      <getChildrenResponse xmlns="http://ws.tririga.com">
         <out>
            <ns1:ChildRecord xmlns:ns1="http://dto.ws.tririga.com">
               <childCount xmlns="http://dto.ws.tririga.com">1</childCount>
               <currentState xsi:nil="true" xmlns="http://dto.ws.tririga.com"/>
               <description xsi:nil="true" xmlns="http://dto.ws.tririga.com"/>
               <guiId xmlns="http://dto.ws.tririga.com">-1</guiId>
               <guiName xsi:nil="true" xmlns="http://dto.ws.tririga.com"/>
               <id xmlns="http://dto.ws.tririga.com">2535762</id>
               <moduleId xmlns="http://dto.ws.tririga.com">-1</moduleId>
               <name xsi:nil="true" xmlns="http://dto.ws.tririga.com"/>
               <objectPath xsi:nil="true" xmlns="http://dto.ws.tririga.com"/>
               <objectTypeId xmlns="http://dto.ws.tririga.com">10002100</objectTypeId>
               <objectTypeName xmlns="http://dto.ws.tririga.com">triBuilding</objectTypeName>
               <parentId xmlns="http://dto.ws.tririga.com">0</parentId>
               <path xmlns="http://dto.ws.tririga.com">Locations\My Building</path>
               <sections xmlns="http://dto.ws.tririga.com"/>
               <tabs xsi:nil="true" xmlns="http://dto.ws.tririga.com"/>
            </ns1:ChildRecord>
         </out>
      </getChildrenResponse>
   </soap:Body>
</soap:Envelope>