ACC3PCWS


单击此处,获取完整的操作列表。

GetProductCategoryByProductCode

根据物料类别获取规格目录树列表

测试

若要使用 HTTP POST 协议对操作进行测试,请单击“调用”按钮。
参数
Platform_ID:
ProductCode:

SOAP 1.1

以下是 SOAP 1.2 请求和响应示例。所显示的占位符需替换为实际值。

POST /ACC3PCWS.asmx HTTP/1.1
Host: qyyapi.dxda.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://tempuri.org/GetProductCategoryByProductCode"

<?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>
    <GetProductCategoryByProductCode xmlns="http://tempuri.org/">
      <Platform_ID>string</Platform_ID>
      <ProductCode>string</ProductCode>
    </GetProductCategoryByProductCode>
  </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>
    <GetProductCategoryByProductCodeResponse xmlns="http://tempuri.org/">
      <GetProductCategoryByProductCodeResult>
        <ResComm>
          <ResState>Success or Fail or SysErrorMsg or Error or Confirm</ResState>
          <ResMessage>string</ResMessage>
          <extendObj />
        </ResComm>
        <DataTree>
          <ProductCategoryTree>
            <ResComm xsi:nil="true" />
            <product_code>string</product_code>
            <description>string</description>
            <if_top>string</if_top>
            <if_bottom>string</if_bottom>
            <parent_id>string</parent_id>
            <create_time>dateTime</create_time>
            <edit_time>dateTime</edit_time>
            <para_group_id>string</para_group_id>
            <ChildTree xsi:nil="true" />
            <ChildGroup xsi:nil="true" />
            <ChildPara xsi:nil="true" />
            <Vaild>boolean</Vaild>
            <Logo_image>string</Logo_image>
          </ProductCategoryTree>
          <ProductCategoryTree>
            <ResComm xsi:nil="true" />
            <product_code>string</product_code>
            <description>string</description>
            <if_top>string</if_top>
            <if_bottom>string</if_bottom>
            <parent_id>string</parent_id>
            <create_time>dateTime</create_time>
            <edit_time>dateTime</edit_time>
            <para_group_id>string</para_group_id>
            <ChildTree xsi:nil="true" />
            <ChildGroup xsi:nil="true" />
            <ChildPara xsi:nil="true" />
            <Vaild>boolean</Vaild>
            <Logo_image>string</Logo_image>
          </ProductCategoryTree>
        </DataTree>
      </GetProductCategoryByProductCodeResult>
    </GetProductCategoryByProductCodeResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

以下是 SOAP 1.2 请求和响应示例。所显示的占位符需替换为实际值。

POST /ACC3PCWS.asmx HTTP/1.1
Host: qyyapi.dxda.com
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <GetProductCategoryByProductCode xmlns="http://tempuri.org/">
      <Platform_ID>string</Platform_ID>
      <ProductCode>string</ProductCode>
    </GetProductCategoryByProductCode>
  </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <GetProductCategoryByProductCodeResponse xmlns="http://tempuri.org/">
      <GetProductCategoryByProductCodeResult>
        <ResComm>
          <ResState>Success or Fail or SysErrorMsg or Error or Confirm</ResState>
          <ResMessage>string</ResMessage>
          <extendObj />
        </ResComm>
        <DataTree>
          <ProductCategoryTree>
            <ResComm xsi:nil="true" />
            <product_code>string</product_code>
            <description>string</description>
            <if_top>string</if_top>
            <if_bottom>string</if_bottom>
            <parent_id>string</parent_id>
            <create_time>dateTime</create_time>
            <edit_time>dateTime</edit_time>
            <para_group_id>string</para_group_id>
            <ChildTree xsi:nil="true" />
            <ChildGroup xsi:nil="true" />
            <ChildPara xsi:nil="true" />
            <Vaild>boolean</Vaild>
            <Logo_image>string</Logo_image>
          </ProductCategoryTree>
          <ProductCategoryTree>
            <ResComm xsi:nil="true" />
            <product_code>string</product_code>
            <description>string</description>
            <if_top>string</if_top>
            <if_bottom>string</if_bottom>
            <parent_id>string</parent_id>
            <create_time>dateTime</create_time>
            <edit_time>dateTime</edit_time>
            <para_group_id>string</para_group_id>
            <ChildTree xsi:nil="true" />
            <ChildGroup xsi:nil="true" />
            <ChildPara xsi:nil="true" />
            <Vaild>boolean</Vaild>
            <Logo_image>string</Logo_image>
          </ProductCategoryTree>
        </DataTree>
      </GetProductCategoryByProductCodeResult>
    </GetProductCategoryByProductCodeResponse>
  </soap12:Body>
</soap12:Envelope>

HTTP GET

以下是 HTTP GET 请求和响应示例。所显示的占位符需替换为实际值。

GET /ACC3PCWS.asmx/GetProductCategoryByProductCode?Platform_ID=string&ProductCode=string HTTP/1.1
Host: qyyapi.dxda.com
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<ProductCategoryList xmlns="http://tempuri.org/">
  <ResComm>
    <ResState>Success or Fail or SysErrorMsg or Error or Confirm</ResState>
    <ResMessage>string</ResMessage>
    <extendObj />
  </ResComm>
  <DataTree>
    <ProductCategoryTree>
      <ResComm>
        <ResState>Success or Fail or SysErrorMsg or Error or Confirm</ResState>
        <ResMessage>string</ResMessage>
        <extendObj />
      </ResComm>
      <product_code>string</product_code>
      <description>string</description>
      <if_top>string</if_top>
      <if_bottom>string</if_bottom>
      <parent_id>string</parent_id>
      <create_time>dateTime</create_time>
      <edit_time>dateTime</edit_time>
      <para_group_id>string</para_group_id>
      <ChildTree>
        <ProductCategoryTree d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <ProductCategoryTree d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </ChildTree>
      <ChildGroup>
        <ParaGroup d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <ParaGroup d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </ChildGroup>
      <ChildPara>
        <ProductParaGroupItem d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <ProductParaGroupItem d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </ChildPara>
      <Vaild>boolean</Vaild>
      <Logo_image>string</Logo_image>
    </ProductCategoryTree>
    <ProductCategoryTree>
      <ResComm>
        <ResState>Success or Fail or SysErrorMsg or Error or Confirm</ResState>
        <ResMessage>string</ResMessage>
        <extendObj />
      </ResComm>
      <product_code>string</product_code>
      <description>string</description>
      <if_top>string</if_top>
      <if_bottom>string</if_bottom>
      <parent_id>string</parent_id>
      <create_time>dateTime</create_time>
      <edit_time>dateTime</edit_time>
      <para_group_id>string</para_group_id>
      <ChildTree>
        <ProductCategoryTree d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <ProductCategoryTree d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </ChildTree>
      <ChildGroup>
        <ParaGroup d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <ParaGroup d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </ChildGroup>
      <ChildPara>
        <ProductParaGroupItem d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <ProductParaGroupItem d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </ChildPara>
      <Vaild>boolean</Vaild>
      <Logo_image>string</Logo_image>
    </ProductCategoryTree>
  </DataTree>
</ProductCategoryList>

HTTP POST

以下是 HTTP POST 请求和响应示例。所显示的占位符需替换为实际值。

POST /ACC3PCWS.asmx/GetProductCategoryByProductCode HTTP/1.1
Host: qyyapi.dxda.com
Content-Type: application/x-www-form-urlencoded
Content-Length: length

Platform_ID=string&ProductCode=string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<ProductCategoryList xmlns="http://tempuri.org/">
  <ResComm>
    <ResState>Success or Fail or SysErrorMsg or Error or Confirm</ResState>
    <ResMessage>string</ResMessage>
    <extendObj />
  </ResComm>
  <DataTree>
    <ProductCategoryTree>
      <ResComm>
        <ResState>Success or Fail or SysErrorMsg or Error or Confirm</ResState>
        <ResMessage>string</ResMessage>
        <extendObj />
      </ResComm>
      <product_code>string</product_code>
      <description>string</description>
      <if_top>string</if_top>
      <if_bottom>string</if_bottom>
      <parent_id>string</parent_id>
      <create_time>dateTime</create_time>
      <edit_time>dateTime</edit_time>
      <para_group_id>string</para_group_id>
      <ChildTree>
        <ProductCategoryTree d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <ProductCategoryTree d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </ChildTree>
      <ChildGroup>
        <ParaGroup d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <ParaGroup d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </ChildGroup>
      <ChildPara>
        <ProductParaGroupItem d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <ProductParaGroupItem d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </ChildPara>
      <Vaild>boolean</Vaild>
      <Logo_image>string</Logo_image>
    </ProductCategoryTree>
    <ProductCategoryTree>
      <ResComm>
        <ResState>Success or Fail or SysErrorMsg or Error or Confirm</ResState>
        <ResMessage>string</ResMessage>
        <extendObj />
      </ResComm>
      <product_code>string</product_code>
      <description>string</description>
      <if_top>string</if_top>
      <if_bottom>string</if_bottom>
      <parent_id>string</parent_id>
      <create_time>dateTime</create_time>
      <edit_time>dateTime</edit_time>
      <para_group_id>string</para_group_id>
      <ChildTree>
        <ProductCategoryTree d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <ProductCategoryTree d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </ChildTree>
      <ChildGroup>
        <ParaGroup d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <ParaGroup d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </ChildGroup>
      <ChildPara>
        <ProductParaGroupItem d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <ProductParaGroupItem d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </ChildPara>
      <Vaild>boolean</Vaild>
      <Logo_image>string</Logo_image>
    </ProductCategoryTree>
  </DataTree>
</ProductCategoryList>