Oracle Cloud ERP – findPurchaseOrderByOrderNumber – PO SOAP

Sample Request to fetch PO details based on PO Number

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:typ="http://xmlns.oracle.com/apps/prc/po/editDocument/purchaseOrderServiceV2/types/" xmlns:typ1="http://xmlns.oracle.com/adf/svc/types/">
   <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" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
         <wsse:UsernameToken wsu:Id="UsernameToken-FAFFA17E992D895B3A15970524464458">
            <wsse:Username>casey.brown</wsse:Username>
            <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">poy83989</wsse:Password>
            <wsse:Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary">xVrztNecseseZaCPuY6j/A==</wsse:Nonce>
            <wsu:Created>2020-08-10T09:40:46.445Z</wsu:Created>
         </wsse:UsernameToken>
         <wsu:Timestamp wsu:Id="TS-FAFFA17E992D895B3A15970524420337">
            <wsu:Created>2020-08-10T09:40:42.033Z</wsu:Created>
            <wsu:Expires>2020-08-12T09:41:42.033Z</wsu:Expires>
         </wsu:Timestamp>
      </wsse:Security>
   </soapenv:Header>
   <soapenv:Body>
      <typ:findPurchaseOrderByOrderNumber>
         <typ:OrderNumber>164017</typ:OrderNumber>
         <typ:SoldToLegalEntityId>300000046973970</typ:SoldToLegalEntityId>
         <typ:SoldToLegalEntity>US1 Legal Entity</typ:SoldToLegalEntity>
         <typ:findControl>
            <typ1:retrieveAllTranslations>false</typ1:retrieveAllTranslations>
         </typ:findControl>
      </typ:findPurchaseOrderByOrderNumber>
   </soapenv:Body>
</soapenv:Envelope>

Leave a Reply

Your email address will not be published.