GET | /unsyncedusers/ | Get user that are no sync benween DB and Keycloack |
---|
"use strict";
export class UnSyncedUserResponse {
/** @param {{Email?:string,InDb?:boolean,InKeyCloak?:boolean,ErrorGettingValuesFromKeyCloak?:boolean}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
Email;
/** @type {boolean} */
InDb;
/** @type {boolean} */
InKeyCloak;
/** @type {boolean} */
ErrorGettingValuesFromKeyCloak;
}
export class UnSyncedUsersResponse {
/** @param {{CompanyId?:string,UnSyncedUsers?:UnSyncedUserResponse[]}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
CompanyId;
/** @type {UnSyncedUserResponse[]} */
UnSyncedUsers;
}
export class UnSyncedUsers {
/** @param {{CompanyId?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/**
* @type {string}
* @description Id of the company */
CompanyId;
}
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
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/jsv
HTTP/1.1 200 OK Content-Type: text/jsv Content-Length: length { UnSyncedUsers: [ { Email: String, InDb: False, InKeyCloak: False, ErrorGettingValuesFromKeyCloak: False } ] }