SIMS 7 - TPSubject
This interface gets all the CORE subjects from SIMS database.
This interface gets information of a subjectId passed as a parameter. It will get all CORE subjects from SIMS database if ‘0’ is passed as the parameter.
Sample code and output for this interface is shown below:
TPSubject subject = new TPSubject();
string testdata = subject.GetXmlSubjects();
<?xml version="1.0" encoding="iso-8859-1" standalone="yes"?>
<Subjects>
<Subject>
<SubjectID>518</SubjectID>
<SubjectCode>Ac</SubjectCode>
<SubjectName>Accounting</SubjectName>
</Subject>
<Subject>
<SubjectID>519</SubjectID>
<SubjectCode>Ar</SubjectCode>
<SubjectName>Art</SubjectName>
</Subject>
</Subjects>