Skip to Content

Sap Business One Integration Framework SAP B1 to HTTP Call using Rest API

Hi Experts,

Please share any examples of Integrating master data/transnational data from SAP B1 to third party application (eg:Zoho ,salesforce)..using Rest api, Payload Type Json.

Thanks and Regards,


Add comment
10|10000 characters needed characters exceeded

3 Answers

  • Best Answer
    Posted on Dec 04, 2018 at 08:15 AM

    Hello YADAV,

    For Http call usage, you may refer to the training material including in B1if 2.0.

    Help -- Training -- 3. Set Up Parameters -- 3.02. Using XSL Transformation in Flow

    Thank & best regards

    Huan Yang

    03-02.png (636.7 kB)
    Add comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 04, 2018 at 08:04 AM

    Hello YADAV,

    For different service provider, the API is different.

    Basically, you may user call http atom to reach it.

    <xsl:template name="transform">
                <query id="identifier" value="value"></query>
                <!--optional - define your own query parameters - multiple elements allowed-->
                    <!--the connect section is optional - you can also define a reference to the sld-->
                    <!--optional - document type definition-->
                    <!--optional - default is xml-->
                    <!--optional - in case of POST request you specify here your request document-->
                    <par id="httpheader.???" value="">
                        <!--optional - you can specify here your own http header definitions - multiple elements allowed-->
                    <par id="htta.returnpltypeforce" value="">
                    <par id="htta.returnpltypedefault" value="">

    Thank & best regards

    Huan Yang

    Add comment
    10|10000 characters needed characters exceeded

  • Posted on Mar 22, 2019 at 08:00 AM

    I am facing the same for WCF outbound call WSAS adapter.

    But not able to pass SOAP Request to WCF service.

    I am reading sales order data after B1Event and pushing the same to a WCF service

    Below is the transformation defined.

    <?bpc.pltype.out bpm.pltype=xml?>
        <xsl:stylesheet xmlns:xsl="" xmlns:b1e="" xmlns:b1ie="" xmlns:b1im="" xmlns:bfa="" xmlns:exslt=""
            xmlns:jdbc="" xmlns:js="" xmlns:rev="" xmlns:rfc="urn:sap-com:document:sap:rfc:functions" xmlns:sim="" xmlns:utils=""
            xmlns:vpf="" xmlns:xca="" xmlns:xci="" version="1.0" exclude-result-prefixes="b1e b1ie b1im bfa jdbc js rfc utils xci xca vpf exslt sim rev" b1e:force=""
            b1ie:force="" b1im:force="" bfa:force="" jdbc:force="" js:force="" rfc:force="" utils:force="" xci:force="" xca:force="" vpf:force="" exslt:force="" sim:force="" rev:force="">
            <?prodver 1.0.0?>
                <xsl:include href="../../" />
                <xsl:variable name="msg" select="/vpf:Msg/vpf:Body/vpf:Payload[./@Role='S']" />
                <xsl:variable name="msg1" select="/vpf:Msg/vpf:Body/vpf:Payload[./@Role='T']" />
                <xsl:template match="/">
                        <xsl:copy-of select="/vpf:Msg/@*" />
                        <xsl:copy-of select="/vpf:Msg/vpf:Header" />
                            <xsl:copy-of select="/vpf:Msg/vpf:Body/*" />
                            <vpf:Payload Role="X" id="{$atom}">
                                <xsl:call-template name="transform" />
                <xsl:template name="transform">
                    <soapenv:Envelope xmlns:soapenv="" xmlns:tem="">
                                        <xsl:value-of select="$msg1/Event/b1e:b1events/b1e:b1event/b1e:transactiontype" />
                                        <xsl:value-of select="$msg/BOM/BO/Documents/row/DocEntry" />
                                        <xsl:value-of select="$msg1/Event/b1e:b1events/b1e:b1event/b1e:eventsource" />
    Add comment
    10|10000 characters needed characters exceeded

    • Dear Rakesh, please do not use elder threads for your questions (these should have been closed anyway ideally). Please open a new question on your recent issue, this will also increase the chance for getting answers as it will be shown in feeds, which is not the case if you try re-using existing ones. Thanks for your collaboration, Peter