Community
Showing results for 
Search instead for 
Do you mean 
Reply

How to list custom fields with Act! Premium Cloud API

New Member
Posts: 6
Country: Poland

How to list custom fields with Act! Premium Cloud API

Hi,

 

I'm looking for a solution how to list custom fields. Is there something like /api/Metadata endpoint with Premium API ? 

 

New Member
Posts: 6
Country: Poland

Re: How to list custom fields with Act! Premium Cloud API

One more detail here, when I try to do request like:

curl -X GET \
https://usp1-iis-08.hosted1.act.com/Syncduck-api/Act.Web.API/api/metadata \
-H 'authorization: Bearer secret

I get back here only Status 406 - Not Acceptable. Is it possible to access contacts medatada, maybe I try to use wrong endpoint here? 

Employee
Posts: 236
Country: USA

Re: How to list custom fields with Act! Premium Cloud API

We have a series of metadata APIs, make sure you have the latest Web API installed.

 

GET /api/metadata/entities Get all entity metadata matching an (optional) OData query.
GET /api/metadata/{recordtype}/fields/{id} Get a specific field metadata.
GET /api/metadata/fields/{id} Get a specific field metadata.
GET /api/metadata/{recordtype}/fields Get all field metadata matching an (optional) OData query.
GET /api/metadata/fields Get all field metadata matching an (optional) OData query.
GET /api/metadata/picklists/{picklistid}/items Gets all picklist item(s).
GET /api/metadata/picklists/{picklistid}/items/{id} Gets a specific picklist item.
GET /api/metadata/{recordtype}/picklists/{id} Get specific picklist metadata.
GET /api/metadata/picklists/{id} Get specific picklist metadata.
GET /api/metadata/{recordtype}/picklists Get all picklist metadata matching an (optional) OData query.
GET /api/metadata/picklists Get all picklist metadata matching an (optional) OData query.

 

 

New Member
Posts: 6
Country: Poland

Re: How to list custom fields with Act! Premium Cloud API

@Xavier Thanks.