Closed TwinMist closed 3 years ago
resolved, but not sure if the correct way
$service = array(); foreach ((array) $serviceName as $item) { $service[] = 'UserService::'.$item; } if (!empty($serviceName)) { $serviceName = array(UserService::$serviceName()); $request = (new GroupNewUserTemplateAssignUserServiceListRequest()) ->setServiceProviderId($serviceProviderId) ->setGroupId($groupId) ->setServiceName($serviceName); }
Hi Just trying to us GroupNewUserTemplateAssignUserServiceListRequest but keep getting [Error 6004] OCI XML Request validation error can you point out where i am going wrong please
This is the request it is generating
object(CWM\BroadWorksConnector\Ocip\Models\GroupNewUserTemplateAssignUserServiceListRequest)#52 (4) { ["serviceProviderId":"CWM\BroadWorksConnector\Ocip\Models\GroupNewUserTemplateAssignUserServiceListRequest":private]=> string(21) "xxxxxx" ["groupId":"CWM\BroadWorksConnector\Ocip\Models\GroupNewUserTemplateAssignUserServiceListRequest":private]=> string(22) "xxxxxx" ["serviceName":"CWM\BroadWorksConnector\Ocip\Models\GroupNewUserTemplateAssignUserServiceListRequest":private]=> array(1) { [0]=> string(13) "Authorization" } ["servicePackName":"CWM\BroadWorksConnector\Ocip\Models\GroupNewUserTemplateAssignUserServiceListRequest":private]=> array(0) { } }
many thanks