OS1 Services
...
Participant
Integrate with Participants
How to: Create a Participant Template
1min
a participant template is created based on a participant category sub category pair the attributes created in the participant template override the attributes created for the participant the process to create a template define a participant by creating the participant attributes the participant instance is created using the participant template the following examples show a request body for creating a participant template { "name" "templates", "subcategory" "smartphone", "attributes" \[ { "name" "color", "description" "color of smartphone", "tags" \[ "phone" ], "datatype" "string", "indexed" false, "defaultvalue" "black", "validation" { "valueoneof" \[ "red","blue","black" ], "required" false } }, { "name" "phonetype", "description" "types of mobiledevices", "tags" \[ "phone" ], "datatype" "number", "indexed" false, "defaultvalue" 20, "validation" { "valueoneof" \[ 20,30 ], "required" false } } ], "callback" { "url" "https //examplecallbackurl com", "meta" { "api req" "templatepostapi" } } }