简体   繁体   English

如何使用Kronos API查看Transaction Assistant条目?

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

I want to use the Kronos Workforce Central API to view and edit queries in the Kronos Transaction Assistant. 我想使用Kronos Workforce Central API在Kronos Transaction Assistant中查看和编辑查询。

I can login to Kronos by submitting an XML login request to /wfc/XmlService , but I haven't found any documentation for accessing the Transaction Assistant. 我可以通过向/wfc/XmlService提交XML登录请求来登录到Kronos,但是我没有找到任何有关访问Transaction Assistant的文档。

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

How do I retrieve Transaction Manager entries in Kronos WFC v6.3 with the Kronos API? 如何使用Kronos API检索Kronos WFC v6.3中的事务管理器条目?

According to the Workforce Central v6.3 Timekeeping Developer's Guide ( login required ), you can retrieved failed XML transactions from the Transaction Assistant with <FailedXMLTransaction> . 根据《 Workforce Central v6.3计时开发人员指南》需要登录 ),您可以使用<FailedXMLTransaction>从事务助手中检索失败的XML事务。

FailedXMLTransaction Tag FailedXMLTransaction标记

The FailedXMLTransaction tag provides information about an XML transaction that has failed an attempt to process an XML request. FailedXMLTransaction标记提供有关尝试处理XML请求失败的XML事务的信息。 It is used to retrieve or modify failed XML transaction information. 它用于检索或修改失败的XML事务信息。

Note: This tag provides information for the Transaction Assistant. 注意:此标记为交易助手提供信息。

You can use the Load action to view entries from the Transaction manager. 您可以使用“ Load操作查看来自事务管理器的条目。

Load 加载

Returns all failed transactions for the specified SourceName and TransactionType. 返回指定SourceName和TransactionType的所有失败事务。 You must specify at least one of these properties with the Load action; 您必须使用Load操作指定这些属性中的至少一个; if you do not, an error is returned. 否则,将返回错误。

Return Value Type: Zero or more FailedXMLTransaction tags 返回值类型:零个或多个FailedXMLTransaction标记

Optional Properties: SourceName, TransactionType 可选属性:SourceName,TransactionType

The XML request below retrieves failed Pay Code Edits that were submitted by the Workforce Integration Manager. 下面的XML请求检索Workforce Integration Manager提交的失败的“支付代码编辑”。

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

As for editing transactions, I unfortunately couldn't find any way to do this with the XML API in v6.3. 至于编辑事务,很遗憾,我找不到在v6.3中使用XML API进行此操作的任何方法。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM