kb:ws:sifarnici_subgroupsavailable

SubGroupsAvailable() metoda

Artikli i usluge u Balans ERP razvrstani su po grupama (katalozima) i (opciono) po podgrupama (podkatalozima). Ovaj metod vraća kolekciju raspoloživih podgrupa zadate grupe artikala.

SubGroupsAvailable (sessToken,groupID)

Kolekcija Podkatalog entiteta (List<Podkatalog>) ili null ukoliko nije dostupna ni jedna grupa.

NazivVrstaOpisRevizija
sessTokenStringJedinstveni niz znakova dobijen metodom GetToken() koji identifikuje korisničku sesiju.19-6-11
groupIDIntegerIdentifikacioni broj grupe (kataloga) odgovarajućeg Katalozi entiteta.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:SubGroupsAvailable>
         <sessToken>20010110584722719004</sessToken>
         <groupID>0</groupID>
      </ser:SubGroupsAvailable>
   </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:SubGroupsAvailableResponse xmlns:ns2="http://services.bort.com/">
            <return>
                <ID>145021</ID>
                <katID>145011</katID>
                <naziv>Baterije</naziv>
            </return>
            <return>
                <ID>145031</ID>
                <katID>145011</katID>
                <naziv>Cannibal satovi</naziv>
            </return>
            <return>
                <ID>145041</ID>
                <katID>145011</katID>
                <naziv>Kaiševi i narukvice</naziv>
            </return>
        </ns2:SubGroupsAvailableResponse>
    </S:Body>
</S:Envelope>
  • kb/ws/sifarnici_subgroupsavailable.txt
  • Last modified: 2020/08/06 09:30
  • by aleksandar