-
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.
(Do not mentioned payroll scheduled in parameter)
"Company":"12480",
"JobID":1245,
"JobPosition":"test",
"CandidateID":"13760",
"FirstName":"Q",
"LastName":"R",
"EmailID":"s227458@test.com",
"EmploymentStartDate":"03/17/2017",
"AnnualSalary":"$120000.0",
"TourID":28,
7. Click on Send button.
Actual Result:
In output we are seeing message Invalid Payroll schedule message, but when we check in DB employee is added.
Expected Result:
Employee should not be get added without payroll schedule, and if it there is no such constraint then should employee added message on screen.
Please note same issue exists if we mentioned in input : AssignDefaultPayrollSchedule":false
- relates to
-
NF-180 TSR: API: Add Employee- generate & assign defaults
-
- Closed
-
Issue Resolved