1. Home
  2. SOAP API
  3. Get GRN details via API

Get GRN details via API

Description-

This API is to be used to get GRN details providing 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:GetInflowReceiptDetailRequest>

         <ser:InflowReceiptCode>?</ser:InflowReceiptCode>

      </ser:GetInflowReceiptDetailRequest>

   </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-DE3DF51DD092A8B61714338585185482″>

         <wsse:Username>techsupport@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“>e1QJPEEAV1Z+o+8dnAPxXw==</wsse:Nonce>

         <wsu:Created>2015-06-09T14:01:58.547Z</wsu:Created>

      </wsse:UsernameToken>

   </wsse:Security>

   </soapenv:Header>

   <soapenv:Body>

   <ser:GetInflowReceiptDetailRequest>

      <ser:InflowReceiptCode>G137</ser:InflowReceiptCode>

   </ser:GetInflowReceiptDetailRequest>

   </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>

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

      <Successful>true</Successful>

      <InflowReceipt>

         <Code>G137</Code>

         <StatusCode>QC_COMPLETE</StatusCode>

         <Created>2015-06-02T12:17:27Z</Created>

         <CreatedBy>Vijay.bhoir</CreatedBy>

         <VendorInvoiceNumber>5415691</VendorInvoiceNumber>

         <VendorInvoiceDate>2015-06-01T18:30:00Z</VendorInvoiceDate>

         <PurchaseOrderDTO>

            <Code>PO-530676</Code>

            <FromParty>Raymond Ltd</FromParty>

            <VendorCode>CMPNY-1009</VendorCode>

            <VendorName>MILL</VendorName>

            <StatusCode>COMPLETE</StatusCode>

            <Created>2015-05-26T14:33:44Z</Created>

            <Approved>2015-05-26T14:33:45Z</Approved>

            <CustomFields/>

         </PurchaseOrderDTO>

         <TotalReceivedAmount>4571145.00</TotalReceivedAmount>

         <TotalRejectedAmount>0.00</TotalRejectedAmount>

         <TotalQuantity>110</TotalQuantity>

         <InflowReceiptItems>

            <InflowReceiptItem>

               <Id>13205</Id>

               <ItemSKU>106890K0001</ItemSKU>

               <ItemTypeImageUrl>http://admin.raymondnext.com:6080//fileupload/file/FAB-8324662/thumbview1.jpg</ItemTypeImageUrl>

               <ItemTypeName>Raymond Fabric-Suit Length</ItemTypeName>

               <VendorSkuCode/>

               <Quantity>10</Quantity>

               <RejectedQuantity>0</RejectedQuantity>

               <PendingQuantity>0</PendingQuantity>

               <UnitPrice>34521.80</UnitPrice>

               <MaxRetailPrice>5415.00</MaxRetailPrice>

               <Discount>0.00</Discount>

               <DiscountPercentage>0.00</DiscountPercentage>

            </InflowReceiptItem>

            <InflowReceiptItem>

               <Id>13206</Id>

               <ItemSKU>107058K0001</ItemSKU>

               <ItemTypeImageUrl>http://admin.raymondnext.com:6080//fileupload/file/FAB-8324664/thumbview1.jpg</ItemTypeImageUrl>

               <ItemTypeName>Raymond Fabric-Suit Length</ItemTypeName>

               <VendorSkuCode/>

               <Quantity>10</Quantity>

              <RejectedQuantity>0</RejectedQuantity>

               <PendingQuantity>0</PendingQuantity>

               <UnitPrice>34521.80</UnitPrice>

               <MaxRetailPrice>5415.00</MaxRetailPrice>

               <Discount>0.00</Discount>

                  <DiscountPercentage>0.00</DiscountPercentage>

            </InflowReceiptItem>

            <InflowReceiptItem>

               <Id>13207</Id>

               <ItemSKU>107599K0001</ItemSKU>

               <ItemTypeImageUrl>http://admin.raymondnext.com:6080//fileupload/file/FAB-8324694/thumbview1.jpg</ItemTypeImageUrl>

               <ItemTypeName>Raymond Fabric-Suit Length</ItemTypeName>

               <VendorSkuCode/>

               <Quantity>10</Quantity>

              <RejectedQuantity>0</RejectedQuantity>

               <PendingQuantity>0</PendingQuantity>

               <UnitPrice>34521.80</UnitPrice>

               <MaxRetailPrice>5415.00</MaxRetailPrice>

               <Discount>0.00</Discount>

               <DiscountPercentage>0.00</DiscountPercentage>

            </InflowReceiptItem>

            <InflowReceiptItem>

               <Id>13208</Id>

               <ItemSKU>107073K0004</ItemSKU>

               <ItemTypeImageUrl>http://admin.raymondnext.com:6080//fileupload/file/FAB-8324666/thumbview1.jpg</ItemTypeImageUrl>

               <ItemTypeName>Raymond Fabric-Suit Length</ItemTypeName>

               <VendorSkuCode/>

               <Quantity>10</Quantity>

              <RejectedQuantity>0</RejectedQuantity>

               <PendingQuantity>0</PendingQuantity>

               <UnitPrice>52782.60</UnitPrice>

               <MaxRetailPrice>5252.00</MaxRetailPrice>

               <Discount>0.00</Discount>

                  <DiscountPercentage>0.00</DiscountPercentage>

            </InflowReceiptItem>

            <InflowReceiptItem>

               <Id>13209</Id>

               <ItemSKU>107584K0003</ItemSKU>

               <ItemTypeImageUrl>http://admin.raymondnext.com:6080//fileupload/file/FAB-8324689/thumbview1.jpg</ItemTypeImageUrl>

               <ItemTypeName>Raymond Fabric-Suit Length</ItemTypeName>

               <VendorSkuCode/>

               <Quantity>10</Quantity>

              <RejectedQuantity>0</RejectedQuantity>

               <PendingQuantity>0</PendingQuantity>

               <UnitPrice>45697.40</UnitPrice>

               <MaxRetailPrice>4547.00</MaxRetailPrice>

               <Discount>0.00</Discount>

               <DiscountPercentage>0.00</DiscountPercentage>

            </InflowReceiptItem>

            <InflowReceiptItem>

               <Id>13210</Id>

               <ItemSKU>110264K0002</ItemSKU>

               <ItemTypeImageUrl>http://admin.raymondnext.com:6080//fileupload/file/FAB-8324727/thumbview1.jpg</ItemTypeImageUrl>

               <ItemTypeName>Raymond Fabric-Suit Length</ItemTypeName>

               <VendorSkuCode/>

               <Quantity>10</Quantity>

              <RejectedQuantity>0</RejectedQuantity>

               <PendingQuantity>0</PendingQuantity>

               <UnitPrice>45697.40</UnitPrice>

               <MaxRetailPrice>4547.00</MaxRetailPrice>

               <Discount>0.00</Discount>

                  <DiscountPercentage>0.00</DiscountPercentage>

            </InflowReceiptItem>

            <InflowReceiptItem>

               <Id>13211</Id>

               <ItemSKU>107248K0002</ItemSKU>

               <ItemTypeImageUrl>http://admin.raymondnext.com:6080//fileupload/file/FAB-8324672/thumbview1.jpg</ItemTypeImageUrl>

               <ItemTypeName>Raymond Fabric-Suit Length</ItemTypeName>

               <VendorSkuCode/>

               <Quantity>10</Quantity>

              <RejectedQuantity>0</RejectedQuantity>

               <PendingQuantity>0</PendingQuantity>

               <UnitPrice>44159.70</UnitPrice>

               <MaxRetailPrice>4394.00</MaxRetailPrice>

               <Discount>0.00</Discount>

               <DiscountPercentage>0.00</DiscountPercentage>

            </InflowReceiptItem>

            <InflowReceiptItem>

               <Id>13212</Id>

               <ItemSKU>107248K0003</ItemSKU>

               <ItemTypeImageUrl>http://admin.raymondnext.com:6080//fileupload/file/FAB-8324673/thumbview1.jpg</ItemTypeImageUrl>

               <ItemTypeName>Raymond Fabric-Suit Length</ItemTypeName>

               <VendorSkuCode/>

               <Quantity>10</Quantity>

              <RejectedQuantity>0</RejectedQuantity>

               <PendingQuantity>0</PendingQuantity>

               <UnitPrice>44159.70</UnitPrice>

               <MaxRetailPrice>4394.00</MaxRetailPrice>

               <Discount>0.00</Discount>

                  <DiscountPercentage>0.00</DiscountPercentage>

            </InflowReceiptItem>

            <InflowReceiptItem>

               <Id>13213</Id>

               <ItemSKU>107247K0004</ItemSKU>

               <ItemTypeImageUrl>http://admin.raymondnext.com:6080//fileupload/file/FAB-8324670/thumbview1.jpg</ItemTypeImageUrl>

               <ItemTypeName>Raymond Fabric-Suit Length</ItemTypeName>

               <VendorSkuCode/>

               <Quantity>10</Quantity>

              <RejectedQuantity>0</RejectedQuantity>

               <PendingQuantity>0</PendingQuantity>

               <UnitPrice>42431.10</UnitPrice>

               <MaxRetailPrice>4222.00</MaxRetailPrice>

               <Discount>0.00</Discount>

              <DiscountPercentage>0.00</DiscountPercentage>

            </InflowReceiptItem>

            <InflowReceiptItem>

               <Id>13214</Id>

               <ItemSKU>107247K0005</ItemSKU>

               <ItemTypeImageUrl>http://admin.raymondnext.com:6080//fileupload/file/FAB-8324671/thumbview1.jpg</ItemTypeImageUrl>

               <ItemTypeName>Raymond Fabric-Suit Length</ItemTypeName>

               <VendorSkuCode/>

               <Quantity>10</Quantity>

               <RejectedQuantity>0</RejectedQuantity>

               <PendingQuantity>0</PendingQuantity>

               <UnitPrice>42431.10</UnitPrice>

               <MaxRetailPrice>4222.00</MaxRetailPrice>

              <Discount>0.00</Discount>

               <DiscountPercentage>0.00</DiscountPercentage>

            </InflowReceiptItem>

            <InflowReceiptItem>

               <Id>13215</Id>

               <ItemSKU>107288K0002</ItemSKU>

                  <ItemTypeImageUrl>http://admin.raymondnext.com:6080//fileupload/file/FAB-8324674/thumbview1.jpg</ItemTypeImageUrl>

               <ItemTypeName>Raymond Fabric-Suit Length</ItemTypeName>

               <VendorSkuCode/>

               <Quantity>10</Quantity>

               <RejectedQuantity>0</RejectedQuantity>

               <PendingQuantity>0</PendingQuantity>

               <UnitPrice>36190.10</UnitPrice>

               <MaxRetailPrice>3601.00</MaxRetailPrice>

              <Discount>0.00</Discount>

               <DiscountPercentage>0.00</DiscountPercentage>

            </InflowReceiptItem>

         </InflowReceiptItems>

         <CustomFields/>

      </InflowReceipt>

      <VendorCode>CMPNY-1009</VendorCode>

   </GetInflowReceiptDetailResponse>

   </SOAP-ENV:Body>

</SOAP-ENV:Envelope>

 

Related Articles