| GET | /OrderSummaries |
|---|
"use strict";
/** @typedef {'InProgress'|'Updating'|'Creating'|'Completed'} */
export var ProcessState;
(function (ProcessState) {
ProcessState["InProgress"] = "InProgress"
ProcessState["Updating"] = "Updating"
ProcessState["Creating"] = "Creating"
ProcessState["Completed"] = "Completed"
})(ProcessState || (ProcessState = {}));
export class OrderSummary {
/** @param {{guid?:string,processingState?:ProcessState}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
guid;
/** @type {ProcessState} */
processingState;
}
export class GetOrderSummariesResponse {
/** @param {{orderSummaries?:IList<OrderSummary>,responseStatus?:ResponseStatus}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {IList<OrderSummary>} */
orderSummaries;
/** @type {ResponseStatus} */
responseStatus;
}
export class GetOrderSummaries {
constructor(init) { Object.assign(this, init) }
}
JavaScript GetOrderSummaries DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /OrderSummaries HTTP/1.1 Host: develop-servamw.eras-online.de Accept: text/jsonl
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length
{"responseStatus":{"errorCode":"String","message":"String","stackTrace":"String","errors":[{"errorCode":"String","fieldName":"String","message":"String","meta":{"String":"String"}}],"meta":{"String":"String"}}}