CategoryManager


Click here for a complete list of operations.

AddCategory

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

<?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>
    <AddCategory xmlns="http://KMWare.ZMA.Inventory.ItemMgmt.ServiceContracts">
      <AddCategoryRequest xmlns="http://KMWare.ZMA.Inventory.ItemMgmt.DataTypes">
        <CategoryCode>string</CategoryCode>
        <OrganizationUnitId>short</OrganizationUnitId>
        <CategoryName>string</CategoryName>
        <Description>string</Description>
        <CustomField1>string</CustomField1>
        <CustomField2>string</CustomField2>
        <CustomField3>string</CustomField3>
        <ClassCode>string</ClassCode>
        <UpdateId>string</UpdateId>
        <UpdateDate>dateTime</UpdateDate>
        <ExpiryDate>dateTime</ExpiryDate>
        <Status>string</Status>
        <Taxable>string</Taxable>
        <CategoryAttributes>
          <CategoryAttributes>
            <CategoryCode>string</CategoryCode>
            <AttributesCode>string</AttributesCode>
            <OrganizationUnitId>short</OrganizationUnitId>
            <UpdateId>string</UpdateId>
            <UpdateDate>dateTime</UpdateDate>
            <ExpiryDate>dateTime</ExpiryDate>
            <Status>string</Status>
            <FlagStatus>string</FlagStatus>
          </CategoryAttributes>
          <CategoryAttributes>
            <CategoryCode>string</CategoryCode>
            <AttributesCode>string</AttributesCode>
            <OrganizationUnitId>short</OrganizationUnitId>
            <UpdateId>string</UpdateId>
            <UpdateDate>dateTime</UpdateDate>
            <ExpiryDate>dateTime</ExpiryDate>
            <Status>string</Status>
            <FlagStatus>string</FlagStatus>
          </CategoryAttributes>
        </CategoryAttributes>
        <CategoryPriceMargins>
          <CategoryPriceMargin>
            <CategoryCode>string</CategoryCode>
            <LocationId>short</LocationId>
            <OrganizationUnitId>short</OrganizationUnitId>
            <MarkUpType>string</MarkUpType>
            <MarkUp>decimal</MarkUp>
            <MarginType>string</MarginType>
            <MarginRate>decimal</MarginRate>
            <Status>string</Status>
            <UpdateId>string</UpdateId>
            <UpdateDate>dateTime</UpdateDate>
            <ExpiryDate>dateTime</ExpiryDate>
          </CategoryPriceMargin>
          <CategoryPriceMargin>
            <CategoryCode>string</CategoryCode>
            <LocationId>short</LocationId>
            <OrganizationUnitId>short</OrganizationUnitId>
            <MarkUpType>string</MarkUpType>
            <MarkUp>decimal</MarkUp>
            <MarginType>string</MarginType>
            <MarginRate>decimal</MarginRate>
            <Status>string</Status>
            <UpdateId>string</UpdateId>
            <UpdateDate>dateTime</UpdateDate>
            <ExpiryDate>dateTime</ExpiryDate>
          </CategoryPriceMargin>
        </CategoryPriceMargins>
        <CategoryTaxGroups>
          <CategoryTaxGroup>
            <CategoryCode>string</CategoryCode>
            <OrganizationUnitId>short</OrganizationUnitId>
            <LocationId>short</LocationId>
            <TaxGroupCode>string</TaxGroupCode>
            <UpdateId>string</UpdateId>
            <UpdateDate>dateTime</UpdateDate>
            <ExpiryDate>dateTime</ExpiryDate>
            <Status>string</Status>
          </CategoryTaxGroup>
          <CategoryTaxGroup>
            <CategoryCode>string</CategoryCode>
            <OrganizationUnitId>short</OrganizationUnitId>
            <LocationId>short</LocationId>
            <TaxGroupCode>string</TaxGroupCode>
            <UpdateId>string</UpdateId>
            <UpdateDate>dateTime</UpdateDate>
            <ExpiryDate>dateTime</ExpiryDate>
            <Status>string</Status>
          </CategoryTaxGroup>
        </CategoryTaxGroups>
        <TaxGroupCode>string</TaxGroupCode>
        <MarkUp>decimal</MarkUp>
        <MarginRate>decimal</MarginRate>
      </AddCategoryRequest>
    </AddCategory>
  </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>
    <AddCategoryResponse xmlns="http://KMWare.ZMA.Inventory.ItemMgmt.ServiceContracts">
      <AddCategoryResult>string</AddCategoryResult>
    </AddCategoryResponse>
  </soap:Body>
</soap:Envelope>