Post
Create Leaves case 4
This API is use to create leave record using ERP ID to AanyaHR
End Point
/api/file/import/postInsertIntegration?type=4
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
jsonLeaveIdERP
json
[{
"IdERP": "",
"DateFrom": "",
"DateTo": "",
"IsMultiShift": "",
"ShiftCode": "",
"LeaveTypeId": "",
"LeaveFilingType": "",
"HalfdayOption": "",
"TimeFrom": "",
"TimeTo": "",
"IsPaid": "",
"Reason": ""
}]
Sample Request
Sample Response 200
Sample Response 404