Hello,
I am trying to integrate otrs api to other application with the help some otrs soap api, and also getting proper information as method is define.
when i am trying to getting group permission with number of members, and i am using some method to getting all permission according to group id, user id as the method is define. But only in permission method i am not getting proper information as method is define as other method is giving proper information as it is define.
example:
I am showing all method which are working properly.
"Object=TicketObject"
"Method=TicketSearch"
"Method=TicketGet"
"Method=ArticleCreate"
"Method=TicketCreate"
"Method=ArticleGet"
"Method=TicketStateSet"
And for getting permission i am trying some method:
"Object=GroupObject"
"Object=CustomerUserObject"
"Method=GroupMemberList"
"Method=GroupGroupMemberList"
"Method=GroupMemberInvolvedList"
"Method=GroupMemberAdd"
"Method=GroupUserRoleMemberList"
But using these method we are not getting permission values.I am getting ['1','user','2','admin','3','group'] something like.
it should be something for 'GroupMemeberList' method:
=item GroupMemberList()
returns a list of users of a group with ro/move_into/create/owner/priority/rw permissions
UserID: user id
GroupID: group id
Type: ro|move_into|priority|create|rw
Result: HASH -> returns a hash of key => group id, value => group name
Name -> returns an array of user names
ID -> returns an array of user names
Example:
$CustomerGroupObject->GroupMemberList(
UserID => $ID,
Type => 'move_into',
Result => 'HASH',
);
So please help me, i am stuck here at the completion of my task.
Regards,
Anup Kandalkar
Software Engineer