BokaMera.API.Host

<back to all web services

UnSyncedUsers

The following routes are available for this service:
GET/unsyncedusers/Get user that are no sync benween DB and Keycloack
import java.math.*;
import java.util.*;
import net.servicestack.client.*;

public class dtos
{

    public static class UnSyncedUsers
    {
        /**
        * Id of the company
        */
        @ApiMember(Description="Id of the company", IsRequired=true, ParameterType="path")
        public UUID CompanyId = null;
        
        public UUID getCompanyId() { return CompanyId; }
        public UnSyncedUsers setCompanyId(UUID value) { this.CompanyId = value; return this; }
    }

    public static class UnSyncedUsersResponse
    {
        public UUID CompanyId = null;
        public ArrayList<UnSyncedUserResponse> UnSyncedUsers = null;
        
        public UUID getCompanyId() { return CompanyId; }
        public UnSyncedUsersResponse setCompanyId(UUID value) { this.CompanyId = value; return this; }
        public ArrayList<UnSyncedUserResponse> getUnSyncedUsers() { return UnSyncedUsers; }
        public UnSyncedUsersResponse setUnSyncedUsers(ArrayList<UnSyncedUserResponse> value) { this.UnSyncedUsers = value; return this; }
    }

    public static class UnSyncedUserResponse
    {
        public String Email = null;
        public Boolean InDb = null;
        public Boolean InKeyCloak = null;
        public Boolean ErrorGettingValuesFromKeyCloak = null;
        
        public String getEmail() { return Email; }
        public UnSyncedUserResponse setEmail(String value) { this.Email = value; return this; }
        public Boolean isInDb() { return InDb; }
        public UnSyncedUserResponse setInDb(Boolean value) { this.InDb = value; return this; }
        public Boolean isInKeyCloak() { return InKeyCloak; }
        public UnSyncedUserResponse setInKeyCloak(Boolean value) { this.InKeyCloak = value; return this; }
        public Boolean isErrorGettingValuesFromKeyCloak() { return ErrorGettingValuesFromKeyCloak; }
        public UnSyncedUserResponse setErrorGettingValuesFromKeyCloak(Boolean value) { this.ErrorGettingValuesFromKeyCloak = value; return this; }
    }

}

Java UnSyncedUsers DTOs

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

HTTP + OTHER

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

GET /unsyncedusers/ HTTP/1.1 
Host: api.bokamera.se 
Accept: text/jsonl
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length

{"UnSyncedUsers":[{"Email":"String","InDb":false,"InKeyCloak":false,"ErrorGettingValuesFromKeyCloak":false}]}