09-02-2013 05:49 AM
In order to monitor Users´ activations, I would like to know if it is possible to get a list of all users which have been failed for device Activation. Is there any Web Service method or Resource Kit command to know more about that?
I have been looking for that requirement but without success.
Solved! Go to Solution.
09-03-2013 07:59 AM
Check out the getUserActivations call in BWS. You can specify only searching for failed activations:
09-03-2013 11:43 AM
Thank you for your answer. I am getting all activated users calling getUsersActivation method, but I do not know how to get the failed ones.
I do not see any getuserSearchCriteria which fits to my problem.
May you give me more detail hints.
09-03-2013 12:06 PM
The GetUserActivationsRequest has the parameter GetUserActivationsSearchCriteria which has a property named "overallActivationStates". Adding in the 'failed' UserActivationState should get you what you're after.
09-17-2013 10:22 AM
Thank for your answer,
I am not be able to use properly the API because when UserActivationState.FAILED = true; overallActivationStates admits just an array of UserActivationState then f UserActivationState is an array, I cannot assign "FAILED" property.
Could you give me a hint!?
09-17-2013 10:32 AM
GetUserActivationsSearchCriteria searchCriteria = new GetUserActivationsSearchCriteria();
UserActivationState activationsStat = null;
activationsStat.FAILED = true;
searchCriteria.overallActivationStates = activationsStat;
I am missing something, because "overallActivationStates" should get an Array.
09-17-2013 11:33 AM
Have you tried setting activationsStat as the only element in a UserActivationState array, then assign that array to the overallActivationStates attribute?
09-19-2013 08:26 AM
I have solved the problem as you said. But when I run I do not get what I expect.
- overallActivationState is null
- I got all users not just failed activation ones.
Thank you again.