deleteCurrencyConversionRates
Deletes specified currency conversion rates. Only future conversion rates can be deleted such as where the start date is greater than the current system time.
Parameters
IDs are the instance identifiers of the rates to delete.
Returns
ResponseHelperHeader contains an array of ResponseHelper objects to signal which records were successful and which ones failed, or could not be deleted, because start date is in the past. Also, it contains quick retrieve info about failures, successes, and total records submitted.
Errors
- InvalidArgumentException
- Any of the conversion rate instance IDs are invalid.
- java.lang.Exception
- A system error occurred when the request was being processed.
- AccessException
- The user does not have access to the currency conversion manager.
Sample request
<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.tririga.com">
<soapenv:Body>
<ws:deleteCurrencyConversionRates>
<ws:conversionRateIds>
<!--Zero or more repetitions:-->
<ws:long>12345</ws:long>
</ws:conversionRateIds>
</ws:deleteCurrencyConversionRates>
</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>
<deleteCurrencyConversionRatesResponse xmlns="http://ws.tririga.com">
<out>
<anyFailed xmlns="http://dto.ws.tririga.com">false</anyFailed>
<failed xmlns="http://dto.ws.tririga.com">0</failed>
<responseHelpers xmlns="http://dto.ws.tririga.com">
<ResponseHelper>
<key xsi:nil="true"/>
<name>12345</name>
<recordId>-1</recordId>
<status xsi:nil="true"/>
<value>Successful</value>
</ResponseHelper>
</responseHelpers>
<successful xmlns="http://dto.ws.tririga.com">1</successful>
<total xmlns="http://dto.ws.tririga.com">1</total>
</out>
</deleteCurrencyConversionRatesResponse>
</soap:Body>
</soap:Envelope>