| PUT | /order/{OrderId}/reset | Update order and mark as available |
|---|
import Foundation
import ServiceStack
/**
* Reset order export status
*/
// @Api(Description="Reset order export status")
// @ApiResponse(Description="Order exported flag reset", StatusCode=204)
public class ResetExported : Codable
{
// @ApiMember(ExcludeInSchema=true, ParameterType="path")
public var orderId:String
required public init(){}
}
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.
PUT /order/{OrderId}/reset HTTP/1.1
Host: stf-api-uat.data-xchange.com
Accept: text/csv
Content-Type: text/csv
Content-Length: length
{}