Start a new topic

Getting Custom Field Values Via Rest Endpoint


These endpoints allow you to interact with the custom field values on an entity.

These entities may include the following

1. Projects

2. Assets

3. Quotes

4. Clients


The preferred endpoint to use to get custom fields values is 

/api/services/app/CustomField/GetCustomFieldValuesByTypeAndId

 

image



This GET Rest endpoint takes a parameter named “CustomFieldValueTypeAndIds” which is of type Object or more specifically a dictionary defined as  “Dictionary<int, CustomFieldValueTypeAndIdEnum>” where 

int is the entityId ie primary key for the entity.

enum is one of the following possible values.

image



Sample Get Request 

app/CustomField/GetCustomFieldValuesByTypeAndId?CustomFieldValueTypeAndIds[123]=ProjectId

app/CustomField/GetCustomFieldValuesByTypeAndId?CustomFieldValueTypeAndIds[654]=ClientId

 

Login or Signup to post a comment