Listar procedimentos
curl --request GET \
--url https://api.controleclinic.com.br/v1/scheduling/procedures \
--header 'X-API-Key: <api-key>'const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.controleclinic.com.br/v1/scheduling/procedures', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.controleclinic.com.br/v1/scheduling/procedures"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"duration_minutes": 123,
"price": 123,
"is_active": true
}
]
}{
"error": "Insufficient scope"
}{
"error": "<string>"
}Lookup
Listar procedimentos
Procedimentos ativos da clínica da chave, com duração e preço. O id vai em procedure_id ao criar agendamento. Escopo: scheduling:read.
GET
/
v1
/
scheduling
/
procedures
Listar procedimentos
curl --request GET \
--url https://api.controleclinic.com.br/v1/scheduling/procedures \
--header 'X-API-Key: <api-key>'const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.controleclinic.com.br/v1/scheduling/procedures', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.controleclinic.com.br/v1/scheduling/procedures"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"duration_minutes": 123,
"price": 123,
"is_active": true
}
]
}{
"error": "Insufficient scope"
}{
"error": "<string>"
}