SchoolLevel (int)
The user’s education level. This parameter is used to redirect the user to the correct start page.
The different types are:
0 - Default (the user is redirected to the start page)
1 - Primary
2 - Secondary
3 - Higher
4 - Further
CustomerID (string)
This is a unique id for a Site for the LMS. This is used to identify a Site and is important for:
- site agreements
- licenses on resources
- Statistics on Site level
UserID (int)
This is a UserId that has to be unique within the Site for the LMS. This is used to map the LMS user to the Diglib user.
LearningLocation (string)
The name of the learning location (within a site) for the user. Example: Askøy VGS (which is located in the Site "Hordaland Fylkeskommune").
SiteName (string)
The name of the user’s site. Example: "Hordaland Fylkeskommune".
AccessLevel (string)
Defines the role of the user. Valid AccessLevel values are:
Email (string)
The user’s e-mail address
UserFirstName (string)
The user’s first name
UserLastName (string)
The user’s last name
UserLanguageID (int)
The preferred language of the user. The available languages are:
0 – Norwegian
1 – English (UK)
3 – Swedish
4 – Dutch
9 – Danish
11 – French
12 – Italian
13 – English (US)
AddUrl (string)
This is the URL to which the user will be redirected when adding a package.
Example: www.lms.com/addpackage.php
TimeFormat (string)
Specifies the time format of the user. The different types are:
- TwentyFourHour
- TwelveHour
TimeZoneID (int)
The TimeZoneID defines where in the world the user is located
312 - Norway/Oslo
DiglibConnector (string)
An unique id for the LMS. Example: Blackboard. This string is supplied by Diglib to the VLE during the test-phase.
CourseID (int)
An integer id that represents a course to which the resource belongs
GUID (int)
The timestamp of the signature. It is derived from the seconds since the year 1970, month 01, day 01, hour 00, minutes 00, seconds 00 and must be UTC time.
ChildSites (string)
The ChildSites parameter is a list in JSON format like in the following example:
[{"Name":"Bergen Kommune","Type":1,"LegalId":"98034343","OrgId":"10","Country":"NO"},
{"Name":"Viken Skole","Type":2,"LegalId":"9334343443","OrgId":"11","Country":"NO"}]
It should be url encoded as well, so the example above will look like:
[…]&ChildSites= %5b%7b%22Name%22%3a%22Bergen+Kommune%22%2c%22Type%22%3a1%2c%22LegalId%22%3a%2298034343%22%2c%22OrgId%22%3a%2210%22%2c%22Country%22%3a%22NO%22%7d%2c%7b%22Name%22%3a%22Viken+Skole%22%2c%22Type%22%3a2%2c%22LegalId%22%3a%229334343443%22%2c%22OrgId%22%3a%2211%22%2c%22Country%22%3a%22NO%22%7d%5d
Name is a string that describes the school/faculty/other kind of organisation below a site level.
Type is an integer value from the following list:
1 - Site
2 - School
3 - Faculty
4 - University
5 - District
LegalId is the business number the organisation in question uses.
OrgId is the VLE’s internal Id of the organisation. This must be unique within a site.
Country is a two character country code for the organisation.
It is important to supply this parameter if the VLE needs to enable the usage of SiteLicenses that users have on different organisations (child sites) in addition to the site they log on with (for example, if a school within a county has as license but the county has not). Internally, Diglib provides the user with access to all the site licenses that are in both the parent site and in child sites.