Create Custom Entity Record
Last updated
Last updated
This tutorial should help you create the first Custom Entity record. Before moving forward, make sure your works and you understand the of the Pipeliner API and make sure you know how to use
The Custom Entity allows user to work with a completely new type of entity in Pipeliner. You can create Custom Entity records and link them with other entities using Lookup fields.
Create Custom Entity record with the particular Entity Type
Link Custom Entity record to Opportunity using Lookup field
Filter existing Custom entity record by custom field
name
Name of the custom entity record
owner_id
Id of the User in Pipeliner Application
type_id
Id of the related Custom Entity Expected Closing date.
Load an id of the user with the . This user will become the owner of the newly created Custom Entity Record.
Pull Custom Entity Types. Store the ID of the Custom Entity Type
Let´s Take data from Step 1. and use them in the following request to create a Custom Entity record.
Success response
Take data from Step 2. and use them in the following request, to link existing record to Opportunity using a Lookup field.
We are going to search for Opportunity by name. But you can use whatever parameter.
Create a linking between Custom Entity record and Opportunity
Success response
Filter Custom Entity records using the specific conditions.
Success response
Returns all defined Clients
if enabled, deleted Clients are returned as well
Number of entities to return from beginning of the result set. Max: 100. Default: 30
Return only the "last" number of entities from result set. When used with first parameter, then it returns last M records from the first N records.
Cursor until which to take entities to result set.
Cursor after which to start taking entities to result set.
Expand related entity. Use api_names of relation fields. You can use multiple values separated via ',' colon. If not used, URI link will be returned instead. You can use dots '.' to expand nested entities as well.
expand=owner,sales_unit,account_relations.account
Order by values. Use api_name of field to sort by ascending. Prefix api_name with '-' to descending sort. You can use multiple values separated via ',' colon.
order-by=created,-modified
Use name of field in braces to filter by this field. To advanced filter, use with combination with filter-op parameter.
filter[name]=Example
Filter operator. Specify a way how to filter fields. Supported operators: [eq, ieq, not-eq, not-ieq, contains, starts, ends, icontains, istarts, iends, null, not-null, empty, not-empty, gt, gte, lt, lte, between].
filter-op[name]=eq
Loads only fields defined within this parameter. You can use multiple values separated via ',' colon. If not used, then all fields are returned. You can use dots '.' to specify load only fields in nested as well.
load-only=id,name,owner.id
Returns CustomEntity Types
Custom entity api name
Returns all defined Opportunities
if enabled, deleted Opportunities are returned as well
Number of entities to return from beginning of the result set. Max: 100. Default: 30
Return only the "last" number of entities from result set. When used with first parameter, then it returns last M records from the first N records.
Cursor until which to take entities to result set.
Cursor after which to start taking entities to result set.
Expand related entity. Use api_names of relation fields. You can use multiple values separated via ',' colon. If not used, URI link will be returned instead. You can use dots '.' to expand nested entities as well.
expand=owner,sales_unit,account_relations.account
Order by values. Use api_name of field to sort by ascending. Prefix api_name with '-' to descending sort. You can use multiple values separated via ',' colon.
order-by=created,-modified
Use name of field in braces to filter by this field. To advanced filter, use with combination with filter-op parameter.
filter[name]=Example
Filter operator. Specify a way how to filter fields. Supported operators: [eq, ieq, not-eq, not-ieq, contains, starts, ends, icontains, istarts, iends, null, not-null, empty, not-empty, gt, gte, lt, lte, between].
filter-op[name]=eq
Loads only fields defined within this parameter. You can use multiple values separated via ',' colon. If not used, then all fields are returned. You can use dots '.' to specify load only fields in nested as well.
load-only=id,name,owner.id
Returns all defined {custom_entity_api_name}
Custom entity api name
if enabled, deleted {custom_entity_api_name} are returned as well
Number of entities to return from beginning of the result set. Max: 100. Default: 30
Return only the "last" number of entities from result set. When used with first parameter, then it returns last M records from the first N records.
Cursor until which to take entities to result set.
Cursor after which to start taking entities to result set.
Expand related entity. Use api_names of relation fields. You can use multiple values separated via ',' colon. If not used, URI link will be returned instead. You can use dots '.' to expand nested entities as well.
expand=owner,sales_unit,account_relations.account
Order by values. Use api_name of field to sort by ascending. Prefix api_name with '-' to descending sort. You can use multiple values separated via ',' colon.
order-by=created,-modified
Use name of field in braces to filter by this field. To advanced filter, use with combination with filter-op parameter.
filter[name]=Example
Filter operator. Specify a way how to filter fields. Supported operators: [eq, ieq, not-eq, not-ieq, contains, starts, ends, icontains, istarts, iends, null, not-null, empty, not-empty, gt, gte, lt, lte, between].
filter-op[name]=eq
Loads only fields defined within this parameter. You can use multiple values separated via ',' colon. If not used, then all fields are returned. You can use dots '.' to specify load only fields in nested as well.
load-only=id,name,owner.id
Creates new CustomEntity
Custom entity api name
Specify validation level of CustomEntity on create. Use them as bit mask: 0 - validate each field on entity, 2 - validate only changed fields, 4 - validate only system fields, 8 - allows to override readonly fields, 16 - allows to set entity on deleted relationship.
Last modification time.
2019-01-01T00:00:00
Creation time.
2019-01-01T00:00:00
Name of the entity and its default text representation.
string
Relation to single entity instance.
01234567-abcd-dcba-ffff-000000000000
Integer enum value: 0 - Standard, 1 - Private, 2 - AllView, 3 - AllEdit
0
Available options: Relation to single entity instance.
01234567-abcd-dcba-ffff-000000000000
Relation to single entity instance.
01234567-abcd-dcba-ffff-000000000000
Relations to SalesUnits.
Relations to Clients.
Relations to CloudObjects.
Revision when entity was lastly changed.
1
Modifies CustomEntity or {custom_entity_api_name} with given id(s)
Custom entity api name
ID of CustomEntity to update
Specify validation level of CustomEntity on update. Use them as bit mask: 0 - validate each field on entity, 2 - validate only changed fields, 4 - validate only system fields, 8 - allows to override readonly fields, 16 - allows to set entity on deleted relationship.
Name of the entity and its default text representation.
string
Relation to single entity instance.
01234567-abcd-dcba-ffff-000000000000
Integer enum value: 0 - Standard, 1 - Private, 2 - AllView, 3 - AllEdit
0
Available options: Relation to single entity instance.
01234567-abcd-dcba-ffff-000000000000
Relation to single entity instance.
01234567-abcd-dcba-ffff-000000000000
Relations to SalesUnits.
Relations to Clients.
Relations to CloudObjects.
Revision when entity was lastly changed.
1