How to: Create an Entity Template

For information about prerequisites, see Integrate with Entities.

The following examples show a request body for creating an Entity Template using Add Template endpoint:

{
   "name":"vehicleTemplate1",
   "subCategory":"car",
   "attributes":[
      {
         "name":"mileage",
         "description":"Mileage of the car",
         "dataType":"number",
         "indexed":true,
         "defaultValue":50,
         "validation":{
            "required":false
         }
      }
   ],
   "callback":"https://examplecallbackurl.com"
}