Get a rank
curl --request GET \
--url https://api.scholarlysoftware.com/api/v1/ranks/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.scholarlysoftware.com/api/v1/ranks/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.scholarlysoftware.com/api/v1/ranks/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"type": "rank",
"attributes": {
"created_at": "<string>",
"updated_at": "<string>",
"name": "<string>",
"external_id": "<string>"
},
"relationships": {},
"meta": {
"deletable": true,
"primary_appointments_count": 123
}
}
}{
"errors": [
{
"status": "<string>",
"title": "<string>",
"detail": "<string>"
}
]
}{
"errors": [
{
"status": "<string>",
"title": "<string>",
"detail": "<string>"
}
]
}Ranks
Get a rank
Returns details of a specific rank
GET
/
api
/
v1
/
ranks
/
{id}
Get a rank
curl --request GET \
--url https://api.scholarlysoftware.com/api/v1/ranks/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.scholarlysoftware.com/api/v1/ranks/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.scholarlysoftware.com/api/v1/ranks/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"type": "rank",
"attributes": {
"created_at": "<string>",
"updated_at": "<string>",
"name": "<string>",
"external_id": "<string>"
},
"relationships": {},
"meta": {
"deletable": true,
"primary_appointments_count": 123
}
}
}{
"errors": [
{
"status": "<string>",
"title": "<string>",
"detail": "<string>"
}
]
}{
"errors": [
{
"status": "<string>",
"title": "<string>",
"detail": "<string>"
}
]
}⌘I