Server

<back to all web services

GetOrderSummaries

Requires Authentication
The following routes are available for this service:
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 .jsv suffix or ?format=jsv

HTTP + JSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /OrderSummaries HTTP/1.1 
Host: mi-waerme-servamw.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
		}
	}
}