Back to index

API_AssignDriverToHosProfile_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. This will also be used to populate the Unassigned/Assigned by fields in the database
[in] pwd The password that you need to use to authenticate on this interface.
[in] driverID The ID of the driver you wish to assign to the HoS Profile.
[in] configurationProfileID The HoS configuration Profile ID you wish to assign the driver to.
[in] remarks Remarks that get added to the DB on each assignment.
[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.
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>
<AssigneDriverHoSConfigurationProfile>
<row driverID="5" configurationProfileID="12" userName="Admin User" remarks="Assigning Driver X to Profile Y" />
</AssigneDriverHoSConfigurationProfile>
</root>
Please note this.

Remarks

Minimum R-COM Database version

0.2912

Error messages

Please see this page.