kb:ws:sifarnici_categoriesavailable

Differences

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

Link to this comparison view

Next revision
Previous revision
kb:ws:sifarnici_categoriesavailable [2013/12/24 13:43] – created milanokb:ws:sifarnici_categoriesavailable [2020/08/06 09:32] (current) – [Parametri] aleksandar
Line 1: Line 1:
-====== CategoriesAvailable() metod ======+====== CategoriesAvailable() metoda ======
  
  
Line 11: Line 11:
  
  
-CategoriesAvailable (sessToken)+CategoriesAvailable (sessToken, [groupID], [subgroupID])
  
  
Line 17: Line 17:
  
  
-Kolekcija Category entiteta (List<Category>) ili null ukoliko nije dostupna ni jedna grupa.+Kolekcija **[[:kb:ws:entiteti:category|Category ]]** entiteta (//List<Category>//) ili null ukoliko nije dostupna ni jedna grupa. Ukoliko su predati parametri groupID i/ili subgroupID vraćena kolekcija biće filtrirana prema odgovarajućoj grupi/podgrupi. 
 +===== Parametri =====
  
 +^Naziv^Vrsta^Opis^Revizija|
 +|sessToken|String|Jedinstveni niz znakova dobijen metodom [[:kb:ws:autorizacija_gettoken|GetToken]]() koji identifikuje korisničku sesiju.|19-6-11|
 +|groupID|int|Jedinstveni identifikator grupe (kataloga) za filtriranje rezultata. Ukoliko se preda 0 filter se ignoriše.|19-6-11|
 +|subgroupID|int|Jedinstveni identifikator podgrupe (podkataloga) za filtriranje rezultata. Ukoliko se preda 0 filter se ignoriše.|19-6-11|
  
-===== Parametri =====+===== 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>20010102000330011004</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 
 + 
 +<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"> 
 +   <S:Body> 
 +      <ns2:CategoriesAvailableResponse xmlns:ns2="http://services.bort.com/"> 
 +         <return> 
 +            <ID>83305</ID> 
 +            <name>Aksesoari</name> 
 +            <sifPrfx/> 
 +            <type>Sales</type> 
 +         </return> 
 +         <return> 
 +            <ID>83505</ID> 
 +            <name>Baterije</name> 
 +            <sifPrfx/> 
 +            <type>Sales</type> 
 +         </return> 
 +         <return> 
 +            <ID>83405</ID> 
 +            <name>Kaiševi</name> 
 +            <sifPrfx/> 
 +            <type>Sales</type> 
 +         </return> 
 +         <return> 
 +            <ID>83005</ID> 
 +            <name>Lancici</name> 
 +            <sifPrfx/> 
 +            <type>Sales</type> 
 +         </return> 
 +         <return> 
 +            <ID>82705</ID> 
 +            <name>Minduše</name> 
 +            <sifPrfx/> 
 +            <type>Sales</type> 
 +         </return> 
 +         <return> 
 +            <ID>83205</ID> 
 +            <name>Narukvice</name> 
 +            <sifPrfx/> 
 +            <type>Sales</type> 
 +         </return> 
 +         <return> 
 +            <ID>82905</ID> 
 +            <name>Ogrlice</name> 
 +            <sifPrfx/> 
 +            <type>Sales</type> 
 +         </return> 
 +         <return> 
 +            <ID>83105</ID> 
 +            <name>Privesci</name> 
 +            <sifPrfx/> 
 +            <type>Sales</type> 
 +         </return> 
 +         <return> 
 +            <ID>82805</ID> 
 +            <name>Prstenje</name> 
 +            <sifPrfx/> 
 +            <type>Sales</type> 
 +         </return> 
 +         <return> 
 +            <ID>83705</ID> 
 +            <name>Reklamni Materijal</name> 
 +            <sifPrfx/> 
 +            <type>Sales</type> 
 +         </return> 
 +         <return> 
 +            <ID>83605</ID> 
 +            <name>Repromaterijal</name> 
 +            <sifPrfx/> 
 +            <type>Sales</type> 
 +         </return> 
 +         <return> 
 +            <ID>82605</ID> 
 +            <name>Satovi</name> 
 +            <sifPrfx/> 
 +            <type>Sales</type> 
 +         </return> 
 +      </ns2:CategoriesAvailableResponse> 
 +   </S:Body> 
 +</S:Envelope>
  
 +</code>
  
-^Naziv ^Vrsta ^Opis | 
-|sessToken |String |Jedinstveni niz znakova dobijen metodom [[:kb:ws:autorizacija_gettoken|GetToken]]() koji identifikuje korisničku sesiju. | 
  
  
-\\ 
  
  • kb/ws/sifarnici_categoriesavailable.1387892618.txt.gz
  • Last modified: 2013/12/24 13:43
  • by milano