You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Rest API - Allocate a Journey

Closed
49
Views
7
Comments
edited Nov 6, 2023 12:25PM in Journeys 7 comments

Summary:


Content (required):

We're trying to allocate Journeys to employees using Rest API and have found the following API scripts.

In this example, since both seem to achieve the same objective of allocating the Enterprise Onboarding Journey/Checklist to the employee, is there any other difference between them ? Script 1 seems more convenient as we just need to pass the Person Number. Is there any reason why Script 2 would be used ?

Script 1 -

{

 "checklistName": "New Hire Journey",

 "checklistCategory": "ORA_ONB_ENT_ONBOARDING",

 "personNumber": "123456",

 "allocationDate": "2023-09-12"

}


Script 2 -

{

"TemplateId": 300000123456789,

"TemplateName": "New Hire Journey",

"TemplateCategory": "ORA_ONB_ENT_ONBOARDING",

"TemplateCountry": null,

"PersonId": 300000987654321,

"AssignmentId": 300000321654987,

"AssignmentNumber": "E123456",

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!