Generate Plan
The generate plan web service makes it possible to get a copy of a plan for a particular order prototype, and existing catalog, without submitting the order in system. The following code sample is an example for the web service request for generatePlan.
Generate Plan Request
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ord="http://www.tibco.com/aff/orderservice" xmlns:ord1="http://www.tibco.com/aff/order" xmlns:com="http://www.tibco.com/aff/commontypes"> <soapenv:Header> <wsse:Security soapenv:mustUnderstand="1" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"> <wsse:UsernameToken> <wsse:Username>eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyX25hbWUiOiJhZG1pbiIsIlRFTkFOVElEIjoiVElCQ08iLCJzY29wZSI6WyJyZWFkIiwid3JpdGUiXSwiZXhwIjoxNjEyMjAwODY2LCJhdXRob3JpdGllcyI6WyJST0xFX0FETUlOIl0sImp0aSI6IjA1YjQ0ZDVhLWViYmMtNGFmNi05ODVlLWZiYWNhNTFjNmRkNiIsImNsaWVudF9pZCI6Im9yZGVyLW1hbmFnZW1lbnQtY2xpZW50In0.wEbVkMa2hzdWfsNixFU-e0xOUVXtGSiLsMavS4j6tC8</wsse:Username> <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText"/> </wsse:UsernameToken> </wsse:Security> </soapenv:Header> <soapenv:Body> <ord:SubmitOrderRequest ExternalBusinessTransactionID="sdsad"> <ord:orderRequest> <ord1:orderRef>af201</ord1:orderRef> <ord1:header> <ord1:customerID>CUSTOMER</ord1:customerID> <ord1:requiredByDate>2013-11-30T13:20:00-05:00</ord1:requiredByDate> </ord1:header> <!--1 or more repetitions:--> <ord1:line> <ord1:lineNumber>1</ord1:lineNumber> <ord1:productID>CFS_TV</ord1:productID> <ord1:quantity>1</ord1:quantity> <ord1:uom>-</ord1:uom> <!--Optional:--> <ord1:deliveryAddress> <com:line1>Address Line1</com:line1> <com:line2>Address Line2</com:line2> <com:line3>Pune</com:line3> <com:locality>Pune</com:locality> <com:region>Maharashtra</com:region> <com:country>IN</com:country> <com:postCode>411001</com:postCode> <com:supplementaryLocation>TIBCO software, Pune</com:supplementaryLocation> </ord1:deliveryAddress> <ord1:action>PROVIDE</ord1:action> <ord1:requiredByDate>2013-11-30T13:20:00-05:00</ord1:requiredByDate> </ord1:line> </ord:orderRequest> </ord:SubmitOrderRequest> </soapenv:Body> </soapenv:Envelope>
Copyright © 2021. Cloud Software Group, Inc. All Rights Reserved.