| GET | /api/v1/nutzer |
|---|
"use strict";
/** @typedef {'Leerstand'|'Gewerblich'|'Privat'|'AllgemeineNutzung'} */
export var NutzerType;
(function (NutzerType) {
NutzerType["Leerstand"] = "Leerstand"
NutzerType["Gewerblich"] = "Gewerblich"
NutzerType["Privat"] = "Privat"
NutzerType["AllgemeineNutzung"] = "AllgemeineNutzung"
})(NutzerType || (NutzerType = {}));
export class Nutzer {
/** @param {{guid?:string,name1?:string,name2?:string,name3?:string,name4?:string,nutzerType?:NutzerType,nutzeinheitNumberExternal?:string,nutzerInNutzeinheitSequence?:number,rangeFrom?:string,rangeTo?:string,isDeleted?:boolean,isCreatedByApp?:boolean,IstUvi?:string,EigentuemerBewohnt?:string,Email?:string,Mobil?:string,title?:string,salutation?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
guid;
/** @type {string} */
name1;
/** @type {string} */
name2;
/** @type {string} */
name3;
/** @type {string} */
name4;
/** @type {NutzerType} */
nutzerType;
/** @type {string} */
nutzeinheitNumberExternal;
/** @type {number} */
nutzerInNutzeinheitSequence;
/** @type {string} */
rangeFrom;
/** @type {?string} */
rangeTo;
/** @type {boolean} */
isDeleted;
/** @type {boolean} */
isCreatedByApp;
/** @type {string} */
IstUvi;
/** @type {string} */
EigentuemerBewohnt;
/** @type {string} */
Email;
/** @type {string} */
Mobil;
/** @type {string} */
title;
/** @type {string} */
salutation;
}
export class GetNutzerListResponse {
/** @param {{nutzerList?:Nutzer[],responseStatus?:ResponseStatus}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {Nutzer[]} */
nutzerList;
/** @type {ResponseStatus} */
responseStatus;
}
export class GetNutzerList {
/** @param {{bearerToken?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
bearerToken;
}
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 /api/v1/nutzer HTTP/1.1 Host: immo-account-servdesk.eras-online.de Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
responseStatus:
{
errorCode: String,
message: String,
stackTrace: String,
errors:
[
{
errorCode: String,
fieldName: String,
message: String,
meta:
{
String: String
}
}
],
meta:
{
String: String
}
}
}