A collection of available web services calls for Kryterion clients, listing API requests, their request parameters, example JSON objects, return values and possible error messages.
The full collection is available here: API_EWS_20260220.json
The API collection is set to call the Sandbox environment. Please update the endpoint from “https://sb01.webassessor.com” to “https://www.webassessor.com” to call the Production environment.
Kryterion Web Services makes use of Java features not available until Java version 6, which is the minimum
recommended version. Kryterion Web Services are accessed by passing and accepting JSON formatted strings as specified in this document.
A security token is required to use Kryterion Web Services. To obtain your security token, contact your Customer Success Manager.
Web Service Detail
User (Candidate) Web Services
Get User Web Service
Get Users by Date Range Web Service
Get User by Email Web Service
Get User by ID Web Service
Get Custom Fields Web Service
Add User Web Service
Edit User Web Service
Edit User Single Field Web Service
Delete User Web Service
Vouchers and Coupons Web Services
Get Active Unassigned Vouchers Web Service
Get Unassigned Vouchers by Batch Web Service
Add Voucher Batch Web Service
Edit Voucher Batch Web Service
Assign Voucher Batch to Candidate Users Web Service
Activate/Deactivate Voucher Batch Web Service
Activate/Deactivate Voucher Code Web Service
Get Coupons Web Service
Add Coupons Web Service
Edit Coupon Web Service
Registration Web Services
Get Registrations by Date Range Web Service
Get Registrations Web Service
Get Registrations by Product Code Web Service
Get Available Time Slots
Get Testing Center List
Add Registration Web Service
Add Registration with Validation Web Service
Edit Registration Web Service
Cancel Registration Web Service
Transcript Web Services
Get Transcripts by Date Range Web Service
Get Transcripts by User Web Service
Get Transcripts by Promotion Web Service
Add Transcript (single topic) Web Service
Add Transcript (multitopic) Web Service
Certification Web Services
Get Cert Info by Date Range Web Service
Get Cert Status by User Web Service
Assessment Web Services
Get Products Web Service
Add Item Web Service
Edit Item Web Service
Miscellaneous Web Services
Get Client Regions Web Service
Update Lab Progress Web Service
Valid Country and Province Codes
Please click on the link below to download Kryterion’s Country and Province List:
Webassessor ISO Country and Provinces List .
Opening this CSV file in Excel and other non-UTF-8 compliant programs may cause corrupted characters to appear.
Error Codes and Validation Rules
When a web service request encounters an error during execution, the return value will contain two fields: errorCode and errorMessage. The error message can change depending on the context, but the error code field will remain stable, allowing the calling application to test for particular errors.
For example:
If an invalid security token is passed into a web service call, the error message might be, “You must provide a valid security token,” or “This security token is invalid for this request”. Although the error messages were different, in both instances, the error code will be “WAWSE00001 – INVALID SECURITY TOKEN” as noted in the following table.
|
Code |
Explanation |
Validation Rule |
|---|---|---|
WAWSE-#####
|
||
|
WAWSE-00000 - NULL SECURITY TOKEN |
The security token provided in the request is missing or zero length. |
Must be non-null and have a length greater than zero. |
|
WAWSE-00001 - INVALID SECURITY TOKEN |
The security token provided in the request is invalid. |
Must match the security token value stored in the database. |
|
WAWSE-00002 - NULL LOGIN |
The login field in the request is missing or zero length. |
Must be non-null and have a length greater than zero. |
|
WAWSE-00003 - NULL REQUEST TYPE |
The request type field is missing or zero length. |
Must be non-null and have a length greater than zero. |
|
WAWSE-00004 - NULL/INVALID FIRST NAME |
The first name field is missing or zero length or more than 35- character length |
Must be non-null and have a length greater than zero and less than 35 characters. |
|
WAWSE-00005 - NULL EMAIL ADDRESS |
The email field is missing or zero length. |
Must be non-null and have a length greater than zero. |
|
WAWSE-00006 - NULL PASSWORD |
The password field is missing or zero length. |
Must be non-null and have a length greater than zero. |
|
WAWSE-00007 - NULL PASSWORD SECRET |
The secret field is missing or zero length. |
Must be non-null and have a length greater than zero. |
|
WAWSE-00008 - INVALID LOGIN |
The login field is invalid. |
The user does not exist in the database. |
|
WAWSE-00009 - UNEXPECTED PERSISTENCE ERROR |
An unexpected error occurred while accessing the database. |
|
|
WAWSE-00010 - INVALID USER ID |
The user id field is invalid. |
Must be a value greater than zero and be associated with a user belonging to the client region associated with the given security token. |
|
WAWSE-00012 - INVALID REGISTRATION ID |
The registration id field is invalid. |
Must be a value greater than zero and associated with a registration belonging to a user in the client region associated with the given Integration security token. |
|
WAWSE-00013 – NULL/INVALID LAST NAME |
The last name field is missing or zero length or more than 45 character in length |
Must be non-null and have a length greater than zero and less than 45 characters |
|
WAWSE-00014 - NULL ADDRESS STREET |
The street address field is missing or zero length. |
Must be non-null and have a length greater than zero. |
|
WAWSE-00015 - NULL ADDRESS CITY |
The city field is missing or zero length. |
Must be non-null and have a length greater than zero. |
|
WAWSE-00016 - NULL ADDRESS POSTAL CODE |
The postal code field is missing or zero length. |
Must be non-null and have a length greater than zero. |
|
WAWSE-00017 - NULL ADDRESS COUNTRY |
The country is missing or zero length. |
Must be non-null and have a length greater than zero. |
|
WAWSE-00018 - INVALID COUNTRY |
The country or country code provided in the request is invalid. |
The country must exist and be in the approved ISO Name format, or the ISO-3 3- character abbreviation. |
|
WAWSE-00019 - INVALID STATE/PROVINCE |
The state or state code provided is invalid. |
The state must be existing and be in the approved ISO Name format or the ISO abbreviation format. |
|
WAWSE-00020 - INVALID PASSWORD |
The password provided is invalid. |
The password must be at least 8 characters and less than 100 characters and contain at least one uppercase character, one lowercase character, one number, and one special character. |
|
WAWSE-00021 - INVALID FAX |
The fax number provided is invalid. |
|
|
WAWSE-00022 - INVALID PHONE |
The phone number provided is invalid. |
The phone number must only contain numbers, dashes, and parentheses. |
|
WAWSE-00023 - EMAIL IN USE |
The email address provided is already in use for the client region associated with the security token. |
The email address must be unique for all users in the client region associated with the security token. |
|
WAWSE-00024 - INVALID LOGIN FORMAT |
The login provided is in an invalid format. |
The login must be at least 6 characters long and less than 50 characters and contain only letters, numbers, the @ symbol, underscores and periods. |
|
WAWSE-00025 - INVALID EMAIL |
The email provided is invalid. |
The email address must be in proper email address format. |
|
WAWSE-00026 - INVALID POSTAL CODE |
The postal code provided is invalid. |
Must be between 1 and 13 characters and contain only numbers, letters, spaces, and hyphens. |
|
WAWSE-00027 - INVALID NAME |
The first name and/or last name provided is invalid. |
User names must not contain special characters other than spaces, single apostrophes, hyphens, periods, carets, and underscores. |
|
WAWSE-00028 - LOGIN ALREADY EXISTS |
The login provided already exists. |
Logins must be unique for each user. |
|
WAWSE-00029 - INVALID STREET ADDRESS |
The street address provided is invalid. |
Must not contain asterisks or percent signs. |
|
WAWSE-00030 - INVALID CUSTOM FIELD ID |
The custom field id provided is invalid. |
The custom field id must be greater than zero and associated with a custom field assigned to the client region for the given security token. |
|
WAWSE-00031 - MISSING REQUIRED CUSTOM FIELDS |
One or more required custom fields are missing from the request. |
|
|
WAWSE-00034 - INVALID PROVINCE FOR COUNTRY |
The state or state code provided is valid, but not for the country provided. |
|
|
WAWSE-00035 - INVALID ADDRESS CITY |
The city provided is invalid. |
The city must not contain any of the following characters: ‘!’, ‘@’, ‘#’, ‘$’, ‘%’, ‘^’, ‘*’. |
|
WAWSE-00037 - MISMATCH EMAIL AND LOGIN |
The email address and login provided belong to different users. |
|
|
WAWSE-00038 - NULL DATE |
The date provided is either missing or zero length. |
Must be non-null and have a length greater than zero. |
|
WAWSE-00039 - INVALID FAX LENGTH |
The fax number provided is too long. |
|
|
WAWSE-00040 - INVALID PHONE LENGTH |
The phone number provided is too long. |
Must be 1 to 20 characters. |
|
WAWSE-00041 - INVALID DATE RANGE CODE |
The date range provided is invalid. |
The start date must be before the end date. |
|
WAWSE-00042 - UNPARSEABLE DATE |
The date provided is in an incorrect format. |
Date format should be YYYY-MM-DD HH:MM:SS |
|
WAWSE-00043 - INVALID SECRET LENGTH |
The length of the password secret provided is invalid. |
Must be 12 characters or less. |
|
WAWSE-00044 - INVALID REQUEST TYPE |
The request type provided is unknown. |
The request type must be a valid request type as set forth in this document. |
|
WAWSE-00045 - ZERO REGISTRATION ID |
The registration id provided is either missing or zero. |
Must be a number greater than zero and associated with a user for the client region associated with the given security token. |
|
WAWSE-00048 - NULL PRODUCT CODE |
The product code field is either missing or zero length. |
Must be non-null and have a length greater than zero. |
|
WAWSE-00049 - DATE RANGE TOO LONG |
The date range provided is too long. |
Start and end dates must not be more than 7 days apart. |
|
WAWSE-00050 - PASS FAIL INDICATION IS NULL |
The pass/fail field is either missing or zero length. |
Must be non-null and have a length greater than zero. |
|
WAWSE-00051 - PASS FAIL VALUE IS UNKNOWN |
The value of the pass/fail field provided is unknown. |
Must be one of the following values: NA, PASS, FAIL, NOT SCORED. |
|
WAWSE-00051 - TRANSCRIPT STATUS IS NULL |
The transcript status field is either missing or zero length. |
Must be non-null and have a length greater than zero. |
|
WAWSE-00052 - TRANSCRIPT STATUS IS UNKNOWN |
The transcript status field value is unknown. |
Must be one of the following values: ACTIVE, INACTIVE. |
|
WAWSE-00053 - TRANSCRIPT DATE IS NULL |
The transcript date field is either missing or zero length. |
Must be non-null and have a length greater than zero. |
|
WAWSE-00056 - UNABLE TO FIND TEST ID |
The test id provided is not found in the database. |
An incorrect state of data in the database has made saving a new transcript impossible. |
|
WAWSE-00057 - TRANSCRIPT ALREADY EXISTS |
A transcript for the given registration already exists. |
|
|
WAWSE-00058 - UNABLE TO FIND CLIENT REGION ID IN DATABASE |
Can't find client region with the given id |
|
|
WAWSE-00060 – AN UNEXPECTED ERROR OCCURRED |
An unexpected error occurred. |
|
|
WAWSE-00061 - UNABLE TO FIND ITEM CLIENT DEFINED ID |
The Item Id is not found in database |
|
|
WAWSE-00062 - INVALID ITEM TYPE |
The Item Type is invalid |
The permitted Item Type is “MC” or “MS” or “TF” |
|
WAWSE-00063 - RESPONSE IS NULL |
The response A, B is required field |
Must be string fields |
|
WAWSE-00064 - CORRECT OPTION IS NULL |
The correct response is blank |
Must be at least one among the responses. |
|
WAWSE-00065 - INVALID CORRECT OPTION |
The correct response is incorrect |
Must be at least one among the responses and should not contain any numeric and special characters except”,”. |
|
WAWSE-00066 - INVALID ITEM OBJECTIVE LENGTH |
The length of the objective is exceeding |
Must be less than 50 characters |
|
WAWSE-00067 - ITEM CLIENT ID EXISTS |
The Item client id already exists in Database |
The Item client ID must be unique. |
|
WAWSE-00068 - INVALID CITIZENSHIP COUNTRY |
The country provided is invalid. Please see documentation for valid country list. |
The country provided is invalid. Please see documentation for valid country list. |
|
WAWSE-00069 - INVALID TOPIC SCORES FOR THIS REGISTRATION |
Please provide valid topic scores for this registration |
Please provide valid topic scores for this registration |
|
WAWSE-00071 - INVALID RESPONSES FOR TF ITEM TYPE |
The TF item can have only 2 responses |
The valid Responses are only A and B |
|
WAWSE-00073 - NULL ITEM TEXT |
The item text is blank |
Must be string of any length |
|
WAWSE-00074 - NULL ITEM POINTS |
The item points is null |
Must be Integer field |
WAWSE-C####
|
||
|
WAWSE-C0001 - INVALID CSME REGISTRATION CODE |
Format invalid. Enter either 5 digits followed by a hyphen and 6 digits, or " + "5 digits followed by a hyphen, the letter V (in caps) and 5 digits, or " + "2 digits, followed by a capital letter (A-Z) followed by 3 digits, a hyphen " + "and 6 digits or 2 digits, a capital letter followed by 3 digits, a hyphen, " + "a capital letter (A-Z) followed by 5 digits (xxxxx-xxxxxx or xxxxx- Vxxxxx, " + "xxAxxx-xxxxxx, xxAxxx-Axxxxx). All registration codes must be 30 characters or less. |
|
|
WAWSE-C0002 - NULL CSME REGISTRATION CODE |
You must supply a registration code |
|
|
WAWSE-C0003 - INVALID NAME ON CERTIFICATE |
The name on the certificate must be greater than 0 characters and not longer than 50 characters |
|
|
WAWSE-C0004 - INVALID EMPLOYERS NAME |
The employers name must not be longer than 40 characters |
|
|
WAWSE-C0005 - INVALID CURRENT IT CERTS |
The current IT certs field may not be longer than 40 characters |
|
|
WAWSE-C0006 - INVALID PREREQ CODE |
The Pre-Requisite code must not be longer than 30 characters |
|
|
WAWSE-C0007 - INVALID INSTRUCTOR |
The instructor name must not be longer than 30 characters |
|
|
WAWSE-C0008 - INVALID EXTERNAL CERT |
The external certificate must not be longer than 40 characters |
|
|
WAWSE-A0001 - INVALID MIDDLE NAME |
The middle name must not be longer than 30 characters |
|
|
WAWSE-A0002 - INVALID MEMBER NUMBER |
The member number may not be longer than 30 characters |
|
|
WAWSE-A0003 - INVALID ORG NAME |
The organization name may not be longer than 30 characters |
|
|
WAWSE-A0004 - INVALID SALESFORCE CONTACT ID |
The Salesforce contact id may not be longer than 30 characters |
|
WAWSE-Ex####
|
||
|
WAWSE-Ex0001 |
EITHER NULL PRODUCT ID OR NULL CERTTYPE ID |
Either only product id or certification type id should be provided. |
|
WAWSE-Ex0002 |
NULL CANDIDATEID |
A candidate ID must be provided |
|
WAWSE-Ex0003 |
NULL AUTH CODE |
An Auth code must be provided. |
|
WAWSE-Ex0004 |
NULL STATUS OR NOT A PROPER STATUS(ACTIVE/INACTIVE) |
Status cannot be null and can be only either ACTIVE or INACTIVE |
|
WAWSE-Ex0005- INVALID AUTH CODE FORMAT |
|
The authorization code provided must contain only letters, numbers, or these special characters ( . @ _ |
|
WAWSE-Ex0006 |
The candidate ID provided doesn't exist or belongs to a different region. |
Candidate Id should be present in the system or it should belong the client region provided. |
|
WAWSE-Ex0007 |
The candidate ID provided is not a test taker. |
Candidate Id should be a test taker |
|
WAWSE-Ex0008 |
The product ID provided doesn't exist or belongs to a different region |
The product Id should belong to the client region provided. |
|
WAWSE-Ex0009 |
The certification type provided doesn't exist. |
The certification Type should be present in the system |
WAWSE-RE####
|
||
|
WAWSE-RE0001 - FACILITY CODE SHOULD BE PRIVATE |
The facility code is either unavailable or it may not belong to the client testing network. |
|
|
WAWSE-RE0002 - PRODUCT CODE IS INCORRECT |
The Delivery type for the product should be either PROCTORED or NOT_PROCTORED or PAPER_BASED |
|
|
WAWSE-RE0003 - THE LOGIN IS NOT VALID |
The candidate login is not a test taker or does not belong to the client region provided |
|
|
WAWSE-RE0004 - DELIVERY TYPE SHOULD NOT BE NULL |
The delivery_type for the product should be provided |
|
|
WAWSE-RE0005 REGISTRATION ALREADY EXISTS |
Registration already exists for the same user for the same product and testing center |
|
|
WAWSE-RE0006 - THE DELIVERY TYPE DOES NOT EXIST FOR THE PRODUCT |
The product with the delivery type provided is not present in our system |
|
|
WAWSE-RE0007 - THE DATE CODE SHOULD BE FUTURE DATE OR IS INVALID |
The date should be greater than current date |
|
|
WAWSE-RE0008 – THE FACILITY CODE CANNOT BE NULL |
Facility code is mandatory |
|
|
WAWSE-RE0009 - THE DELIVERY TYPE SHOULD BE PROCTORED or NOT_PROCTORED or PAPER_BASED |
Delivery type should be correct |
|
|
WAWSE-RE0010 - PRODUCT CODE DOES NOT BELONG TO CLIENT REGION OR CODE IS INVALID |
The product code is either inactive or unavailable or may belong to a different client region |
|
|
WAWSE-RE0011 - SEND EMAIL SHOULD BE EITHER TRUE OR FALSE |
|
|
|
WAWSE-RE0012 - Channel must be assigned to the product |
The channel with the testing center is not available |
|
WAWSE-VB####
|
||
|
WAWSE-VB0104 - THE TYPE OF ACTION NAME IS INVALID |
The TYPE OF ACTION CAN BE EITHER ACTIVATE OR DEACTIVATE |
|
|
WAWSE-VB0103 - THE TYPE OF ACTION NAME CANNOT BE NULL |
The TYPE OF ACTION name is mandatory |
|
|
WAWSE-VB0013 - VOUCHER BATCH DOES NOT EXIST |
Voucher Batch does not exist |
|
|
WAWSE-VB0002 - THE VOUCHER NAME CANNOT BE NULL |
The voucher name is mandatory. |
|
Access to certain features is restricted based on role type in an effort to reduce item exposure and promote process integrity. Please see the member role description page for information on permissions.