Login


Click here for a complete list of operations.

GetAccessTicket

If the User string has been successfully linked to a Foliotek account, returns a string to be used for an automatic login for that user using the form https://secure.foliotek.com/?ticket=[returnedticket]. Please note that this should be called for every return to the Foliotek site as the ticket is only valid once and will expire if unused. If the User has not previously been linked, returns 'failed'. Requires WSE 3.0 Authentication.

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 /Version1/Login.asmx HTTP/1.1
Host: webservices.foliotek.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://wsdev.foliotek.com/Version1/GetAccessTicket"

<?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>
    <GetAccessTicket xmlns="http://wsdev.foliotek.com/Version1/">
      <User>string</User>
    </GetAccessTicket>
  </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>
    <GetAccessTicketResponse xmlns="http://wsdev.foliotek.com/Version1/">
      <GetAccessTicketResult>string</GetAccessTicketResult>
    </GetAccessTicketResponse>
  </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 /Version1/Login.asmx HTTP/1.1
Host: webservices.foliotek.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>
    <GetAccessTicket xmlns="http://wsdev.foliotek.com/Version1/">
      <User>string</User>
    </GetAccessTicket>
  </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>
    <GetAccessTicketResponse xmlns="http://wsdev.foliotek.com/Version1/">
      <GetAccessTicketResult>string</GetAccessTicketResult>
    </GetAccessTicketResponse>
  </soap12:Body>
</soap12:Envelope>