...
Endpoints
Environment | URL |
---|---|
Production | |
Acceptance | |
Test |
...
login
getPersons
getSchools
deletePersons
uploadPersons
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.
...
Error code | Description |
---|---|
2 | Authentication error |
...
getPersons
Description
The getPerson operation can be used to retreive information about persons. This operation can be used either as and distributor or ELO.
...
Name | Cardinality | |||
---|---|---|---|---|
You have a CHOICE of the next 2 items at this level NameTypeCardinalityloginheaderloginHeader1Name Type Cardinality loginheader loginHeader 1...1sessionIDHeadersessionIDHeader11 sessionIDHeader sessionIDHeader 1...1 | 1...1 | |||
Source
|
...
Name | Cardinality | |||
---|---|---|---|---|
You have a CHOICE of the next 4 items at this levelNameTypeCardinalityportalIDstring641..1profileIDprofileID1 Name Type Cardinality portalID string64 1..1 profileID profileID 1...100distributorPersonIDstring2561100 distributorPersonID string256 1...100userIDstring2561100 userID string256 1...100 | 1..1 | |||
Source
|
...
Error code | Description |
---|---|
4 | Authorization error |
6 | Missing required field(s) |
...
getSchools
Description
The getSchools operations outputs a list of available schools.
...
Name | Cardinality | |||
---|---|---|---|---|
You have a CHOICE of the next 2 items at this level NameTypeCardinalityloginheaderloginHeader1Name Type Cardinality loginheader loginHeader 1...1sessionIDHeadersessionIDHeader11 sessionIDHeader sessionIDHeader 1...1 | 1...1 | |||
Source
|
...
Error code | Description |
---|---|
4 | Authorization error |
6 | Missing required field(s) |
...
deletePersons
Description
This operations allows for deletion of a person.
...
Name | Cardinality | |||
---|---|---|---|---|
You have a CHOICE of the next 2 items at this level NameTypeCardinalityloginheaderloginHeader1Name Type Cardinality loginheader loginHeader 1...1sessionIDHeadersessionIDHeader11 sessionIDHeader sessionIDHeader 1...1 | 1...1 | |||
Source
|
...
Error code | Description |
---|---|
4 | Authorization error |
6 | Missing required field(s) |
7 | Record not found |
...
uploadPersons
Description
With the uploadPersons operation you have the ability to upload persons. Either a single or multiple persons can be uploaded in a single call.
...
Name | Cardinality | |||
---|---|---|---|---|
You have a CHOICE of the next 2 items at this level NameTypeCardinalityloginheaderloginHeader1Name Type Cardinality loginheader loginHeader 1...1sessionIDHeadersessionIDHeader11 sessionIDHeader sessionIDHeader 1...1 | 1...1 | |||
Source
|
...
Error code | Description |
---|---|
4 | Authorization error |
6 | Missing required field(s) |
...
Errors
General errors
General errors may occur within every operation.
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 | Login sessionID is 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) One or more fields are missing within the request. In case of a choice-element at least one value must be given. |
7 | Record not found A given value was not found. |
8 | Record cannot be changed Some functions are idempotent and therefor values cannot be altered within a second request. |
9 | Process validation error The given request does not meet the process constraints |
...
Complex types
person
Name | Type | Cardinality | Description | ||
---|---|---|---|---|---|
profileID | profileID | 1...1 | Unique identifier generated by Edu-iX. | ||
distributorPersonID | string256 | 0...1 | Unique identifier of the person to which this credit is connected. | ||
firstName | string50 | 1...1 | First name of the person | ||
preposition | string15 | 0...1 | Preposition of the person | ||
surname | string50 | 1...1 | Surname of the person | ||
postalCode | postalCode | 1...1 | In case of a dutch postal code a regex check is applied. | ||
houseNumber | houseNumber | 0...1 | Housenumber | ||
gender | gender | 0...1 | The person his gender | ||
dateOfBirth | dateOfBirth | 0...1 | Date of birt of the person | ||
countryCode | countryCode | 1...1 | Country code in which the person lives | ||
userID | string256 | 0...1 | Unique identification of the end user. This value is also known as the prematch value. | ||
Source
|
uploadPerson
Name | Type | Cardinality | Description | ||
---|---|---|---|---|---|
distributorPersonID | string256 | 1...1 | Unique identifier of the person to which this credit is connected. | ||
firstName | string50 | 1...1 | First name of the person | ||
prepostion | string15 | 0...1 | Preposition of the person | ||
surname | string50 | 1...1 | Surname of the person | ||
postalCode | postalCode | 1...1 | In case of a dutch postal code a regex check is applied. | ||
houseNumber | houseNumber | 0...1 | Housenumber | ||
gender | gender | 0...1 | The person his gender | ||
dateOfBirth | dateOfBirth | 0...1 | Date of birt of the person | ||
countryCode | countryCode | 1...1 | Country code in which the person lives | ||
Source
|
loginHeader
Name | Type | Cardinality | Description | ||
---|---|---|---|---|---|
username | string100 | 0...1 | An identification used by a person to login. | ||
password | string64 | 0...1 | A secret word or phrase used for authentication. | ||
Source
|
school
Name | Type | Cardinality | Description | |||||||
---|---|---|---|---|---|---|---|---|---|---|
organisationID | organisationID | 1...1 | Unique identifier of the school to which this credit is connected. | |||||||
name | string100 | 1...1 | Name of the school. | |||||||
street | string50 | 0...1 | Street address of the school. | |||||||
houseNumber | houseNumber | 0...1 | Street number of the school. | |||||||
houseNumberAddition | string10 | 0...1 | Street number addition of the school. | |||||||
postalCode | postalCode | 0...1 | Postal code of the school. | |||||||
city | string50 | 0...1 | City in which the school is located. | |||||||
countryCode | countryCode | 1...1 | Country in which the school is located. | |||||||
brin | string10 | 0...1 | countryCode | countryCode | 1...1 | brin | string10 | 0...1 | ...1 | The BRIN(Basisregistratie instellingen) is an identifier. The first four characters are alphanumerical and represent an educational institution. The last characters are numerical and represent an identifier for the location of a educational institution. |
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
|
FaultPerPerson
Name | Type | Cardinality | Description | ||
---|---|---|---|---|---|
personFault | personFault | 0...n | A collection of personFault distinguished per person. | ||
Source
|
personFault
Name | Type | Cardinality | Description | ||
---|---|---|---|---|---|
distributorPersonID | string256 | 1...1 | Unique identifier of the person for whom the fault occured. | ||
code | integer | 1...1 | Code to identify the fault type. | ||
message | string | 1...1 | Specific message which describes the fault. | ||
Source
|
sessionIDHeader
Name | Type | Cardinality | Description | ||
---|---|---|---|---|---|
sessionID | string64 | 1...1 | Unique token which can be acquired by executing the login operation. | ||
Source
|
...
Simple types
Name | Type | Possible values / format | Description |
---|---|---|---|
string10 | String | Max length: 10 characters | String limited by a number of maximum allowed characters. |
string15 | String | Max length: 15 characters | String limited by a number of maximum allowed characters. |
string50 | String | Max length: 50 characters | String limited by a number of maximum allowed characters. |
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. |
postalCode | String | Max length: 10 characters | In case of a dutch postal code the following regex should be applied: [0-9]{4} [A-Z]{2} |
houseNumber | Integer | Minimal value must be atleast 1 | |
countryCode | Enum | Official ISO 3166-1 alpha-2 notation of a country code | |
gender | Enum | Possible values:
| M = male, F = female & U = unspecified |
dateOfBirth | Date | ||
profileID | Integer | Minimal value must be at least 1 | A profile ID is an positive integer number with maximum 10 characters. |
organisationID | String | Min length: 1 character Max length: 160 characters | Unique identifier of a school |
...