tvpl.api

<back to all web services

GetStampClerkCandidatesRequest

Requires Authentication
The following routes are available for this service:
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 .other suffix or ?format=other

HTTP + OTHER

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: text/jsonl
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length

{"code":0,"message":"String","data":[{"id":0,"fullName":"String","departmentName":"String"}]}