getObjectTypeByName

Gets a full object type definition for the object by name.

Parameters

moduleName
The name of the module.
objectName
The name of the object.

Returns

An objectType is returned.

Errors

ObjectTypeDoesNotExistException
The objectType does not exist.
InvalidArgumentException
At least one of the arguments that are passed in are invalid.
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:getObjectTypeByName>
         <ws:moduleName>triPeople</ws:moduleName>
         <ws:objectTypeName>triPeople</ws:objectTypeName>
      </ws:getObjectTypeByName>
   </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>
      <getObjectTypeByNameResponse xmlns="http://ws.tririga.com">
         <out>
            <approvalHistory xmlns="http://dto.ws.tririga.com">false</approvalHistory>
            <auditAccess xmlns="http://dto.ws.tririga.com">false</auditAccess>
            <auditActions xmlns="http://dto.ws.tririga.com">true</auditActions>
            <auditDataChanges xmlns="http://dto.ws.tririga.com">false</auditDataChanges>
            <childBaseObjectTypes xsi:nil="true" xmlns="http://dto.ws.tririga.com"/>
            <children xmlns="http://dto.ws.tririga.com"/>
            <createdById xmlns="http://dto.ws.tririga.com">0</createdById>
            <description xmlns="http://dto.ws.tririga.com">People Base Business Object</description>
            <displayName xmlns="http://dto.ws.tririga.com">People</displayName>
            <hasCalendar xmlns="http://dto.ws.tririga.com">true</hasCalendar>
            <id xmlns="http://dto.ws.tririga.com">106402</id>
            <moduleId xmlns="http://dto.ws.tririga.com">7</moduleId>
            <name xmlns="http://dto.ws.tririga.com">triPeople</name>
            <requireExplanation xmlns="http://dto.ws.tririga.com">false</requireExplanation>
            <rootOfHierarchy xmlns="http://dto.ws.tririga.com">false</rootOfHierarchy>
            <sections xmlns="http://dto.ws.tririga.com">
               <Section>
                  <fields>
                     <Field>
                        <associationString xsi:nil="true"/>
                        <attributeSequence>-1</attributeSequence>
                        <autoPopulate>false</autoPopulate>
                        <colSpan>1</colSpan>
                        <columnSeq>0</columnSeq>
                        <dataType xsi:nil="true"/>
                        <defaultValue/>
                        <dependent>false</dependent>
                        <displayValue xsi:nil="true"/>
                        <editUOMList>false</editUOMList>
                        <endRow>1</endRow>
                        <fieldId>1014302</fieldId>
                        <financialToken xsi:nil="true"/>
                        <formula xsi:nil="true"/>
                        <fullPath>false</fullPath>
                        <generateOnCreate>false</generateOnCreate>
                        <guiFieldId>0</guiFieldId>
                        <guiFieldName xsi:nil="true"/>
                        <guiFieldType>0</guiFieldType>
                        <guiId>0</guiId>
                        <guiRootClassificationId>0</guiRootClassificationId>
                        <guiRootClassificationName xsi:nil="true"/>
                        <guiSectionId>0</guiSectionId>
                        <guiSectionName xsi:nil="true"/>
                        <guiTabId>0</guiTabId>
                        <hierarchyObjectId>0</hierarchyObjectId>
                        <label>Company Name</label>
                        <listId>-1</listId>
                        <listModuleId>-1</listModuleId>
                        <liveLink>false</liveLink>
                        <locatorField>false</locatorField>
                        <locatorModuleId>0</locatorModuleId>
                        <mobileField>false</mobileField>
                        <mobileFieldSeq>0</mobileFieldSeq>
                        <name>triCompanyNameTX</name>
                        <precision>700</precision>
                        <queryId>0</queryId>
                        <queryName xsi:nil="true"/>
                        <readOnly>false</readOnly>
                        <required>false</required>
                        <resultColumn>false</resultColumn>
                        <rollupSource>~</rollupSource>
                        <rootClassification>~</rootClassification>
                        <rootClassificationId>-1</rootClassificationId>
                        <sectionName>Detail</sectionName>
                        <seq>1363</seq>
                        <specId>0</specId>
                        <specTemplateId>106402</specTemplateId>
                        <startRow>1</startRow>
                        <subAttributeType>~</subAttributeType>
                        <subCategoryId>12</subCategoryId>
                        <sumThisField>false</sumThisField>
                        <type>Text</type>
                        <unitOfMeasure/>
                        <unitOfMeasureSourceAttribute>-1</unitOfMeasureSourceAttribute>
                        <unitOfMeasureType>-1</unitOfMeasureType>
                        <validation>~</validation>
                        <value xsi:nil="true"/>
                        <valueId>0</valueId>
                     </Field>                    
                  </fields>
                  <guiSectionId>0</guiSectionId>
                  <guiSectionName xsi:nil="true"/>
                  <id>12</id>
                  <label>Detail</label>
                  <name>Detail</name>
                  <refModuleId>-1</refModuleId>
                  <refObjectTypeId>-1</refObjectTypeId>
                  <rows xsi:nil="true"/>
                  <sections xsi:nil="true"/>
                  <type>GUI Section</type>
                  <typeId>0</typeId>
               </Section>
            </sections>
            <showSingleTab xmlns="http://dto.ws.tririga.com">false</showSingleTab>
            <type xmlns="http://dto.ws.tririga.com">0</type>
         </out>
      </getObjectTypeByNameResponse>
   </soap:Body>
</soap:Envelope>