Server

<back to all web services

DisableUserLogins

Requires Authentication
The following routes are available for this service:
GET/Config/DisableUserLogins
import java.math.*;
import java.util.*;
import net.servicestack.client.*;
import com.google.gson.annotations.*;
import com.google.gson.reflect.*;

public class dtos
{

    @DataContract
    public static class DisableUserLogins
    {
        @DataMember(Name="CustomerGuids")
        @SerializedName("CustomerGuids")
        public ArrayList<String> customerGuids = null;
        
        public ArrayList<String> getCustomerGuids() { return customerGuids; }
        public DisableUserLogins setCustomerGuids(ArrayList<String> value) { this.customerGuids = value; return this; }
    }

    public static class DisableUserLoginsResponse
    {
        public SynchronisationStatus status = null;
        public ArrayList<String> loggedInWebUsers = null;
        public ResponseStatus responseStatus = null;
        
        public SynchronisationStatus getStatus() { return status; }
        public DisableUserLoginsResponse setStatus(SynchronisationStatus value) { this.status = value; return this; }
        public ArrayList<String> getLoggedInWebUsers() { return loggedInWebUsers; }
        public DisableUserLoginsResponse setLoggedInWebUsers(ArrayList<String> value) { this.loggedInWebUsers = value; return this; }
        public ResponseStatus getResponseStatus() { return responseStatus; }
        public DisableUserLoginsResponse setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; }
    }

    public static enum SynchronisationStatus
    {
        Successful,
        UserSessionNotExpired,
        SynchronisationInProgress;
    }

}

Java DisableUserLogins DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv

HTTP + JSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /Config/DisableUserLogins HTTP/1.1 
Host: messtecc-servdesk.eras-online.de 
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	status: Successful,
	loggedInWebUsers: 
	[
		String
	],
	responseStatus: 
	{
		errorCode: String,
		message: String,
		stackTrace: String,
		errors: 
		[
			{
				errorCode: String,
				fieldName: String,
				message: String,
				meta: 
				{
					String: String
				}
			}
		],
		meta: 
		{
			String: String
		}
	}
}