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"
Cc: Saurabh Sablaka, Prasad Pise