我想使用 Kronos Workforce Central XML API 将工作添加到组织集中。
根据WFC v6.3 Timekeeping Developer's Toolkit Guide,我应该能够通过使用Action="UpdateEntryList"
with<OrgSet>
和<OrgSetEntry>
with添加作业AddEntries
。
<Kronos_WFC version="1.0">
<Request Action="UpdateEntryList">
<OrgSet OrgSetName="ORG SET NAME">
<EntryList>
<OrgSetEntry
EffectiveDate="02/09/2018"
AddEntries="ROOT/BU/DIVISION/SERVICE LINE/DEPT/JOB"/>
</EntryList>
</OrgSet>
</Request>
</Kronos_WFC>
但是,服务器返回一个错误,指出AddEntries
不能与UpdateEntryList
.
<Kronos_WFC version="1.0" WFCVersion="6.3.13.362" TimeStamp="2/09/2018 2:11PM GMT-05:00">
<Response Status="Failure" Action="UpdateEntryList">
<Error Message="WFP-01133 A property contains a value, no value is allowed for
that property for the action - Property: AddEntries, Action: UpdateEntryList."
ErrorCode="1223" ActionName="UpdateEntryList" PropertyName="AddEntries"/>
</Response>
</Kronos_WFC>
如何使用 Kronos Workforce Central XML API 将工作添加到组织集中?