Trendsic Platform Service

<back to all web services

CoverageLeaveInterimRequest

Requires Authentication
The following routes are available for this service:
POST/v1/coverage/leave/{CoverageGapId}/interim
import java.math.*;
import java.util.*;
import java.io.InputStream;
import net.servicestack.client.*;

public class dtos
{

    public static class CoverageLeaveInterimRequest
    {
        public Integer CoverageGapId = null;
        public Integer InterimContactId = null;
        public Date InterimStart = null;
        public Date InterimEnd = null;
        public Boolean ConfirmChained = null;
        
        public Integer getCoverageGapId() { return CoverageGapId; }
        public CoverageLeaveInterimRequest setCoverageGapId(Integer value) { this.CoverageGapId = value; return this; }
        public Integer getInterimContactId() { return InterimContactId; }
        public CoverageLeaveInterimRequest setInterimContactId(Integer value) { this.InterimContactId = value; return this; }
        public Date getInterimStart() { return InterimStart; }
        public CoverageLeaveInterimRequest setInterimStart(Date value) { this.InterimStart = value; return this; }
        public Date getInterimEnd() { return InterimEnd; }
        public CoverageLeaveInterimRequest setInterimEnd(Date value) { this.InterimEnd = value; return this; }
        public Boolean isConfirmChained() { return ConfirmChained; }
        public CoverageLeaveInterimRequest setConfirmChained(Boolean value) { this.ConfirmChained = value; return this; }
    }

    public static class CoverageGapResponse
    {
        public CoverageGap Gap = null;
        public Integer ChainedPreview = null;
        public Boolean CanSeePay = null;
        public ResponseStatus ResponseStatus = null;
        
        public CoverageGap getGap() { return Gap; }
        public CoverageGapResponse setGap(CoverageGap value) { this.Gap = value; return this; }
        public Integer getChainedPreview() { return ChainedPreview; }
        public CoverageGapResponse setChainedPreview(Integer value) { this.ChainedPreview = value; return this; }
        public Boolean isCanSeePay() { return CanSeePay; }
        public CoverageGapResponse setCanSeePay(Boolean value) { this.CanSeePay = value; return this; }
        public ResponseStatus getResponseStatus() { return ResponseStatus; }
        public CoverageGapResponse setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; }
    }

    public static class CoverageGap
    {
        public Integer CoverageGapId = null;
        public UUID CoverageGapUID = null;
        public UUID BranchId = null;
        public String Status = null;
        public String Track = null;
        public Integer OutContactID = null;
        public String OutName = null;
        public String OutInitials = null;
        public Integer JobID = null;
        public String JobName = null;
        public Integer ProjectID = null;
        public Integer WorkerScheduleItemID = null;
        public Date WindowStart = null;
        public Date WindowEnd = null;
        public String Reason = null;
        public Boolean MustFill = null;
        public CoverageExplanation MustFillExpl = null;
        public Integer FilledByContactID = null;
        public String FilledByName = null;
        public String RecordNo = null;
        public Integer DecidedPolicyVersionId = null;
        public Date CreatedAt = null;
        public Date UpdatedAt = null;
        public String QualifiedLine = null;
        public ArrayList<CoverageCandidate> Candidates = new ArrayList<CoverageCandidate>();
        public ArrayList<CoverageBlockedCandidate> Blocked = new ArrayList<CoverageBlockedCandidate>();
        public ArrayList<CoverageOfferInfo> Offers = new ArrayList<CoverageOfferInfo>();
        public ArrayList<CoverageApprovalInfo> Approvals = new ArrayList<CoverageApprovalInfo>();
        public ArrayList<CoverageGapEventInfo> Timeline = new ArrayList<CoverageGapEventInfo>();
        public ArrayList<CoverageMoveOption> MoveOptions = new ArrayList<CoverageMoveOption>();
        public CoverageExplanation OrderExpl = null;
        public String AssignmentMode = null;
        public CoverageNoShowState NoShow = null;
        public CoverageLeaveState Leave = null;
        public String CustomerName = null;
        
        public Integer getCoverageGapId() { return CoverageGapId; }
        public CoverageGap setCoverageGapId(Integer value) { this.CoverageGapId = value; return this; }
        public UUID getCoverageGapUID() { return CoverageGapUID; }
        public CoverageGap setCoverageGapUID(UUID value) { this.CoverageGapUID = value; return this; }
        public UUID getBranchId() { return BranchId; }
        public CoverageGap setBranchId(UUID value) { this.BranchId = value; return this; }
        public String getStatus() { return Status; }
        public CoverageGap setStatus(String value) { this.Status = value; return this; }
        public String getTrack() { return Track; }
        public CoverageGap setTrack(String value) { this.Track = value; return this; }
        public Integer getOutContactID() { return OutContactID; }
        public CoverageGap setOutContactID(Integer value) { this.OutContactID = value; return this; }
        public String getOutName() { return OutName; }
        public CoverageGap setOutName(String value) { this.OutName = value; return this; }
        public String getOutInitials() { return OutInitials; }
        public CoverageGap setOutInitials(String value) { this.OutInitials = value; return this; }
        public Integer getJobID() { return JobID; }
        public CoverageGap setJobID(Integer value) { this.JobID = value; return this; }
        public String getJobName() { return JobName; }
        public CoverageGap setJobName(String value) { this.JobName = value; return this; }
        public Integer getProjectID() { return ProjectID; }
        public CoverageGap setProjectID(Integer value) { this.ProjectID = value; return this; }
        public Integer getWorkerScheduleItemID() { return WorkerScheduleItemID; }
        public CoverageGap setWorkerScheduleItemID(Integer value) { this.WorkerScheduleItemID = value; return this; }
        public Date getWindowStart() { return WindowStart; }
        public CoverageGap setWindowStart(Date value) { this.WindowStart = value; return this; }
        public Date getWindowEnd() { return WindowEnd; }
        public CoverageGap setWindowEnd(Date value) { this.WindowEnd = value; return this; }
        public String getReason() { return Reason; }
        public CoverageGap setReason(String value) { this.Reason = value; return this; }
        public Boolean isMustFill() { return MustFill; }
        public CoverageGap setMustFill(Boolean value) { this.MustFill = value; return this; }
        public CoverageExplanation getMustFillExpl() { return MustFillExpl; }
        public CoverageGap setMustFillExpl(CoverageExplanation value) { this.MustFillExpl = value; return this; }
        public Integer getFilledByContactID() { return FilledByContactID; }
        public CoverageGap setFilledByContactID(Integer value) { this.FilledByContactID = value; return this; }
        public String getFilledByName() { return FilledByName; }
        public CoverageGap setFilledByName(String value) { this.FilledByName = value; return this; }
        public String getRecordNo() { return RecordNo; }
        public CoverageGap setRecordNo(String value) { this.RecordNo = value; return this; }
        public Integer getDecidedPolicyVersionId() { return DecidedPolicyVersionId; }
        public CoverageGap setDecidedPolicyVersionId(Integer value) { this.DecidedPolicyVersionId = value; return this; }
        public Date getCreatedAt() { return CreatedAt; }
        public CoverageGap setCreatedAt(Date value) { this.CreatedAt = value; return this; }
        public Date getUpdatedAt() { return UpdatedAt; }
        public CoverageGap setUpdatedAt(Date value) { this.UpdatedAt = value; return this; }
        public String getQualifiedLine() { return QualifiedLine; }
        public CoverageGap setQualifiedLine(String value) { this.QualifiedLine = value; return this; }
        public ArrayList<CoverageCandidate> getCandidates() { return Candidates; }
        public CoverageGap setCandidates(ArrayList<CoverageCandidate> value) { this.Candidates = value; return this; }
        public ArrayList<CoverageBlockedCandidate> getBlocked() { return Blocked; }
        public CoverageGap setBlocked(ArrayList<CoverageBlockedCandidate> value) { this.Blocked = value; return this; }
        public ArrayList<CoverageOfferInfo> getOffers() { return Offers; }
        public CoverageGap setOffers(ArrayList<CoverageOfferInfo> value) { this.Offers = value; return this; }
        public ArrayList<CoverageApprovalInfo> getApprovals() { return Approvals; }
        public CoverageGap setApprovals(ArrayList<CoverageApprovalInfo> value) { this.Approvals = value; return this; }
        public ArrayList<CoverageGapEventInfo> getTimeline() { return Timeline; }
        public CoverageGap setTimeline(ArrayList<CoverageGapEventInfo> value) { this.Timeline = value; return this; }
        public ArrayList<CoverageMoveOption> getMoveOptions() { return MoveOptions; }
        public CoverageGap setMoveOptions(ArrayList<CoverageMoveOption> value) { this.MoveOptions = value; return this; }
        public CoverageExplanation getOrderExpl() { return OrderExpl; }
        public CoverageGap setOrderExpl(CoverageExplanation value) { this.OrderExpl = value; return this; }
        public String getAssignmentMode() { return AssignmentMode; }
        public CoverageGap setAssignmentMode(String value) { this.AssignmentMode = value; return this; }
        public CoverageNoShowState getNoShow() { return NoShow; }
        public CoverageGap setNoShow(CoverageNoShowState value) { this.NoShow = value; return this; }
        public CoverageLeaveState getLeave() { return Leave; }
        public CoverageGap setLeave(CoverageLeaveState value) { this.Leave = value; return this; }
        public String getCustomerName() { return CustomerName; }
        public CoverageGap setCustomerName(String value) { this.CustomerName = value; return this; }
    }

    public static class CoverageExplanation
    {
        public String PlainSentence = null;
        public String RuleId = null;
        public String RuleName = null;
        public String Demand = null;
        public CoverageExplanationSource Source = null;
        public String Kind = null;
        public String WhyItExists = null;
        public String WhatWouldChangeIt = null;
        public CoverageExplanationOverride Override = null;
        public String Drill = null;
        
        public String getPlainSentence() { return PlainSentence; }
        public CoverageExplanation setPlainSentence(String value) { this.PlainSentence = value; return this; }
        public String getRuleId() { return RuleId; }
        public CoverageExplanation setRuleId(String value) { this.RuleId = value; return this; }
        public String getRuleName() { return RuleName; }
        public CoverageExplanation setRuleName(String value) { this.RuleName = value; return this; }
        public String getDemand() { return Demand; }
        public CoverageExplanation setDemand(String value) { this.Demand = value; return this; }
        public CoverageExplanationSource getSource() { return Source; }
        public CoverageExplanation setSource(CoverageExplanationSource value) { this.Source = value; return this; }
        public String getKind() { return Kind; }
        public CoverageExplanation setKind(String value) { this.Kind = value; return this; }
        public String getWhyItExists() { return WhyItExists; }
        public CoverageExplanation setWhyItExists(String value) { this.WhyItExists = value; return this; }
        public String getWhatWouldChangeIt() { return WhatWouldChangeIt; }
        public CoverageExplanation setWhatWouldChangeIt(String value) { this.WhatWouldChangeIt = value; return this; }
        public CoverageExplanationOverride getOverride() { return Override; }
        public CoverageExplanation setOverride(CoverageExplanationOverride value) { this.Override = value; return this; }
        public String getDrill() { return Drill; }
        public CoverageExplanation setDrill(String value) { this.Drill = value; return this; }
    }

    public static class CoverageExplanationSource
    {
        public String PolicyName = null;
        public String CascadeLevel = null;
        
        public String getPolicyName() { return PolicyName; }
        public CoverageExplanationSource setPolicyName(String value) { this.PolicyName = value; return this; }
        public String getCascadeLevel() { return CascadeLevel; }
        public CoverageExplanationSource setCascadeLevel(String value) { this.CascadeLevel = value; return this; }
    }

    public static class CoverageExplanationOverride
    {
        public String Who = null;
        public String Consequence = null;
        
        public String getWho() { return Who; }
        public CoverageExplanationOverride setWho(String value) { this.Who = value; return this; }
        public String getConsequence() { return Consequence; }
        public CoverageExplanationOverride setConsequence(String value) { this.Consequence = value; return this; }
    }

    public static class CoverageCandidate
    {
        public Integer ContactId = null;
        public String Name = null;
        public String FirstName = null;
        public String Initials = null;
        public Integer Rank = null;
        public String DiffLine = null;
        public String CostLine = null;
        public String CostTone = null;
        public CoverageExplanation RankExpl = null;
        public BigDecimal MarginPct = null;
        public String MarginTone = null;
        public BigDecimal Loaded = null;
        public BigDecimal Billed = null;
        public BigDecimal OtHours = null;
        public BigDecimal OtPremium = null;
        public ArrayList<CoverageCandidateCheck> Checks = new ArrayList<CoverageCandidateCheck>();
        public ArrayList<CoverageEffect> Preview = new ArrayList<CoverageEffect>();
        public ArrayList<CoverageEffect> Confirm = new ArrayList<CoverageEffect>();
        public Boolean HasWarn = null;
        
        public Integer getContactId() { return ContactId; }
        public CoverageCandidate setContactId(Integer value) { this.ContactId = value; return this; }
        public String getName() { return Name; }
        public CoverageCandidate setName(String value) { this.Name = value; return this; }
        public String getFirstName() { return FirstName; }
        public CoverageCandidate setFirstName(String value) { this.FirstName = value; return this; }
        public String getInitials() { return Initials; }
        public CoverageCandidate setInitials(String value) { this.Initials = value; return this; }
        public Integer getRank() { return Rank; }
        public CoverageCandidate setRank(Integer value) { this.Rank = value; return this; }
        public String getDiffLine() { return DiffLine; }
        public CoverageCandidate setDiffLine(String value) { this.DiffLine = value; return this; }
        public String getCostLine() { return CostLine; }
        public CoverageCandidate setCostLine(String value) { this.CostLine = value; return this; }
        public String getCostTone() { return CostTone; }
        public CoverageCandidate setCostTone(String value) { this.CostTone = value; return this; }
        public CoverageExplanation getRankExpl() { return RankExpl; }
        public CoverageCandidate setRankExpl(CoverageExplanation value) { this.RankExpl = value; return this; }
        public BigDecimal getMarginPct() { return MarginPct; }
        public CoverageCandidate setMarginPct(BigDecimal value) { this.MarginPct = value; return this; }
        public String getMarginTone() { return MarginTone; }
        public CoverageCandidate setMarginTone(String value) { this.MarginTone = value; return this; }
        public BigDecimal getLoaded() { return Loaded; }
        public CoverageCandidate setLoaded(BigDecimal value) { this.Loaded = value; return this; }
        public BigDecimal getBilled() { return Billed; }
        public CoverageCandidate setBilled(BigDecimal value) { this.Billed = value; return this; }
        public BigDecimal getOtHours() { return OtHours; }
        public CoverageCandidate setOtHours(BigDecimal value) { this.OtHours = value; return this; }
        public BigDecimal getOtPremium() { return OtPremium; }
        public CoverageCandidate setOtPremium(BigDecimal value) { this.OtPremium = value; return this; }
        public ArrayList<CoverageCandidateCheck> getChecks() { return Checks; }
        public CoverageCandidate setChecks(ArrayList<CoverageCandidateCheck> value) { this.Checks = value; return this; }
        public ArrayList<CoverageEffect> getPreview() { return Preview; }
        public CoverageCandidate setPreview(ArrayList<CoverageEffect> value) { this.Preview = value; return this; }
        public ArrayList<CoverageEffect> getConfirm() { return Confirm; }
        public CoverageCandidate setConfirm(ArrayList<CoverageEffect> value) { this.Confirm = value; return this; }
        public Boolean isHasWarn() { return HasWarn; }
        public CoverageCandidate setHasWarn(Boolean value) { this.HasWarn = value; return this; }
    }

    public static class CoverageCandidateCheck
    {
        public String CheckId = null;
        public String Result = null;
        public CoverageExplanation Expl = null;
        
        public String getCheckId() { return CheckId; }
        public CoverageCandidateCheck setCheckId(String value) { this.CheckId = value; return this; }
        public String getResult() { return Result; }
        public CoverageCandidateCheck setResult(String value) { this.Result = value; return this; }
        public CoverageExplanation getExpl() { return Expl; }
        public CoverageCandidateCheck setExpl(CoverageExplanation value) { this.Expl = value; return this; }
    }

    public static class CoverageEffect
    {
        public String Icon = null;
        public String Text = null;
        public String RuleId = null;
        public CoverageExplanation Expl = null;
        
        public String getIcon() { return Icon; }
        public CoverageEffect setIcon(String value) { this.Icon = value; return this; }
        public String getText() { return Text; }
        public CoverageEffect setText(String value) { this.Text = value; return this; }
        public String getRuleId() { return RuleId; }
        public CoverageEffect setRuleId(String value) { this.RuleId = value; return this; }
        public CoverageExplanation getExpl() { return Expl; }
        public CoverageEffect setExpl(CoverageExplanation value) { this.Expl = value; return this; }
    }

    public static class CoverageBlockedCandidate
    {
        public Integer ContactId = null;
        public String Name = null;
        public String Initials = null;
        public String Reason = null;
        public String ChangeChip = null;
        public CoverageExplanation Expl = null;
        
        public Integer getContactId() { return ContactId; }
        public CoverageBlockedCandidate setContactId(Integer value) { this.ContactId = value; return this; }
        public String getName() { return Name; }
        public CoverageBlockedCandidate setName(String value) { this.Name = value; return this; }
        public String getInitials() { return Initials; }
        public CoverageBlockedCandidate setInitials(String value) { this.Initials = value; return this; }
        public String getReason() { return Reason; }
        public CoverageBlockedCandidate setReason(String value) { this.Reason = value; return this; }
        public String getChangeChip() { return ChangeChip; }
        public CoverageBlockedCandidate setChangeChip(String value) { this.ChangeChip = value; return this; }
        public CoverageExplanation getExpl() { return Expl; }
        public CoverageBlockedCandidate setExpl(CoverageExplanation value) { this.Expl = value; return this; }
    }

    public static class CoverageOfferInfo
    {
        public Integer CoverageOfferId = null;
        public Integer ContactId = null;
        public String Name = null;
        public Integer Ring = null;
        public String Channel = null;
        public String Status = null;
        public Date SentAtUtc = null;
        public Date RespondedAtUtc = null;
        
        public Integer getCoverageOfferId() { return CoverageOfferId; }
        public CoverageOfferInfo setCoverageOfferId(Integer value) { this.CoverageOfferId = value; return this; }
        public Integer getContactId() { return ContactId; }
        public CoverageOfferInfo setContactId(Integer value) { this.ContactId = value; return this; }
        public String getName() { return Name; }
        public CoverageOfferInfo setName(String value) { this.Name = value; return this; }
        public Integer getRing() { return Ring; }
        public CoverageOfferInfo setRing(Integer value) { this.Ring = value; return this; }
        public String getChannel() { return Channel; }
        public CoverageOfferInfo setChannel(String value) { this.Channel = value; return this; }
        public String getStatus() { return Status; }
        public CoverageOfferInfo setStatus(String value) { this.Status = value; return this; }
        public Date getSentAtUtc() { return SentAtUtc; }
        public CoverageOfferInfo setSentAtUtc(Date value) { this.SentAtUtc = value; return this; }
        public Date getRespondedAtUtc() { return RespondedAtUtc; }
        public CoverageOfferInfo setRespondedAtUtc(Date value) { this.RespondedAtUtc = value; return this; }
    }

    public static class CoverageApprovalInfo
    {
        public Integer CoverageApprovalId = null;
        public Integer CoverageGapId = null;
        public String Type = null;
        public String Status = null;
        public Date RequestedAtUtc = null;
        public ArrayList<CoverageEffect> Effects = new ArrayList<CoverageEffect>();
        public Integer ContactId = null;
        public String ContactName = null;
        public Date DecidedAtUtc = null;
        public String DecisionNote = null;
        
        public Integer getCoverageApprovalId() { return CoverageApprovalId; }
        public CoverageApprovalInfo setCoverageApprovalId(Integer value) { this.CoverageApprovalId = value; return this; }
        public Integer getCoverageGapId() { return CoverageGapId; }
        public CoverageApprovalInfo setCoverageGapId(Integer value) { this.CoverageGapId = value; return this; }
        public String getType() { return Type; }
        public CoverageApprovalInfo setType(String value) { this.Type = value; return this; }
        public String getStatus() { return Status; }
        public CoverageApprovalInfo setStatus(String value) { this.Status = value; return this; }
        public Date getRequestedAtUtc() { return RequestedAtUtc; }
        public CoverageApprovalInfo setRequestedAtUtc(Date value) { this.RequestedAtUtc = value; return this; }
        public ArrayList<CoverageEffect> getEffects() { return Effects; }
        public CoverageApprovalInfo setEffects(ArrayList<CoverageEffect> value) { this.Effects = value; return this; }
        public Integer getContactId() { return ContactId; }
        public CoverageApprovalInfo setContactId(Integer value) { this.ContactId = value; return this; }
        public String getContactName() { return ContactName; }
        public CoverageApprovalInfo setContactName(String value) { this.ContactName = value; return this; }
        public Date getDecidedAtUtc() { return DecidedAtUtc; }
        public CoverageApprovalInfo setDecidedAtUtc(Date value) { this.DecidedAtUtc = value; return this; }
        public String getDecisionNote() { return DecisionNote; }
        public CoverageApprovalInfo setDecisionNote(String value) { this.DecisionNote = value; return this; }
    }

    public static class CoverageGapEventInfo
    {
        public String EventType = null;
        public String Channel = null;
        public String Detail = null;
        public String ContactName = null;
        public Date AtUtc = null;
        
        public String getEventType() { return EventType; }
        public CoverageGapEventInfo setEventType(String value) { this.EventType = value; return this; }
        public String getChannel() { return Channel; }
        public CoverageGapEventInfo setChannel(String value) { this.Channel = value; return this; }
        public String getDetail() { return Detail; }
        public CoverageGapEventInfo setDetail(String value) { this.Detail = value; return this; }
        public String getContactName() { return ContactName; }
        public CoverageGapEventInfo setContactName(String value) { this.ContactName = value; return this; }
        public Date getAtUtc() { return AtUtc; }
        public CoverageGapEventInfo setAtUtc(Date value) { this.AtUtc = value; return this; }
    }

    public static class CoverageMoveOption
    {
        public String Key = null;
        public String Label = null;
        public String Detail = null;
        public CoverageExplanation Expl = null;
        
        public String getKey() { return Key; }
        public CoverageMoveOption setKey(String value) { this.Key = value; return this; }
        public String getLabel() { return Label; }
        public CoverageMoveOption setLabel(String value) { this.Label = value; return this; }
        public String getDetail() { return Detail; }
        public CoverageMoveOption setDetail(String value) { this.Detail = value; return this; }
        public CoverageExplanation getExpl() { return Expl; }
        public CoverageMoveOption setExpl(CoverageExplanation value) { this.Expl = value; return this; }
    }

    public static class CoverageNoShowState
    {
        public Date GraceUntilUtc = null;
        public ArrayList<CoverageNoShowAttempt> Attempts = new ArrayList<CoverageNoShowAttempt>();
        public Date DeclaredAtUtc = null;
        public Boolean AttendanceNote = null;
        public Boolean FalseAlarm = null;
        
        public Date getGraceUntilUtc() { return GraceUntilUtc; }
        public CoverageNoShowState setGraceUntilUtc(Date value) { this.GraceUntilUtc = value; return this; }
        public ArrayList<CoverageNoShowAttempt> getAttempts() { return Attempts; }
        public CoverageNoShowState setAttempts(ArrayList<CoverageNoShowAttempt> value) { this.Attempts = value; return this; }
        public Date getDeclaredAtUtc() { return DeclaredAtUtc; }
        public CoverageNoShowState setDeclaredAtUtc(Date value) { this.DeclaredAtUtc = value; return this; }
        public Boolean isAttendanceNote() { return AttendanceNote; }
        public CoverageNoShowState setAttendanceNote(Boolean value) { this.AttendanceNote = value; return this; }
        public Boolean isFalseAlarm() { return FalseAlarm; }
        public CoverageNoShowState setFalseAlarm(Boolean value) { this.FalseAlarm = value; return this; }
    }

    public static class CoverageNoShowAttempt
    {
        public Date AtUtc = null;
        public String Channel = null;
        public String Note = null;
        
        public Date getAtUtc() { return AtUtc; }
        public CoverageNoShowAttempt setAtUtc(Date value) { this.AtUtc = value; return this; }
        public String getChannel() { return Channel; }
        public CoverageNoShowAttempt setChannel(String value) { this.Channel = value; return this; }
        public String getNote() { return Note; }
        public CoverageNoShowAttempt setNote(String value) { this.Note = value; return this; }
    }

    public static class CoverageLeaveState
    {
        public Boolean Fmla = null;
        public Date Began = null;
        public Date EstReturn = null;
        public Integer CheckpointDays = null;
        public Date NextCheckpointUtc = null;
        public ArrayList<CoverageLeaveCheckpoint> Checkpoints = new ArrayList<CoverageLeaveCheckpoint>();
        public Integer InterimContactId = null;
        public String InterimName = null;
        public Date InterimStart = null;
        public Date InterimEnd = null;
        public Boolean RequisitionOpened = null;
        public Integer StaffPostingId = null;
        public ArrayList<Integer> ChainedGapIds = new ArrayList<Integer>();
        public Integer ParentLeaveGapId = null;
        public Date RestoredAtUtc = null;
        
        public Boolean isFmla() { return Fmla; }
        public CoverageLeaveState setFmla(Boolean value) { this.Fmla = value; return this; }
        public Date getBegan() { return Began; }
        public CoverageLeaveState setBegan(Date value) { this.Began = value; return this; }
        public Date getEstReturn() { return EstReturn; }
        public CoverageLeaveState setEstReturn(Date value) { this.EstReturn = value; return this; }
        public Integer getCheckpointDays() { return CheckpointDays; }
        public CoverageLeaveState setCheckpointDays(Integer value) { this.CheckpointDays = value; return this; }
        public Date getNextCheckpointUtc() { return NextCheckpointUtc; }
        public CoverageLeaveState setNextCheckpointUtc(Date value) { this.NextCheckpointUtc = value; return this; }
        public ArrayList<CoverageLeaveCheckpoint> getCheckpoints() { return Checkpoints; }
        public CoverageLeaveState setCheckpoints(ArrayList<CoverageLeaveCheckpoint> value) { this.Checkpoints = value; return this; }
        public Integer getInterimContactId() { return InterimContactId; }
        public CoverageLeaveState setInterimContactId(Integer value) { this.InterimContactId = value; return this; }
        public String getInterimName() { return InterimName; }
        public CoverageLeaveState setInterimName(String value) { this.InterimName = value; return this; }
        public Date getInterimStart() { return InterimStart; }
        public CoverageLeaveState setInterimStart(Date value) { this.InterimStart = value; return this; }
        public Date getInterimEnd() { return InterimEnd; }
        public CoverageLeaveState setInterimEnd(Date value) { this.InterimEnd = value; return this; }
        public Boolean isRequisitionOpened() { return RequisitionOpened; }
        public CoverageLeaveState setRequisitionOpened(Boolean value) { this.RequisitionOpened = value; return this; }
        public Integer getStaffPostingId() { return StaffPostingId; }
        public CoverageLeaveState setStaffPostingId(Integer value) { this.StaffPostingId = value; return this; }
        public ArrayList<Integer> getChainedGapIds() { return ChainedGapIds; }
        public CoverageLeaveState setChainedGapIds(ArrayList<Integer> value) { this.ChainedGapIds = value; return this; }
        public Integer getParentLeaveGapId() { return ParentLeaveGapId; }
        public CoverageLeaveState setParentLeaveGapId(Integer value) { this.ParentLeaveGapId = value; return this; }
        public Date getRestoredAtUtc() { return RestoredAtUtc; }
        public CoverageLeaveState setRestoredAtUtc(Date value) { this.RestoredAtUtc = value; return this; }
    }

    public static class CoverageLeaveCheckpoint
    {
        public Date AtUtc = null;
        public String Note = null;
        public String ByName = null;
        
        public Date getAtUtc() { return AtUtc; }
        public CoverageLeaveCheckpoint setAtUtc(Date value) { this.AtUtc = value; return this; }
        public String getNote() { return Note; }
        public CoverageLeaveCheckpoint setNote(String value) { this.Note = value; return this; }
        public String getByName() { return ByName; }
        public CoverageLeaveCheckpoint setByName(String value) { this.ByName = value; return this; }
    }

}

Java CoverageLeaveInterimRequest 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 /v1/coverage/leave/{CoverageGapId}/interim HTTP/1.1 
Host: api.dev.dynamics.trendsic.com 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	CoverageGapId: 0,
	InterimContactId: 0,
	InterimStart: 0001-01-01,
	InterimEnd: 0001-01-01,
	ConfirmChained: False
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	Gap: 
	{
		CoverageGapId: 0,
		CoverageGapUID: 00000000000000000000000000000000,
		BranchId: 00000000000000000000000000000000,
		Status: String,
		Track: String,
		OutContactID: 0,
		OutName: String,
		OutInitials: String,
		JobID: 0,
		JobName: String,
		ProjectID: 0,
		WorkerScheduleItemID: 0,
		WindowStart: 0001-01-01,
		WindowEnd: 0001-01-01,
		Reason: String,
		MustFill: False,
		MustFillExpl: 
		{
			PlainSentence: String,
			RuleId: String,
			RuleName: String,
			Demand: String,
			Source: 
			{
				PolicyName: String,
				CascadeLevel: String
			},
			Kind: String,
			WhyItExists: String,
			WhatWouldChangeIt: String,
			Override: 
			{
				Who: String,
				Consequence: String
			},
			Drill: String
		},
		FilledByContactID: 0,
		FilledByName: String,
		RecordNo: String,
		DecidedPolicyVersionId: 0,
		CreatedAt: 0001-01-01,
		UpdatedAt: 0001-01-01,
		QualifiedLine: String,
		Candidates: 
		[
			{
				ContactId: 0,
				Name: String,
				FirstName: String,
				Initials: String,
				Rank: 0,
				DiffLine: String,
				CostLine: String,
				CostTone: String,
				RankExpl: 
				{
					PlainSentence: String,
					RuleId: String,
					RuleName: String,
					Demand: String,
					Source: 
					{
						PolicyName: String,
						CascadeLevel: String
					},
					Kind: String,
					WhyItExists: String,
					WhatWouldChangeIt: String,
					Override: 
					{
						Who: String,
						Consequence: String
					},
					Drill: String
				},
				MarginPct: 0,
				MarginTone: String,
				Loaded: 0,
				Billed: 0,
				OtHours: 0,
				OtPremium: 0,
				Checks: 
				[
					{
						CheckId: String,
						Result: String,
						Expl: 
						{
							PlainSentence: String,
							RuleId: String,
							RuleName: String,
							Demand: String,
							Source: 
							{
								PolicyName: String,
								CascadeLevel: String
							},
							Kind: String,
							WhyItExists: String,
							WhatWouldChangeIt: String,
							Override: 
							{
								Who: String,
								Consequence: String
							},
							Drill: String
						}
					}
				],
				Preview: 
				[
					{
						Icon: String,
						Text: String,
						RuleId: String,
						Expl: 
						{
							PlainSentence: String,
							RuleId: String,
							RuleName: String,
							Demand: String,
							Source: 
							{
								PolicyName: String,
								CascadeLevel: String
							},
							Kind: String,
							WhyItExists: String,
							WhatWouldChangeIt: String,
							Override: 
							{
								Who: String,
								Consequence: String
							},
							Drill: String
						}
					}
				],
				Confirm: 
				[
					{
						Icon: String,
						Text: String,
						RuleId: String,
						Expl: 
						{
							PlainSentence: String,
							RuleId: String,
							RuleName: String,
							Demand: String,
							Source: 
							{
								PolicyName: String,
								CascadeLevel: String
							},
							Kind: String,
							WhyItExists: String,
							WhatWouldChangeIt: String,
							Override: 
							{
								Who: String,
								Consequence: String
							},
							Drill: String
						}
					}
				],
				HasWarn: False
			}
		],
		Blocked: 
		[
			{
				ContactId: 0,
				Name: String,
				Initials: String,
				Reason: String,
				ChangeChip: String,
				Expl: 
				{
					PlainSentence: String,
					RuleId: String,
					RuleName: String,
					Demand: String,
					Source: 
					{
						PolicyName: String,
						CascadeLevel: String
					},
					Kind: String,
					WhyItExists: String,
					WhatWouldChangeIt: String,
					Override: 
					{
						Who: String,
						Consequence: String
					},
					Drill: String
				}
			}
		],
		Offers: 
		[
			{
				CoverageOfferId: 0,
				ContactId: 0,
				Name: String,
				Ring: 0,
				Channel: String,
				Status: String,
				SentAtUtc: 0001-01-01,
				RespondedAtUtc: 0001-01-01
			}
		],
		Approvals: 
		[
			{
				CoverageApprovalId: 0,
				CoverageGapId: 0,
				Type: String,
				Status: String,
				RequestedAtUtc: 0001-01-01,
				Effects: 
				[
					{
						Icon: String,
						Text: String,
						RuleId: String,
						Expl: 
						{
							PlainSentence: String,
							RuleId: String,
							RuleName: String,
							Demand: String,
							Source: 
							{
								PolicyName: String,
								CascadeLevel: String
							},
							Kind: String,
							WhyItExists: String,
							WhatWouldChangeIt: String,
							Override: 
							{
								Who: String,
								Consequence: String
							},
							Drill: String
						}
					}
				],
				ContactId: 0,
				ContactName: String,
				DecidedAtUtc: 0001-01-01,
				DecisionNote: String
			}
		],
		Timeline: 
		[
			{
				EventType: String,
				Channel: String,
				Detail: String,
				ContactName: String,
				AtUtc: 0001-01-01
			}
		],
		MoveOptions: 
		[
			{
				Key: String,
				Label: String,
				Detail: String,
				Expl: 
				{
					PlainSentence: String,
					RuleId: String,
					RuleName: String,
					Demand: String,
					Source: 
					{
						PolicyName: String,
						CascadeLevel: String
					},
					Kind: String,
					WhyItExists: String,
					WhatWouldChangeIt: String,
					Override: 
					{
						Who: String,
						Consequence: String
					},
					Drill: String
				}
			}
		],
		OrderExpl: 
		{
			PlainSentence: String,
			RuleId: String,
			RuleName: String,
			Demand: String,
			Source: 
			{
				PolicyName: String,
				CascadeLevel: String
			},
			Kind: String,
			WhyItExists: String,
			WhatWouldChangeIt: String,
			Override: 
			{
				Who: String,
				Consequence: String
			},
			Drill: String
		},
		AssignmentMode: String,
		NoShow: 
		{
			GraceUntilUtc: 0001-01-01,
			Attempts: 
			[
				{
					AtUtc: 0001-01-01,
					Channel: String,
					Note: String
				}
			],
			DeclaredAtUtc: 0001-01-01,
			AttendanceNote: False,
			FalseAlarm: False
		},
		Leave: 
		{
			Fmla: False,
			Began: 0001-01-01,
			EstReturn: 0001-01-01,
			CheckpointDays: 0,
			NextCheckpointUtc: 0001-01-01,
			Checkpoints: 
			[
				{
					AtUtc: 0001-01-01,
					Note: String,
					ByName: String
				}
			],
			InterimContactId: 0,
			InterimName: String,
			InterimStart: 0001-01-01,
			InterimEnd: 0001-01-01,
			RequisitionOpened: False,
			StaffPostingId: 0,
			ChainedGapIds: 
			[
				0
			],
			ParentLeaveGapId: 0,
			RestoredAtUtc: 0001-01-01
		},
		CustomerName: String
	},
	ChainedPreview: 0,
	CanSeePay: False,
	ResponseStatus: 
	{
		ErrorCode: String,
		Message: String,
		StackTrace: String,
		Errors: 
		[
			{
				ErrorCode: String,
				FieldName: String,
				Message: String,
				Meta: 
				{
					String: String
				}
			}
		],
		Meta: 
		{
			String: String
		}
	}
}