<?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 [resolved] tREST with variable in body in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/resolved-tREST-with-variable-in-body/m-p/2337429#M105773</link>
    <description>&lt;P&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;I am trying to dump my payload into Marketo using Rest so I can specify the partition. &amp;nbsp;I keep getting errors when I do this despite the payload having a valid json schema. &amp;nbsp;Is there any way to use variables from the tWriteJSONField to tflowtoiterate to get it in there. &amp;nbsp;I keep getting an&lt;BR /&gt;{"requestId":"","success":false,"errors":[{"code":"609","message":"Unexpected character ('(' (code 40)): expected a valid value (number, String, array, object, 'true', 'false' or 'null')"}]}|&lt;BR /&gt;[statistics] disconnected&lt;BR /&gt;"{&lt;BR /&gt;&amp;nbsp; &amp;nbsp;\"action\":\"createOnly\",&lt;BR /&gt;&amp;nbsp; &amp;nbsp;\"lookupField\":\"email\",&lt;BR /&gt;&amp;nbsp; &amp;nbsp;\"partitionName\":\"blah\",&lt;BR /&gt;&amp;nbsp; &amp;nbsp;\"input\":&lt;BR /&gt;((String)globalMap.get('myKey'))&lt;BR /&gt;}"&lt;BR /&gt;&lt;BR /&gt;Any ideas on how to do this? &amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 04 Feb 2016 00:32:07 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-02-04T00:32:07Z</dc:date>
    <item>
      <title>[resolved] tREST with variable in body</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-tREST-with-variable-in-body/m-p/2337429#M105773</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;I am trying to dump my payload into Marketo using Rest so I can specify the partition. &amp;nbsp;I keep getting errors when I do this despite the payload having a valid json schema. &amp;nbsp;Is there any way to use variables from the tWriteJSONField to tflowtoiterate to get it in there. &amp;nbsp;I keep getting an&lt;BR /&gt;{"requestId":"","success":false,"errors":[{"code":"609","message":"Unexpected character ('(' (code 40)): expected a valid value (number, String, array, object, 'true', 'false' or 'null')"}]}|&lt;BR /&gt;[statistics] disconnected&lt;BR /&gt;"{&lt;BR /&gt;&amp;nbsp; &amp;nbsp;\"action\":\"createOnly\",&lt;BR /&gt;&amp;nbsp; &amp;nbsp;\"lookupField\":\"email\",&lt;BR /&gt;&amp;nbsp; &amp;nbsp;\"partitionName\":\"blah\",&lt;BR /&gt;&amp;nbsp; &amp;nbsp;\"input\":&lt;BR /&gt;((String)globalMap.get('myKey'))&lt;BR /&gt;}"&lt;BR /&gt;&lt;BR /&gt;Any ideas on how to do this? &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Feb 2016 00:32:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-tREST-with-variable-in-body/m-p/2337429#M105773</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-02-04T00:32:07Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] tREST with variable in body</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-tREST-with-variable-in-body/m-p/2337430#M105774</link>
      <description>Got it figured out! &amp;nbsp;Here is how you do it. &amp;nbsp;This is a good solution for people who find that XML map or JSON schema are not generating per API standard.&lt;BR /&gt;[font=Verdana, Helvetica, Arial, sans-serif]&lt;FONT size="1"&gt;"{&lt;/FONT&gt;[/font]&lt;BR /&gt;[font=Verdana, Helvetica, Arial, sans-serif]&lt;FONT size="1"&gt;&amp;nbsp; &amp;nbsp;\"action\":\"createOnly\",&lt;/FONT&gt;[/font]&lt;BR /&gt;[font=Verdana, Helvetica, Arial, sans-serif]&lt;FONT size="1"&gt;&amp;nbsp; &amp;nbsp;\"lookupField\":\"email\",&lt;/FONT&gt;[/font]&lt;BR /&gt;[font=Verdana, Helvetica, Arial, sans-serif]&lt;FONT size="1"&gt;&amp;nbsp; &amp;nbsp;\"partitionName\":\"Swyft\",&lt;/FONT&gt;[/font]&lt;BR /&gt;[font=Verdana, Helvetica, Arial, sans-serif]&lt;FONT size="1"&gt;&amp;nbsp; &amp;nbsp;\"input\":"&lt;/FONT&gt;[/font]&lt;BR /&gt;[font=Verdana, Helvetica, Arial, sans-serif]&lt;FONT size="1"&gt;	+((String)globalMap.get("row3.Payload"))+"&lt;/FONT&gt;[/font]&lt;BR /&gt;[font=Verdana, Helvetica, Arial, sans-serif]&lt;FONT size="1"&gt;}"&lt;/FONT&gt;[/font]</description>
      <pubDate>Thu, 04 Feb 2016 16:13:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-tREST-with-variable-in-body/m-p/2337430#M105774</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-02-04T16:13:29Z</dc:date>
    </item>
  </channel>
</rss>

