API v1 Reference

Logout

This terminates the API session with the server.

REST

Request

https://api.neoncrm.com/neonws/services/api/common/logout?userSessionId=[session id]

Response

{ "logoutResponse": { 
    "operationResult": "SUCCESS", 
    "responseMessage": "User logged out.", 
    "responseDateTime": "2012-12-25T21:30:20.437-06:00" 
    } 
}

SOAP

Request

<soapenv:envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:neon="http://www.z2systems.com/schemas/neonws/">
    <soapenv:header>
        <soapenv:body>
            <neon:logoutrequest>
                <usersessionid>T1357623723287</usersessionid>
            </neon:logoutrequest>
        </soapenv:body>
    </soapenv:header>
</soapenv:envelope>

Response

<soap:envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:body>
        <ns2:logoutresponse xmlns:ns2="http://www.z2systems.com/schemas/neonws/">
            <operationresult>SUCCESS</operationresult>
            <responsemessage>User logged out.</responsemessage>
            <responsedatetime>2013-01-07T23:45:53.567-06:00</responsedatetime>
        </ns2:logoutresponse>
    </soap:body>
</soap:envelope>