on 12-16-2020 1:54 PM
Greetings,
I am trying to create a Employee in ONB2.0 by API calls through Postman, here i followed calling multiple API calls..
First I am calling API - generateNextPersonID for getting the next Person id which i am getting the ID successfully
Secondly I am calling API - createOnboardee for getting the Process ID which it is posted successfully
Third I am calling API - initiateOnboardingForUser for creating a Employee in ONB but I am facing some error while posting,
I have attached the Error which i am getting in Postman
Can anyone help me out in identifying the Payload error if API is correct or help me to identify the right API for creating Employee in ONB 2.0
Error : 500 Internal Server Error, where I am passing the right Payload as provided
Values missing for mandatory keys: personalInfo.first-name,personalInfo.last-name,jobInfo.company,jobInfo.manager-id,jobInfo.company.country
Thanks
Naveen V
Hi,
Before initiating the onboarding, we have to upsert all the candidate information which we are getting from external ATS in EC API(PerPerson, Job info, compensation) and then call "initiateOnboardingForUser". It works in this way.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi praneeth_golapudi,
We are facing issue while calling "initiateOnboardingForUser": Values missing for mandatory keys: jobInfo.company.country.
We have already updated the company in EmpJob Upsert and country-of-company is not an editable field. Can you please help us on how to get rid of the above error.
Thanks,
Poushali Bhandari
User | Count |
---|---|
4 | |
4 | |
3 | |
2 | |
2 | |
2 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.