Counterparties and projects
Finance · 2 operations
GET
List counterparties
/api/counterpartyCounterparties (suppliers, landlords and other non-student payers or payees) of finance operations.
list_counterparties
Query parameters · 6
pagemin 1 · default 1pageSize1–250 · default 20counterpartyIds—categoryId—nameOfCounterpartylength max 150isArchivaldefault falseResponse · 200
application/json
statusCodeexample 200message—data4 fields
total—totalPages—currentPage—counterparties8 fields
counterpartyId—nameOfCounterparty—categoryId—note—order—isArchival—updatedAtformat YYYY-MM-DDTHH:mm:sscreatedAtformat YYYY-MM-DDTHH:mm:sscurl "https://your-school.rist.pro/api/counterparty?nameOfCounterparty=string&isArchival=false" \
-H "Authorization: Bearer $RIST_API_KEY"const response = await fetch("https://your-school.rist.pro/api/counterparty?nameOfCounterparty=string&isArchival=false", {
headers: {
Authorization: `Bearer ${process.env.RIST_API_KEY}`,
},
});
const { data } = await response.json();import os
import requests
response = requests.get(
"https://your-school.rist.pro/api/counterparty",
headers={"Authorization": f"Bearer {os.environ['RIST_API_KEY']}"},
params={
"nameOfCounterparty": "string",
"isArchival": False
},
)
response.raise_for_status()
data = response.json()["data"]Response example · 200
{
"statusCode": 200,
"message": "Operation completed successfully",
"data": {
"total": 0,
"totalPages": 0,
"currentPage": 0,
"counterparties": [
{
"counterpartyId": 1,
"nameOfCounterparty": "string",
"categoryId": 1,
"note": "string",
"order": 0,
"isArchival": false,
"updatedAt": "2026-11-09T14:30:00",
"createdAt": "2026-11-09T14:30:00"
}
]
}
}GET
List finance projects
/api/projectProjects that finance operations can be attributed to.
list_finance_projects
Query parameters · 5
pagemin 1 · default 1pageSize1–250 · default 20nameOfProjectlength max 150isArchivaldefault falseprojectIds—Response · 200
application/json
statusCodeexample 200message—data4 fields
total—totalPages—currentPage—projects7 fields
projectId—nameOfProject—note—order—isArchival—updatedAtformat YYYY-MM-DDTHH:mm:sscreatedAtformat YYYY-MM-DDTHH:mm:sscurl "https://your-school.rist.pro/api/project?nameOfProject=string&isArchival=false&projectIds=1" \
-H "Authorization: Bearer $RIST_API_KEY"const response = await fetch("https://your-school.rist.pro/api/project?nameOfProject=string&isArchival=false&projectIds=1", {
headers: {
Authorization: `Bearer ${process.env.RIST_API_KEY}`,
},
});
const { data } = await response.json();import os
import requests
response = requests.get(
"https://your-school.rist.pro/api/project",
headers={"Authorization": f"Bearer {os.environ['RIST_API_KEY']}"},
params={
"nameOfProject": "string",
"isArchival": False,
"projectIds": [
1
]
},
)
response.raise_for_status()
data = response.json()["data"]Response example · 200
{
"statusCode": 200,
"message": "Operation completed successfully",
"data": {
"total": 0,
"totalPages": 0,
"currentPage": 0,
"projects": [
{
"projectId": 1,
"nameOfProject": "string",
"note": "string",
"order": 0,
"isArchival": false,
"updatedAt": "2026-11-09T14:30:00",
"createdAt": "2026-11-09T14:30:00"
}
]
}
}