![]() | ThirdPartySystemOpenSession Method |
[This is preliminary documentation and is subject to change.]
Namespace: Dyostem.Services
public SessionResult OpenSession( string sLogin, string sPassword )
1POST http://www.dyostem.com/Services/ThirdPartySystem.svc/OpenSession HTTP/1.1 2Content-Type: application/json 3Host: www.dyostem.com 4Content-Length: 44 5Expect: 100-continue 6 7{"sLogin":"sim_test","sPassword":"sim_test"}
1HTTP/1.1 200 OK 2Cache-Control: private 3Transfer-Encoding: chunked 4Content-Type: application/json; charset=utf-8 5Server: Microsoft-IIS/7.5 6Set-Cookie: ASP.NET_SessionId=o5owk4yefroeplfipsfcy3sk; path=/; HttpOnly 7X-AspNet-Version: 4.0.30319 8X-Powered-By: ASP.NET 9Date: Mon, 23 May 2016 14:21:53 GMT 10 117f 12{"d":{"__type":"SessionResult:#Dyostem.Services.Data","Message":"Login OK","SessionId":"d291a5c9-60ab-429b-a167-1a97d15c91b3"}} 130
1POST /soap/ThirdPartySystem.asmx HTTP/1.1 2Host: www.dyostem.com 3Content-Type: text/xml; charset=utf-8 4Content-Length: length 5SOAPAction: "http://www.dyostem.com/soap/OpenSession" 6 7<?xml version="1.0" encoding="utf-8"?> 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/"> 9 <soap:Body> 10 <OpenSession xmlns="http://www.dyostem.com/soap"> 11 <sLogin>string</sLogin> 12 <sPassword>string</sPassword> 13 </OpenSession> 14 </soap:Body> 15</soap:Envelope>
1HTTP/1.1 200 OK 2Content-Type: text/xml; charset=utf-8 3Content-Length: length 4 5<?xml version="1.0" encoding="utf-8"?> 6<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/"> 7 <soap:Body> 8 <OpenSessionResponse xmlns="http://www.dyostem.com/soap"> 9 <OpenSessionResult> 10 <Message>string</Message> 11 <SessionId>guid</SessionId> 12 </OpenSessionResult> 13 </OpenSessionResponse> 14 </soap:Body> 15</soap:Envelope>
1POST /soap/ThirdPartySystem.asmx HTTP/1.1 2Host: www.dyostem.com 3Content-Type: application/soap+xml; charset=utf-8 4Content-Length: length 5 6<?xml version="1.0" encoding="utf-8"?> 7<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"> 8 <soap12:Body> 9 <OpenSession xmlns="http://www.dyostem.com/soap"> 10 <sLogin>string</sLogin> 11 <sPassword>string</sPassword> 12 </OpenSession> 13 </soap12:Body> 14</soap12:Envelope>
1HTTP/1.1 200 OK 2Content-Type: application/soap+xml; charset=utf-8 3Content-Length: length 4 5<?xml version="1.0" encoding="utf-8"?> 6<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"> 7 <soap12:Body> 8 <OpenSessionResponse xmlns="http://www.dyostem.com/soap"> 9 <OpenSessionResult> 10 <Message>string</Message> 11 <SessionId>guid</SessionId> 12 </OpenSessionResult> 13 </OpenSessionResponse> 14 </soap12:Body> 15</soap12:Envelope>
1POST /soap/ThirdPartySystem.asmx/OpenSession HTTP/1.1 2Host: www.dyostem.com 3Content-Type: application/x-www-form-urlencoded 4Content-Length: length 5 6sLogin=string&sPassword=string
1HTTP/1.1 200 OK 2Content-Type: text/xml; charset=utf-8 3Content-Length: length 4 5<?xml version="1.0" encoding="utf-8"?> 6<SessionResult xmlns="http://www.dyostem.com/soap"> 7 <Message>string</Message> 8 <SessionId>guid</SessionId> 9</SessionResult>