Apply leave through REST API must follow approval
Summary:
Need to apply a leave through REST API using generic fusion user name such as integration.user and it must follow the leave approval process.
Content (please ensure you mask any confidential information):
We are building whatsapp integration with absence module where the employee can submit a leave request in HCM through whatsapp. Once submitted, it must go through regular approval flow. The problem is, through OIC integration, we are leveraging generic integration.user to call the REST API and that applies the leave which gets auto approved as it is considered as admin initiated.
Can anyone share how to apply a leave through REST API using generic fusion user name such as integration.user and it must proceed with leave approval?
Tagged:
0