| GET | /WorkflowStep/stamp-clerk-candidates |
|---|
import java.math.*;
import java.util.*;
import net.servicestack.client.*;
public class dtos
{
public static class GetStampClerkCandidatesRequest
{
public Integer stepId = null;
public Integer getStepId() { return stepId; }
public GetStampClerkCandidatesRequest setStepId(Integer value) { this.stepId = value; return this; }
}
public static class GetStampClerkCandidatesResponse implements IResponseRequest
{
public Integer code = null;
public String message = null;
public ArrayList<StampClerkOption> data = null;
public Integer getCode() { return code; }
public GetStampClerkCandidatesResponse setCode(Integer value) { this.code = value; return this; }
public String getMessage() { return message; }
public GetStampClerkCandidatesResponse setMessage(String value) { this.message = value; return this; }
public ArrayList<StampClerkOption> getData() { return data; }
public GetStampClerkCandidatesResponse setData(ArrayList<StampClerkOption> value) { this.data = value; return this; }
}
public static class StampClerkOption
{
public Integer id = null;
public String fullName = null;
public String departmentName = null;
public Integer getId() { return id; }
public StampClerkOption setId(Integer value) { this.id = value; return this; }
public String getFullName() { return fullName; }
public StampClerkOption setFullName(String value) { this.fullName = value; return this; }
public String getDepartmentName() { return departmentName; }
public StampClerkOption setDepartmentName(String value) { this.departmentName = value; return this; }
}
}
Java GetStampClerkCandidatesRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /WorkflowStep/stamp-clerk-candidates HTTP/1.1 Host: etc-api.vsmlab.vn Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"code":0,"message":"String","data":[{"id":0,"fullName":"String","departmentName":"String"}]}