http://specification.sifassociation.org/Implementation/AU/3.4.5/CommonTypes.html#CampusContainerType
...
Element/@Attribute | Char | Synergetic Mapping | Description | Type |
---|---|---|---|---|
CampusContainerType | O | Optional campus details. | ||
ParentSchoolId | C | Config.Value (ExternalSystem>SIF>SchoolInfo>>LocalID) | Parent School Id needs to be supplied if this Campus is not the Admin Campus. This number should be the state-assigned identifier for this school or the locally-assigned identifier for this school. | xs:normalizedString |
SchoolCampusId | M | luCampus.CampusCode | Specific Campus Id - This may be the same as the School Local Id. | xs:normalizedString |
CampusType | O | <Not mapped> | Type of campus. | AUCodeSetsSchoolLevelType |
AdminStatus | M | 'N' | Is this campus the Admin Campus? | AUCodeSetsYesOrNoCategoryType |
...
If a POST request is made with a campus-level SchoolInfoRefId, then the record can be translated so that campus detail can be effectively stored (ie. if a POST for StudentSchoolEnrollment was required) as there are no other campus-related fields in the specification.
If you had the 'Admin' school in the posting and there are multiple year levels split across campuses in the school, then this would otherwise fail so the CampusContainerType addresses this.
We will not populate the CampusType value.
...
Additional records will need to be generated to cater for instance where campus-level SchoolInfoRefId records are in play
Solution
No additional record has been generated for this. Instead a new column added to Object Store to maintain the campus ref id. The object xml remains the same containing Main School SIF3RefID. For Single and Multi Endpoints of the campus enabled SIF objects the response still has the Main School SIF3 RefID in school node. However for Service Path endpoints this node holds the campus sif3 refid based on the campus refid the consumer passes on the request