diff --git a/thecaoffice-hr.py b/thecaoffice-hr.py index c135b74..b02ff25 100644 --- a/thecaoffice-hr.py +++ b/thecaoffice-hr.py @@ -357,3 +357,103 @@ Paylod = { + +//---------------------------------------------------------------------- +// Team update section + +// Team update api +url : https://api.thecaoffice.com/team/update + +//Input json +final teamUpdateParam = { + 'idUser': 12345, //Pass the id of the user whose details are being updated + 'email': "john.doe@company.com", + 'name': "John Doe", + "idDepartment": 2, + 'role': "Software Engineer", + 'phoneNo': "9876543210", + 'password': "password123", + "website": "http://company.com", + "logoUrl": null, + "companyName": "Tech Solutions Pvt. Ltd.", + "salary": 50000.0, + "maritalStatus": "Single", + "dateOfBirth": "1990-05-15", + "dateOfJoin": "2022-01-01", + "accountNumber": "1234567890", + "ifsc": "ABC1234567", + "bankName": "Bank of India", + "esicNumber": "ESIC123456789", + "ppfnumber": "PPF123456789", + "emergencyContactNumber": "9123456789", + "emergencyContactName": "Jane Doe", + "photoUrl": "http://example.com/photo.jpg", + "aadhaarUrl": "http://example.com/aadhaar.jpg", + "panCardUrl": "http://example.com/pan.jpg", + "billingRate": 2000.0, + "hierarchy": 1, + 'address': "1234, XYZ Street, City, State", + "city": "Mumbai", + "pincode": "400001", + "relationship": "Single", + "branchId": 1, + "weeklyOff": "Saturday, Sunday", + "weeklyWorkingHours": 40, + "noOfPaidLeaves": 15, + "country": "India", + "lastDayOfWorking": "2024-12-31", + "reportingTo": 67890, + "userBasicSalary": 40000.0, + "houseResidencesAllowance": 5000.0, + "dearnessAllowance": 3000.0, + "conveyance": 2000.0, + "allowance": 1500.0, + "providentFund": true, + "employeesInsurance": true, + "professionalTax": true, + "salaryType": "Monthly", + + // Adding the applicantNotesParam here + "applicantNotes": { + "age": 30, + "gender": "Male", + "educationLevel": "Bachelor's", + "noChildren": 2, + "spouseWorkingStatus": "Employed", + "noOfChildrenAbove18": "1", + "noOfChildrenBelow18": "1", + "employmentStatus": "Full-time", + "attendanceAllowance": 100.0, + "performanceAllowance": 200.0, + "adaitechEmail": "applicant@adaitech.com", + "adaitechPassword": "password123", + "gearincEmail": "applicant@gearinc.com", + "payrollFor": "Finance", + "contractStartDate": "2023-01-01", + "contractEndDate": "2024-01-01", + "nricNo": "S1234567A", + "taxNo": "T1234567B", + "epfNo": "EPF1234567", + "perksoNo": "PRK1234567", + "Salutation": "Mr.", + "reportingToName": "John Doe", + "outlierId": "OUT12345", + "addressProofUrl": "http://example.com/address-proof.jpg", + "appointmentLetterUrl": "http://example.com/appointment-letter.pdf", + "offerLetterUrl": "http://example.com/offer-letter.pdf", + "pfUanNumber": "UAN123456789", + "panCardNumber": "ABCDE1234F", + "aadhaarCardNumber": "1234 5678 9123", + "payRollType": "Salaried", + "labourContractorName": null, + "labourContractorId": null, + "leaveAfter": 12, + } +}; + + + + + + +