我如何使用 Kronos API 查看交易助手条目?

How do I view Transaction Assistant entries with the Kronos API?

我想使用 Kronos Workforce Central API 在 Kronos 交易助手中查看和编辑查询。

我可以通过向 /wfc/XmlService 提交 XML login request 来登录 Kronos,但是我没有找到任何访问交易助手的文档。

<Kronos_WFC version = '1.0'>
    <Request
        Object = 'System'
        Action = 'Logon'
        Username = 'SomeUsername'
        Password = 'SomePassword'
     />
</Kronos_WFC>

如何使用 Kronos API 在 Kronos WFC v6.3 中检索事务管理器条目?

根据 Workforce Central v6.3 Timekeeping Developer's Guide需要登录),您可以使用 <FailedXMLTransaction> 从交易助手检索失败的 XML 交易。

FailedXMLTransaction Tag

The FailedXMLTransaction tag provides information about an XML transaction that has failed an attempt to process an XML request. It is used to retrieve or modify failed XML transaction information.

Note: This tag provides information for the Transaction Assistant.

您可以使用 Load 操作来查看事务管理器中的条目。

Load

Returns all failed transactions for the specified SourceName and TransactionType. You must specify at least one of these properties with the Load action; if you do not, an error is returned.

Return Value Type: Zero or more FailedXMLTransaction tags

Optional Properties: SourceName, TransactionType

下面的 XML 请求检索由 Workforce Integration Manager 提交的失败的支付代码编辑。

<Kronos_WFC version='1.0'>
    <Request Action='Load'>
        <FailedXMLTransaction SourceName='WIM' TransactionType='Pay Code Edits'/>
    <Request>
</Kronos_WFC>

至于编辑交易,不幸的是我找不到任何方法来使用 v6.3 中的 XML API。