APIs & Integrations

ArunrajManrajan
メンバー

How to identify custom fields of contact using Rest API?

解決

Hi Team ,

 

      I used Properties api to get all properties of contact . But I didn't found any flag to identify custom fields in the response . Can you guide me to get contact custom fields using rest api?

 

Sample Response of custom field : 

 

 [{  
      "name":"custom_phone",
      "label":"custom_phone",
      "description":"",
      "groupName":"contactinformation",
      "type":"number",
      "fieldType":"number",
      "deleted":false,
      "currencyPropertyName":null,
      "createdAt":1565589968997,
      "formField":true,
      "displayOrder":-1,
      "readOnlyValue":false,
      "readOnlyDefinition":false,
      "mutableDefinitionNotDeletable":false,
      "favorited":false,
      "favoritedOrder":-1,
      "calculated":false,
      "externalOptions":false,
      "displayMode":"current_value",
      "showCurrencySymbol":false,
      "hubspotDefined":null,
      "hidden":false,
      "updatedAt":1565589968997,
      "referencedObjectType":null,
      "hasUniqueValue":false,
      "createdUserId":7643155,
      "searchableInGlobalSearch":false,
      "optionSortStrategy":null,
      "isCustomizedDefault":false,
      "searchTextAnalysisMode":null,
      "optionsAreMutable":null,
      "textDisplayHint":null,
      "numberDisplayHint":"formatted",
      "updatedUserId":7643155,
      "options":[  

      ]
   },.....
0 いいね!
1件の承認済みベストアンサー
himanshurauthan
解決策
ソートリーダー | Elite Partner
ソートリーダー | Elite Partner

How to identify custom fields of contact using Rest API?

解決

Hello @ArunrajManrajan 

 

I know it would not ease your task but can help you. Please have a look to THREAD. There is shared a list of contact properties that are default for a account. So in your codebase you can filter out which are default and custom.

 

Thanks

Digital Marketing & Inbound Expert In Growth Hacking Technology

元の投稿で解決策を見る

1件の返信
himanshurauthan
解決策
ソートリーダー | Elite Partner
ソートリーダー | Elite Partner

How to identify custom fields of contact using Rest API?

解決

Hello @ArunrajManrajan 

 

I know it would not ease your task but can help you. Please have a look to THREAD. There is shared a list of contact properties that are default for a account. So in your codebase you can filter out which are default and custom.

 

Thanks

Digital Marketing & Inbound Expert In Growth Hacking Technology