Server

<back to all web services

GetOrderSummaries

Requires Authentication
The following routes are available for this service:
GET/OrderSummaries
import Foundation
import ServiceStack

// @DataContract
public class GetOrderSummaries : Codable
{
    required public init(){}
}

public class GetOrderSummariesResponse : Codable
{
    public var orderSummaries:IList<OrderSummary>
    public var responseStatus:ResponseStatus

    required public init(){}
}

public class OrderSummary : Codable
{
    public var guid:String
    public var processingState:ProcessState

    required public init(){}
}

public enum ProcessState : String, Codable
{
    case InProgress
    case Updating
    case Creating
    case Completed
}


Swift GetOrderSummaries DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other

HTTP + 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: concept2021-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"}}}