API


Click here for a complete list of operations.

requestLensPINCodeV3

Generates a Rescue Lens PIN code and sets the custom fields related to a newly generated session. Pincode will be zero (left) padded. Sends an invitation SMS to the phone number provided.

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/requestLensPINCodeV3"

<?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>
    <requestLensPINCodeV3 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>
      <sPhoneNumber>string</sPhoneNumber>
      <sLangCode>string</sLangCode>
    </requestLensPINCodeV3>
  </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>
    <requestLensPINCodeV3Response xmlns="https://secure.logmeinrescue.com/API/API.asmx">
      <requestLensPINCodeV3Result>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</requestLensPINCodeV3Result>
      <sPINCode>string</sPINCode>
      <smsSendingRet>sendInvitationForMobileSession_UnknownError or sendInvitationForMobileSession_OK or sendInvitationForMobileSession_UserNotLoggedIn or sendInvitationForMobileSession_InvalidPhoneNumber or sendInvitationForMobileSession_SMSCannotBeSent or sendInvitationForMobileSession_NoMoreSMS or sendInvitationForMobileSession_InvalidPrivateCode</smsSendingRet>
    </requestLensPINCodeV3Response>
  </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>
    <requestLensPINCodeV3 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>
      <sPhoneNumber>string</sPhoneNumber>
      <sLangCode>string</sLangCode>
    </requestLensPINCodeV3>
  </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>
    <requestLensPINCodeV3Response xmlns="https://secure.logmeinrescue.com/API/API.asmx">
      <requestLensPINCodeV3Result>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</requestLensPINCodeV3Result>
      <sPINCode>string</sPINCode>
      <smsSendingRet>sendInvitationForMobileSession_UnknownError or sendInvitationForMobileSession_OK or sendInvitationForMobileSession_UserNotLoggedIn or sendInvitationForMobileSession_InvalidPhoneNumber or sendInvitationForMobileSession_SMSCannotBeSent or sendInvitationForMobileSession_NoMoreSMS or sendInvitationForMobileSession_InvalidPrivateCode</smsSendingRet>
    </requestLensPINCodeV3Response>
  </soap12:Body>
</soap12:Envelope>