getObjectTypeId
Gets the record ID for the object type.
Parameters
- moduleName
- The name of the module.
- objectTypeName
- The name of the objectType.
Returns
The recordId of the objectType is returned.
Errors
- ObjectTypeDoesNotExistException
- The object type 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.
- 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:getObjectTypeId>
<ws:moduleName>triPeople</ws:moduleName>
<ws:objectTypeName>triPeople</ws:objectTypeName>
</ws:getObjectTypeId>
</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>
<getObjectTypeIdResponse xmlns="http://ws.tririga.com">
<out>106402</out>
</getObjectTypeIdResponse>
</soap:Body>
</soap:Envelope>