getAssociationDefinitions

Gets the association definitions that exist for the specified object type.

Parameters

objectTypeId is a valid object type ID with a value less than zero.

Returns

An array of AssociationDefinition objects for the given object type is returned.

Errors

ObjectTypeDoesNotExistException
The object specified by objectTypeId does not exist.
InvalidArgumentException
The value of the objectivity less than or equal to zero.
java.lang.Exception
A system error occurred when the request was being processed.
AccessException
The user does not have access to the business object.

Sample request

<soapenv:Envelope 
	xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" 	xmlns:ws="http://ws.tririga.com">
   <soapenv:Body>
      <ws:getAssociationDefinitions>
         <ws:objectTypeId>10002873</ws:objectTypeId>
      </ws:getAssociationDefinitions>
   </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>
      <getAssociationDefinitionsResponse xmlns="http://ws.tririga.com">
         <out>
            <ns1:AssociationDefinition xmlns:ns1="http://dto.ws.tririga.com">
               <associatedModuleId xmlns="http://dto.ws.tririga.com">21</associatedModuleId>
               <associatedObjectTypeId xmlns="http://dto.ws.tririga.com">10000323</associatedObjectTypeId>
               <associationName xmlns="http://dto.ws.tririga.com">Food Service Contract</associationName>
               <inverseAssociationName xmlns="http://dto.ws.tririga.com">Food Service Contract For</inverseAssociationName>
               <moduleName xsi:nil="true" xmlns="http://dto.ws.tririga.com"/>
               <objectTypeName xsi:nil="true" xmlns="http://dto.ws.tririga.com"/>
               <sourceModuleId xmlns="http://dto.ws.tririga.com">6</sourceModuleId>
               <sourceObjectTypeId xmlns="http://dto.ws.tririga.com">10002873</sourceObjectTypeId>
            </ns1:AssociationDefinition>         </out>
      </getAssociationDefinitionsResponse>
   </soap:Body>
</soap:Envelope>