hsyk
İşlemlerin tam listesi için burayı tıklayın.
ReceteSorgu
Sınama
Sınama formu yalnızca yerel makineden yapılan istekler için kullanılabilir.SOAP 1.1
Aşağıdaki örnekte bir SOAP 1.1 isteği ve yanıtı yer alıyor. Gösterilen yer tutucular gerçek değerlerle değiştirilmelidir.
POST /hsk_api/v1.1/hsyk.asmx HTTP/1.1 Host: tebws.teb.org.tr Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://tempuri.org/ReceteSorgu" <?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:Header> <AuthenticationHeader xmlns="http://tempuri.org/"> <UserName>string</UserName> <Password>string</Password> </AuthenticationHeader> </soap:Header> <soap:Body> <ReceteSorgu xmlns="http://tempuri.org/"> <session>string</session> <recete_id>long</recete_id> </ReceteSorgu> </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> <ReceteSorguResponse xmlns="http://tempuri.org/"> <ReceteSorguResult>string</ReceteSorguResult> </ReceteSorguResponse> </soap:Body> </soap:Envelope>
SOAP 1.2
Aşağıdaki örnekte bir SOAP 1.2 isteği ve yanıtı yer alıyor. Gösterilen yer tutucular gerçek değerlerle değiştirilmelidir.
POST /hsk_api/v1.1/hsyk.asmx HTTP/1.1 Host: tebws.teb.org.tr 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:Header> <AuthenticationHeader xmlns="http://tempuri.org/"> <UserName>string</UserName> <Password>string</Password> </AuthenticationHeader> </soap12:Header> <soap12:Body> <ReceteSorgu xmlns="http://tempuri.org/"> <session>string</session> <recete_id>long</recete_id> </ReceteSorgu> </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> <ReceteSorguResponse xmlns="http://tempuri.org/"> <ReceteSorguResult>string</ReceteSorguResult> </ReceteSorguResponse> </soap12:Body> </soap12:Envelope>