I need to fetch the scoreboard node details for a given contact by using web service. Even I get the scoreboard node details for single access type, which is by default access type given in ca_contact table. But if the contact(user) have multiple access type, then how to fetch all the access types for that user.
Please help me the same, also I am not able to understand the relation between roles and access type, I have tried to achieve required result with different table names but no luck.
Mandar, a contact has one access type only. Maybe you mean something else? Thanks _Chi
It might be, I am not exactly sure about. It may be role of contact that I am looking for. Can you please tell the me how role and access type linked each other.
Mandar, a contact has one access type only. However, that access type could have multiple roles. And the contact itself could have multiple roles. The contact's roles= roles directly associated with the contact+the roles of the access types. Thanks _Chi
To add to what Chi said, a user can only have one role in Web Services and this is defined in the Access Type. There are 2 fields in the Access Type for default roles, one for REST and one for SOAP.
so, can we fetch these roles against given contact (or contact wise) using soap?
Also I have one query, if you can help on this, can we stop reopening of closed tickets? I have applied some constraints on Resolve ticket for reopening, but as i see same reflect in case of closed tickets.
A contact record can still have Roles associated with it (its an lrel).... maybe something like this help?
<ser:doSelect> <sid>483603602</sid> <objectType>cnt_role</objectType> <whereClause></whereClause> <maxRows>-1</maxRows> <attributes> <!--1 or more repetitions:--> <string>contact.userid</string> <string>role_obj.name</string>
</attributes> </ser:doSelect> </soapenv:Body></soapenv:Envelope>
Thank you Raghu, it worked
glad it helped Mandar