<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Question Re: SAP CPI API Message Processing Logs in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/sap-cpi-api-message-processing-logs/qaa-p/12750917#M4785966</link>
    <description>&lt;P&gt;I appreciate your help in this matter and I thank you for the time you spent in answering me.&lt;BR /&gt;I was able to successfully call retrieve data from the following API, also thanks to a colleagues.&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/2223525-image.png" /&gt;&lt;/P&gt;&lt;P&gt;I'd like to take this moment to ask another question which will be out topic:&lt;BR /&gt;&lt;BR /&gt;My basic goal is to retrieve Messages logs every N minutes (for the last N minutes).&lt;/P&gt;&lt;P&gt;I'd like to do that without extracting duplicates Messages logs. In your experience, is there a filter included in the API which will guarantee that each time I execute the API call, I do extract a different batch of Messages Logs?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Your solution have been accepted, thank you&lt;/P&gt;</description>
    <pubDate>Wed, 25 Oct 2023 07:26:33 GMT</pubDate>
    <dc:creator>ybuc</dc:creator>
    <dc:date>2023-10-25T07:26:33Z</dc:date>
    <item>
      <title>SAP CPI API Message Processing Logs</title>
      <link>https://community.sap.com/t5/technology-q-a/sap-cpi-api-message-processing-logs/qaq-p/12750915</link>
      <description>&lt;P&gt;Good afternoon,&lt;/P&gt;
  &lt;P&gt;I'm really not a SAP person and I'm my target is to download some MPL data from the current existing API.&lt;BR /&gt;&lt;A href="https://api.sap.com/api/MessageProcessingLogs/resource/Logs" target="test_blank"&gt;https://api.sap.com/api/MessageProcessingLogs/resource/Logs&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;My problem is not about the API it's self but it is how to authorize my self to reach the API.&lt;BR /&gt;&lt;BR /&gt;Do I need any APIKey with read grants or do I need to authenticate with user and password?&lt;/P&gt;
  &lt;P&gt;If any APIKey is needed, where is the piece of document from SAP CPI that explain that?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;In previous experience (with other platforms) I was generating a Api token and that was good enough to read data from the API&lt;BR /&gt;&lt;BR /&gt;Thank you to anybody who can help me here&lt;/P&gt;</description>
      <pubDate>Fri, 20 Oct 2023 14:00:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sap-cpi-api-message-processing-logs/qaq-p/12750915</guid>
      <dc:creator>ybuc</dc:creator>
      <dc:date>2023-10-20T14:00:24Z</dc:date>
    </item>
    <item>
      <title>Re: SAP CPI API Message Processing Logs</title>
      <link>https://community.sap.com/t5/technology-q-a/sap-cpi-api-message-processing-logs/qaa-p/12750916#M4785965</link>
      <description>&lt;P&gt;Hi Yann&lt;/P&gt;&lt;P&gt;the documentation link that you have provided lists the authentication method as basic authorisation which would work but of course it is not the best way. If you use this approach your user will need role the &lt;STRONG&gt;MonitoringDataRead &lt;/STRONG&gt;to be assigned in SAP BTP&lt;/P&gt;&lt;P&gt;There is another link in the page you have found which explains how to setup an OAuth client in SAP BTP. This is the recommended approach.&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.sap.com/docs/cloud-integration/sap-cloud-integration/message-processing-logs?locale=en-US"&gt;https://help.sap.com/docs/cloud-integration/sap-cloud-integration/message-processing-logs?locale=en-US &lt;/A&gt;&lt;/P&gt;&lt;P&gt;If you don't have access to SAP BTP an admin has to create a service key (which contains client id/client secret and token endpoint) in the subaccount where CPI is deployed.&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;P&gt;Olgen&lt;/P&gt;</description>
      <pubDate>Sun, 22 Oct 2023 23:19:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sap-cpi-api-message-processing-logs/qaa-p/12750916#M4785965</guid>
      <dc:creator>OlgenH</dc:creator>
      <dc:date>2023-10-22T23:19:43Z</dc:date>
    </item>
    <item>
      <title>Re: SAP CPI API Message Processing Logs</title>
      <link>https://community.sap.com/t5/technology-q-a/sap-cpi-api-message-processing-logs/qaa-p/12750917#M4785966</link>
      <description>&lt;P&gt;I appreciate your help in this matter and I thank you for the time you spent in answering me.&lt;BR /&gt;I was able to successfully call retrieve data from the following API, also thanks to a colleagues.&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/2223525-image.png" /&gt;&lt;/P&gt;&lt;P&gt;I'd like to take this moment to ask another question which will be out topic:&lt;BR /&gt;&lt;BR /&gt;My basic goal is to retrieve Messages logs every N minutes (for the last N minutes).&lt;/P&gt;&lt;P&gt;I'd like to do that without extracting duplicates Messages logs. In your experience, is there a filter included in the API which will guarantee that each time I execute the API call, I do extract a different batch of Messages Logs?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Your solution have been accepted, thank you&lt;/P&gt;</description>
      <pubDate>Wed, 25 Oct 2023 07:26:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sap-cpi-api-message-processing-logs/qaa-p/12750917#M4785966</guid>
      <dc:creator>ybuc</dc:creator>
      <dc:date>2023-10-25T07:26:33Z</dc:date>
    </item>
    <item>
      <title>Re: SAP CPI API Message Processing Logs</title>
      <link>https://community.sap.com/t5/technology-q-a/sap-cpi-api-message-processing-logs/qaa-p/12750918#M4785967</link>
      <description>&lt;P&gt;Hi Yann, you're most welcome!&lt;/P&gt;&lt;P&gt;Unfortunately there is no filter you can use in the API for your requirement. Also, because OData is stateless the provider won't know what was served in the previous call and return only the delta in the successive call.&lt;/P&gt;&lt;P&gt;You'll have to build this on the client side by persisting the last execution time and using it as a query.&lt;/P&gt;&lt;P&gt;Something like 'EndLog &amp;gt; LastExecutionTime and EndLog &amp;lt; CurrentTime'&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;</description>
      <pubDate>Wed, 25 Oct 2023 22:10:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/sap-cpi-api-message-processing-logs/qaa-p/12750918#M4785967</guid>
      <dc:creator>OlgenH</dc:creator>
      <dc:date>2023-10-25T22:10:49Z</dc:date>
    </item>
  </channel>
</rss>

