List templates
curl --request GET \
--url https://yys-sqr-render-bsbe.onrender.com/api/templatesimport requests
url = "https://yys-sqr-render-bsbe.onrender.com/api/templates"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://yys-sqr-render-bsbe.onrender.com/api/templates', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));[
{
"id": "pharma",
"name": "Pharmaceutical",
"fields": [
{
"key": "<string>",
"label": "<string>",
"type": "<string>",
"required": true
}
]
}
]Templates
List templates
Returns all available record templates with their field definitions.
GET
/
api
/
templates
List templates
curl --request GET \
--url https://yys-sqr-render-bsbe.onrender.com/api/templatesimport requests
url = "https://yys-sqr-render-bsbe.onrender.com/api/templates"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://yys-sqr-render-bsbe.onrender.com/api/templates', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));[
{
"id": "pharma",
"name": "Pharmaceutical",
"fields": [
{
"key": "<string>",
"label": "<string>",
"type": "<string>",
"required": true
}
]
}
]
