| 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 .xml suffix or ?format=xml
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: application/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<GetWorkflowProfileResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/tvpl.api.ServiceModel">
<Code>0</Code>
<Data>
<WorkflowProfileItem>
<DocumentCode>String</DocumentCode>
<FileId>0</FileId>
<FileKey>String</FileKey>
<FileUrl>String</FileUrl>
<StepTitle>String</StepTitle>
<Title>String</Title>
<UpdatedAt>0001-01-01T00:00:00</UpdatedAt>
</WorkflowProfileItem>
</Data>
<Message>String</Message>
</GetWorkflowProfileResponse>