| GET | /WorkflowStep/profile |
|---|
import java.math.*;
import java.util.*;
import net.servicestack.client.*;
public class dtos
{
public static class GetWorkflowProfileRequest
{
public Integer workflowId = null;
public Integer getWorkflowId() { return workflowId; }
public GetWorkflowProfileRequest setWorkflowId(Integer value) { this.workflowId = value; return this; }
}
public static class GetWorkflowProfileResponse implements IResponseRequest
{
public Integer code = null;
public String message = null;
public ArrayList<WorkflowProfileItem> data = null;
public Integer getCode() { return code; }
public GetWorkflowProfileResponse setCode(Integer value) { this.code = value; return this; }
public String getMessage() { return message; }
public GetWorkflowProfileResponse setMessage(String value) { this.message = value; return this; }
public ArrayList<WorkflowProfileItem> getData() { return data; }
public GetWorkflowProfileResponse setData(ArrayList<WorkflowProfileItem> value) { this.data = value; return this; }
}
public static class WorkflowProfileItem
{
public Integer fileId = null;
public String title = null;
public String documentCode = null;
public String fileKey = null;
public String fileUrl = null;
public Date updatedAt = null;
public String stepTitle = null;
public Integer getFileId() { return fileId; }
public WorkflowProfileItem setFileId(Integer value) { this.fileId = value; return this; }
public String getTitle() { return title; }
public WorkflowProfileItem setTitle(String value) { this.title = value; return this; }
public String getDocumentCode() { return documentCode; }
public WorkflowProfileItem setDocumentCode(String value) { this.documentCode = value; return this; }
public String getFileKey() { return fileKey; }
public WorkflowProfileItem setFileKey(String value) { this.fileKey = value; return this; }
public String getFileUrl() { return fileUrl; }
public WorkflowProfileItem setFileUrl(String value) { this.fileUrl = value; return this; }
public Date getUpdatedAt() { return updatedAt; }
public WorkflowProfileItem setUpdatedAt(Date value) { this.updatedAt = value; return this; }
public String getStepTitle() { return stepTitle; }
public WorkflowProfileItem setStepTitle(String value) { this.stepTitle = value; return this; }
}
}
Java GetWorkflowProfileRequest 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 /WorkflowStep/profile HTTP/1.1 Host: etc-api.vsmlab.vn Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
code: 0,
message: String,
data:
[
{
fileId: 0,
title: String,
documentCode: String,
fileKey: String,
fileUrl: String,
updatedAt: "0001-01-01T00:00:00.0000000+07:06",
stepTitle: String
}
]
}