latestOpenAPI 3.1.02026-08-194237902.5 MB
563848e0ecc0
Template
Create a roster template from scratch
Creates a roster template from a UI-built list of column definitions, without uploading a file. Each column maps a CSV header name to a Certify attribute.
post/templates/scratch
Headers
tenant-idstring required
Tenant identifier
Request body
Example request
{
"columns": [
{
"name": "First Name",
"mappedKey": "firstName",
"mappedEntity": "practitioner",
"entityGroup": "license",
"validationRegex": "^\\d{10}$",
"separator": ";"
}
]
}Response
Template created successfully
Example response
{
"fields": [
{
"name": "First Name",
"mappedKey": "firstName",
"mappedEntity": "practitioner",
"entityGroup": "license",
"validationRegex": "^\\d{10}$",
"separator": ";"
}
],
"status": "success",
"templateId": "3f8e2b6c-9d41-4a7b-b6a0-5e2f8c1d9a37",
"templateUrl": "roster/templates/3f8e2b6c-9d41-4a7b-b6a0-5e2f8c1d9a37/template.csv",
"schemaUrl": "roster/templates/3f8e2b6c-9d41-4a7b-b6a0-5e2f8c1d9a37/schema.json"
}