C# Function: BaileyWeb.University.Data.GetSubjectById

This C# function retrieves combined data from multiple sources for an individual subject.

Parameters

There is one parameter:

  1. SubjectId - "Subject ID" - GUID
    • Select the subject to compile data for.

Text Strings

This function uses the following localisation resources:

Sample Output

<SubjectsList>
  <Subjects>
    <Subject Id="3f02d49a-e1ea-4173-9c11-7c14d4ee14c8">
      <SubjectTitle>Drama for Master's Degree</SubjectTitle>
      <SubjectCode>MA DRAM</SubjectCode>
      <SubjectLevel>Master's Degree</SubjectLevel>
      <SubjectName>Drama</SubjectName>
      <Description>Master's Drama</Description>
      <ApplicationCode />
      <ApplicationMethod />
      <ApplicationMethodWebsite />
      <EntryProfile />
      <FeeBand>f3d2111c-7e4d-4598-b477-eb4c1f474ac0</FeeBand>
      <FeeBandName>SU-A</FeeBandName>
      <Overview>
        <html xmlns="http://www.w3.org/1999/xhtml">
          <head />
          <body />
        </html>
      </Overview>
      <Structure>
        <html xmlns="http://www.w3.org/1999/xhtml">
          <head />
          <body />
        </html>
      </Structure>
      <TeachingMethods>
        <html xmlns="http://www.w3.org/1999/xhtml">
          <head />
          <body />
        </html>
      </TeachingMethods>
      <AssessmentMethods>
        <html xmlns="http://www.w3.org/1999/xhtml">
          <head />
          <body />
        </html>
      </AssessmentMethods>
      <TeachingResources>
        <html xmlns="http://www.w3.org/1999/xhtml">
          <head />
          <body />
        </html>
      </TeachingResources>
      <Careers>
        <html xmlns="http://www.w3.org/1999/xhtml">
          <head />
          <body />
        </html>
      </Careers>
      <StudentExperience>
        <html xmlns="http://www.w3.org/1999/xhtml">
          <head />
          <body />
        </html>
      </StudentExperience>
      <ModulesList />
      <TaughtBy />
      <EnquiryContact>
        <People>
          <Person Id="1902ff46-5005-4e82-be3e-93c61ad29a93">
            <UserId>david</UserId>
            <DisplayName>David Bailey</DisplayName>
            <Honorific>Professor</Honorific>
            <Forename>David</Forename>
            <Surname>Bailey</Surname>
            <PostNominalLetters>BA (Hons), MBCS</PostNominalLetters>
            <JobTitle>Subject Leader - Drama</JobTitle>
            <Email>david@baileyweb.online</Email>
          </Person>
        </People>
      </EnquiryContact>
      <LocationsList />
      <AcademicDepartment>fadf3ae3-aeaf-453d-aa5a-3b6f7d79bd6e</AcademicDepartment>
      <AcademicDepartmentName>Humanities and Law</AcademicDepartmentName>
      <AcademicDepartmentPage>620e446e-c232-4970-a3d3-5d4010b674fa</AcademicDepartmentPage>
      <Handbook />
      <Display>true</Display>
    </Subject>
  </Subjects>
</SubjectsList>

Updated: 27 February 2017