What is the significance of profiles?

Hi Wrike Expert,
I am working on the integration part for the Wrike. basically here I am pulling user data using `GET /contacts`, in the API response we can see the profiles array as "profiles": [
{
"accountId": "IEAEWLH5",
"email": "email@mymail.com",
"role": "User",
"external": false,
"admin": false,
"owner": true
}
],
which means there can be multiple profiles. If yes how to create the user accounts in Wrike with multiple profiles and what is the usage of it?

0
Комментариев: 3
Spot On Innovative Approach Stellar Advice
Avatar

Hello chandrashekhar Gaikwad, welcome to the Community!

I see that you're in touch with our Support team. Please let me know if I can help with anything else.

 

Cansu Community Team at Wrike Wrike Product Manager Узнайте о самых популярных функциях Wrike и советах по его использованию

Cansu Wrike Team member Узнайте о самых популярных функциях Wrike и советах по его использованию

0
Действия с комментариями Постоянная ссылка
Spot On Innovative Approach Stellar Advice
Avatar

It'd be great if the answer was posted in the community for all those interested to read. I'm using the contacts endpoint as well and I don't understand what is a Profile, what is a Member and how do they relate to Contacts. 

 

As an example, if I wanted to get the email of one of those contacts, do I just go to the Profiles array and extract the email of the first Profile? Do all contacts that are "Person" type contain a Profile that contains an Email? Is that a reliable way to get a person's email? 

0
Действия с комментариями Постоянная ссылка
Spot On Innovative Approach Stellar Advice
Avatar

Hi 岩野 尚吾, thank you for your interest in learning more about API parameters.

As you know, a user's profile can be added to multiple accounts. That is, for example, you can be the owner of your personal account and be invited to join a clients' account as a Collaborator. You can switch between accounts by clicking your profile image in the workspace. 

Contacts is the API endpoint. It is called endpoint because it goes at the end of the URL. You can use it to get the list of specified users and user groups in the account. For more information about API design, I recommend reading Zapier's introduction to APIs, Chapter 6: https://zapier.com/learn/apis/chapter-6-api-design/

The Profiles parameter in the response includes more information about the user's role in the account (email address, role). You can refer to this line to get the user's email address.

​​The MemberID parameter is applicable when you query User Groups. You can identify the User Group from the User by "Group" type. MemberID parameter shows the User IDs of group members. Please also note that there is no email subparameter for the User Group.

If any additional questions come up, please don't hesitate to let us know😌

Lisa K. Community Team at Wrike Wrike Product Manager Узнайте о самых популярных функциях Wrike и советах по его использованию

Lisa K. Wrike Team member Узнайте о самых популярных функциях Wrike и советах по его использованию

0
Действия с комментариями Постоянная ссылка

Folllowing List for Post: What is the significance of profiles?
[this list is visible for admins and agents only]

Вверх
Didn’t find what you were looking for? Write new post