AlbaApi

<back to all web services

LeaverFormAnswerRequest

The following routes are available for this service:
POST/leaverform/save
import java.math.*;
import java.util.*;
import net.servicestack.client.*;

public class dtos
{

    public static class LeaverFormAnswerRequest
    {
        public Long memberId = null;
        public Boolean isAccumulatedBalanceKept = null;
        public String pensionFund = null;
        public String pensionFundManager = null;
        public String contactDetails = null;
        
        public Long getMemberId() { return memberId; }
        public LeaverFormAnswerRequest setMemberId(Long value) { this.memberId = value; return this; }
        public Boolean getIsAccumulatedBalanceKept() { return isAccumulatedBalanceKept; }
        public LeaverFormAnswerRequest setIsAccumulatedBalanceKept(Boolean value) { this.isAccumulatedBalanceKept = value; return this; }
        public String getPensionFund() { return pensionFund; }
        public LeaverFormAnswerRequest setPensionFund(String value) { this.pensionFund = value; return this; }
        public String getPensionFundManager() { return pensionFundManager; }
        public LeaverFormAnswerRequest setPensionFundManager(String value) { this.pensionFundManager = value; return this; }
        public String getContactDetails() { return contactDetails; }
        public LeaverFormAnswerRequest setContactDetails(String value) { this.contactDetails = value; return this; }
    }

}

Java LeaverFormAnswerRequest DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv

HTTP + JSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /leaverform/save HTTP/1.1 
Host: hcbtas-q-albamfs-api.azurewebsites.net 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	memberId: 0,
	isAccumulatedBalanceKept: False,
	pensionFund: String,
	pensionFundManager: String,
	contactDetails: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

(HttpWebResponse)