JK_WS_Optima_HA


Kliknij tutaj, aby uzyskać pełną listę operacji.

JK_dodaj_atrybutTWR

(id:59) Parametry: _Twr_TwrID As String (par.wymagany), _DAt_DeAId As String (par.wymagany), _DAt_WartoscTxt As String (par.wymagany), _PrzenosicNaDostawy As String (par.wymagany), _PrzenosicNaDokumenty As String (par.wymagany), _Obowiazkowy As String (par.wymagany), _KEY As String (par.wymagany). Zwracana wartość: wykonanie poprawne {"success":true,"results":{"ID rekordu"},"totalcount":0}, jeśli błąd {"success":false,"results":{"error":"komunikat błędu"},"totalcount":0}

Test

Aby przetestować operację przy użyciu protokołu HTTP POST, kliknij przycisk Wywołaj.
Parametr Wartość
_Twr_TwrID:
_DAt_DeAId:
_DAt_WartoscTxt:
_PrzenosicNaDostawy:
_PrzenosicNaDokumenty:
_Obowiazkowy:
_KEY:

SOAP 1.1

Poniżej zamieszczono przykładowe żądanie i odpowiedź SOAP 1.1. Zamiast symboli zastępczych należy podać rzeczywiste wartości.

POST /JK_WS_Optima_HA.asmx HTTP/1.1
Host: jksoft.pl
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "JK_WS_Optima_HA/JK_dodaj_atrybutTWR"

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <JK_dodaj_atrybutTWR xmlns="JK_WS_Optima_HA">
      <_Twr_TwrID>string</_Twr_TwrID>
      <_DAt_DeAId>string</_DAt_DeAId>
      <_DAt_WartoscTxt>string</_DAt_WartoscTxt>
      <_PrzenosicNaDostawy>string</_PrzenosicNaDostawy>
      <_PrzenosicNaDokumenty>string</_PrzenosicNaDokumenty>
      <_Obowiazkowy>string</_Obowiazkowy>
      <_KEY>string</_KEY>
    </JK_dodaj_atrybutTWR>
  </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <JK_dodaj_atrybutTWRResponse xmlns="JK_WS_Optima_HA">
      <JK_dodaj_atrybutTWRResult>string</JK_dodaj_atrybutTWRResult>
    </JK_dodaj_atrybutTWRResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

Poniżej zamieszczono przykładowe żądanie i odpowiedź SOAP 1.2. Zamiast symboli zastępczych należy podać rzeczywiste wartości.

POST /JK_WS_Optima_HA.asmx HTTP/1.1
Host: jksoft.pl
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <JK_dodaj_atrybutTWR xmlns="JK_WS_Optima_HA">
      <_Twr_TwrID>string</_Twr_TwrID>
      <_DAt_DeAId>string</_DAt_DeAId>
      <_DAt_WartoscTxt>string</_DAt_WartoscTxt>
      <_PrzenosicNaDostawy>string</_PrzenosicNaDostawy>
      <_PrzenosicNaDokumenty>string</_PrzenosicNaDokumenty>
      <_Obowiazkowy>string</_Obowiazkowy>
      <_KEY>string</_KEY>
    </JK_dodaj_atrybutTWR>
  </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <JK_dodaj_atrybutTWRResponse xmlns="JK_WS_Optima_HA">
      <JK_dodaj_atrybutTWRResult>string</JK_dodaj_atrybutTWRResult>
    </JK_dodaj_atrybutTWRResponse>
  </soap12:Body>
</soap12:Envelope>

HTTP GET

Poniżej zamieszczono przykładowe żądanie i odpowiedź HTTP GET. Zamiast symboli zastępczych należy podać rzeczywiste wartości.

GET /JK_WS_Optima_HA.asmx/JK_dodaj_atrybutTWR?_Twr_TwrID=string&_DAt_DeAId=string&_DAt_WartoscTxt=string&_PrzenosicNaDostawy=string&_PrzenosicNaDokumenty=string&_Obowiazkowy=string&_KEY=string HTTP/1.1
Host: jksoft.pl
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<string xmlns="JK_WS_Optima_HA">string</string>

HTTP POST

Poniżej zamieszczono przykładowe żądanie i odpowiedź HTTP POST. Zamiast symboli zastępczych należy podać rzeczywiste wartości.

POST /JK_WS_Optima_HA.asmx/JK_dodaj_atrybutTWR HTTP/1.1
Host: jksoft.pl
Content-Type: application/x-www-form-urlencoded
Content-Length: length

_Twr_TwrID=string&_DAt_DeAId=string&_DAt_WartoscTxt=string&_PrzenosicNaDostawy=string&_PrzenosicNaDokumenty=string&_Obowiazkowy=string&_KEY=string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<string xmlns="JK_WS_Optima_HA">string</string>