| GET | /WorkflowStep/stamp-clerk-candidates |
|---|
import Foundation
import ServiceStack
public class GetStampClerkCandidatesRequest : Codable
{
public var stepId:Int
required public init(){}
}
public class GetStampClerkCandidatesResponse : IResponseRequest, Codable
{
public var code:Int
public var message:String
public var data:[StampClerkOption] = []
required public init(){}
}
public class StampClerkOption : Codable
{
public var id:Int
public var fullName:String
public var departmentName:String
required public init(){}
}
Swift 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>