Post
Create/Update Employee case 74
This API is use to create or update employee record using ERP ID to AanyaHR
End Point
/api/file/import/postInsertIntegration?type=74
Authorization
Authorization code received from Access Token API
Header Params
Series
string
Encrypted Series from "Request Client Key" API
LoginID
string
Encrypted loginId from "Request Client Key" API
User
string
User from "Request Client Key" API's response
Accept
string
Value must be set to "application/json"
Body Params
jsonEmployeeIdERP
json
[{
"IdERP": "",
"NtLogin": "",
"UserName": "",
"IdSalutation": "",
"FirstName": "",
"MiddleName": ".",
"LastName": "",
"IdSuffix": "",
"NickName": "",
"GenderId": "",
"IdCivilStatus": "",
"IdNationality": "",
"IdBloodType": "",
"IdReligion": "",
"BirthDate": "",
"BirthPlace": "",
"Weight": "",
"Height": "",
"PersonalEmailAddress": "",
"CompanyEmailAddress": "",
"OfficeNumber": "",
"Mobile": "",
"Phone": "",
"AlternateMobile": "",
"IdEmergencyRelation": "",
"EmergencyFirstName": "",
"EmergencyMiddleName": "",
"EmergencyLastName": "",
"EmergencyMobileNumber": "",
"EmergencyEmail": "",
"PreCountry": "",
"PreZipCode": "",
"PreRegion": "",
"PreProvince": "",
"PreCity": "",
"PreBarangay": "",
"PreUnitFloor": "",
"PreBuilding": "",
"PreStreet": "",
"PerCountry": "",
"PerZipCode": "",
"PerRegion": "",
"PerProvince": "",
"PerCity": "",
"PerBarangay": "",
"PerUnitFloor": "",
"PerBuilding": "",
"PerStreet": ""
}]
Sample Request
Sample Response 200
Sample Response 404