Trendsic Platform Service

<back to all web services

CoverageRecordRequest

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

public class dtos
{

    public static class CoverageRecordRequest
    {
        public Integer CoverageGapId = null;
        
        public Integer getCoverageGapId() { return CoverageGapId; }
        public CoverageRecordRequest setCoverageGapId(Integer value) { this.CoverageGapId = value; return this; }
    }

    public static class CoverageRecordResponse
    {
        public String RecordNo = null;
        public Date DecidedAtUtc = null;
        public String RecordJson = null;
        public ResponseStatus ResponseStatus = null;
        
        public String getRecordNo() { return RecordNo; }
        public CoverageRecordResponse setRecordNo(String value) { this.RecordNo = value; return this; }
        public Date getDecidedAtUtc() { return DecidedAtUtc; }
        public CoverageRecordResponse setDecidedAtUtc(Date value) { this.DecidedAtUtc = value; return this; }
        public String getRecordJson() { return RecordJson; }
        public CoverageRecordResponse setRecordJson(String value) { this.RecordJson = value; return this; }
        public ResponseStatus getResponseStatus() { return ResponseStatus; }
        public CoverageRecordResponse setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; }
    }

}

Java CoverageRecordRequest 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 /v1/coverage/records/{CoverageGapId} HTTP/1.1 
Host: api.dev.dynamics.trendsic.com 
Accept: text/jsonl
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length

{"RecordNo":"String","DecidedAtUtc":"0001-01-01T00:00:00.0000000","RecordJson":"String","ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}