PurchaseReturnManager


Click here for a complete list of operations.

FindPurchaseReturn

Test

The test form is only available for requests from the local machine.

SOAP 1.1

The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.

POST /KMWare.ZMA.Inventory.PurchaseMgmt.Host/PurchaseReturnManager.asmx HTTP/1.1
Host: ssa.fp360.us
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://KMWare.ZMA.Inventory.PurchaseMgmt.ServiceContracts/FindPurchaseReturn"

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <FindPurchaseReturn xmlns="http://KMWare.ZMA.Inventory.PurchaseMgmt.ServiceContracts">
      <FindPurchaseReturnRequest xmlns="http://KMWare.ZMA.Inventory.PurchaseMgmt.DataTypes">
        <ISOLangId>string</ISOLangId>
        <OrderByField>string</OrderByField>
        <OrderType>string</OrderType>
        <PageNo>int</PageNo>
        <PageSize>int</PageSize>
        <FieldCriteria>
          <status>string</status>
          <OrganizationUnitId>short</OrganizationUnitId>
          <PurchaseReturnNumber>int</PurchaseReturnNumber>
          <PurchaseReceiptNumber>int</PurchaseReceiptNumber>
          <LocationId>short</LocationId>
          <PurchaseReturnDate>dateTime</PurchaseReturnDate>
          <Status>string</Status>
        </FieldCriteria>
      </FindPurchaseReturnRequest>
    </FindPurchaseReturn>
  </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <FindPurchaseReturnResponse xmlns="http://KMWare.ZMA.Inventory.PurchaseMgmt.ServiceContracts">
      <FindPurchaseReturnResult xmlns="http://KMWare.ZMA.Inventory.PurchaseMgmt.DataTypes">
        <SearchList>
          <PurchaseReturn>
            <OrganizationUnitId>short</OrganizationUnitId>
            <PurchaseReturnNumber>int</PurchaseReturnNumber>
            <PurchaseReceiptNumber>int</PurchaseReceiptNumber>
            <PurchaseOrderNumber>string</PurchaseOrderNumber>
            <VendorId>short</VendorId>
            <Address1>string</Address1>
            <Address2>string</Address2>
            <City>string</City>
            <State>string</State>
            <PostalZipCode>string</PostalZipCode>
            <PurchaseReturnDate>dateTime</PurchaseReturnDate>
            <CarrierId>short</CarrierId>
            <LocationId>short</LocationId>
            <FreightAmount>decimal</FreightAmount>
            <FreightPaidBy>string</FreightPaidBy>
            <TotalUOM>decimal</TotalUOM>
            <TotalAmount>decimal</TotalAmount>
            <CustomField1>string</CustomField1>
            <PurchaseReturnNote>string</PurchaseReturnNote>
            <ReturnedBy>string</ReturnedBy>
            <Status>string</Status>
            <UpdateId>string</UpdateId>
            <UpdateDate>dateTime</UpdateDate>
            <LocationName>string</LocationName>
            <Name>string</Name>
            <PurchaseReturnDetail xsi:nil="true" />
          </PurchaseReturn>
          <PurchaseReturn>
            <OrganizationUnitId>short</OrganizationUnitId>
            <PurchaseReturnNumber>int</PurchaseReturnNumber>
            <PurchaseReceiptNumber>int</PurchaseReceiptNumber>
            <PurchaseOrderNumber>string</PurchaseOrderNumber>
            <VendorId>short</VendorId>
            <Address1>string</Address1>
            <Address2>string</Address2>
            <City>string</City>
            <State>string</State>
            <PostalZipCode>string</PostalZipCode>
            <PurchaseReturnDate>dateTime</PurchaseReturnDate>
            <CarrierId>short</CarrierId>
            <LocationId>short</LocationId>
            <FreightAmount>decimal</FreightAmount>
            <FreightPaidBy>string</FreightPaidBy>
            <TotalUOM>decimal</TotalUOM>
            <TotalAmount>decimal</TotalAmount>
            <CustomField1>string</CustomField1>
            <PurchaseReturnNote>string</PurchaseReturnNote>
            <ReturnedBy>string</ReturnedBy>
            <Status>string</Status>
            <UpdateId>string</UpdateId>
            <UpdateDate>dateTime</UpdateDate>
            <LocationName>string</LocationName>
            <Name>string</Name>
            <PurchaseReturnDetail xsi:nil="true" />
          </PurchaseReturn>
        </SearchList>
        <SearchCount>int</SearchCount>
        <PageCount>int</PageCount>
      </FindPurchaseReturnResult>
    </FindPurchaseReturnResponse>
  </soap:Body>
</soap:Envelope>