Back to index

API_GetHosProfiles_v1

This method wraps the R:Com Database view EX_HoSProfiles. See R:COM Form Message Database API document.

Parameters:

[in] usn The user-name that you need to use to authenticate on this interface.
[in] pwd The password that you need to use to authenticate on this interface.
[out] errorMsg If an error happpens this string contains the error message. In case an error has happened (this variable contains a valid non-empty string) then the return value will not contain any usable data, do not try to parse it as an xml.
[in] columns String array of the requested columns. For the full list of supported columns please refer to the Database API Documentation. If a non-existing column is requested then that column will appear in the returned XML and every entry in that column will be an empty string.
return value If the errorMsg variable is null or empty then the returned string contains the requested data in xml format. The xml has the following structure:
<?xml version="1.0" encoding="utf-8"?>
<root>
<EX_HoSProfiles>
<row HoS_ConfigurationProfileID="5" HoS_ConfigurationProfileName="Profile Standard" DefaultRegulationType="US" CarrierID="f08145f8-26b7-438f-93e5-e00619d5a9fb" HomeDepotTimeZoneID="US/Central" CanadianRegulationTypeID="0" USRegulationTypeID="1" />
<row HoS_ConfigurationProfileID="6" HoS_ConfigurationProfileName="Exempt Profile" DefaultRegulationType="US_TX" CarrierID="f08145f8-26b7-438f-93e5-e00619d5a9fb" HomeDepotTimeZoneID="US/Central" CanadianRegulationTypeID="0" USRegulationTypeID="1" />
</EX_HoSProfiles>
</root>
Please note this.

Remarks

Minimum R-COM Database version

0.2911

Error messages

Please see this page.