Table of Contents | ||
---|---|---|
|
Endpoints
...
Environment
...
URL
...
WSDL
...
Production
...
https://elo.edu-ix.nl/soap/4.3/credit
...
https://elo.edu-ix.nl/soap/4.3/credit/wsdl/
...
Acceptance (schooljaar 2023-2024, vanaf 20-7-2023)
...
https://acc-elo.edu-ixstaging.nl/soap/4.3/credit
...
https://acc-elo.edu-ixstaging.nl/soap/4.3/credit/wsdl/
...
Ketentest
...
https://ketentest-elo.edu-ixstaging.nl/soap/4.3/credit
...
Zie Technical documentation voor het actuele overzicht.
Authorization
The following roles have access to this web service:
Role |
---|
ELO |
Change history
Info |
---|
Effective as of : organisationID is available as optional parameter for getPersonCredit and getPersonCreditRaw calls. Change scheduled for release to ACC mid april 2022. |
...
All operations, except login, need either the loginHeader or the sessionIDHeader to authenticate. A sessionID can be obtained by performing the login operation beforehand.
Name | Type | Cardinality | Description | ||
---|---|---|---|---|---|
loginHeader sessionIDHeader | 1...1 1...1 | You can use either one of the variables | |||
Source
|
Operations
login
Description
The login function provides you with a sessionID after execution. This sessionID can be used to execute consecutive operations with the sessionIDHeader.
Authentication
Name | Type | Cardinality | Description | ||
---|---|---|---|---|---|
loginHeader | 1...1 | ||||
Source
|
Request
Empty request
Response
Name | Type | Cardinality | Description |
---|---|---|---|
sessionID | 1...1 | Unique identifier of the session |
Error codes
Error code | Description |
---|---|
2 |
...
getPersonCredit
Description
...
The userID or eckID is used to retrieve credits of a specific person. Ean, start- & endDate can be used to filter for specific credits.
Name | Type | Cardinality | Description | ||
---|---|---|---|---|---|
userID eckID | 1...1 1...1 | You must use either one or both of these variables. | |||
startDate | date | 0...1 | The start date. Licenses which are active on this date are returned: e.g. licenses expired before this date are not returned. Default value is “today” when omitted. | ||
endDate | date | 0...1 | The end date. Licenses should start before this date. Normally only startDate (today) is used. | ||
ean | 0...1 | Unique identifier of the product. Only credits with this ean are returned. | |||
organisationID | 0...1 | Unique identifier of an organisation, to fetch only credits for a specific school. | |||
Source
|
Response
The response contains 0 to all credits found for a specific person. In case of an error, a Fault object is returned.
Name | Type | Cardinality | Description | ||
---|---|---|---|---|---|
personCreditInformation | 0...n | ||||
Source
|
Error codes
Error code | Description |
---|---|
6 |
...
getPersonCreditRaw
Description
...
The following roles have access to this operation:
Role |
---|
ELO |
Authentication
You have a choice to use either the loginHeader or the sessionIDHeader to authenticate. A sessionID can be obtained by performing the login operation beforehand. See operation authentication.
...
The userID or eckID is used to retrieve credits of a specific person. Ean, start- & endDate can be used to filter for specific credits.
Name | Type | Cardinality | Description | ||
---|---|---|---|---|---|
userID eckID | 1...1 1...1 | You can use either one of these variables | |||
startDate | date | 0...1 | The start date. Licenses which are active on this date are returned: e.g. licenses expired before this date are not returned. Default value is “today” when omitted. | ||
endDate | date | 0...1 | The end date. Licenses should start before this date. Normally only startDate (today) is used. | ||
ean | 0...1 | Unique identifier of the product. The credit gives right of use for the indicated ean. | |||
organisationID | 0...1 | Unique identifier of an organisation, to fetch only credits for a specific school. | |||
Source
|
Response
The response contains 0 to all credits found for a specific person. In case of an error, a Fault object is returned.
Name | Type | Cardinality | Description | ||
---|---|---|---|---|---|
personCreditInformation | 0...n | ||||
Source
|
Error codes
Error code | Description |
---|---|
6 |
...
getSchoolCredit
Description
...
Credits of a specifc school are retrieved based on the organisationID. Ean, start- & endDate can be used to filter for specific credits.
Name | Type | Cardinality | Description | ||
---|---|---|---|---|---|
organisationID | 1...1 | Unique identifier of the organisation | |||
startDate | date | 0...1 | The start date. Licenses which are active on this date are returned: e.g. licenses expired before this date are not returned. Default value is “today” when omitted. | ||
endDate | date | 0...1 | The end date. Licenses should start before this date. Normally only startDate (today) is used. | ||
ean | 0...1 | Unique identifier of the product. The credit gives right of use for the indicated ean. | |||
Source
|
Response
The response contains 0 to all credits found for a specific school. In case of an error, a Fault object is returned.
Name | Type | Cardinality | Description | ||
---|---|---|---|---|---|
schoolCreditInformation | 0...n | ||||
Source
|
Error codes
Error code | Description |
---|---|
6 |
...
getSummedSchoolCredit
Description
...
Credits of a specifc school are retrieved based on the organisationID. Ean, start- & endDate can be used to filter for specific credits.
Name | Type | Cardinality | Description | ||
---|---|---|---|---|---|
organisationID | 1...1 | Unique identifier of the organisation | |||
startDate | date | 0...1 | The start date. Licenses which are active on this date are returned: e.g. licenses expired before this date are not returned. Default value is “today” when omitted. | ||
endDate | date | 0...1 | The end date. Licenses should start before this date. Normally only startDate (today) is used. | ||
ean | 0...1 | Unique identifier of the product. The credit gives right of use for the indicated ean. | |||
Source
|
Response
The response contains 0 to all summed credits found for a specific school. In case of an error, a Fault object is returned.
Name | Type | Cardinality | Description | ||
---|---|---|---|---|---|
summedSchoolCredit | 0...n | ||||
Source
|
Error codes
Error code | Description |
---|---|
6 |
...
Errors
General errors
Error code | Description |
---|---|
0 | Unkown error |
1 | General error This occurs in for example: database errors or internal server errors. |
2 | Authentication error For instance when invalid credentials are provided. |
3 | Session expired The given sessionID is no longer active and has expired. Acquire a new sessionID to proceed. |
4 | Authorization error You do not have permission to use this operation. |
5 | Bad request Parsing error, for instance when invalid xml has been provided. |
Specific errors
Specific errors are bound to the given input or request and depend on the operation you execute.
Error code | Description |
---|---|
6 | Missing required field(s) or other validation error One or more fields do not meet the XSD constraints. |
...
Complex types
loginHeader
Name | Type | Cardinality | Description | ||
---|---|---|---|---|---|
username | 0...1 | An identification used by a person to login. | |||
password | 0...1 | A secret word or phrase used for authentication. | |||
Source
|
sessionIDHeader
Name | Type | Cardinality | Description | ||
---|---|---|---|---|---|
sessionID | 1...1 | Unique token which can be acquired by executing the login operation. | |||
Source
|
personCredit
Name | Type | Cardinality | Description | ||
---|---|---|---|---|---|
ean | 1...1 | Unique identifier of the product. The credit gives right of use for the indicated ean. | |||
startDate | date | 1...1 | The start date. Until the start date the credit cannot be used. | ||
endDate | date | 0...1 | The end date. Until the end date the credit can be used. | ||
state | 1...1 | The current state of the credit. | |||
Source
|
personCreditInformation
Name | Type | Cardinality | Description | ||
---|---|---|---|---|---|
personCredit | 1...1 | Specific person credit details. | |||
Source
|
schoolCredit
Name | Type | Cardinality | Description | ||
---|---|---|---|---|---|
organisationID | 1...1 | Unique identifier of the school to which this credit is connected. | |||
ean | 1...1 | Unique identifier of the product. The credit gives right of use for the indicated ean. | |||
startDate | date | 1...1 | The start date. Until the start date the credit cannot be used. | ||
endDate | date | 0...1 | The end date. Until the end date the credit can be used. | ||
Source
|
schoolCreditInformation
Name | Type | Cardinality | Description | ||
---|---|---|---|---|---|
schoolCredit | 1...1 | Specific school credit details. | |||
amountActive | integer | 0...1 | Amount of credits that have been activated by the end-user. | ||
amountNotActive | integer | 0...1 | Amount of credits that have not been activated by the end-user. | ||
responseReferenceId | 0...1 | The identifier returned when specified (so specification and license can be mapped). | |||
Source
|
summedSchoolCredit
Name | Type | Cardinality | Description | ||
---|---|---|---|---|---|
ean | 1...1 | Unique identifier of the product. The credit gives right of use for the indicated ean. | |||
amount | amount | 1...1 | Total of credits. | ||
used | amount | 0...1 | Total of credits used. | ||
Source
|
Fault
Name | Type | Cardinality | Description | ||
---|---|---|---|---|---|
code | integer | 1...1 | Code to identify the fault type. | ||
message | string | 1...1 | Specific message which describes the fault. | ||
Source
|
...
Simple types
Name | Type | Possible values / format | Description |
---|---|---|---|
string64 | String | Max length: 64 characters | String limited by a number of maximum allowed characters. |
string100 | String | Max length: 100 characters | String limited by a number of maximum allowed characters. |
string256 | String | Max length: 256 characters | String limited by a number of maximum allowed characters. |
organisationID | String | Min length: 1, Max length: 160 | Unique identifier of a school, e.g. “digiDeliveryId” |
amount | Integer | Min length: 1 | Amount is a positive number. |
state | Enum | Possible values:
| State of a license. |
eckID | String | Min length: 128, Max length: 256 | Unique identification of the end user by the ECK standard. |
...
Appendix
Terms
Term | Description |
---|---|
EBF | External book fund |
IBF | Internal book fund |
ECK | Educatieve contentketen. More information on: https://www.eck-id.nl/ |
ECK ID | Unique identifier of a person according to the ECK standard |
ELO | Elektronische leeromgeving (electronic learning environment) |
Specification | Specification is the proces of sending credits from Edu-iX to the publisher. Each specification contains information about the end user and the credit itself. After the specification is completed the credit is available for user by the end user. |
Prematch | Prematch is the process of connecting the unique identifier of the end user, available in the ELO, to order data (personal details and credit information) in Edu-iX. |