getObjectTypeListByModuleId
Get all the base object types for a module by module ID.
Parameters
- moduleId
- The module ID.
- isStandAlone
- Shows the stand alone objects within an object type list.
Returns
An array of BaseObjectType objects is returned, each of which contains the name and ID of an object type.
Errors
- ModuleDoesNotExistException
- A module with the entered ID does not exist.
- InvalidArgumentException
- At least one of the arguments are invalid.
- 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:Body>
<ws:getObjectTypeListByModuleId>
<ws:moduleId>7</ws:moduleId>
<ws:isStandAlone>true</ws:isStandAlone>
</ws:getObjectTypeListByModuleId>
</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>
<getObjectTypeListByModuleIdResponse xmlns="http://ws.tririga.com">
<out>
<ns1:BaseObjectType xmlns:ns1="http://dto.ws.tririga.com">
<childBaseObjectTypes xsi:nil="true" xmlns="http://dto.ws.tririga.com"/>
<id xmlns="http://dto.ws.tririga.com">106402</id>
<name xmlns="http://dto.ws.tririga.com">triPeople</name>
</ns1:BaseObjectType>
</out>
</getObjectTypeListByModuleIdResponse>
</soap:Body>
</soap:Envelope>