Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Overview


...

CodeField
PUT https://{host}.edu.net.au/api/rest/v1/Program/{eduProgramId} Program/Course of Study
PUT https://{host}.edu.net.au/api/rest/v1/Unit/{eduUnitId}Unit of Study
PUT https://{host}.edu.net.au/api/rest/v1/ProgramUnitConstraint/{eduProgramUnitConstraintIdProgram-Unit Relationship
PUT https://{host}.edu.net.au/api/rest/v1/ScheduledUnit /{eduScheduledUnitId}Scheduled Unit of Study 
PUT https://{host}.edu.net.au/api/rest/v1/ScheduledUnitFee/{eduScheduledUnitId}Scheduled Unit Fee 
PUT https://{host}.edu.net.au/api/rest/v1/UnitAssessment /{eduAssessmentId}Unit of Study Assessment
PUT https://{host}.edu.net.au/api/rest/v1/UnitCompetency /{eduAssessmentId} Unit of Study Competency
PUT https://{host}.edu.net.au/api/rest/v1/Competency /{competencyId}Unit of Competency
PUT https://{host}.edu.net.au/api/rest/v1/CodeItem/{codeIdCode Item
PUT https://{host}.edu.net.au/api/rest/v1/StatusItem/{statusId}Status Item



Code Block
languagexml
PUT https://{host}.edu.net.au/api/rest/v1/Program/{eduProgramId}  
PUT https://{host}.edu.net.au/api/rest/v1/Unit/{eduUnitId} 
PUT https://{host}.edu.net.au/api/rest/v1/ProgramUnitConstraint/{eduProgramUnitConstraintId}  
PUT https://{host}.edu.net.au/api/rest/v1/ScheduledUnit /{eduScheduledUnitId} 
PUT https://{host}.edu.net.au/api/rest/v1/ScheduledUnitFee/{eduScheduledUnitId} 
PUT https://{host}.edu.net.au/api/rest/v1/UnitAssessment /{eduAssessmentId} 
PUT https://{host}.edu.net.au/api/rest/v1/UnitCompetency /{eduAssessmentId} 
PUT https://{host}.edu.net.au/api/rest/v1/Competency /{competencyId} 
PUT https://{host}.edu.net.au/api/rest/v1/CodeItem/{codeId} 
PUT https://{host}.edu.net.au/api/rest/v1/StatusItem/{statusId} 


Retrieve an entity record (HTTP GET Method) (template URL for each relevant API entity type)

...

CodeField
GET https://{host}.edu.net.au/api/rest/v1/Program?{fieldName}={value} &{fieldName}={value}&{fieldName}={value}&{fieldName}={value}&{fieldName}={value} Program/Course of Study
GET https://{host}.edu.net.au/api/rest/v1/Unit?{fieldName}={value} &{fieldName}={value}&{fieldName}={value}&{fieldName}={value}&{fieldName}={value} Unit of Study
GET https://{host}.edu.net.au/api/rest/v1/ProgramUnitConstraint?{fieldName}={value} &{fieldName}={value}&{fieldName}={value}&{fieldName}={value}&{fieldName}={value} Program-Unit Relationship
GET https://{host}.edu.net.au/api/rest/v1/ScheduledUnit?{fieldName}={value} &{fieldName}={value}&{fieldName}={value}&{fieldName}={value}&{fieldName}={value} Scheduled Unit of Study
GET https://{host}.edu.net.au/api/rest/v1/ScheduledUnitFee?{fieldName}={value} &{fieldName}={value}&{fieldName}={value}&{fieldName}={value}&{fieldName}={value} Scheduled Unit Fee 
GET https://{host}.edu.net.au/api/rest/v1/UnitAssessment ?{fieldName}={value} &{fieldName}={value}&{fieldName}={value}&{fieldName}={value}&{fieldName}={value} Unit of Study Assessment
GET https://{host}.edu.net.au/api/rest/v1/UnitCompetency ?{fieldName}={value} &{fieldName}={value}&{fieldName}={value}&{fieldName}={value}&{fieldName}={value} Unit of Study Competency
GET https://{host}.edu.net.au/api/rest/v1/Competency ?{fieldName}={value} &{fieldName}={value}&{fieldName}={value}&{fieldName}={value}&{fieldName}={value} Unit of Competency
GET https://{host}.edu.net.au/api/rest/v1/CodeItem?codeTypeId={codeTypeId} &{fieldName}={value}&{fieldName}={value}&{fieldName}={value}&{fieldName}={value} Code Item
GET https://{host}.edu.net.au/api/rest/v1/StatusItem? statusTypeId={ statusTypeId} &{fieldName}={value}&{fieldName}={value}&{fieldName}={value}&{fieldName}={value} Status Item

Examples for Unit entity and related entities 

Each example for creating a record shows the JSON document to send as the HTTP body. Any text in highlighted in green (at least) should be reviewed and edited per HTTP call to create a record

Create a new Unit entity record

...


...

Code Block
GET https://{host}.edu.net.au/api/rest/v1/

...

Code Block
languagexml
POST https://{host}.Program?{fieldName}={value} &{fieldName}={value}&{fieldName}={value}&{fieldName}={value}&{fieldName}={value} 
GET https://{host}.edu.net.au/api/rest/v1/Unit?{fieldName}={value} &{fieldName}={value}&{fieldName}={value}&{fieldName}={value}&{fieldName}={value} GET https://{host}.edu.net.au/api/rest/v1/ProgramUnitConstraint?{fieldName}={value} &{fieldName}={value}&{fieldName}={value}&{fieldName}={value}&{fieldName}={value} 
GET https://{host}.edu.net.au/api/rest/v1/ScheduledUnit?{fieldName}={value} &{fieldName}={value}&{fieldName}={value}&{fieldName}={value}&{fieldName}={value} 
GET https://{host}.edu.net.au/api/rest/v1/ScheduledUnitFee?{fieldName}={value} &{fieldName}={value}&{fieldName}={value}&{fieldName}={value}&{fieldName}={value} 
GET https://{host}.edu.net.au/api/rest/v1/UnitAssessment ?{fieldName}={value} &{fieldName}={value}&{fieldName}={value}&{fieldName}={value}&{fieldName}={value} 
GET https://{host}.edu.net.au/api/rest/v1/UnitUnitCompetency ?{fieldName}={value} &{fieldName}={value}&{fieldName}={value}&{fieldName}={value}&{fieldName}={value} 
GET 
"eduUnitId": "ICX1234", Unit Code (Primary key, fixed)   
"eduOtherUnitId": "ICX1234", 
"eduProviderOtherUnitId": "ICX1234",   
"unitName": "Example Unit Name",   
"unitCategory": "2",  
"unitStatusId": "UNIT_ACTIVE",
"providerPartyId": "10000", 
"creditStatement": "",   
"pgradEftsuLoad": "0.0",
"ugradEftsuLoad": "0.0625",   
"description": "Example Unit description ",    
"requirements": "Example Unit requirements ",   
"destDiscipline": "80300",    
"destWorkExperienceIndicator": "0", 
"method": "ONLINE", 
"avet018": "20",    
"avet040": "60",
"avet058": "60",
"avet078": "N"
}

SCHEDULED UNIT: If a value for any of the following data fields are NOT specified when creating a ScheduledUnit entity record then the value will default to the corresponding data field on the existing Unit entity record referenced by the "eduUnitId" field: "eduOtherUnitId", "eduProviderOtherUnitId", "unitName", "unitStatusId", "providerPartyId"

Update an existing Unit entity record

...

Code Block
languagexml
PUT https://{host}.edu.net.au/api/rest/v1/Unit/{eduUnitId}
{
"eduProviderOtherUnitId": "ICX1234",
"unitName": "Example Unit Name",  
"unitCategory": "2", 
"unitStatusId": "UNIT_ACTIVE", 
"pgradEftsuLoad": "0.0",
"ugradEftsuLoad": "0.0625",  https://{host}.edu.net.au/api/rest/v1/Competency ?{fieldName}={value} &{fieldName}={value}&{fieldName}={value}&{fieldName}={value}&{fieldName}={value} 
GET https://{host}.edu.net.au/api/rest/v1/CodeItem?codeTypeId={codeTypeId} &{fieldName}={value}&{fieldName}={value}&{fieldName}={value}&{fieldName}={value} 
GET https://{host}.edu.net.au/api/rest/v1/StatusItem? statusTypeId={ statusTypeId} &{fieldName}={value}&{fieldName}={value}&{fieldName}={value}&{fieldName}={value} 



Examples for Unit entity and related entities 

Each example for creating a record shows the JSON document to send as the HTTP body. Any text in highlighted in green (at least) should be reviewed and edited per HTTP call to create a record

Create a new Unit entity record

CodeField

POST https://{host}.edu.net.au/api/rest/v1/Unit 


{
"eduUnitId": "ICX1234"Unit Code (Primary key, fixed) 
"eduOtherUnitId": "ICX1234", Unit Code (required,updateable)
"eduProviderOtherUnitId": "ICX1234",External Unit Code (optional,updateable) 
"unitName": "Example Unit Name",Unit Name 
"unitCategory": "2", Unit Category (Code=UNIT_CATEGORY) 
"unitStatusId": "UNIT_ACTIVE",Status (ACTIVE/INACTIVE/ARCHIVED) 
"providerPartyId": "10000",Provider (DEFAULT=10000)
"creditStatement": "",Credit Statement (point/hours, optional) 
"pgradEftsuLoad": "0.0",Study Load (EFTSL) for Postgrad (NA) 
"ugradEftsuLoad": "0.0625",Study Load (EFTSL) for VET/Undergrad
"description": "Example Unit description ",Unit Description (optional) 
"requirements": "Example Unit requirements ",Unit Description (optional) 
"destDiscipline": "80300",HEIMS Discipline 
"destWorkExperienceIndicator": "0",HEIMS Work Experience Indicator 
"method": "ONLINE",Delivery Mode 
"avet018": "20",Delivery Mode Identifier
"avet040": "60",Nominal Hours 
"avet058": "60",Scheduled Hours 
"avet078": "N"VET in Schools program (Y/N) 
}


Code Block
languagexml
POST https://{host}.edu.net.au/api/rest/v1/Unit
{    
"eduUnitId": "ICX1234", Unit Code (Primary key, fixed)   
"eduOtherUnitId": "ICX1234", 
"eduProviderOtherUnitId": "ICX1234",   
"unitName": "Example Unit Name",   
"unitCategory": "2",  
"unitStatusId": "UNIT_ACTIVE",
"providerPartyId": "10000", 
"creditStatement": "",   
"pgradEftsuLoad": "0.0",
"ugradEftsuLoad": "0.0625",   
"description": "Example Unit description ",    
"requirements": "Example Unit requirements ",   
"destDiscipline": "80300",    
"destWorkExperienceIndicator": "0", 
"method": "ONLINE", 
"avet018": "20",    
"avet040": "60", 

"avet058": "60",
"avet078": "N"

}

Create a new ScheduledUnitFee entity record (new API entity to simplify unit fee management) 

...

SCHEDULED UNIT: If a value for any of the following data fields are NOT specified when creating a ScheduledUnit entity record then the value will default to the corresponding data field on the existing Unit entity record referenced by the "eduUnitId" field: "eduOtherUnitId", "eduProviderOtherUnitId", "unitName", "unitStatusId", "providerPartyId"


Update an existing Unit entity record

eduUnitId"eduOtherUnitId"eduProviderOtherUnitId": "ICX1234ICX1234", Code (optional, updateable)unitNameExample Unit Name Name (optional)descriptionStandard FeeFee Description (optional)modeOfDeliveryMode of (ONLINE)flexibleLearningY"maximumParticipants10000Maximum allowed enrolments
CodeField
POST PUT https://{host}.edu.net.au/api/rest/v1/ScheduledUnitFee/Unit/{eduUnitId}{eduUnitId} to be replaced by Unit Code (Primary key, fixed) 
{ 
"eduProviderOtherUnitId": "ICX1234",

Unit Code (FK to Unit.eduUnitId)

External Unit Code 
"unitName": "

Unit Code (required, updateable)

Example Unit Name",Unit Name 
"unitCategory": "2",Unit Category  
"unitStatusId": "UNIT_ACTIVE",

Status (ACTIVE/INACTIVE)

"providerPartyIdStatus  
  "pgradEftsuLoad": "100000.0",Provider (DEFAULT=10000)Study Load (EFTSL) for Postgrad 
"startDateugradEftsuLoad": "20150101T00:00:000.0625",Start Date Study Load (YYYYMMDDEFTSL) for VET/Undergrad 
"endDatedescription": "20151231T00:00:00Example Unit description",End Date Unit Description (YYYYMMDDoptional) 
  "feerequirements": "1000.00Example Unit requirements",Unit Fee Amount Description (AUDoptional) 
"feeTypeIddestDiscipline": "STANDARD_FEE80300",Fee Type (Code=FEE_TYPE)HEIMS Discipline
"destWorkExperienceIndicator": "0",HEIMS Work Experience Indicator 
"method": "ONLINE",Delivery Mode 
 "avet018": "20",

Flexible Learning (Y/N)

Delivery Mode Identifier
 "avet040": "60",Nominal Hours 
  "avet058": "60",Scheduled Hours 
  "avet078": "N"VET in Schools program (Y/N) 
}


Code Block
languagexml
POSTPUT https://{host}.edu.net.au/api/rest/v1/ScheduledUnitFee Unit/{eduUnitId}
{    

"eduUnitIdeduProviderOtherUnitId": "ICX1234",   
"eduOtherUnitIdunitName": "ICX1234",Example  
"eduProviderOtherUnitId": "ICX1234Unit Name",   
"unitNameunitCategory": "Example Unit Name2", 
 
"unitStatusId": "UNIT_ACTIVE",  
"providerPartyIdpgradEftsuLoad": "100000.0",
  
"startDate" "ugradEftsuLoad": "20150101T00:00:000.0625",   
"endDatedescription" : "20151231T00:00:00Example Unit description ",   
"feerequirements": "1000.00Example Unit requirements ",  
"feeTypeIddestDiscipline": "STANDARD_FEE80300",
"descriptiondestWorkExperienceIndicator": "Standard Fee0",   

"modeOfDeliverymethod": "ONLINE",
"avet018": "20",

"flexibleLearningavet040": "Y60",  
"avet058": "60",
"maximumParticipantsavet078": "10000N"  
}  

SCHEDULED UNIT FEE: When a POST call is made to the API to create a ScheduledUnitFee entity it actually creates a ScheduledUnit entity record and also create attached ScheduledFee and ScheduledAssessment entity records matching the specification associated with the Unit record.

...

Update an existing ScheduledUnitFee entity record (new API entity to simplify unit fee management)

ScheduledUnit and ScheduledFee wrapper

...

Code Block
languagexml
PUT https://{host}.edu.net.au/api/rest/v1/ScheduledUnitFee/{eduScheduledUnitId} 
{     
"eduProviderOtherUnitId": "ICX1234",
"unitName": "Example Unit Name",
"unitStatusId": "UNIT_ACTIVE",
"providerPartyId": "10000",
"startDate" : "20150101T00:00:00", 
"endDate" : "20151231T00:00:00",
"fee": "1000.00", 
"feeTypeId": "STANDARD_FEE",  
"description": "Standard Fee", 
"modeOfDelivery": "ONLINE", 
"flexibleLearning": "Y", 
"maximumParticipants": "10000


Create a new ScheduledUnitFee entity record (new API entity to simplify unit fee management) 

ScheduledUnit and ScheduledFee wrapper 

CodeField
POST https://{host}.edu.net.au/api/rest/v1/ScheduledUnitFee  

"eduUnitId": "ICX1234",

Unit Code (FK to Unit.eduUnitId)

"eduOtherUnitId": "ICX1234",

Unit Code (required, updateable)

"eduProviderOtherUnitId": "ICX1234",

Unit Code (optional, updateable)

"unitName": "Example Unit Name",

Unit Name (optional)

"unitStatusId": "UNIT_ACTIVE",

Status (ACTIVE/INACTIVE)

"providerPartyId": "10000",

Provider (DEFAULT=10000)

"startDate" : "20150101T00:00:00",

Start Date (YYYYMMDD)

"endDate" : "20151231T00:00:00",

End Date (YYYYMMDD)

"fee": "1000.00",

Unit Fee Amount (AUD)

"feeTypeId": "STANDARD_FEE",

Fee Type (Code=FEE_TYPE)

"description": "Standard Fee",

Fee Description (optional)

"modeOfDelivery": "ONLINE",

Mode of Delivery (ONLINE)

"flexibleLearning": "Y",

Flexible Learning (Y/N)

"maximumParticipants": "10000"

Maximum allowed enrolments

}



Code Block
languagexml
POST https://{host}.edu.net.au/api/rest/v1/ScheduledUnitFee 
{     
"eduUnitId": "ICX1234",   
"eduOtherUnitId": "ICX1234",  
"eduProviderOtherUnitId": "ICX1234",   
"unitName": "Example Unit Name",   
"unitStatusId": "UNIT_ACTIVE",  
"providerPartyId": "10000",   
"startDate" : "20150101T00:00:00",   
"endDate" : "20151231T00:00:00",  
"fee": "1000.00", 
 "feeTypeId": "STANDARD_FEE",
"description": "Standard Fee",    
"modeOfDelivery": "ONLINE",   
"flexibleLearning": "Y",    
"maximumParticipants": "10000"  
}  

SCHEDULED UNIT FEE: When a POST call is made to the API to create a ScheduledUnitFee entity it actually creates a ScheduledUnit entity record and also create attached ScheduledFee and ScheduledAssessment entity records matching the specification associated with the Unit record.


SCHEDULED UNIT: If a value for any of the following data fields are NOT specified when creating a ScheduledUnitFee entity then the value of that field on the ScheduledUnit entity record created will default to the corresponding data field on the existing Unit entity record referenced by the eduUnitId field: eduOtherUnitId, eduProviderOtherUnitId, unitName, unitStatusId, providerPartyId.


SCHEDULED FEES: If a numeric value is specified for the fee data field when creating a ScheduledUnitFee entity then ScheduledFee entity records will be created and attached to the new ScheduledUnit entity record for each Program of a ProgramUnitConstraint record (of type CORE_UNIT or ELECTIVE_UNIT ) where the eduUnitId fields of the ProgramUnitConstraint and the ScheduledUnit record are the same value.


If a valid value for the feeTypeId field is specified in the JSON document of the HTTP request then each ScheduledFee record will be created with a feeTypeId field of the specified value (defaults to STANDARD_FEE if not specified in the HTTP request body).
If a text value for the description field is specified in the JSON document of the HTTP request then each ScheduledFee record will be created with a description field of the specified value (defaults to the description associated with the feeTypeId field if not specified in the HTTP request body).
A list of all ScheduledFee entity records created will be returned in the JSON document of the HTTP response in an derived array field named scheduledFees. This derived array field cannot be used when creating or updating any ScheduledUnitFee entity or ScheduledUnit entity record via the API.

SCHEDULED ASSESSMENTS: When creating a ScheduledUnitFee entity via the API, ScheduledAssessment entity records will be created and attached to the new ScheduledUnit entity record for each existing UnitAssessment record where the eduUnitId fields of the UnitAssessment and the ScheduledUnit record are the same value and where the statusId field of the UnitAssessment record has a value of ASSESSMENT_ACTIVE.


A list of all ScheduledAssessment entity records created will be returned in the JSON document of the HTTP response in an derived array field named scheduledAssessments. This derived array field cannot be used when creating or updating any ScheduledUnitFee entity or ScheduledUnit entity record via the API. Any ScheduledAssessment entity records listed in this derived field must be updated using HTTP PUT calls directly to the relevant individual ScheduledAssessment API URL for that entity record.


Update an existing ScheduledUnitFee entity record (new API entity to simplify unit fee management)

ScheduledUnit and ScheduledFee wrapper

CodeField
PUT https://{host}.edu.net.au/api/rest/v1/ScheduledUnitFee/{eduScheduledUnitId} 
{
"eduProviderOtherUnitId": "ICX1234",Unit Code (optional) 
"unitName": "Example Unit Name",Unit Name (optional)
"unitStatusId": "UNIT_ACTIVE",Status (ACTIVE/INACTIVE) 
"providerPartyId": "10000",Provider (DEFAULT=10000) 
"startDate" : "20150101T00:00:00",Start Date  (YYYYMMDD) 
"endDate" : "20151231T00:00:00",End Date  (YYYYMMDD)
"fee": "1000.00",Unit Fee Amount (AUD) 
"feeTypeId": "STANDARD_FEE",Fee Type (Code=FEE_TYPE)
"description": "Standard Fee",Fee Description (optional) 
"modeOfDelivery": "ONLINE",Mode of Delivery (ONLINE)
"flexibleLearning": "Y",Flexible Learning (Y/N) 
"maximumParticipants": "10000"Maximum allowed enrolments 
}


Code Block
languagexml
PUT https://{host}.edu.net.au/api/rest/v1/ScheduledUnitFee/{eduScheduledUnitId} 
{     
"eduProviderOtherUnitId": "ICX1234",
"unitName": "Example Unit Name",
"unitStatusId": "UNIT_ACTIVE",
"providerPartyId": "10000",
"startDate" : "20150101T00:00:00", 
"endDate" : "20151231T00:00:00",
"fee": "1000.00", 
"feeTypeId": "STANDARD_FEE",  
"description": "Standard Fee", 
"modeOfDelivery": "ONLINE", 
"flexibleLearning": "Y", 
"maximumParticipants": "10000" 
}

SCHEDULED UNIT FEE: When a PUT call is made to the API to create a ScheduledUnitFee entity it actually updates the ScheduledUnit entity record identified by the value of the eduScheduledUnitId field value in the URL. It may also create and/or update any ScheduledFee or ScheduledAssessment entity records attached to that ScheduledUnit entity record (i.e. record with a foreign key field named eduScheduledUnitId with the same identifier value.


SCHEDULED UNIT: If a value for any data fields having the same name as a data field of the ScheduledUnit entity type are specified when updating a ScheduledUnitFee entity, then the value of that field on the identified ScheduledUnit entity record will be updated with the specified value.


SCHEDULED FEES: If a numeric value is specified for the fee data field when updating a ScheduledUnitFee entity then any ScheduledFee entity records already attached to the the identified ScheduledUnit entity record will be updated with that fee amount. If a valid value for the feeTypeId field is specified in the JSON document of the HTTP request then the ScheduledFee entity records being updated will be restricted to existing records matching the specified feeTypeId value.


Also, any missing ScheduledFee entity records will be created and attached to the identified ScheduledUnit entity record for each Program of a ProgramUnitConstraint record (of type CORE_UNIT or ELECTIVE_UNIT ) where the eduUnitId fields of the ProgramUnitConstraint and the ScheduledUnit record are the same value.


If a valid value for the feeTypeId field is specified in the JSON document of the HTTP request then any new ScheduledFee records will be created with a feeTypeId field of the specified value (defaults to STANDARD_FEE if not specified in the HTTP request body).


If a text value for the description field is specified in the JSON document of the HTTP request then each ScheduledFee record will be created with a description field of the specified value (defaults to the description associated with the feeTypeId field if not specified in the HTTP request body).


A list of all ScheduledFee entity records created will be returned in the JSON document of the HTTP response in an derived array field named scheduledFees. This derived array field cannot be used when creating or updating any ScheduledUnitFee entity or ScheduledUnit entity record via the API.


SCHEDULED ASSESSMENTS: When updating a ScheduledUnitFee entity via the API, any missing ScheduledAssessment entity records will be created and attached to the identified ScheduledUnit entity record for each existing UnitAssessment record where the eduUnitId fields of the UnitAssessment and the ScheduledUnit record are the same value and where the statusId field of UnitAssessment record has a value of ASSESSMENT_ACTIVE.


A list of all ScheduledAssessment entity records created will be returned in the JSON document of the HTTP response in a derived array field named scheduledAssessments. This derived array field cannot be used when updating any ScheduledUnitFee entity or ScheduledUnit entity record via the API. Any ScheduledAssessment entity records listed in this derived field must be updated using HTTP PUT calls directly to the relevant individual ScheduledAssessment API URL for that entity record.


Create a new UnitAssessment entity record

CodeField
POST https://{host}.edu.net.au/api/rest/v1/UnitAssessment 
{
"eduUnitId": "ICX1234",Unit Code (FK to Unit.eduUnitId)
"assessmentTypeId": "COMPETENCY_UNIT",Type of the Assessment
"assessmentName": "Example Assessment Name",Name of the Assessment
"codeId": " ABC10203",Code of the Assessment (optional)
"statusId": "ASSESSMENT_ACTIVE",Status (ACTIVE/INACTIVE) 
"description": " Example Assessment Description",Description  of the Assessment
"maximumMark": " 100",Maximum Mark (“marked out of”)
"passMark": " 50",Pass Mark (“threshold to pass”) 
"weighting": "1.0",Weighting (relative within Unit) 
"startWeek": "5",Start Week (of term schedule) 
"endWeek": "7",EndWeek (of term schedule) 
"avet058": "60",Scheduled Hours for Assessment 
"avet018": "20",Mode of Delivery (AVETMISS) 
"avet078": "N"VET in Schools flag (Y/N) 
}


Code Block
languagexml
POST https://{host}.edu.net.au/api/rest/v1/UnitAssessment
{
"eduUnitId":"ICX1234",
"assessmentTypeId":"COMPETENCY_UNIT",  
"assessmentName":"Example Assessment Name", 
"codeId":"ABC10203",   
"statusId":"ASSESSMENT_ACTIVE",  
"description":"Example Assessment Description",  
"maximumMark":"100", 
"passMark":"50",
"weighting":"1.0",
"startWeek":"5",
"endWeek":"7",
"avet058":"60",
"avet018":"20",  
"avet078":"N"
} 


UNIT ASSESSMENT: When a POST call is made to the API to create a UnitAssessment entity it actually creates an Assessment entity record attached to the existing Unit (of study) record identified by the specified value of the eduUnitId field.

The new Assessment entity record will have data field values set as follows:

  1. assessmentId set to an auto-generated identifier
    • assessmentId MUST NOT be provided in the request 
    • assessmentId SHOULD be used to identify the new record in other HTTP requests 

  2. assessmentTypeId set to the value provided in the request
    • assessmentTypeId MUST be provided in the request
    • assessmentTypeId MUST be COMPETENCY_UNIT if provided in the request 

  3. statusId set to
    • the value of statusId if provided in the request 
    • ASSESSMENT_ACTIVE otherwise 
    • statusId MUST be a valid ASSESSMENT_STATUS if provided in the request

  4.  maximumMark set to the value 100
    • maximumMark MAY be provided in the request as a numeric value greater than 0 
    • maximumMark MUST be less than or equal to 100 if provided in the request 

  5. passMark set to the value 50
    • passMark MAY be provided in the request as a numeric value greater than 0 
    • passMark MUST be less than or equal to maximumMark if provided in the request 

  6. all other data fields will be set to
    •  o the value of matching field name if provided in the request
    • the null value otherwise


Update an existing UnitAssessment entity record

CodeField
PUT https://{host}.edu.net.au/api/rest/v1/UnitAssessment/{assessmentId

"assessmentName": "Example Assessment Name",Name of the Assessment 
"codeId": "ABC10203",Code of the Assessment 
"statusId":"ASSESSMENT_ACTIVE",Status (ACTIVE/INACTIVE) 
"description":"Example Assessment Description",Description  of the Assessment 
"maximumMark":"100",Maximum Mark (“mark out of”) 
"passMark": "50",Pass Mark (“mark to pass”) 
"weighting": "1.0",Weighting (relative within Unit) 
"startWeek": "5",Start Week (of term schedule) 
"endWeek": "7",EndWeek (of term schedule)   
"avet058": "60",Scheduled Hours for Assessment 
"avet018": "20",Mode of Delivery (AVETMISS) 
"avet078": "N"VET in Schools flag (Y/N) 
}


Code Block
languagexml
PUT https://{host}.edu.net.au/api/rest/v1/UnitAssessment/{assessmentId} 
{     
"assessmentName": "Example Assessment Name", 
"codeId": " ABC10203", 
"statusId": "ASSESSMENT_ACTIVE",
"description":" Example Assessment Description",  
"maximumMark": " 100",
"passMark": " 50",   "weighting": "1.0",   
"startWeek": "5", 
"endWeek": "7",   
"avet058": "60",  
"avet018": "20", 
"avet078": "N"
}   

UNIT ASSESSMENT: When a PUT call is made to the API to update a UnitAssessment entity it actually updates the Assessment entity record record identified by the specified value of the assessmentId data field specified in the URL. The identified Assessment entity record will have data field values set to the value of matching field name if provided in the request.


The updated Assessment entity record will have data field values set as follows:

  1. assessmentId cannot be updated: 
    • assessmentId MAY be provided in the request body 
    • assessmentId MUST be the same as in the URL if provided in the request body 

  2. assessmentTypeId set to the value provided in the request
    • assessmentTypeId MUST be provided in the request
    • assessmentTypeId MUST be COMPETENCY_UNIT if provided in the request 

  3. statusId set to
    • the value of statusId if provided in the request
    • ASSESSMENT_ACTIVE otherwise
    • statusId MUST be a valid ASSESSMENT_STATUS if provided in the request

  4.  maximumMark set to the value 100
    • maximumMark MAY be provided in the request as a numeric value greater than 0
    • maximumMark MUST be less than or equal to 100 if provided in the request

  5.  passMark set to the value 50
    • passMark MAY be provided in the request as a numeric value greater than 0
    • passMark MUST be less than or equal to maximumMark if provided in the request

  6.  all other data fields will be set to
    • the value of matching field name if provided in the request
    • the null value otherwise


Create a new UnitCompetency entity record (new API entity to simplify unit competencies) 

UnitAssessment wrapper for COMPETENCY_UNIT 

CodeField
POST https://{host}.edu.net.au/api/rest/v1/UnitCompetency 
{
"eduUnitId": "ICX1234",Unit Code (FK to Unit.eduUnitId) 
"competencyId": "ABC10203",Code of the Assessment 
"competencyName": "Example Competency Name",Name of the Assessment 
"statusId": "ASSESSMENT_ACTIVE",Status (ACTIVE/INACTIVE) 
"description": "Example Competency Description",Description  of the Assessment 
"vetScheduledHours": "60",Scheduled Hours for Assessment 
"vetDeliveryMode": "20",Mode of Delivery (AVETMISS) 
"vetInSchoolsFlag": "N"VET in Schools flag (Y/N) 
}

UNIT COMPETENCY: When a POST call is made to the API to create a UnitCompetency entity it actually creates a Assessment entity record attached to the existing Unit (of study) record identified by the specified value of the eduUnitId field.

The new Assessment entity record will have data field values set as follows:

  1. assessmentId set to an auto-generated identifier
    • assessmentId MUST NOT be provided in the request
    • assessmentId SHOULD be used to identify the new record in other HTTP requests

  2.  assessmentTypeId set to COMPETENCY_UNIT
    • assessmentTypeId MAY be provided in the request
    • assessmentTypeId MUST be COMPETENCY_UNIT if provided in the request

  3. codeId set to the value of competencyId
    • competencyId MUST be provided in the request
    • competencyId MUST be a valid nationally recognised Unit of Competency identifier

  4.  assessmentName set to
    • the value of competencyName if provided in the request
    • the defined name of the identified Unit of Competency otherwise

  5.  description set to
    • the value of competencyName if provided in the request
    • the defined name of the identified Unit of Competency otherwise

  6.  statusId set to
    • the value of statusId if provided in the request
    • ASSESSMENT_ACTIVE otherwise
    • statusId MUST be a valid ASSESSMENT_STATUS if provided in the request

  7. avet058 set to
    • the value of vetScheduledHours if provided in the request
    • the defined “Nationally Agreed Hours” of the Unit of Competency otherwise

  8.  avet018 set to
    • the value of vetDeliveryMode if provided in the request
    • the value 20 (“Online”) otherwise

  9. avet078 set to
    • the value of vetInSchoolsFlag if provided in the request
    • the value N (“No”) otherwise - maximumMark set to the value 100
    • maximumMark MAY be provided in the request as a numeric value greater than 0
    • maximumMark MUST be less than or equal to 100 if provided in the request
  10. passMark set to the value 100
    • passMark MAY be provided in the request as a numeric value greater than 0
    • passMark MUST be less than or equal to maximumMark if provided in the request


Update existing UnitCompetency entity record (new API entity to simplify unit competencies

UnitAssessment wrapper for COMPETENCY_UNIT 

CodeField
PUT https://{host}.edu.net.au/api/rest/v1/UnitCompetency/{assessmentId} 

"competencyId": "ABC10203",Code of the Assessment 
"competencyName": "Example Competency Name",Name of the Assessment
"statusId": "ASSESSMENT_ACTIVE",Status (ACTIVE/INACTIVE) 
"description": "Example Competency Description",Description  of the Assessment 
"vetScheduledHours": "60",Scheduled Hours for Assessment 
"vetDeliveryMode": "20",Mode of Delivery (AVETMISS)
"vetInSchoolsFlag": "N"VET in Schools flag (Y/N) 
}


Code Block
languagexml
PUT https://{host}.edu.net.au/api/rest/v1/UnitCompetency/{assessmentId} 
{     
"competencyId": "ABC10203",
"competencyName": "Example Competency Name",
"statusId": "ASSESSMENT_ACTIVE",  
"description": "Example Competency Description", 
"vetScheduledHours": "60",
"vetDeliveryMode": "20", 
"vetInSchoolsFlag": "N"
}  

UNIT COMPETENCY: When a PUT call is made to the API to update a UnitCompetency entity it actually updates the Assessment entity record identified by the specified value of the assessmentId field in the URL.

The updated Assessment entity record will have data field values set as follows:

  1. assessmentId cannot be updated:
    • assessmentId MAY be provided in the request body
    • assessmentId MUST be the same as in the URL if provided in the request body

  2. assessmentTypeId cannot be updated:
    • assessmentTypeId MAY be provided in the request
    • assessmentTypeId MUST be COMPETENCY_UNIT if provided in the request

  3. codeId set to the value of competencyId if provided in the request
    • competencyId MAY be provided in the request
    • competencyId SHOULD NOT be the same as the previous value if provided
    • competencyId MUST be a valid nationally recognised Unit of Competency identifier
    • the previous value codeId otherwise

  4. assessmentName set to
    • the value of competencyName if provided in the request
    • the previous value otherwise 

  5. description set to
    • the value of competencyName if provided in the request
    • the previous value of description otherwise

  6. statusId set to
    • the value of statusId if provided in the request
    • statusId MUST be a valid ASSESSMENT_STATUS if provided in the request
    • the previous value of statusId otherwise

  7. avet058 set to
    • the value of vetScheduledHours if provided in the request
    • the previous value of avet058 otherwise

  8. avet018 set to
    • the value of vetDeliveryMode if provided in the request
    • the previous value of avet018 otherwise

  9. avet078 set to
    • the value of vetInSchoolsFlag if provided in the request
    • the previous value of avet078 otherwise

  10. maximumMark o maximumMark MAY be provided in the request as a numeric value greater than 0
    • maximumMark MUST be less than or equal to 100 if provided in the request
    • the previous value of maximumMark otherwise

  11. passMark
    • passMark MAY be provided in the request as a numeric value greater than 0
    • passMark MUST be less than or equal to maximumMark if provided in the request
    • the previous value of passMark otherwise


Examples for Single Diploma Program entity and related entities 

Each example for creating a record shows the JSON document to send as the HTTP body. Any text in highlighted in green (at least) should be reviewed and edited per HTTP call to create a record. 

Create a new Program entity record

Single Diploma 

CodeField
POST https://{host}.edu.net.au/api/rest/v1/Program 
{
"eduProgramId" : "DipBus",Course Code (PK,fixed) 
"programName" : Diploma of Business",Course Name 
"programStatusId" : "PROGRAM_ACTIVE",Status (ACTIVE/INACTIVE/ARCHIVED)
"programType" : "COURSEWORK",Course Type 
"programLevel" : "VET",Course Level
"programDuration" : "52.0",Duration (weeks)
"programLevelInt" : "5",Program Level No (Dip=5, AdvDip=6)
"providerPartyId" : "33594",Provider (SGA=33594,ACA=39114) 
"studyArea" : "BUS",Course Study Area (optional)
"standardCourseFee" : "12600.0",Course Fee (full-course total unit fees) 
"standardUnitFee" : "1575.0"Standard Unit Fee 
"destCourseCode" : "BSB50207",HEIMS Course Code 
"destE533" : " BSB50207",HEIMS Course of Study Code 
"destCourseLoad" : "0.75"HEIMS Course Load 
"destCourseType" : "21",HEIMS Course Type
"destEduField" : "080300",HEIMS Education Field 
"destSpecialCourseCode" : "00",HEIMS Special Course Code 
"destCombinedCourseCode" : "0",HEIMS Combined Course Code
"destLoanFeePostgrad" : "0.0"HEIMS Postgraduate Loan Fee (%)
"destLoanFeeUndergrad" : "20.0",HEIMS VET/Undergraduate Loan Fee (%)
"avet052" : "803",Course Field of Education Identifier 
"avet053" : "BSB50207",Course Identifier 
"avet054" : "421",Course Level of Education Identifier 
"avet056" : "11",Course Recognition Identifier 
"avet005" : "511112",ANZCO Identifier 
"avet040" : "480",Nominal Hours
"avet077" : "Y",VET Flag
"accredited" : "YES",Accreditation Flag (Y/N)
"accreditationDate" : "20150101T00:00:00",Accreditation Date (YYYYMMDD) 
"accreditationDateDue" : "20161231T00:00:00",Accreditation Date Due (YYYYMMDD) 
"allowInternationalStudent" : "NO"Allow International Students  (YES/NO) 
"allowOnlineApplication" : "YES",Allow Online Application  (YES/NO)
"aqfRegistered" : "Y",AQF Registered  (Y/N) 
"ecafApproved" : "Y",ECAF Approved  (Y/N
"fundingType" : "'UPFRONT_FEES','FEE_HELP'",Funding Type (multiple select)
"unitGradeType" : "UNIT_GRADE",Unit Grade Type 
"assessmentGradeType" : "ASSESSMENT_GRADE",Assessment Grade Type
"requirements" : "To enrol in this course, you will need to speak and write in English to at least Year 12 level. \\\nYou will also need to have one of the following:\\\n    Australian Year 12 or equivalent; OR\\\n    a Certificate IV; OR\\\n    be aged over 20 and have demonstrated skills acquired through work experience; OR\\\n    within the Admissions Interview be able to demonstrate that you have the skills and capability to succeed in the course."Entry Requirements (optional description)
}


Code Block
languagexml
POST https://{host}.edu.net.au/api/rest/v1/Program  
{    
"eduProgramId" : "DipBus",  
"programName" : Diploma of Business",  
"programStatusId" : "PROGRAM_ACTIVE",
"programType" : "COURSEWORK", 
"programLevel" : "VET", 
"programDuration" : "52.0",  
"programLevelInt" : "5",    
"providerPartyId" : "33594",  
"studyArea" : "BUS",  
"standardCourseFee" : "12600.0",  
"standardUnitFee" : "1575.0",  
"destCourseCode" : "BSB50207",
"destE533" : " BSB50207", 
"destCourseLoad" : "0.75"
"destCourseType" : "21",
"destEduField" : "080300",
"destSpecialCourseCode" : "00",
"destCombinedCourseCode" : "0",
"destLoanFeePostgrad" : "0.0", 
"destLoanFeeUndergrad" : "20.0", 
"avet052" : "803",   
"avet053" : "BSB50207", 
"avet054" : "421",
"avet056" : "11", 
"avet005" : "511112",
"avet040" : "480",
"avet077" : "Y", 
"accredited" : "YES", 
"accreditationDate" : "20150101T00:00:00",
"accreditationDateDue" : "20161231T00:00:00",
"allowInternationalStudent" : "NO",
"allowOnlineApplication" : "YES",
"aqfRegistered" : "Y",
"ecafApproved" : "Y",  
"fundingType" : "'UPFRONT_FEES','FEE_HELP'",
"unitGradeType" : "UNIT_GRADE",  
"assessmentGradeType" : "ASSESSMENT_GRADE",  
"requirements" : "To enrol in this course, you will need to speak and write in English to at least Year 12 level. \\\nYou will also need to have one of the following:\\\n    Australian Year 12 or equivalent; OR\\\n    a Certificate IV; OR\\\n    be aged over 20 and have demonstrated skills acquired through work experience; OR\\\n    within the Admissions Interview be able to demonstrate that you have the skills and capability to succeed in the course." 
}



Further reading

This section of the KB contains links to any further related information that would be helpful for the purpose  understanding this topic.