Developer Logout

Description

The Developer Logout method allows you to Un-authenticate with the web service API. Any sessionId in a cookie will be removed and any session variables for the developer Id will be invalid.

URI

REST URI [GET]:
/v11.02/Developer.svc/Logout?SessionId={sessionId}

Example

Request GET
http://wsdev.onegreatfamily.com/v11.02/Developer.svc/Logout?SessionId=gl4q23cwofpshi55sg1dvc3o
Success Response Payload
<Result xmlns="http://schemas.datacontract.org/2004/07/OGF.WS.Data">
	<Code>0</Code>
	<Message>Success</Message>
</Result>
 Fault Response Payload
<RestFault xmlns="http://schemas.datacontract.org/2004/07/OGF.WS.Data">
	<ErrorCode>551</ErrorCode>
	<FaultMessage>An unhandled exception has occurred</FaultMessage>
</RestFault>

Query String Parameters

Name Description Required

sessionId

The current sessionId, required if not using cookies.

Type: String

Default: None

Constraints: Must be a valid sessionId

Yes

Response Elements

Name Description

Result

This operation returns a Result Entity

Type: Result

Result.Value

Nothing is returned for Result.Value in this call

Type: None

HTTP Status Code

The Web Server returns a status code which indicates if the operation was successful. Anything other than 200 should be regarded as a failure.

HTTP Status Code of 417

The Web Server threw an exception and contains a RestFault entity. Retrieve the RestFault from the Webexception response property.