Prebuilt Entity

Prebuilt Entities
- Prebuilt Entities Manage
GET bot/prebuiltEntities
GET bot/prebuiltEntities/{id}
Model
Prebuilt Entity JSON Format

Prebuilt Entity is represented as simple flat JSON objects with the following keys:

Name Type Description
dialogflowEntityId string Id of the dialogflow entity.
id guid Id of the entity.
name string Name of the prebuilt entity.
description string Description of the prebuilt entity.
example string [] Examples of the prebuilt entity.
languageCode string Code of the language.
Endpoint
Get the list of Prebuilt Entities

GET bot/prebuiltEntities

Parameters:
Name Type In Required Description
languageCode string query yes Code of the language.
Response:

An array of   Prebuilt Entity

Example

Sample Request:

curl https://api15.comm100.io/v4/bot/prebuiltEntities \
-X 'GET' \

Response:

 HTTP/1.1 200 OK

[{"dialogflowEntityId":"376B93B1-C148-EB11-8100-00155D081D0B","id":"386B93B1-C148-EB11-8100-00155D081D0B","name":"entity","description":"description","example":["entity1","entity2"],"languageCode":"en"}]
Get a single Prebuilt Entity

GET bot/prebuiltEntities/{id}

Parameters:
No Parameters
Response:
Example

Sample Request:

curl https://api15.comm100.io/v4/bot/prebuiltEntities/386B93B1-C148-EB11-8100-00155D081D0B \
-X 'GET' \

Response:

 HTTP/1.1 200 OK

{"dialogflowEntityId":"376B93B1-C148-EB11-8100-00155D081D0B","id":"386B93B1-C148-EB11-8100-00155D081D0B","name":"entity","description":"description","example":["entity1","entity2"],"languageCode":"en"}