Hi Celigo Experts im doing sage intact i want to...
# integrations
d
Hi Celigo Experts im doing sage intact i want to query the customer POST https://api.intacct.com/ia/xml/xmlgw.phtml/ Headers: Content-type : Application/xml
<?xml version="1.0" encoding="UTF-8"?>
<request>
<control>
<senderid>{{connection.http.unencrypted.senderid}}</senderid>
<password>{{connection.http.encrypted.password}}</password>
<controlid>2022-06-13T06:21:56+00:00</controlid>
<uniqueid>false</uniqueid>
<dtdversion>3.0</dtdversion>
<includewhitespace>false</includewhitespace>
</control>
<operation>
<authentication>
<sessionid>{{{connection.http.auth.token.token}}}</sessionid>
</authentication>
<content>
<function controlid="2022-06-13T06:21:56+00:00">
<readByName>
<object>CUSTOMER</object>
<keys>123456</keys>
<fields>*</fields>
<returnFormat>json</returnFormat>
</readByName>
</function>
</content>
</operation>
</request>
but i get this issue errornoGW-0015/errornodescriptionMissing xmlrequest attribute [Request ID: 8bb6c4572adb3ade-IAD]/description /error
t
It doesn't say which attribute is missing?
I checked the docs and also don't see anything missing. I see you added <returnFormat> tag, but I doubt that's it. Can you debug the import step and review the actual request being sent?
d
Hi @Tyler Lamparter Thank you so much for your response i figured the issue POST :
Copy code
<?xml version="1.0" encoding="UTF-8"?>
<request>
  <control>
    <senderid>{{connection.http.unencrypted.senderid}}</senderid>
    <password>{{connection.http.encrypted.password}}</password>
    <controlid>{{timestamp}}</controlid>
    <uniqueid>false</uniqueid>
    <dtdversion>3.0</dtdversion>
    <includewhitespace>false</includewhitespace>
  </control>
  <operation>
    <authentication>
      <sessionid>{{{connection.http.auth.token.token}}}</sessionid>
    </authentication>
    <content>
      <function controlid="{{timestamp}}">
      <query>
    <object>CUSTOMER</object>
    <filter>
        <equalto>
            <field>RECORDNO</field>
            <value>44</value>
        </equalto>
    </filter>
    <select>
        <field>RECORDNO</field>
    </select>
    </query>
    </function>
    </content>
  </operation>
</request>
i removed content type xml it was causing that issue
t
Cool cool
🙌 1
d
@Tyler Lamparter Thank you so much