| GET | /api/v1/nutzer/{Guid} |
|---|
"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 GetNutzerResponse {
/** @param {{nutzer?:Nutzer,responseStatus?:ResponseStatus}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {Nutzer} */
nutzer;
/** @type {ResponseStatus} */
responseStatus;
}
export class GetNutzer {
/** @param {{bearerToken?:string,guid?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
bearerToken;
/** @type {string} */
guid;
}
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/{Guid} HTTP/1.1
Host: mitchell-servdesk.eras-online.de
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
nutzer:
{
guid: 00000000000000000000000000000000,
name1: String,
name2: String,
name3: String,
name4: String,
nutzerType: Leerstand,
nutzeinheitNumberExternal: String,
nutzerInNutzeinheitSequence: 0,
rangeFrom: 0001-01-01T00:00:00Z,
rangeTo: 0001-01-01T00:00:00Z,
isDeleted: False,
isCreatedByApp: False,
IstUvi: String,
EigentuemerBewohnt: String,
Email: String,
Mobil: String,
title: String,
salutation: String
},
responseStatus:
{
errorCode: String,
message: String,
stackTrace: String,
errors:
[
{
errorCode: String,
fieldName: String,
message: String,
meta:
{
String: String
}
}
],
meta:
{
String: String
}
}
}