ORKESTRA

ORKESTRA

  orkestra orkestra.com.tr
  Sohbet   İndirme Merkezi

Web Servis ile Kayıt Okuma

Sisteme Giriş (login)


Parametre AdıVeri TipiAçıklama
loginUserxs:StringZorunlu AlanWeb servislerinde kullanılacak Orkestra kullanıcı adı.
Kullanıcının gerekli web servis haklarına sahip olduğunda emin olunuz.
loginPassxs:StringZorunlu AlanWeb servis giriş şifreniz.
<?xml version="1.0" encoding="UTF-8"?>
<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope" xmlns:ns1="http://ws.server.orkestra.com.tr">
     <env:Body>
          <ns1:login>
              <loginUser>admin</loginUser>
              <loginPass>sifreniz</loginPass>
          </ns1:login>
      </env:Body>
</env:Envelope>
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
     <soap:Body>
           <ns2:loginResponse xmlns:ns2="http://ws.server.orkestra.com.tr">
               <loginSessionId>321d983e-3d35-49cb-a272-d1e1315bde40</loginSessionId>
           </ns2:loginResponse>
     </soap:Body>
</soap:Envelope>

Kayıt Okuma (readByReference)


Parametre AdıVeri TipiAçıklama
Periodxs:longZorunlu AlanOkumak istediğiniz nesnenin bulunduğu peryod.
OutputTypexs:intZorunlu AlanOkumak istediğiniz nesnenin çıktı formatı.(xml)
EntityNamexs:StringZorunlu AlanOkumak istediğiniz nesnenin adı/sınıfı.
ClassTypexs:StringZorunlu Alan-1
Referencexs:longZorunlu AlanOkumak istediğiniz nesnenin kayıt no.
<?xml version="1.0" encoding="UTF-8"?>
<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope" xmlns:ns1="http://ws.server.orkestra.com.tr">
      <env:Body>
          <ns1:readByReference>
             <params>
                 <Period>1</Period>
                 <OutputType>xml</OutputType>
                 <EntityName>StockItem</EntityName>
                 <ClassType>-1</ClassType>
                 <Reference>6</Reference>
             </params>
          </ns1:readByReference>
      </env:Body>
</env:Envelope>
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
      <soap:Body>
           <ns2:readByReferenceResponse xmlns:ns2="http://ws.server.orkestra.com.tr">
              <return><xop:Include xmlns:xop="http://www.w3.org/2004/08/xop/include" href="cid:49e79d64-29b4-4b8c-a731-e8999cde7349-3@cxf.apache.org"/></return>
           </ns2:readByReferenceResponse>
      </soap:Body>
</soap:Envelope>
--uuid:dd3c4f56-2d18-456c-b744-af0787c79038
Content-Type: application/octet-stream
Content-Transfer-Encoding: binary
Content-ID: <49e79d64-29b4-4b8c-a731-e8999cde7349-5@cxf.apache.org>

<StockItem class="com.gtech.erp.inventory.objects.StockItem" id="1">
  <subType>0</subType>
  <costingMethod>1</costingMethod>
  <vatRate class="com.gtech.erp.base.objects.VatRateDefinition" id="2">
    <reference>1</reference>
  </vatRate>
  <nodeData class="com.gtech.erp.inventory.objects.StockItemNs" id="3">
    <reference>6</reference>
    <nodeLeft>0</nodeLeft>
    <nodeRight>0</nodeRight>
    <level>0</level>
  </nodeData>
  <abcCode>0</abcCode>
  <baseItem class="com.gtech.erp.inventory.objects.StockItem" id="4">
    <reference>3</reference>
  </baseItem>
  <basePack class="com.gtech.erp.inventory.objects.StockItemUnit" id="5">
    <reference>6</reference>
  </basePack>
  <clsCopyUnits>0</clsCopyUnits>
  <costCalculation>0</costCalculation>
  <costPhysical>1</costPhysical>
  <defUnitValue>0</defUnitValue>
  <priceDefault>9400</priceDefault>
  <priceList>0</priceList>
  <priceMaximum>0</priceMaximum>
  <priceMinimum>0</priceMinimum>
  <pricePromotion>0</pricePromotion>
  <priceWhole>0</priceWhole>
  <procCost>0</procCost>
  <procDefault>8750</procDefault>
  <procList>0</procList>
  <procMaximum>0</procMaximum>
  <procMinimum>0</procMinimum>
  <procPromotion>0</procPromotion>
  <procWhole>0</procWhole>
  <revenue class="com.gtech.erp.inventory.objects.StockItemRevenue" id="6">
    <period_reference>1</period_reference>
    <item_reference>6</item_reference>
    <revenueIn>0</revenueIn>
    <revenueOut>0</revenueOut>
  </revenue>
  <runTotal class="com.gtech.erp.inventory.objects.StockItemRunTotal" id="7"/>
  <trackType>2</trackType>
  <unitSet class="com.gtech.relax.crmbase.objects.UnitOfMeasureSet" id="8">
    <reference>7</reference>
  </unitSet>
  <witholdType>0</witholdType>
  <usedProcurement>true</usedProcurement>
  <usedProduction>false</usedProduction>
  <usedSales>true</usedSales>
  <baseUnit class="com.gtech.relax.crmbase.objects.UnitOfMeasure" id="9">
    <reference>22</reference>
  </baseUnit>
  <itemType>0</itemType>
  <entity class="com.gtech.erp.base.objects.LegalEntity" id="10">
    <reference>1</reference>
  </entity>
  <type>0</type>
  <code>001.0003</code>
  <description>IPHONE XS 64 GB AKILLI TELEFON GÜMÜŞ</description>
  <flagType>0</flagType>
  <reference>6</reference>
  <status>0</status>
  <approveStatus>0</approveStatus>
</StockItem>

--uuid:dd3c4f56-2d18-456c-b744-af0787c79038--

Sistemden Çıkış (logout)


Parametre AdıVeri TipiAçıklama
sessionIdxs:StringZorunlu AlanKapatmak istediğiniz oturumun kimlik numarası.
(login fonskiyonundan aldığımız loginSessionId değişkeni)
<?xml version="1.0" encoding="UTF-8"?>
<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope" xmlns:ns1="http://ws.server.orkestra.com.tr">
     <env:Body>
         <ns1:logout>
             <sessionId>321d983e-3d35-49cb-a272-d1e1315bde40</sessionId>
         </ns1:logout>
     </env:Body>
</env:Envelope>
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
      <soap:Body>
            <ns2:logoutResponse xmlns:ns2="http://ws.server.orkestra.com.tr"/>
      </soap:Body>
</soap:Envelope>