ORKESTRA

ORKESTRA

  orkestra orkestra.com.tr
  Sohbet   İndirme Merkezi

Web Servis İle Kayıt Oluşturma

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 Oluşturna (create)


Parametre AdıVeri TipiAçıklama
BeanXmlxs:base64BinaryZorunlu AlanBASE64 Encoded XML Nesne İçeriği
ForceDuplicatexs:boolean
RebuildDataxs:boolean
ReturnReferenceOnlyxs:boolean
IgnoreOverflowxs:boolean
CodeTemplatexs:long
<?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:create>
                 <params>
                      <Period>1</Period>
                      <BeanXml>PFN0b2NrSXRlbSBjbGFzcz0iY29tLmd0ZWNoLmVycC5pbnZlbnRvcnkub2JqZWN0cy5TdG9ja0l0ZW0iID4NCiAgICA8Y29kZT5ZRU5JIFVSVU48L2NvZGU+DQogICAgPHN0YXR1cz4wPC9zdGF0dXM+DQogICAgPGVudGl0eSBjbGFzcz0iY29tLmd0ZWNoLmVycC5iYXNlLm9iamVjdHMuTGVnYWxFbnRpdHkiID4NCiAgICAgICAgPHJlZmVyZW5jZT4xPC9yZWZlcmVuY2U+DQogICAgPC9lbnRpdHk+DQogICAgPHZhdFJhdGUgY2xhc3M9ImNvbS5ndGVjaC5lcnAuYmFzZS5vYmplY3RzLlZhdFJhdGVEZWZpbml0aW9uIiA+DQogICAgICAgIDxyZWZlcmVuY2U+MTwvcmVmZXJlbmNlPg0KICAgIDwvdmF0UmF0ZT4NCiAgICA8dW5pdFNldCBjbGFzcz0iY29tLmd0ZWNoLnJlbGF4LmNybWJhc2Uub2JqZWN0cy5Vbml0T2ZNZWFzdXJlU2V0IiA+DQogICAgICAgIDxyZWZlcmVuY2U+NzwvcmVmZXJlbmNlPg0KICAgIDwvdW5pdFNldD4NCiAgICA8YmFzZVVuaXQgY2xhc3M9ImNvbS5ndGVjaC5yZWxheC5jcm1iYXNlLm9iamVjdHMuVW5pdE9mTWVhc3VyZSIgPg0KICAgICAgICA8cmVmZXJlbmNlPjIyPC9yZWZlcmVuY2U+DQogICAgPC9iYXNlVW5pdD4NCiAgICA8ZGVzY3JpcHRpb24+WWVuaSDDnHLDvG4gQcOnxLFrbGFtYXPEsTwvZGVzY3JpcHRpb24+DQo8L1N0b2NrSXRlbT4=</BeanXml>
                      <ForceDuplicate>false</ForceDuplicate>
                      <RebuildData>true</RebuildData>
                      <ReturnReferenceOnly>true</ReturnReferenceOnly>
                      <IgnoreOverflow>true</IgnoreOverflow>
                 </params>
            </ns1:create>
      </env:Body>
</env:Envelope>
<StockItem class="com.gtech.erp.inventory.objects.StockItem" >
    <code>YENI URUN</code>
    <status>0</status>
    <entity class="com.gtech.erp.base.objects.LegalEntity" >
        <reference>1</reference>
    </entity>
    <vatRate class="com.gtech.erp.base.objects.VatRateDefinition" >
        <reference>1</reference>
    </vatRate>
    <unitSet class="com.gtech.relax.crmbase.objects.UnitOfMeasureSet" >
        <reference>7</reference>
    </unitSet>
    <baseUnit class="com.gtech.relax.crmbase.objects.UnitOfMeasure" >
        <reference>22</reference>
    </baseUnit>
    <description>Yeni Ürün Açıklaması</description>
</StockItem>
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
     <soap:Body>
          <ns2:createResponse 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-8@cxf.apache.org"/></return>
          </ns2:createResponse>
     </soap:Body>
</soap:Envelope>

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>