| GET | /CustomerOnlineStatus/{Guid} |
|---|
"use strict";
export class CustomerAddress {
/** @param {{AdresseGuid?:string,IstPrimaer?:boolean,AdressTypBezeichnung?:string,AdressTyp?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
AdresseGuid;
/** @type {boolean} */
IstPrimaer;
/** @type {string} */
AdressTypBezeichnung;
/** @type {string} */
AdressTyp;
}
export class CustomerObjekt {
/** @param {{Guid?:string,ZeitraumVon?:string,ZeitraumBis?:string,IstKunde?:boolean,IstEigent_mer?:boolean,IstEigent_merPseudo?:boolean,ObjektGuid?:string,KundeGuid?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
Guid;
/** @type {string} */
ZeitraumVon;
/** @type {?string} */
ZeitraumBis;
/** @type {boolean} */
IstKunde;
/** @type {boolean} */
IstEigent_mer;
/** @type {boolean} */
IstEigent_merPseudo;
/** @type {string} */
ObjektGuid;
/** @type {string} */
KundeGuid;
}
export class Customer {
/** @param {{Guid?:string,Name1?:string,Name2?:string,Name3?:string,Kundennummer?:string,Anrede?:string,KundenAdressen?:CustomerAddress[],KundenObjekte?:CustomerObjekt[]}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
Guid;
/** @type {string} */
Name1;
/** @type {string} */
Name2;
/** @type {string} */
Name3;
/** @type {string} */
Kundennummer;
/** @type {string} */
Anrede;
/** @type {CustomerAddress[]} */
KundenAdressen;
/** @type {CustomerObjekt[]} */
KundenObjekte;
}
export class Objekt {
/** @param {{Guid?:string,Objektnummer?:string,IstAbgeschlossen?:string,Uvi?:string,IsUviDisabled?:string,AbgeschlossenDatum?:string,AdressGuid?:string,AnmerkungKundenportal?:string,KundenportalMarkedDone?:boolean,MarkedDoneAt?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
Guid;
/** @type {string} */
Objektnummer;
/** @type {string} */
IstAbgeschlossen;
/** @type {string} */
Uvi;
/** @type {string} */
IsUviDisabled;
/** @type {?string} */
AbgeschlossenDatum;
/** @type {string} */
AdressGuid;
/** @type {string} */
AnmerkungKundenportal;
/** @type {boolean} */
KundenportalMarkedDone;
/** @type {?string} */
MarkedDoneAt;
}
export class BillingInformation {
/** @param {{Guid?:string,Von?:string,Bis?:string,IstAbgeschlossen?:boolean,HatNebenkosten?:boolean,ObjektGuid?:string,AnmerkungKundenportal?:string,KundenportalMarkedDone?:boolean,MarkedDoneAt?:string,KundenportalMarkedClosed?:boolean,MarkedClosedAt?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
Guid;
/** @type {string} */
Von;
/** @type {string} */
Bis;
/** @type {boolean} */
IstAbgeschlossen;
/** @type {boolean} */
HatNebenkosten;
/** @type {string} */
ObjektGuid;
/** @type {string} */
AnmerkungKundenportal;
/** @type {boolean} */
KundenportalMarkedDone;
/** @type {?string} */
MarkedDoneAt;
/** @type {boolean} */
KundenportalMarkedClosed;
/** @type {?string} */
MarkedClosedAt;
}
export class GetCustomerOnlineStatusResponse {
/** @param {{kunde?:Customer,objekte?:Objekt[],billingInformation?:BillingInformation[],responseStatus?:ResponseStatus}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {Customer} */
kunde;
/** @type {Objekt[]} */
objekte;
/** @type {BillingInformation[]} */
billingInformation;
/** @type {ResponseStatus} */
responseStatus;
}
export class GetCustomerOnlineStatus {
/** @param {{Guid?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
Guid;
}
JavaScript GetCustomerOnlineStatus 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 /CustomerOnlineStatus/{Guid} HTTP/1.1
Host: mdf-servdesk.eras-online.de
Accept: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length
{"kunde":{"Guid":"String","Name1":"String","Name2":"String","Name3":"String","Kundennummer":"String","Anrede":"String","KundenAdressen":[{"AdresseGuid":"String","IstPrimaer":false,"AdressTypBezeichnung":"String","AdressTyp":"String"}],"KundenObjekte":[{"Guid":"String","ZeitraumVon":"0001-01-01T00:00:00.0000000Z","ZeitraumBis":"0001-01-01T00:00:00.0000000Z","IstKunde":false,"IstEigentümer":false,"IstEigentümerPseudo":false,"ObjektGuid":"String","KundeGuid":"String"}]},"objekte":[{"Guid":"String","Objektnummer":"String","IstAbgeschlossen":"String","Uvi":"String","IsUviDisabled":"String","AbgeschlossenDatum":"0001-01-01T00:00:00.0000000Z","AdressGuid":"String","AnmerkungKundenportal":"String","KundenportalMarkedDone":false,"MarkedDoneAt":"0001-01-01T00:00:00.0000000Z"}],"billingInformation":[{"Guid":"String","Von":"0001-01-01T00:00:00.0000000Z","Bis":"0001-01-01T00:00:00.0000000Z","IstAbgeschlossen":false,"HatNebenkosten":false,"ObjektGuid":"String","AnmerkungKundenportal":"String","KundenportalMarkedDone":false,"MarkedDoneAt":"0001-01-01T00:00:00.0000000Z","KundenportalMarkedClosed":false,"MarkedClosedAt":"0001-01-01T00:00:00.0000000Z"}],"responseStatus":{"errorCode":"String","message":"String","stackTrace":"String","errors":[{"errorCode":"String","fieldName":"String","message":"String","meta":{"String":"String"}}],"meta":{"String":"String"}}}