Hello Samir,
Below is finding for fields validation
WEB : No validation added on web , when an admin send document to candidate and add/update data in preview.
API :
POST : api/document : Used By SMB
- email : Has regular expression.
- state : Cross check with DMS state data.
- employmenttype : Cross check with DMS metadata of employment type.
- wageschedule : Cross check with DMS metadata of wages schedule metadata.
- offerpayschedule : Cross check with DMS metadata of offer pay schedule metadata.
- offerDate : Validation for date format "MM/dd/yyyy".
- dateOfHire: Validation for date format "MM/dd/yyyy".
POST : Used by CBATS & CBES**
api/candidate/custom/document/create
api/candidate/document/create
- CountryID : Cross check with DMS country data.
- employmenttype : Cross check with DMS metadata of employment type.
- wageschedule : Cross check with DMS metadata of wages schedule metadata.
- offerpayschedule : Cross check with DMS metadata of offer pay schedule metadata.
- Salary : Validation for double data type.
- CompensationBonus : Validation for double data type.
- DateofHire : Validation for date format "MM/dd/yyyy".
- OfferDate : Validation for date format "MM/dd/yyyy".
- EffectiveEnddate : Validation for date format "MM/dd/yyyy".
Note:
- Above mentioned validations are by passed for CBATS source product.
- Other than above if any DMS field having lookup type id , data will get validate against look up type data ex. Gender.
- DMS custom fields are validate against data type which implemented only for custom create API.
CC – Rohan J Khandave
Hi Samir,
We have gone through the state table which we have for the DMS fields, but did not found anything related to the validation rules for the fields applied.
Attached is the excel of state table.DMS Data.xlsx
Need your input on this.
cc - Rohan J Khandave, Narendra Kumar
Thanks