<?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>topic Re: Rest Method in Open Q&amp;A</title>
    <link>https://community.dynatrace.com/t5/Open-Q-A/How-to-extract-the-response-from-the-REST-method-execution/m-p/182130#M20157</link>
    <description>&lt;P&gt;The only way is to extract it from the code from the method in your code where the value is located before the JSON is generated.&amp;nbsp; You must define a request attribute and collect the data using .Net method parameter(s). See the &lt;A href="https://www.dynatrace.com/support/help/how-to-use-dynatrace/transactions-and-services/request-attributes/capture-request-attributes-based-on-method-arguments" target="_self"&gt;documentation&lt;/A&gt;&amp;nbsp;if you are not sure.&lt;BR /&gt;&lt;BR /&gt;There is no option to parse the response payload to extract value.&lt;/P&gt;</description>
    <pubDate>Wed, 09 Mar 2022 08:01:59 GMT</pubDate>
    <dc:creator>Julius_Loman</dc:creator>
    <dc:date>2022-03-09T08:01:59Z</dc:date>
    <item>
      <title>How to extract the response from the REST method execution?</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/How-to-extract-the-response-from-the-REST-method-execution/m-p/182121#M20153</link>
      <description>&lt;P&gt;How to extract the response from Rest method execution?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For example&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Request&lt;/P&gt;
&lt;P&gt;{&lt;/P&gt;
&lt;P&gt;&amp;nbsp;"StoreNumber": "30",&amp;nbsp; "PosNumber": "3",&amp;nbsp; "CashierNumber": "003",&amp;nbsp; "IPAddress": "2.198.131.1“&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Response:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;{&lt;/P&gt;
&lt;P&gt;"Success":true,"ErrorCode":"0000","Message":"La operacion ha sido completada","Payload":[{"TokenPosars":"eyJhbGciOdI1NiIsInR5cCI6IkpXVCJ9.&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is possible extract the&amp;nbsp;"Success",&amp;nbsp;ErrorCode" , etc??&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Saludos&lt;/P&gt;</description>
      <pubDate>Fri, 16 Jun 2023 09:30:28 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/How-to-extract-the-response-from-the-REST-method-execution/m-p/182121#M20153</guid>
      <dc:creator>gfragoso</dc:creator>
      <dc:date>2023-06-16T09:30:28Z</dc:date>
    </item>
    <item>
      <title>Re: Rest Method</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/How-to-extract-the-response-from-the-REST-method-execution/m-p/182130#M20157</link>
      <description>&lt;P&gt;The only way is to extract it from the code from the method in your code where the value is located before the JSON is generated.&amp;nbsp; You must define a request attribute and collect the data using .Net method parameter(s). See the &lt;A href="https://www.dynatrace.com/support/help/how-to-use-dynatrace/transactions-and-services/request-attributes/capture-request-attributes-based-on-method-arguments" target="_self"&gt;documentation&lt;/A&gt;&amp;nbsp;if you are not sure.&lt;BR /&gt;&lt;BR /&gt;There is no option to parse the response payload to extract value.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Mar 2022 08:01:59 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/How-to-extract-the-response-from-the-REST-method-execution/m-p/182130#M20157</guid>
      <dc:creator>Julius_Loman</dc:creator>
      <dc:date>2022-03-09T08:01:59Z</dc:date>
    </item>
  </channel>
</rss>

