| Requires any of the roles: | Agent, Administrator |
| GET,OPTIONS | /v1/Securities/DateRange/{ParamStartDate}/{ParamEndDate}/{AgentID} | ||
|---|---|---|---|
| GET,OPTIONS | /v1/Securities/DateRange/{ParamStartDate}/{ParamEndDate} |
"use strict";
export class Listing {
/** @param {{ID?:number,LISTINGDATE?:string,LISTINGTDATE?:string,POLICY?:string,OAGENT?:string,INSURED?:string,PREMIUM?:string,PART?:string,AMOUNT?:number,AGENTNM?:string,LISTINGCTYPE?:string,COMPANY?:string,APPROVED?:string,CARDCREDIT?:string,REGION?:string,FPAYOUT?:string,PROMOPTS?:string,APPCNT?:string,PARTPERCENT?:string,GROSS?:number,CITY?:string,STATE?:string,AGENTNO?:string,TYPE?:string,COMMRATE?:string,AgentID?:number,OAgentID?:number,FIELDPAYOUT?:number}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {number} */
ID;
/** @type {string} */
LISTINGDATE;
/** @type {string} */
LISTINGTDATE;
/** @type {string} */
POLICY;
/** @type {string} */
OAGENT;
/** @type {string} */
INSURED;
/** @type {string} */
PREMIUM;
/** @type {string} */
PART;
/** @type {number} */
AMOUNT;
/** @type {string} */
AGENTNM;
/** @type {string} */
LISTINGCTYPE;
/** @type {string} */
COMPANY;
/** @type {string} */
APPROVED;
/** @type {string} */
CARDCREDIT;
/** @type {string} */
REGION;
/** @type {string} */
FPAYOUT;
/** @type {string} */
PROMOPTS;
/** @type {string} */
APPCNT;
/** @type {string} */
PARTPERCENT;
/** @type {number} */
GROSS;
/** @type {string} */
CITY;
/** @type {string} */
STATE;
/** @type {string} */
AGENTNO;
/** @type {string} */
TYPE;
/** @type {string} */
COMMRATE;
/** @type {number} */
AgentID;
/** @type {number} */
OAgentID;
/** @type {number} */
FIELDPAYOUT;
}
export class ListingsResponse {
/** @param {{ResponseStatus?:ResponseStatus,Listings?:Listing[]}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {ResponseStatus} */
ResponseStatus;
/** @type {Listing[]} */
Listings = [];
}
export class SecuritiesListingsRequest {
/** @param {{Listings?:Listing[],AgentID?:number,ParamStartDate?:string,ParamEndDate?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {Listing[]} */
Listings = [];
/** @type {number} */
AgentID;
/** @type {string} */
ParamStartDate;
/** @type {string} */
ParamEndDate;
}
JavaScript SecuritiesListingsRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /v1/Securities/DateRange/{ParamStartDate}/{ParamEndDate}/{AgentID} HTTP/1.1
Host: api.dev.dynamics.trendsic.com
Accept: text/jsonl
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length
{"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}},"Listings":[{"ID":0,"LISTINGDATE":"0001-01-01T00:00:00.0000000","LISTINGTDATE":"0001-01-01T00:00:00.0000000","POLICY":"String","OAGENT":"String","INSURED":"String","PREMIUM":"String","PART":"String","AMOUNT":0,"AGENTNM":"String","LISTINGCTYPE":"String","COMPANY":"String","APPROVED":"String","CARDCREDIT":"String","REGION":"String","FPAYOUT":"String","PROMOPTS":"String","APPCNT":"String","PARTPERCENT":"String","GROSS":0,"CITY":"String","STATE":"String","AGENTNO":"String","TYPE":"String","COMMRATE":"String","AgentID":0,"OAgentID":0,"FIELDPAYOUT":0}]}