Trendsic Platform Service

<back to all web services

PlanSetStatusRequest

Requires Authentication
The following routes are available for this service:
GET,OPTIONS/v1/plansets/{PlanSetUID}/status
import java.math.*;
import java.util.*;
import java.io.InputStream;
import net.servicestack.client.*;

public class dtos
{

    public static class PlanSetStatusRequest
    {
        public UUID PlanSetUID = null;
        
        public UUID getPlanSetUID() { return PlanSetUID; }
        public PlanSetStatusRequest setPlanSetUID(UUID value) { this.PlanSetUID = value; return this; }
    }

    public static class PlanSetStatusResponse
    {
        public ResponseStatus ResponseStatus = null;
        public UUID PlanSetUID = null;
        public String Status = null;
        public Integer Progress = null;
        public Integer PageCount = null;
        public Integer SheetCount = null;
        public String ErrorText = null;
        public String StageLabel = null;
        
        public ResponseStatus getResponseStatus() { return ResponseStatus; }
        public PlanSetStatusResponse setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; }
        public UUID getPlanSetUID() { return PlanSetUID; }
        public PlanSetStatusResponse setPlanSetUID(UUID value) { this.PlanSetUID = value; return this; }
        public String getStatus() { return Status; }
        public PlanSetStatusResponse setStatus(String value) { this.Status = value; return this; }
        public Integer getProgress() { return Progress; }
        public PlanSetStatusResponse setProgress(Integer value) { this.Progress = value; return this; }
        public Integer getPageCount() { return PageCount; }
        public PlanSetStatusResponse setPageCount(Integer value) { this.PageCount = value; return this; }
        public Integer getSheetCount() { return SheetCount; }
        public PlanSetStatusResponse setSheetCount(Integer value) { this.SheetCount = value; return this; }
        public String getErrorText() { return ErrorText; }
        public PlanSetStatusResponse setErrorText(String value) { this.ErrorText = value; return this; }
        public String getStageLabel() { return StageLabel; }
        public PlanSetStatusResponse setStageLabel(String value) { this.StageLabel = value; return this; }
    }

}

Java PlanSetStatusRequest 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 /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
}