APIs & Integrations

RonaldoRubens22
Membre

get name with property

Résolue
The bdr field that I have with my deals returns an internal id instead of a name (string). How can I return this name?

RonaldoRubens22_0-1708974861478.png

 

 

0 Votes
1 Solution acceptée
Jaycee_Lewis
Solution
Gestionnaire de communauté
Gestionnaire de communauté

get name with property

Résolue

Hey, @RonaldoRubens22 👋 Having the internal value is the expected behavior. It's not possible to “force” the endpoint to return the label and not the internal value. 

 

If your `bdr` property corresponds to a HubSpot User ID you can make a request to the Owners API and get back the name of the user — GET /crm/v3/owners/{ownerId}. 

 

I hope this helps! — Jaycee

linkedin

Jaycee Lewis

Developer Community Manager

Community | HubSpot

Voir la solution dans l'envoi d'origine

0 Votes
1 Réponse
Jaycee_Lewis
Solution
Gestionnaire de communauté
Gestionnaire de communauté

get name with property

Résolue

Hey, @RonaldoRubens22 👋 Having the internal value is the expected behavior. It's not possible to “force” the endpoint to return the label and not the internal value. 

 

If your `bdr` property corresponds to a HubSpot User ID you can make a request to the Owners API and get back the name of the user — GET /crm/v3/owners/{ownerId}. 

 

I hope this helps! — Jaycee

linkedin

Jaycee Lewis

Developer Community Manager

Community | HubSpot

0 Votes