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 .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

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: g-lange-servdesk.eras-online.de 
Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
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"}}}