P2BService


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

WSM_SaveItem

测试

测试窗体只能用于来自本地计算机的请求。

SOAP 1.1

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

POST /PDA/P2BService.asmx HTTP/1.1
Host: pdaservice.lpq1688.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://tempuri.org/WSM_SaveItem"

<?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>
    <WSM_SaveItem xmlns="http://tempuri.org/">
      <SessionID>string</SessionID>
      <diList>
        <SOItemInfo>
          <ActualQuantity>int</ActualQuantity>
          <BalancePay>decimal</BalancePay>
          <BuyQuantity>int</BuyQuantity>
          <ConversionUnitType>int</ConversionUnitType>
          <DeptSysNo>int</DeptSysNo>
          <EstimatedQuantity>int</EstimatedQuantity>
          <GiftCardPay>decimal</GiftCardPay>
          <IsPicked>boolean</IsPicked>
          <IsRepeatPick>int</IsRepeatPick>
          <IsSkip>int</IsSkip>
          <LossQuantity>int</LossQuantity>
          <OrderQuantity>int</OrderQuantity>
          <PESysNO>int</PESysNO>
          <PaidQuantity>int</PaidQuantity>
          <PickQuantity>int</PickQuantity>
          <PickRate>decimal</PickRate>
          <Position1>string</Position1>
          <Price>decimal</Price>
          <ProductID>string</ProductID>
          <ProductName>string</ProductName>
          <ProductSysNo>int</ProductSysNo>
          <Quantity>int</Quantity>
          <RMAReason>int</RMAReason>
          <ReferSysNo>int</ReferSysNo>
          <RejectQuantity>int</RejectQuantity>
          <SOID>string</SOID>
          <SOSysNo>int</SOSysNo>
          <SaleUnit>string</SaleUnit>
          <SysNo>int</SysNo>
          <WarehouseName>string</WarehouseName>
          <Weight>int</Weight>
          <RMADesc>string</RMADesc>
          <PassageWay>string</PassageWay>
        </SOItemInfo>
        <SOItemInfo>
          <ActualQuantity>int</ActualQuantity>
          <BalancePay>decimal</BalancePay>
          <BuyQuantity>int</BuyQuantity>
          <ConversionUnitType>int</ConversionUnitType>
          <DeptSysNo>int</DeptSysNo>
          <EstimatedQuantity>int</EstimatedQuantity>
          <GiftCardPay>decimal</GiftCardPay>
          <IsPicked>boolean</IsPicked>
          <IsRepeatPick>int</IsRepeatPick>
          <IsSkip>int</IsSkip>
          <LossQuantity>int</LossQuantity>
          <OrderQuantity>int</OrderQuantity>
          <PESysNO>int</PESysNO>
          <PaidQuantity>int</PaidQuantity>
          <PickQuantity>int</PickQuantity>
          <PickRate>decimal</PickRate>
          <Position1>string</Position1>
          <Price>decimal</Price>
          <ProductID>string</ProductID>
          <ProductName>string</ProductName>
          <ProductSysNo>int</ProductSysNo>
          <Quantity>int</Quantity>
          <RMAReason>int</RMAReason>
          <ReferSysNo>int</ReferSysNo>
          <RejectQuantity>int</RejectQuantity>
          <SOID>string</SOID>
          <SOSysNo>int</SOSysNo>
          <SaleUnit>string</SaleUnit>
          <SysNo>int</SysNo>
          <WarehouseName>string</WarehouseName>
          <Weight>int</Weight>
          <RMADesc>string</RMADesc>
          <PassageWay>string</PassageWay>
        </SOItemInfo>
      </diList>
      <WSMSysNo>int</WSMSysNo>
      <codeList>
        <PoWeight>
          <ProductSysNo>int</ProductSysNo>
          <ProductCode>string</ProductCode>
          <Weight>int</Weight>
        </PoWeight>
        <PoWeight>
          <ProductSysNo>int</ProductSysNo>
          <ProductCode>string</ProductCode>
          <Weight>int</Weight>
        </PoWeight>
      </codeList>
    </WSM_SaveItem>
  </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>
    <WSM_SaveItemResponse xmlns="http://tempuri.org/">
      <WSM_SaveItemResult>
        <data>
          <ErrorProduct>
            <ProductSysNo>int</ProductSysNo>
            <AccountNeed>int</AccountNeed>
            <AccountHave>int</AccountHave>
            <OrderNeed>int</OrderNeed>
            <OrderHave>int</OrderHave>
            <AvailableQty>int</AvailableQty>
            <OrderNeedStock>int</OrderNeedStock>
            <OrderHaveStock>int</OrderHaveStock>
            <AccountQtyStock>int</AccountQtyStock>
            <AvailableQtyStock>int</AvailableQtyStock>
            <ConversionUnitType>int</ConversionUnitType>
            <ProductID>string</ProductID>
            <ProductName>string</ProductName>
            <PickUserName>string</PickUserName>
            <IsCreateDO>boolean</IsCreateDO>
            <BizTypeName>string</BizTypeName>
            <ReceiveQty>int</ReceiveQty>
            <ShouldQty>int</ShouldQty>
            <SaleQty>int</SaleQty>
            <OrderQty>int</OrderQty>
            <AccountQty>int</AccountQty>
            <ErrMsg>string</ErrMsg>
          </ErrorProduct>
          <ErrorProduct>
            <ProductSysNo>int</ProductSysNo>
            <AccountNeed>int</AccountNeed>
            <AccountHave>int</AccountHave>
            <OrderNeed>int</OrderNeed>
            <OrderHave>int</OrderHave>
            <AvailableQty>int</AvailableQty>
            <OrderNeedStock>int</OrderNeedStock>
            <OrderHaveStock>int</OrderHaveStock>
            <AccountQtyStock>int</AccountQtyStock>
            <AvailableQtyStock>int</AvailableQtyStock>
            <ConversionUnitType>int</ConversionUnitType>
            <ProductID>string</ProductID>
            <ProductName>string</ProductName>
            <PickUserName>string</PickUserName>
            <IsCreateDO>boolean</IsCreateDO>
            <BizTypeName>string</BizTypeName>
            <ReceiveQty>int</ReceiveQty>
            <ShouldQty>int</ShouldQty>
            <SaleQty>int</SaleQty>
            <OrderQty>int</OrderQty>
            <AccountQty>int</AccountQty>
            <ErrMsg>string</ErrMsg>
          </ErrorProduct>
        </data>
      </WSM_SaveItemResult>
    </WSM_SaveItemResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

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

POST /PDA/P2BService.asmx HTTP/1.1
Host: pdaservice.lpq1688.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>
    <WSM_SaveItem xmlns="http://tempuri.org/">
      <SessionID>string</SessionID>
      <diList>
        <SOItemInfo>
          <ActualQuantity>int</ActualQuantity>
          <BalancePay>decimal</BalancePay>
          <BuyQuantity>int</BuyQuantity>
          <ConversionUnitType>int</ConversionUnitType>
          <DeptSysNo>int</DeptSysNo>
          <EstimatedQuantity>int</EstimatedQuantity>
          <GiftCardPay>decimal</GiftCardPay>
          <IsPicked>boolean</IsPicked>
          <IsRepeatPick>int</IsRepeatPick>
          <IsSkip>int</IsSkip>
          <LossQuantity>int</LossQuantity>
          <OrderQuantity>int</OrderQuantity>
          <PESysNO>int</PESysNO>
          <PaidQuantity>int</PaidQuantity>
          <PickQuantity>int</PickQuantity>
          <PickRate>decimal</PickRate>
          <Position1>string</Position1>
          <Price>decimal</Price>
          <ProductID>string</ProductID>
          <ProductName>string</ProductName>
          <ProductSysNo>int</ProductSysNo>
          <Quantity>int</Quantity>
          <RMAReason>int</RMAReason>
          <ReferSysNo>int</ReferSysNo>
          <RejectQuantity>int</RejectQuantity>
          <SOID>string</SOID>
          <SOSysNo>int</SOSysNo>
          <SaleUnit>string</SaleUnit>
          <SysNo>int</SysNo>
          <WarehouseName>string</WarehouseName>
          <Weight>int</Weight>
          <RMADesc>string</RMADesc>
          <PassageWay>string</PassageWay>
        </SOItemInfo>
        <SOItemInfo>
          <ActualQuantity>int</ActualQuantity>
          <BalancePay>decimal</BalancePay>
          <BuyQuantity>int</BuyQuantity>
          <ConversionUnitType>int</ConversionUnitType>
          <DeptSysNo>int</DeptSysNo>
          <EstimatedQuantity>int</EstimatedQuantity>
          <GiftCardPay>decimal</GiftCardPay>
          <IsPicked>boolean</IsPicked>
          <IsRepeatPick>int</IsRepeatPick>
          <IsSkip>int</IsSkip>
          <LossQuantity>int</LossQuantity>
          <OrderQuantity>int</OrderQuantity>
          <PESysNO>int</PESysNO>
          <PaidQuantity>int</PaidQuantity>
          <PickQuantity>int</PickQuantity>
          <PickRate>decimal</PickRate>
          <Position1>string</Position1>
          <Price>decimal</Price>
          <ProductID>string</ProductID>
          <ProductName>string</ProductName>
          <ProductSysNo>int</ProductSysNo>
          <Quantity>int</Quantity>
          <RMAReason>int</RMAReason>
          <ReferSysNo>int</ReferSysNo>
          <RejectQuantity>int</RejectQuantity>
          <SOID>string</SOID>
          <SOSysNo>int</SOSysNo>
          <SaleUnit>string</SaleUnit>
          <SysNo>int</SysNo>
          <WarehouseName>string</WarehouseName>
          <Weight>int</Weight>
          <RMADesc>string</RMADesc>
          <PassageWay>string</PassageWay>
        </SOItemInfo>
      </diList>
      <WSMSysNo>int</WSMSysNo>
      <codeList>
        <PoWeight>
          <ProductSysNo>int</ProductSysNo>
          <ProductCode>string</ProductCode>
          <Weight>int</Weight>
        </PoWeight>
        <PoWeight>
          <ProductSysNo>int</ProductSysNo>
          <ProductCode>string</ProductCode>
          <Weight>int</Weight>
        </PoWeight>
      </codeList>
    </WSM_SaveItem>
  </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>
    <WSM_SaveItemResponse xmlns="http://tempuri.org/">
      <WSM_SaveItemResult>
        <data>
          <ErrorProduct>
            <ProductSysNo>int</ProductSysNo>
            <AccountNeed>int</AccountNeed>
            <AccountHave>int</AccountHave>
            <OrderNeed>int</OrderNeed>
            <OrderHave>int</OrderHave>
            <AvailableQty>int</AvailableQty>
            <OrderNeedStock>int</OrderNeedStock>
            <OrderHaveStock>int</OrderHaveStock>
            <AccountQtyStock>int</AccountQtyStock>
            <AvailableQtyStock>int</AvailableQtyStock>
            <ConversionUnitType>int</ConversionUnitType>
            <ProductID>string</ProductID>
            <ProductName>string</ProductName>
            <PickUserName>string</PickUserName>
            <IsCreateDO>boolean</IsCreateDO>
            <BizTypeName>string</BizTypeName>
            <ReceiveQty>int</ReceiveQty>
            <ShouldQty>int</ShouldQty>
            <SaleQty>int</SaleQty>
            <OrderQty>int</OrderQty>
            <AccountQty>int</AccountQty>
            <ErrMsg>string</ErrMsg>
          </ErrorProduct>
          <ErrorProduct>
            <ProductSysNo>int</ProductSysNo>
            <AccountNeed>int</AccountNeed>
            <AccountHave>int</AccountHave>
            <OrderNeed>int</OrderNeed>
            <OrderHave>int</OrderHave>
            <AvailableQty>int</AvailableQty>
            <OrderNeedStock>int</OrderNeedStock>
            <OrderHaveStock>int</OrderHaveStock>
            <AccountQtyStock>int</AccountQtyStock>
            <AvailableQtyStock>int</AvailableQtyStock>
            <ConversionUnitType>int</ConversionUnitType>
            <ProductID>string</ProductID>
            <ProductName>string</ProductName>
            <PickUserName>string</PickUserName>
            <IsCreateDO>boolean</IsCreateDO>
            <BizTypeName>string</BizTypeName>
            <ReceiveQty>int</ReceiveQty>
            <ShouldQty>int</ShouldQty>
            <SaleQty>int</SaleQty>
            <OrderQty>int</OrderQty>
            <AccountQty>int</AccountQty>
            <ErrMsg>string</ErrMsg>
          </ErrorProduct>
        </data>
      </WSM_SaveItemResult>
    </WSM_SaveItemResponse>
  </soap12:Body>
</soap12:Envelope>