Update Community Education Information
PUT/community/:communityId/education
This endpoint updates a community member's education information.
For a list of all secondary levels, go to Lookup - Secondary Level
For a list of all national qualifications, go to Lookup - Qualification Level
For a list of all non-national qualifications, go to Lookup - Non National Qualification
Request
Path Parameters
communityId uuidrequired
Community id
Example: 46cb5481-6e20-4f17-b947-db81cdce9a4f
- application/json
Body
education stringrequired
qualifications stringrequired
lastYearOfStudy integernullablerequired
Possible values: >= 1900
and <= 3000
highestSecondaryLevel objectnullablerequired
id uuidrequired
highestQualificationLevel objectnullablerequired
id uuidrequired
highestNonNationalQualificationLevel objectnullablerequired
id uuidrequired
Responses
- 200
- 400
- 401
- 403
- 404
- 422
- 500
- application/json
- Schema
- Example (from schema)
- Successful
Schema
code stringrequired
Status Code
data object
education stringnullablerequired
qualifications stringnullablerequired
lastYearOfStudy integernullablerequired
highestSecondaryLevel objectnullablerequired
id stringnullablerequired
description stringnullablerequired
highestQualificationLevel objectnullablerequired
id stringnullablerequired
description stringnullablerequired
highestNonNationalQualificationLevel objectnullablerequired
id stringnullablerequired
description stringnullablerequired
{
"code": "OK",
"data": {
"education": "string",
"qualifications": "string",
"lastYearOfStudy": 0,
"highestSecondaryLevel": {
"id": "string",
"description": "string"
},
"highestQualificationLevel": {
"id": "string",
"description": "string"
},
"highestNonNationalQualificationLevel": {
"id": "string",
"description": "string"
}
}
}
{
"education": "Secondary education",
"qualifications": "Graduate",
"lastYearOfStudy": 2000,
"highestSecondaryLevel": {
"id": "e60954dd-3aa0-4944-86f4-7c9b8d5a535a",
"description": "Year 9 or below"
},
"highestQualificationLevel": {
"id": "635e9a5d-6ec6-49e1-b304-31979a33908c",
"description": "Not stated/Unknown"
},
"highestNonNationalQualificationLevel": {
"id": "fa55dbdb-65fe-4c03-bfcd-d8092ff41ebc",
"description": "No formal Attainment"
}
}
Bad Request
- application/json
- Schema
- Example (from schema)
- Example
Schema
- Array [
- ]
errors object[]required
code stringrequired
message stringrequired
{
"errors": [
{
"code": "string",
"message": "string"
}
]
}
{
"errors": [
{
"code": "PA1100",
"message": "Bad Request"
}
]
}
Unauthorized
- application/json
- Schema
- Example (from schema)
- Example
Schema
- Array [
- ]
errors object[]required
code stringrequired
message stringrequired
{
"errors": [
{
"code": "string",
"message": "string"
}
]
}
{
"errors": [
{
"code": "PA1101",
"message": "Unauthorized"
}
]
}
Forbidden
- application/json
- Schema
- Example (from schema)
- Example
Schema
- Array [
- ]
errors object[]required
code stringrequired
message stringrequired
{
"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
code stringrequired
message stringrequired
{
"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
code stringrequired
message stringrequired
{
"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
code stringrequired
message stringrequired
{
"errors": [
{
"code": "string",
"message": "string"
}
]
}
{
"errors": [
{
"code": "PA1109",
"message": "Internal Server Error"
}
]
}
Loading...