getChecksum

Used to verify the checksum of content that is already in TRIRIGA®. getChecksum is applicable to document objects and the image, note, and binary content types.

Parameters

recordId
The record ID of the content.
fieldName
The name of the content field within the primary section of the business object. Set the value to be empty if the content belongs to a Document object.

Errors

InvalidDocumentTypeException
The record ID is not that of a document type or the fieldName value is empty.
InvalidContentException
The value of the content parameter is incorrect.
AccessException
The user does not have access to read the record.
IOException
A system error occurred.

Sample request

<soapenv:Envelope 
	xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" 	xmlns:ws="http://ws.tririga.com" xmlns:con="http://content.dto.ws.tririga.com">
   <soapenv:Header/>
   <soapenv:Body>
      <ws:getChecksum>
         <ws:content>
            <con:fieldName>cstImageIM</con:fieldName>
            <con:recordId>5370494</con:recordId>
         </ws:content>
      </ws:getChecksum>
   </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>
      <getChecksumResponse xmlns="http://ws.tririga.com">
         <checksum>1927753939</checksum>
      </getChecksumResponse>
   </soap:Body>
</soap:Envelope>