kb:ws:sifarnici_manufacturersavailable

Differences

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

Link to this comparison view

Next revision
Previous revision
kb:ws:sifarnici_manufacturersavailable [2013/12/24 15:18] – created milanokb:ws:sifarnici_manufacturersavailable [2020/08/06 09:36] (current) – [SOAP odgovor] aleksandar
Line 1: Line 1:
-====== ManufacturersAvailable() metod ====== +====== ManufacturersAvailable() metoda ======
  
 ===== Akcija ===== ===== Akcija =====
Line 22: Line 21:
 ===== Parametri ===== ===== 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|
 +
 +===== 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:ManufacturersAvailable>
 +         <!--Optional:-->
 +         <sessToken>20010102000330011004</sessToken>
 +         <groupID>0</groupID>
 +         <subgroupID>0</subgroupID>
 +      </ser:ManufacturersAvailable>
 +   </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
  
-^Naziv ^Vrsta ^Opis | +<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"> 
-|sessToken |String |Jedinstveni niz znakova dobijen metodom [[:kb:ws:autorizacija_gettoken|GetToken]]() koji identifikuje korisničku sesiju|+   <S:Body> 
 +      <ns2:ManufacturersAvailableResponse xmlns:ns2="http://services.bort.com/"> 
 +         <return> 
 +            <ID>206724</ID> 
 +            <name>Adriatica</name> 
 +         </return> 
 +         <return> 
 +            <ID>99623</ID> 
 +            <name>Alkor</name> 
 +         </return> 
 +         <return> 
 +            <ID>82205</ID> 
 +            <name>Argenta doo</name> 
 +         </return> 
 +         <return> 
 +            <ID>222024</ID> 
 +            <name>Boccadamo</name> 
 +         </return> 
 +         <return> 
 +            <ID>20791</ID> 
 +            <name>Bomar</name> 
 +         </return> 
 +         <return> 
 +            <ID>88623</ID> 
 +            <name>Chrono AG</name> 
 +         </return> 
 +      </ns2:ManufacturersAvailableResponse> 
 +   </S:Body> 
 +</S:Envelope>
  
 +</code>
  
-\\ 
  
  • kb/ws/sifarnici_manufacturersavailable.1387898329.txt.gz
  • Last modified: 2013/12/24 15:18
  • (external edit)