Server

<back to all web services

GetCustomerUsers

Users
Requires Authentication
The following routes are available for this service:
GET/api/v1/users/{CustomerGuid}
"use strict";
export class User {
    /** @param {{userName?:string,password?:string,isConfirmed?:string,id?:string,role?:string}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {string} */
    userName;
    /** @type {string} */
    password;
    /** @type {string} */
    isConfirmed;
    /** @type {string} */
    id;
    /** @type {string} */
    role;
}
export class GetCustomerUsersResponse {
    /** @param {{responseStatus?:ResponseStatus,users?:User[]}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {ResponseStatus} */
    responseStatus;
    /** @type {User[]} */
    users;
}
export class GetCustomerUsers {
    /** @param {{bearerToken?:string,customerGuid?:string}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {string} */
    bearerToken;
    /** @type {string} */
    customerGuid;
}

JavaScript GetCustomerUsers 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 /api/v1/users/{CustomerGuid} HTTP/1.1 
Host: heat-syke-servdesk.eras-online.de 
Accept: text/jsonl
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length

{"responseStatus":{"errorCode":"String","message":"String","stackTrace":"String","errors":[{"errorCode":"String","fieldName":"String","message":"String","meta":{"String":"String"}}],"meta":{"String":"String"}},"users":[{"userName":"String","password":"String","isConfirmed":"String","id":"String","role":"String"}]}