| GET,OPTIONS | /v1/plansets/{PlanSetUID}/status |
|---|
import Foundation
import ServiceStack
public class PlanSetStatusRequest : Codable
{
public var planSetUID:String
required public init(){}
}
public class PlanSetStatusResponse : Codable
{
public var responseStatus:ResponseStatus
public var planSetUID:String
public var status:String
public var progress:Int
public var pageCount:Int
public var sheetCount:Int
public var errorText:String
public var stageLabel:String
required public init(){}
}
Swift PlanSetStatusRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /v1/plansets/{PlanSetUID}/status HTTP/1.1
Host: api.dev.dynamics.trendsic.com
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
}
},
PlanSetUID: 00000000000000000000000000000000,
Status: String,
Progress: 0,
PageCount: 0,
SheetCount: 0,
ErrorText: String,
StageLabel: String
}