Ownership

1. Add Item Owner

addItemOwner (String itemNumber, String username) (since 6.0)

Parameters

  • itemNumber A unique Item Number.
  • username The Username to use for adding a new Customer owner.

Description

This function adds a new Customer to an Item with a given itemNumber.

2. Remove Item Owner

removeItemOwner (String itemNumber, String username) (since 6.0)

Parameters

  • itemNumber A unique Item Number.
  • username The Username to use for removing an existing Customer owner.

Description

This function removes an existing Customer from an Item with a given itemNumber.

3. Get Item Owners

getItemOwners (String itemNumber) (since 6.1)

Parameters

  • itemNumber A unique Item Number.

Description

Use this function to list all owners of an Item with a given Item Number.

The function returns a HashMap which contains another HashMap for each entry. The key of the first map is the Customer ID of the returned user, the HashMap for that entry contains four string fields representing the Customer’s Last Name, Org Unit, Primary E-mail Address and First Name. Global items will return a success response message.

4. Get Item Customer Owners

getItemCustomerOwners (String itemNumber) (since 8.1)

Parameters

  • itemNumber A unique Item Number.

Description

Use this function to list all customer owners/users of an Item with a given Item Number.

The function returns a HashMap which contains another HashMap for each entry. The key of the first map is the Customer ID of the returned user, the HashMap for that entry contains four string fields representing the Customer’s First Name, Last Name, Org Unit & Primary E-mail Address. Global items will return a success response message.

5. Get Item Org Unit Owners

getItemOrgUnitOwners (String itemNumber) (since 8.1)

Parameters

  • itemNumber A unique Item Number.

Description

Use this function to list all org unit owners/users of an Item with a given Item Number.

The function returns a HashMap which contains another HashMap for each entry. The key of the first map is the Customer ID of the returned user, the HashMap for that entry contains four string fields representing the Org Unit Name, Email Address, Primary Contact Name & Primary E-mail Address. Global items will return a success response message.

6. Add Org Unit Owner

addOrgUnitOwner (String itemNumber, String orgUnitId) (since 8.0)

Parameters

  • itemNumber A unique Item Number.
  • orgUnitId An Org Unit Id.

Description

Use this function to add org units to the owner of an Item with a given itemNumber.

7. Remove Org Unit Owner

removeOrgUnitOwner (String itemNumber, String orgUnitId) (since 8.0)

Parameters

  • itemNumber A unique Item Number.
  • orgUnitId An Org Unit Id.

Description

Use this function to remove org units from the owner of an Item with a given itemNumber.