11<workdayEntityConfigurationTemplate >
2- <scenario name =" EmployeeEnterTimeOff" >
3- <apiRequests >
4- <apiRequest >
5- <authType >User</authType >
6- <endpoint >
7- <request >msdyn_HRWorkdayAbsenceEnterTimeOff_MultiDay</request >
8- <serviceName >Absence_Management</serviceName >
9- <version >v42.0</version >
10- </endpoint >
11- <requestParameters />
12- <responseProperties >
13- <property >
14- <extractPath >//*[local-name()='Time_Off_Event_Reference']/*[local-name()='ID' and @*[local-name()='type']='WID']</extractPath >
15- <key >Event_WID</key >
16- </property >
17- <property >
18- <extractPath >//*[local-name()='Time_Off_Entry_Reference']</extractPath >
19- <key >Entry_References</key >
20- </property >
21- </responseProperties >
22- </apiRequest >
23- </apiRequests >
24- </scenario >
25- <requestTemplates >
26- <requestTemplate name =" msdyn_HRWorkdayAbsenceEnterTimeOff_MultiDay" >
27- <wd : Enter_Time_Off_Request xmlns : wd =" urn:com.workday/bsvc" wd : version =" v42.0" >
28- <wd : Business_Process_Parameters >
29- <wd : Auto_Complete >false</wd : Auto_Complete >
30- <wd : Run_Now >true</wd : Run_Now >
31- <wd : Discard_On_Exit_Validation_Error >true</wd : Discard_On_Exit_Validation_Error >
32- <wd : Comment_Data >
33- <wd : Comment >{timeoff_Comment}</wd : Comment >
34- </wd : Comment_Data >
35- </wd : Business_Process_Parameters >
36- <wd : Enter_Time_Off_Data >
37- <wd : Worker_Reference >
38- <wd : ID wd : type =" Employee_ID" >{Employee_ID}</wd : ID >
39- </wd : Worker_Reference >
40- <!-- REPEATABLE SECTION: Will be duplicated for each date in {timeoff_Dates} -->
41-
42- <wd : Enter_Time_Off_Entry_Data wd : repeat-for =" {timeoff_Dates}" wd : repeat-item =" {timeoff_Date}" >
43- <wd : Date >{timeoff_Date}</wd : Date >
44- <wd : Requested >{timeoff_Hours_Per_Day}</wd : Requested >
45- <wd : Time_Off_Type_Reference wd : Descriptor =" ?" >
46- <wd : ID wd : type =" Time_Off_Type_ID" >{timeoff_Time_Off_Type}</wd : ID >
47- </wd : Time_Off_Type_Reference >
48- <wd : Comment >{timeoff_Comment}</wd : Comment >
49- </wd : Enter_Time_Off_Entry_Data >
50-
51- </wd : Enter_Time_Off_Data >
52- </wd : Enter_Time_Off_Request >
53- </requestTemplate >
54- </requestTemplates >
55- </workdayEntityConfigurationTemplate >
2+ <scenario name =" EmployeeEnterTimeOff" >
3+ <apiRequests >
4+ <apiRequest >
5+ <authType >User</authType >
6+ <endpoint >
7+ <request >msdyn_HRWorkdayAbsenceEnterTimeOff_MultiDay</request >
8+ <serviceName >Absence_Management</serviceName >
9+ <version >v42.0</version >
10+ </endpoint >
11+ <requestParameters />
12+ <responseProperties >
13+ <property >
14+ <extractPath >//*[local-name()='Time_Off_Event_Reference']/*[local-name()='ID' and @*[local-name()='type']='WID']</extractPath >
15+ <key >Event_WID</key >
16+ </property >
17+ <property >
18+ <extractPath >//*[local-name()='Time_Off_Entry_Reference']</extractPath >
19+ <key >Entry_References</key >
20+ </property >
21+ </responseProperties >
22+ </apiRequest >
23+ </apiRequests >
24+ </scenario >
25+ <requestTemplates >
26+ <requestTemplate name =" msdyn_HRWorkdayAbsenceEnterTimeOff_MultiDay" >
27+ <wd : Enter_Time_Off_Request xmlns : wd =" urn:com.workday/bsvc" wd : version =" v42.0" >
28+ <wd : Business_Process_Parameters >
29+ <wd : Auto_Complete >false</wd : Auto_Complete >
30+ <wd : Run_Now >true</wd : Run_Now >
31+ <wd : Discard_On_Exit_Validation_Error >true</wd : Discard_On_Exit_Validation_Error >
32+ <wd : Comment_Data >
33+ <wd : Comment >{timeoff_Comment}</wd : Comment >
34+ </wd : Comment_Data >
35+ </wd : Business_Process_Parameters >
36+ <wd : Enter_Time_Off_Data >
37+ <wd : Worker_Reference >
38+ <wd : ID wd : type =" Employee_ID" >{Employee_ID}</wd : ID >
39+ </wd : Worker_Reference >
40+ <!-- REPEATABLE SECTION: Will be duplicated for each date in {timeoff_Dates} -->
41+ <wd : Enter_Time_Off_Entry_Data wd : repeat-for =" {timeoff_Dates}" wd : repeat-item =" {timeoff_Date}" >
42+ <wd : Date >{timeoff_Date}</wd : Date >
43+ <wd : Requested >{timeoff_Hours_Per_Day}</wd : Requested >
44+ <wd : Time_Off_Type_Reference wd : Descriptor =" ?" >
45+ <wd : ID wd : type =" Time_Off_Type_ID" >{timeoff_Time_Off_Type}</wd : ID >
46+ </wd : Time_Off_Type_Reference >
47+ <wd : Time_Off_Reason_Reference >
48+ <wd : ID wd : type =" Time_Off_Reason_ID" >{timeoff_Reason}</wd : ID >
49+ </wd : Time_Off_Reason_Reference >
50+ <wd : Comment >{timeoff_Comment}</wd : Comment >
51+ </wd : Enter_Time_Off_Entry_Data >
52+ </wd : Enter_Time_Off_Data >
53+ </wd : Enter_Time_Off_Request >
54+ </requestTemplate >
55+ </requestTemplates >
56+ </workdayEntityConfigurationTemplate >
0 commit comments