kb:ws:sifarnici_updatedprices

This is an old revision of the document!


UpdatedPrices() metoda

Metoda nije realizovana.

Metod vraća izmenje i novododate cene u zadatom periodu.

UpdatedPrices (sessToken, fromDate, [toDate])

Kolekcija ItemPrice entiteta (List<ItemPrice>) formirana prema zadatim parametrima metode.

Napomena: ItemPrice entitet sadržaće samo podatke o cenama. Posebni podaci o popustima i drugim uslovima prodaje se dobijaju metodom ItemPrices.

NazivVrstaOpisRevizija
sessTokenStringJedinstveni niz znakova dobijen metodom GetToken() koji identifikuje korisničku sesiju.19-6-11
fromDateDateTimeDatum i vreme (TIMESTAMP) za filtriranje promena. Kolekcija će biti ispunjena ItemPrice entitetima naparavljenim/izmenjenim od ovog momento do toDate.19-6-11
toDateDateTimeNeobavezan parametar koji služi za filtriranje gornje granice promena. Kolekcija će biti ispunjena ItemPrice entitetima naparavljenim/izmenjenim u periodu između fromDate i toDate. 19-6-11
POST https://ws.melany.rs:8191/Assets/Assets HTTP/1.1
Accept-Encoding: gzip,deflate
Content-Type: text/xml;charset=UTF-8
SOAPAction: ""

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ser="http://services.bort.com/">
   <soapenv:Header/>
   <soapenv:Body>
      <ser:UpdatedStocks>
         <sessToken>200101013023715261004</sessToken>
         <stockType>AllStock</stockType>
         <fromDate>2019-07-01</fromDate>
         <toDate/>
      </ser:UpdatedStocks>
   </soapenv:Body>
</soapenv:Envelope>
HTTP/1.1 200 OK
Server: GlassFish Server Open Source Edition  4.1.2
X-Powered-By: Servlet/3.1 JSP/2.3 (GlassFish Server Open Source Edition  4.1.2  Java/Oracle Corporation/1.8)
Server: grizzly/2.3.23
Content-Type: text/xml; charset=utf-8

<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
   <S:Body>
      <ns2:UpdatedStocksResponse xmlns:ns2="http://services.bort.com/">
         <return>
            <address>Karaðorðeva 118, Stara Pazova</address>
            <GLN/>
            <hidden>false</hidden>
            <ID>1</ID>
            <inventory>
               <artCode>SS036</artCode>
               <artColor/>
               <artModel/>
               <artTitle>10X22X7 KK-T</artTitle>
               <artType/>
               <dtUpd>2020-07-24T00:00:00+02:00</dtUpd>
               <invID>16</invID>
               <maxQtt>0.0</maxQtt>
               <minQtt>0.0</minQtt>
               <price>60.0</price>
               <priceCols/>
               <qtt>0.0</qtt>
               <resQtt>0.0</resQtt>
               <stockID>1</stockID>
               <uom>kom</uom>
            </inventory>
            <inventory>
               <artCode>SS037</artCode>
               <artColor/>
               <artModel/>
               <artTitle>12X22X7 KK-T</artTitle>
               <artType/>
               <dtUpd>2020-07-08T00:00:00+02:00</dtUpd>
               <invID>17</invID>
               <maxQtt>0.0</maxQtt>
               <minQtt>0.0</minQtt>
               <price>60.0</price>
               <priceCols/>
               <qtt>6.0</qtt>
               <resQtt>0.0</resQtt>
               <stockID>1</stockID>
               <uom>kom</uom>
            </inventory>
            <inventory>
               <artCode>A0288</artCode>
               <artColor/>
               <artModel/>
               <artTitle>OSIGURAC NOŽASTI NT00 C  63A  10006C</artTitle>
               <artType/>
               <dtUpd>2020-06-29T00:00:00+02:00</dtUpd>
               <invID>17681</invID>
               <maxQtt>0.0</maxQtt>
               <minQtt>0.0</minQtt>
               <price>-1.0</price>
               <priceCols/>
               <qtt>0.0</qtt>
               <resQtt>0.0</resQtt>
               <stockID>12</stockID>
               <uom>kom</uom>
            </inventory>
            <name>KARADJORDJEVA 125</name>
            <PR/>
            <phoneNo/>
            <subtype>AvgPurchase</subtype>
            <type>Wholesale</type>
         </return>
      </ns2:UpdatedStocksResponse>
   </S:Body>
</S:Envelope>
  • kb/ws/sifarnici_updatedprices.1598871036.txt.gz
  • Last modified: 2020/08/31 10:50
  • by aleksandar