Skip to main content

assignRequest

You can use the assignRequest web method to assign inventory to the specified user.

Parameters

The assignRequest web method includes the following parameters:

#ParametersData TypeDescription
strUserNameStringThe user to assign the inventory to.
strMachineStringThe machine name to assign the inventory to.
iLicenseIDIntegerThe ID of the inventory group to assign.
strAssignerStringThe name of the assigner.

Return Value

Returns one of the following values:

  • Returns a 1 for success
  • Returns a -1 for error