Get Schools
Retrieve debtor financial transactions
GET https://integrate.d6plus.co.za/api/v1/finplus/debtmanagement/schools/{school_login_id}
Use this endpoint to fetch schools and their details. The inclusion of the /{school_login_id} is optional and if it is not included, all schools will be returned.
Path Parameters
Name
Type
Description
school_login_id*
Integer
The login ID of the school to retrieve data from (optional)
Headers
Name
Type
Description
HTTP-X-USERNAME*
String
As provided by d6
HTTP-X-PASSWORD*
String
As provided by d6
Response Examples
[
{
"school_id": "1000",
"school_name": "d6+ Primary School",
"school_short_name": "primary",
"ownership_type": "Public",
"country": "South Africa",
"province": "Gauteng",
"town": "Pretoria",
"suburb": "Waterkloof Glen",
"district": "METRO EAST",
"district_code": "D1",
"circuit": "Circuit 2",
"quantile": "4",
"emis_number": "600000001",
"telephone_number": "0123334444",
"lowest_grade": "Grade R",
"highest_grade": "Grade 7",
"admin_email_address": "[email protected]",
"debtors_email_address": "[email protected]",
"finance_email_address": "[email protected]",
"physical_address": "Spaces Building, Floor 3,/r/n210 Amarand Ave,/r/nWaterkloof Glen,/r/nPretoria,/r/n0010",
"postal_address": "Spaces Building, Floor 3,/r/n210 Amarand Ave,/r/nWaterkloof Glen,/r/nPretoria,/r/n0010",
"has_after_school_center": "Yes",
"has_hostel": "No",
"uses_debit_orders": "No",
"uses_cashless": "Yes"
},
{
"school_id": "1001",
"school_name": "d6+ Secondary School",
"school_short_name": "secondary",
"ownership_type": "Public",
"country": "South Africa",
"province": "Western Cape",
"town": "Stellenbosch",
"suburb": "Techno Park",
"district": "CAPE WINELANDS",
"district_code": "D1",
"circuit": "Circuit 10",
"quantile": "5",
"emis_number": "600000002",
"telephone_number": "0213337654",
"lowest_grade": "Grade 8",
"highest_grade": "Grade 12",
"admin_email_address": "[email protected]",
"debtors_email_address": "[email protected]",
"finance_email_address": "[email protected]",
"physical_address": "Octo Place, Block B\r\nElektron Road\r\nTechno Park\r\nStellenbosch\r\n7600",
"postal_address": "Octo Place, Block B\r\nElektron Road\r\nTechno Park\r\nStellenbosch\r\n7600",
"has_after_school_center": "No",
"has_hostel": "Yes",
"uses_debit_orders": "Yes",
"uses_cashless": "No"
}
]Code Samples
Last updated