The credits information is included within the omega rules gadget, along with all of the related program curriculum information. The report will provide all of the information within a gadget in a single field, and with this gadget - the credits information would be included in the same field as the other curriculum data, and is not able to be seperated out into its own field.
Unless there is another field on the program that houses that information by itself (that would require manual updating, only the omega rules gadget will auto calculate this information), the report is only able to provide it as part of the full curriculum information and can not separate out the credits value.
The closest we can get is to run a call through the API to gather the meta data for the omega rules gadget - this will pull the information in a more human-friendly version.
For example, if you were to reference a specific program - you could use: https:/institution.kuali.co/api/cm/programs/queryAll?fields=meta.programCompletionRequirementsText&_id={{programid}}
Those results would look like this:
{
"count": 1,
"res": [
{
"meta": {
"programCompletionRequirementsText": "Year One - Term One (Standard)\n15 Total Credits\n\nComplete the following courses:\n ACCT1103 - Introduction to Financial Accounting (3)\n MGMT1101 - Introduction to Management (3)\n MGMT1201 - Business Communication (3)\n MGMT1401 - Microeconomics (3)\n MKTG1101 - Introduction to Marketing (3)\n\nYear One - Term Two (Standard)\n15 Total Credits\n\nComplete the following courses:\n HRES1101 - Organizational Behaviour (3)\n HRES2201 - Introduction to Human Resources (3)\n MGMT1102 - Introduction to Organizations and Sustainability (3)\n MGMT1601 - Business Law (3)\n MGMT2401 - Macroeconomics (3)\n\nGrand Total Credits: 30"
}
}
]
}
If you take that, you canconvert this into a CSV, and the results will resemble this:
It still doesn't quite pull out the credits, but it would put it into a CSV which you can then use to create a process to extract the values as needed, and it will be in a much easier to read format.
If you're looking to get this for all programs, you can use a call like this one: https://institution.kuali.co/api/cm/programs/queryAll?fields=_id,code,meta.programCompletionRequirementsText&limit=100 and this would also include the item ID and code for identification purposes.
Comments
0 comments
Article is closed for comments.