GetStockTypes
Akcija
Funkcija koja služi za dobijanje spiska mogućih tipova skladišta, prema Balansu.
Sintaksa
GetStockTypes(sessToken)
Rezultat
Spisak svih definisanih tipova magacina, prema Balansu.
Parametri
| Naziv | Tip | Opis | Revizija |
|---|---|---|---|
| sessToken | String | Jedinstveni niz znakova dobijen metodom GetToken() koji identifikuje korisničku sesiju. | 19-6-11 |
SOAP zahtev
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:GetStockTypes>
<sessToken>20010110584722719004</sessToken>
</ser:GetStockTypes>
</soapenv:Body>
</soapenv:Envelope>
SOAP odgovor
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:GetStockTypesResponse xmlns:ns2="http://services.bort.com/">
<return>AllStocks</return>
<return>Wholesale</return>
<return>RawMaterial</return>
<return>Construction</return>
<return>FinishedGoods</return>
<return>WholesaleCommission</return>
<return>RawMaterialExt</return>
<return>Retail</return>
<return>FixedAssets</return>
<return>RetailCommission</return>
<return>CateringFacility</return>
<return>FinishedGoodsRetail</return>
<return>LargeTools</return>
<return>SmallTools</return>
<return>Customs</return>
<return>GoodsInWaiting</return>
<return>Services</return>
<return>CustomOrders</return>
<return>Service</return>
</ns2:GetStockTypesResponse>
</S:Body>
</S:Envelope>