| POST | /Technician/Register |
|---|
"use strict";
export class RegisterTechnicianResponse {
/** @param {{guid?:string,responseStatus?:ResponseStatus}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
guid;
/** @type {ResponseStatus} */
responseStatus;
}
export class RegisterTechnician {
/** @param {{Username?:string,Password?:string,Email?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
Username;
/** @type {string} */
Password;
/** @type {string} */
Email;
}
JavaScript RegisterTechnician 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.
POST /Technician/Register HTTP/1.1
Host: concept2021-servamw.eras-online.de
Accept: text/csv
Content-Type: text/csv
Content-Length: length
{"Username":"String","Password":"String","Email":"String"}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length
{"guid":"00000000000000000000000000000000","responseStatus":{"errorCode":"String","message":"String","stackTrace":"String","errors":[{"errorCode":"String","fieldName":"String","message":"String","meta":{"String":"String"}}],"meta":{"String":"String"}}}