1
0
-1

How to Bind List with API from other website? and that API need to send Request with XML not JSON.
I want to know how to proccess it in Data List, if i want use API with request type is XML like this.

<PurchaseOrderGetPurchaseOrdersRequest>
    <Filters>
        <StatusCode>
            <LIKE>10</LIKE>
        </StatusCode>
    </Filters>
    <RequestFields>
        <PurchaseOrders>
            <PurchaseOrder>
                <PurchaseOrderLines>
                    <RequestFields>
                        <PurchaseOrderLines>
                            <PurchaseOrderLine>
                                <ALLFIELDS />
                            </PurchaseOrderLine>
                        </PurchaseOrderLines>
                    </RequestFields>
                </PurchaseOrderLines>
            </PurchaseOrder>
        </PurchaseOrders>
    </RequestFields>
</PurchaseOrderGetPurchaseOrdersRequest>

and how to use API in list in this JOGET?
Thank You

    CommentAdd your comment...

    1 answer

    1.  
      1
      0
      -1

      Hi, if there is no existing plugin for it, you can write your own custom code in BeanShell Data Store, or develop your own datalist binder like in How to develop an Amazon S3 Datalist Binder. You might also want to consider the performance implications, and perhaps import data from the XML service into a local database in the background before displaying in a list.


        CommentAdd your comment...