do you have an example of adding customform in an ...
# ask-stanley-ai
g
do you have an example of adding customform in an xml request to consume the soap api?
c
AI generated answer (using internal Slack threads):
Based on the provided conversations, there isn't a direct example of adding a custom form in an XML request to consume the SOAP API. However, there are discussions about SOAP requests and responses, and using frameworks like Apache Axis to build applications. There's also a mention of using SOAP for transactions with serialized inventory, and calling custom saved searches. Here's a general structure of how you might include a custom form in a SOAP request:
Copy code
xml
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:messages_2015_1.platform.webservices.netsuite.com" xmlns:urn1="urn:core_2015_1.platform.webservices.netsuite.com">
   <soapenv:Header>
      <urn:tokenPassport>
         <!--You can add your token passport elements here-->
      </urn:tokenPassport>
   </soapenv:Header>
   <soapenv:Body>
      <urn:add>
         <urn:record xsi:type="urn1:SalesOrder" externalId="your_external_id">
            <urn1:customForm internalId="your_custom_form_id"/>
            <!--Add other elements as needed-->
         </urn:record>
      </urn:add>
   </soapenv:Body>
</soapenv:Envelope>
In this example,
your_custom_form_id
would be the internal ID of the custom form you want to use. Please replace
your_external_id
and
your_custom_form_id
with your actual values. ****** Disclaimer: This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes. ******
Slack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.826721191
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.813415587
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.809875488
Please provide your feedback on this answer.