-
Type:
Bug
-
Status: Closed
-
Priority:
Medium
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: Integrations
-
Labels:None
-
Module:TSR
-
Reported by:Harbinger
-
Item State:Production Complete - Closed
-
Issue Importance:Q1
1. Launch the Postman app.
2. Select “Post” request from dropdwon.
3. Select authorization type as “Basic Auth”.
4. Enter valid User ID and Password.
5. Enter below URL:
http://10.0.2.120/api/employee/addEmployeeTour
6. Pass the require parameter using body.
*Scenario 1] *
API input is not accepting any special characters in State. (e.g. enter state as Uttar Pradesh, Taegu-Jikhalsi ) showing below validation message:
"Parameter state can contain alphabets only"
Scenario 2]
It seems that when entered state value exceed beyond certain characters, then in DB StateID is get stored as 0 (e.g. select country India and State as Maharashtra, Chhattisgarh)
Scenario 3]
Can we re frame below description:
{
"status": "Error",
"message": "Invalid Input",
"errorLevel": "Error",
"code": 403,
"description": "Entered Address Either Country or State is not valid"
}
It should be - "Entered Country or State is not valid"
- relates to
-
NF-180 TSR: API: Add Employee- generate & assign defaults
-
- Closed
-
Given all Scenario has been resolved we can take special characters in state like -,( etc
error message also changed and
state value allows maximum of 50 characters only