Grant Self-Service Access to Resources

You can grant self-service access to employees who are resources in Fusion service using the selfRegistrations REST resource provided those employees have been given the CONTACT usage.

To grant Contact usage to these resources, you use the Trading Community Party Information Service.

The following table shows the relevant information for this SOAP web service:

Requirement

Enter this value

Service WSDL URL

https://<Fusion Host>/crmService/PartyInformationService?WSDL

Operation

assignPartyUsage

Required Parameters

  • PartyId

  • PartyUsageCode = CONTACT

  • CreatedByModule = FUSE

A UI widget you create such as a button can be configured to execute this groovy code. For more information refer to the Actions and Links topic of the Configuring Applications Using Application Composer documentation shown in Related Topics.

Here's an example of a groovy script that invokes the assignPartyUsage operation of the Party Information Service SOAP API.

def curPartyId = <Party ID of Resource>
Date curDate = new Date()
  
def partyUsageAssignment =
[     
      PartyId : curPartyId,      
      PartyUsageCode : 'CONTACT',      
      EffectiveStartDate : curDate,    
      CreatedByModule : 'FUSE'
 ]
  
adf.webServices.Call_Party_Usage_Service.assignPartyUsage(partyUsageAssignment)