API


Click here for a complete list of operations.

requestLensPINCodeV2

Generates a Rescue Lens PIN code and sets the custom fields related to a newly generated session. Pincode will be zero (left) padded.

Test

The test form is only available for requests from the local machine.

SOAP 1.1

The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.

POST /API/API.asmx HTTP/1.1
Host: secure.logmeinrescue.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "https://secure.logmeinrescue.com/API/API.asmx/requestLensPINCodeV2"

<?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>
    <requestLensPINCodeV2 xmlns="https://secure.logmeinrescue.com/API/API.asmx">
      <sCField0>string</sCField0>
      <sCField1>string</sCField1>
      <sCField2>string</sCField2>
      <sCField3>string</sCField3>
      <sCField4>string</sCField4>
      <sCField5>string</sCField5>
      <sTracking0>string</sTracking0>
      <bNoTechConsole>boolean</bNoTechConsole>
      <sAuthCode>string</sAuthCode>
    </requestLensPINCodeV2>
  </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>
    <requestLensPINCodeV2Response xmlns="https://secure.logmeinrescue.com/API/API.asmx">
      <requestLensPINCodeV2Result>requestPINCode_Error or requestPINCode_OK or requestPINCode_NotLoggedIn or requestPINCode_NotTechnician or requestPINCode_NoTechConsoleRunning or requestPINCode_OutOfPINCodes or requestPINCode_PollRateExceeded or requestPINCode_User_Is_Deleted or requestPINCode_Invalid_SecretAuthCode or requestPINCode_User_Deleted_Or_Disabled or requestPINCode_NoAccessToLens</requestLensPINCodeV2Result>
      <sPINCode>string</sPINCode>
    </requestLensPINCodeV2Response>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.

POST /API/API.asmx HTTP/1.1
Host: secure.logmeinrescue.com
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>
    <requestLensPINCodeV2 xmlns="https://secure.logmeinrescue.com/API/API.asmx">
      <sCField0>string</sCField0>
      <sCField1>string</sCField1>
      <sCField2>string</sCField2>
      <sCField3>string</sCField3>
      <sCField4>string</sCField4>
      <sCField5>string</sCField5>
      <sTracking0>string</sTracking0>
      <bNoTechConsole>boolean</bNoTechConsole>
      <sAuthCode>string</sAuthCode>
    </requestLensPINCodeV2>
  </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>
    <requestLensPINCodeV2Response xmlns="https://secure.logmeinrescue.com/API/API.asmx">
      <requestLensPINCodeV2Result>requestPINCode_Error or requestPINCode_OK or requestPINCode_NotLoggedIn or requestPINCode_NotTechnician or requestPINCode_NoTechConsoleRunning or requestPINCode_OutOfPINCodes or requestPINCode_PollRateExceeded or requestPINCode_User_Is_Deleted or requestPINCode_Invalid_SecretAuthCode or requestPINCode_User_Deleted_Or_Disabled or requestPINCode_NoAccessToLens</requestLensPINCodeV2Result>
      <sPINCode>string</sPINCode>
    </requestLensPINCodeV2Response>
  </soap12:Body>
</soap12:Envelope>