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 .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

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: application/json
Content-Type: application/json
Content-Length: length

{"memberId":0,"isAccumulatedBalanceKept":false,"pensionFund":"String","pensionFundManager":"String","contactDetails":"String"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

(HttpWebResponse)