Skip to content

Standard Entity Definition

Retrieve the definition of a standard platform entity by entity type.

Fetch standard entity definition by entityType.

Request

Security
bearerAuth and apiKeyAuth
Query
entityTypestring

Entity type (required)

curl -i -X GET \
  'https://api3.sprinklr.com/prod/api/v3/standardEntity/definition?entityType=string' \
  -H 'Authorization: Bearer <YOUR_Token_HERE>' \
  -H 'Key: YOUR_API_KEY_HERE'

Responses

Success

Bodyapplication/json
idstring

Id of the definition

namestring

Name for the entity

pluralNamestring

Plural Name for the entity

descriptionstring

Description for the entity

baseDefinitionIdstring

Id of the base entity definition, if this is an extended entity

iconstring

Icon for the entity

permissionEnabledboolean

Specifies if the entity is permission controlled.

scriptstring

Script for external entity.

scriptVersionstring

Script version. A compiled script is cached for sometime, to update the script, please update the version.

createdTimeinteger, (int64)

Created time for the entity

modifiedTimeinteger, (int64)

Last modified time for the entity

Response
{ "id": "string", "name": "string", "pluralName": "string", "description": "string", "baseDefinitionId": "string", "icon": "string", "permissionEnabled": true, "script": "string", "scriptVersion": "string", "createdTime": 0, "modifiedTime": 0 }