Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Introduction

The purpose of this service is to provide a stock snapshot.

Parameters

Parameter

Details

Required

CustomerCode

The customer code of your account

Mandatory

SiteCode

The site code your account's located at

Mandatory

Example

https://<pathtoapi>/service/MSStkPt/CustomerCode/<CustomerCode>/SiteCode/<SiteCode>

Response

See: XML Output (MSStkPt)

Sample
Code Block
languagexmltitleSample
<MStkProd>
  <LD>
    <CustomerCode>CUST_123</CustomerCode>
    <Site>CO</Site>
    <ProductCode>T1</ProductCode>
    <Description>测试 prod discri</Description>
    <FirstDate>2018-12-11T00:00:00</FirstDate>
    <LastDate>2020-02-27T00:00:00</LastDate>
    <SPC>1</SPC>
    <PC>6862</PC>
    <PS>0</PS>
    <TotalS>6886</TotalS>
    <FC>10</FC>
    <FS>0</FS>
    <TotalFS>10</TotalFS>
    <AC>2433</AC>
    <AS>0</AS>
    <TotalAS>2433</TotalAS>
    <PSS>0.00000</PSS>
    <PCPP>1</PCPP>
    <PYear>MIX</PYear>
    <PPAckDesc>测试</PPAckDesc>
    <TotalSUBAv>0</TotalSUBAv>
    <TotalSDPAv>6872</TotalSDPAv>
    <TotalSUBFz>0</TotalSUBFz>
    <TotalSDPFz>10</TotalSDPFz>
    <PIPC>2</PIPC>
    <PIPS>0</PIPS>
    <TotalPIPS>2</TotalPIPS>
    <PBrand>GRD PUY LACOSTE</PBrand>
    <TRAC>0</TRAC>
    <TRAS>0</TRAS>
    <TotalTRAS>0</TotalTRAS>
  </LD>
</MStkProd>


Response Codes  

Common response codes