Here are examples of using POST, PUT and DELETE requests from the API Catalogue.
For POST we demonstrate using the /visaentitlement-api/studyentitlement:check api that is available in the VisaEntitlement-API section of Student Management inside API Catalogue.
For Request Body Content we can use the following JSON:
{
"StudentPersonal": [
{
"PersonInfo": {
"Name": {
"FamilyName": "FamilyName1",
"GivenName": "GivenName1"
},
"Demographics": {
"BirthDate": "2011-03-22T0:00:00+10:00",
"PassportNumber": "123456789",
"PassportCountryCode": "AUS"
}
}
},
{
"PersonInfo": {
"Name": {
"FamilyName": "FamilyName2",
"GivenName": "GivenName2"
},
"Demographics": {
"BirthDate": "2006-03-22T0:00:00+10:00",
"PassportNumber": "987654321",
"PassportCountryCode": "AUS"
}
}
}
]
}
When we run this API we get the following Response back:
{
"Description": "Accepted"
}