| 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 .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/stamp-clerk-candidates HTTP/1.1 Host: etc-api.vsmlab.vn Accept: application/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<GetStampClerkCandidatesResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/tvpl.api.ServiceModel">
<Code>0</Code>
<Data>
<StampClerkOption>
<DepartmentName>String</DepartmentName>
<FullName>String</FullName>
<Id>0</Id>
</StampClerkOption>
</Data>
<Message>String</Message>
</GetStampClerkCandidatesResponse>