| 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 .csv suffix or ?format=csv
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: mi-waerme-servdesk.eras-online.de Accept: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length
{"responseStatus":{"errorCode":"String","message":"String","stackTrace":"String","errors":[{"errorCode":"String","fieldName":"String","message":"String","meta":{"String":"String"}}],"meta":{"String":"String"}}}