1. Home
  2. SOAP API
  3. Get GRN for PO via API

Get GRN for PO via API

Description:

 

This API is to be used to get GRN Code in provided facility.

 

API detail:

<soapenv:Envelope xmlns:soapenv=”http://schemas.xmlsoap.org/soap/envelope/” xmlns:ser=”http://uniware.unicommerce.com/services/“>

   <soapenv:Header/>

   <soapenv:Body>

      <ser:GetInflowReceiptsRequest>

         <!–Optional:–>

         <ser:PurchaseOrderCode>?</ser:PurchaseOrderCode>

         <!–Optional:–>

         <ser:CreatedDateRange>

            <ser:Start>?</ser:Start>

            <ser:End>?</ser:End>

         </ser:CreatedDateRange>

      </ser:GetInflowReceiptsRequest>

   </soapenv:Body>

</soapenv:Envelope>

 

Sample Request:

<soapenv:Envelope xmlns:ser=”http://uniware.unicommerce.com/services/” xmlns:soapenv=”http://schemas.xmlsoap.org/soap/envelope/“>

   <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-89D7DFA8EF321344FA14368696947561″>

         <wsse:Username>babasupport@unicommerce.com</wsse:Username>

         <wsse:Password Type=”http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText“>f5556bcf74d15ddb67ca3035b8bc969c</wsse:Password>

         <wsse:Nonce EncodingType=”http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary“>AyCQbLxCSZ05Vl6A0b50CA==</wsse:Nonce>

         <wsu:Created>2015-07-14T10:28:14.754Z</wsu:Created>

      </wsse:UsernameToken>

   </wsse:Security>

   </soapenv:Header>

   <soapenv:Body>

   <ser:GetInflowReceiptsRequest>

      <!–Optional:–>

      <ser:PurchaseOrderCode>PO-530584</ser:PurchaseOrderCode>

   </ser:GetInflowReceiptsRequest>

   </soapenv:Body>

</soapenv:Envelope>

 

API Parameter:

 

 

Sample response:

<SOAP-ENV:Envelope xmlns:SOAP-ENV=”http://schemas.xmlsoap.org/soap/envelope/“>

   <SOAP-ENV:Header/>

   <SOAP-ENV:Body>

   <GetInflowReceiptsResponse xmlns=”http://uniware.unicommerce.com/services/“>

      <Successful>true</Successful>

      <InflowReceipts>

         <InflowReceipt>

            <Code>G132</Code>

         </InflowReceipt>

      </InflowReceipts>

   </GetInflowReceiptsResponse>

   </SOAP-ENV:Body>

</SOAP-ENV:Envelope>

Updated on July 19, 2019

Related Articles