| GET | /api/v1/nutzeinheiten |
|---|
"use strict";
export class Nutzeinheit {
/** @param {{Guid?:string,Nummer?:string,Lage?:string,ObjektGuid?:string,AdressGuid?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
Guid;
/** @type {string} */
Nummer;
/** @type {string} */
Lage;
/** @type {string} */
ObjektGuid;
/** @type {string} */
AdressGuid;
}
export class GetNutzeinheitListResponse {
/** @param {{nutzeinheitList?:Nutzeinheit[],responseStatus?:ResponseStatus}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {Nutzeinheit[]} */
nutzeinheitList;
/** @type {ResponseStatus} */
responseStatus;
}
export class GetNutzeinheitList {
/** @param {{bearerToken?:string,include?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
bearerToken;
/** @type {string} */
include;
}
JavaScript GetNutzeinheitList DTOs
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/nutzeinheiten HTTP/1.1 Host: knabrechnung-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
}
}
}