getTargetRecords
Gets the target records for an object type and section.
Parameters
- objectTypeId
- The object type ID.
- sectionName
- The name of the section.
Returns
Associations of the target records are returned.
Errors
- ObjectTypeDoesNotExistException
- The object type does not exist.
- InvalidArgumentException
- At least one of the arguments is invalid.
- RecordDoesNotExistException
- The record ID does not exist.
- java.lang.Exception
- A system error occurred when the request was being processed.
Sample request
<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.tririga.com">
<soapenv:Header/>
<soapenv:Body>
<ws:getTargetRecords>
<ws:objectTypeId>106615</ws:objectTypeId>
<ws:sectionName>History Log</ws:sectionName>
</ws:getTargetRecords>
</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>
<getTargetRecordsResponse xmlns="http://ws.tririga.com">
<out>
<ns1:Association xmlns:ns1="http://dto.ws.tririga.com">
<associatedModuleId xmlns="http://dto.ws.tririga.com">18</associatedModuleId>
<associatedObjectTypeId xmlns="http://dto.ws.tririga.com">106621</associatedObjectTypeId>
<associatedRecordId xmlns="http://dto.ws.tririga.com">10675383</associatedRecordId>
<associatedRecordName xmlns="http://dto.ws.tririga.com">Created</associatedRecordName>
<associationName xmlns="http://dto.ws.tririga.com">Has</associationName>
<inverseAssociationName xmlns="http://dto.ws.tririga.com">Belongs To</inverseAssociationName>
<moduleName xmlns="http://dto.ws.tririga.com">System</moduleName>
<objectTypeName xmlns="http://dto.ws.tririga.com">DM_History</objectTypeName>
<recordId xmlns="http://dto.ws.tririga.com">0</recordId>
<reverseAssociationName xmlns="http://dto.ws.tririga.com">Belongs To</reverseAssociationName>
<sourceModuleId xmlns="http://dto.ws.tririga.com">11</sourceModuleId>
<sourceObjectTypeId xmlns="http://dto.ws.tririga.com">106615</sourceObjectTypeId>
</ns1:Association>
</out>
</getTargetRecordsResponse>
</soap:Body>
</soap:Envelope>