kb:ws:stocksavailable

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Last revisionBoth sides next revision
kb:ws:stocksavailable [2020/07/07 10:16] – [Parametri] aleksandarkb:ws:stocksavailable [2020/08/06 09:05] – [Parametri] aleksandar
Line 18: Line 18:
 |stockTypes|[[:kb:ws:sifarnici_stocktypes|]]|Vrsta objekata (skladišta) za filtriranje rezultata. Vrednost je ograničena //StockTypes // enumeratorom, a //AllStocks // označava da se filter ignoriše.  |20-7-7  | |stockTypes|[[:kb:ws:sifarnici_stocktypes|]]|Vrsta objekata (skladišta) za filtriranje rezultata. Vrednost je ograničena //StockTypes // enumeratorom, a //AllStocks // označava da se filter ignoriše.  |20-7-7  |
  
-\\+=====   SOAP zahtev ===== 
 +<code> 
 +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:CategoriesAvailable> 
 +         <!--Optional:--> 
 +         <sessToken>20010110491424109009</sessToken> 
 +         <groupID>0</groupID> 
 +         <subgroupID>0</subgroupID> 
 +      </ser:CategoriesAvailable> 
 +   </soapenv:Body> 
 +</soapenv:Envelope> 
 + 
 +</code> 
 +===== SOAP odgovor ===== 
 + 
 +<code> 
 +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 
 +Transfer-Encoding: chunked 
 + 
 +<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"> 
 +   <S:Body> 
 +      <ns2:CategoriesAvailableResponse xmlns:ns2="http://services.bort.com/"> 
 +         <return> 
 +            <ID>10001</ID> 
 +            <name>Aksesoari</name> 
 +            <sifPrfx/> 
 +            <type>Sales</type> 
 +         </return> 
 +         <return> 
 +            <ID>10002</ID> 
 +            <name>Baterije</name> 
 +            <sifPrfx/> 
 +            <type>Sales</type> 
 +         </return> 
 +         <return> 
 +            <ID>10003</ID> 
 +            <name>Kaiševi</name> 
 +            <sifPrfx/> 
 +            <type>Sales</type> 
 +         </return> 
 +         <return> 
 +            <ID>20100</ID> 
 +            <name>Lancici</name> 
 +            <sifPrfx/> 
 +            <type>Sales</type> 
 +         </return> 
 +      </ns2:CategoriesAvailableResponse> 
 +   </S:Body> 
 +</S:Envelope> 
 + 
 +</code> 
 + 
  
  
  • kb/ws/stocksavailable.txt
  • Last modified: 2020/08/06 09:07
  • by aleksandar