Search Past Students
POST/students/past/search
Search Past Students using a variety of filters.
Request
- application/json
Body
required
Responses
- 200
- 400
- 401
- 403
- 404
- 422
- 500
OK
- application/json
- Schema
- Example (from schema)
- Successful
Schema
- Array [
- ]
Status Code
meta objectrequired
Meta options for search responses
Possible values: >= 1
Default value: 1
page number starts with 1
Possible values: >= 1
and <= 100
Default value: 10
No of items per page
number of records in the result set
Possible values: >= 1
Default value: 1
page number starts with 1
Possible values: >= 1
and <= 100
Default value: 100
No of records to limit per page
Possible values: <= 100
number of records in the current page
number of pages in the result set
Default value: surname,givenName,schoolId
sort by field(s)
Default value: ASC
sort direction
range object
Possible values: >= 1
Default value: 1
start range
Default value: 100
end range
data object[]
titleObj objectnullablerequired
{
"code": "OK",
"meta": {
"page": 1,
"limit": 10,
"traceContext": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"totalRecordCount": 1,
"pageNum": 1,
"pageLimit": 100,
"pageRecordCount": 1,
"pageNumTotal": 1,
"pageSortBy": "surname,givenName,schoolId",
"pageSortDir": "ASC",
"range": {
"start": 1,
"end": 1
}
},
"data": [
{
"communityId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"givenName": "string",
"preferredName": "string",
"otherGivenName": "string",
"surname": "string",
"nameSuffix": "string",
"schoolId": "string",
"recordType": "string",
"companyName": "string",
"modified": "2025-03-12T03:31:59.547Z",
"created": "2025-03-12T03:31:59.547Z",
"displayName": "string",
"displayNameList": "string",
"spouseCommunityId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"initials": "string",
"email": "string",
"mobile": "string",
"phone": "string",
"studentType": "string",
"studentTypeCode": "string",
"genderId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"gender": "string",
"genderCode": "string",
"genderSortOrder": 0,
"genderSystemMeaning": "string",
"titleObj": {
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"description": "string"
},
"title": "string",
"addressId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"internalNameFormat": "string",
"internalName": "string",
"externalName": "string",
"mailNameFormat": "string",
"salutationFormat": "string",
"addressFull": "string",
"addressComma": "string",
"postalAddressFull": "string",
"postalAddressComma": "string",
"homeAddress1": "string",
"homeAddress2": "string",
"homeAddress3": "string",
"homeSuburb": "string",
"homePostCode": "string",
"homeCountry": "string",
"homeState": "string",
"postalAddress1": "string",
"postalAddress2": "string",
"postalAddress3": "string",
"postalSuburb": "string",
"postalPostCode": "string",
"postalCountry": "string",
"postalState": "string",
"defaultSMS": "string",
"preferredPhone": "string",
"birthDate": "2025-03-12",
"constituenciesCsv": "string",
"entityTypes": [
"string"
],
"photoId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"sortName": "string",
"peerYear": 0,
"yearLeft": 0,
"lastCampusId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"lastCampus": "string",
"lastCampusCode": "string",
"lastCampusSortOrder": 0,
"lastYearLevelId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"lastYearLevel": "string",
"lastYearLevelCode": "string",
"lastYearLevelSortOrder": 0,
"lastHouse": "string",
"lastHouseCode": "string",
"leftDate": "2025-03-12",
"governmentStudentNumber": "string",
"entryDate": "2025-03-12",
"nameAtSchool": "string"
}
]
}
{
"code": "OK",
"data": [
{
"communityId": "14e9d70c-2939-4cfc-86ac-110cf05e5ab5",
"givenName": "Given Adeny",
"preferredName": "Pref Aden",
"otherGivenName": "Bashir",
"surname": "Abbot",
"nameSuffix": null,
"schoolId": "2005",
"recordType": "Person",
"companyName": null,
"sort_name": "Abbot Given Adeny",
"modified": "2022-08-24T02:53:49.309Z",
"created": "2020-09-01T04:40:14.618Z",
"displayName": "ABBOT, Mr Given Adeny Bashir (Pref Aden)",
"displayNameList": "ABBOT, Given Adeny Bashir (Pref Aden)",
"spouseCommunityId": null,
"initials": "GA",
"email": "occup_13017@emailaddress.com.au",
"mobile": "+618329949041hhh",
"phone": null,
"studentType": "Enrolled student",
"studentTypeCode": "ENROL",
"genderId": null,
"gender": null,
"genderCode": null,
"genderSortOrder": null,
"genderSystemMeaning": null,
"titleObj": {
"id": "432a7034-a75a-49ea-a5fa-bb46cbe53ea6",
"description": "Mr"
},
"title": "Mr",
"addressId": "04d769ab-3c0e-4b8b-8204-10e53eb26ae7",
"internalNameFormat": "Abbot, Aden",
"internalName": "Abbot, Aden",
"externalName": "Given Adeny Bashir Abbot",
"mailNameFormat": "Mr Abbots",
"salutationFormat": "Mr Abbot",
"addressFull": "26 MANNAVUE BVD\nCRANBOURNE NORTH\nVIC\n3977",
"addressComma": "26 MANNAVUE BVD, CRANBOURNE NORTH, VIC, 3977",
"postalAddressFull": "26 MANNAVUE BVD\nCRANBOURNE NORTH\nVIC\n3977",
"postalAddressComma": "26 MANNAVUE BVD, CRANBOURNE NORTH, VIC, 3977",
"homeAddress1": "26 MANNAVUE BVD",
"homeAddress2": "",
"homeAddress3": "",
"homeSuburb": "CRANBOURNE NORTH",
"homePostCode": "3977",
"homeCountry": "Australia",
"homeState": "Victoria",
"postalAddress1": "26 MANNAVUE BVD",
"postalAddress2": "",
"postalAddress3": "",
"postalSuburb": "CRANBOURNE NORTH",
"postalPostCode": "3977",
"postalCountry": "Australia",
"postalState": "Victoria",
"defaultSMS": "8329949041hhh",
"preferredPhone": null,
"birthDate": "2003-09-16",
"constituenciesCsv": "@SP",
"entityTypes": [
"community",
"pastStudent"
],
"photoId": null,
"totalRecordCount": 4210,
"peerYear": 2027,
"yearLeft": 2021,
"lastCampusId": "e1171570-c533-4dd9-ab5a-a8489886fdaf",
"lastCampus": "Senior",
"lastCampusCode": "S",
"lastCampusSortOrder": 3,
"lastYearLevelId": "6f487d65-e926-412e-8faf-6efa18ff0fe5",
"lastYearLevel": "Year 11",
"lastYearLevelCode": "11",
"lastYearLevelSortOrder": 111,
"lastHouse": "Dean-S",
"lastHouseCode": "DE-S",
"leftDate": "2021-10-21",
"governmentStudentNumber": "123",
"entryDate": "2020-12-01",
"nameAtSchool": "Abbot, Aden"
}
],
"meta": {
"traceContext": "7f5db7a2-547e-4f98-9bd0-8aee68a03ef4",
"totalRecordCount": 1,
"pageNum": "All",
"pageLimit": "All",
"pageRecordCount": "All",
"pageNumTotal": "All",
"pageSortBy": "surname,givenName,schoolId",
"pageSortDir": "ASC",
"range": {
"start": 1,
"end": 1
}
}
}
Bad Request
- application/json
- Schema
- Example (from schema)
- Example
Schema
- Array [
- ]
errors object[]required
{
"errors": [
{
"code": "string",
"message": "string"
}
]
}
{
"errors": [
{
"code": "PA1100",
"message": "Bad Request"
}
]
}
Unauthorized
- application/json
- Schema
- Example (from schema)
- Example
Schema
- Array [
- ]
errors object[]required
{
"errors": [
{
"code": "string",
"message": "string"
}
]
}
{
"errors": [
{
"code": "PA1101",
"message": "Unauthorized"
}
]
}
Forbidden
- application/json
- Schema
- Example (from schema)
- Example
Schema
- Array [
- ]
errors object[]required
{
"errors": [
{
"code": "string",
"message": "string"
}
]
}
{
"errors": [
{
"code": "PA1102",
"message": "Forbidden"
}
]
}
Resource not found
- application/json
- Schema
- Example (from schema)
- Example
Schema
- Array [
- ]
errors object[]required
{
"errors": [
{
"code": "string",
"message": "string"
}
]
}
{
"errors": [
{
"code": "PA1103",
"message": "Not Found"
}
]
}
Unprocessable entity
- application/json
- Schema
- Example (from schema)
- Example
Schema
- Array [
- ]
errors object[]required
{
"errors": [
{
"code": "string",
"message": "string"
}
]
}
{
"errors": [
{
"code": "PA1108",
"message": "Unprocessable Entity"
}
]
}
Internal Server Error
- application/json
- Schema
- Example (from schema)
- Example
Schema
- Array [
- ]
errors object[]required
{
"errors": [
{
"code": "string",
"message": "string"
}
]
}
{
"errors": [
{
"code": "PA1109",
"message": "Internal Server Error"
}
]
}