LocationManager


Click here for a complete list of operations.

AddLocation

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.Admin.OrganizationMgmt.Host/LocationManager.asmx HTTP/1.1
Host: ssa.fp360.us
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://KMWare.ZMA.Admin.OrganizationMgmt.ServiceContracts/AddLocation"

<?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>
    <AddLocation xmlns="http://KMWare.ZMA.Admin.OrganizationMgmt.ServiceContracts">
      <AddLocationRequest xmlns="http://KMWare.ZMA.Admin.OrganizationMgmt.DataTypes/2007/06">
        <ModuleCode>string</ModuleCode>
        <OrganizationUnitId>short</OrganizationUnitId>
        <LocationId>short</LocationId>
        <LocationName>string</LocationName>
        <LocationType>string</LocationType>
        <LocationDivision>string</LocationDivision>
        <SupervisorCode>string</SupervisorCode>
        <SupervisorName>string</SupervisorName>
        <Description>string</Description>
        <CustomField1>string</CustomField1>
        <Address1>string</Address1>
        <Address2>string</Address2>
        <City>string</City>
        <State>string</State>
        <Country>string</Country>
        <PostalZipCode>string</PostalZipCode>
        <ContactNumber>string</ContactNumber>
        <TransactionFrozen>string</TransactionFrozen>
        <UpdateId>string</UpdateId>
        <UpdateDate>dateTime</UpdateDate>
        <ExpiryDate>dateTime</ExpiryDate>
        <SalesLocationTypeId>short</SalesLocationTypeId>
        <CategorySalesLocationCount>int</CategorySalesLocationCount>
        <LastInventoryDate>dateTime</LastInventoryDate>
        <FALastInventoryDate>dateTime</FALastInventoryDate>
        <FATransactionFrozen>string</FATransactionFrozen>
        <StockBasedOn>string</StockBasedOn>
      </AddLocationRequest>
    </AddLocation>
  </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>
    <AddLocationResponse xmlns="http://KMWare.ZMA.Admin.OrganizationMgmt.ServiceContracts">
      <AddLocationResult>string</AddLocationResult>
      <newLocationId>short</newLocationId>
    </AddLocationResponse>
  </soap:Body>
</soap:Envelope>