Trendsic Platform Service

<back to all web services

SlotDistrictAllRequest

Requires Authentication
Requires any of the roles:Agent, Administrator
The following routes are available for this service:
GET,OPTIONS/v1/SlotDistrictAllRequests/{Agent}
"use strict";
export class SlotDistrictApproval {
    /** @param {{SlotDistrictApprovalID?:number,SlotDistrictID?:number,SchoolID?:number,AgentID?:number,AVPID?:number,Status?:string,DateCreated?:string,DateModified?:string,ModifiedBy?:string}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {number} */
    SlotDistrictApprovalID;
    /** @type {number} */
    SlotDistrictID;
    /** @type {number} */
    SchoolID;
    /** @type {number} */
    AgentID;
    /** @type {number} */
    AVPID;
    /** @type {string} */
    Status;
    /** @type {string} */
    DateCreated;
    /** @type {string} */
    DateModified;
    /** @type {string} */
    ModifiedBy;
}
export class SlotDistrictApprovalExtended extends SlotDistrictApproval {
    /** @param {{AgentName?:string,AVPName?:string,DistrictName?:string,SchoolName?:string,County?:string,State?:string,SlotDistrictApprovalID?:number,SlotDistrictID?:number,SchoolID?:number,AgentID?:number,AVPID?:number,Status?:string,DateCreated?:string,DateModified?:string,ModifiedBy?:string}} [init] */
    constructor(init) { super(init); Object.assign(this, init) }
    /** @type {string} */
    AgentName;
    /** @type {string} */
    AVPName;
    /** @type {string} */
    DistrictName;
    /** @type {string} */
    SchoolName;
    /** @type {string} */
    County;
    /** @type {string} */
    State;
}
export class SlotDistrictApprovalResponse {
    /** @param {{ResponseStatus?:ResponseStatus,SlotDistrictApproval?:SlotDistrictApprovalExtended[]}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {ResponseStatus} */
    ResponseStatus;
    /** @type {SlotDistrictApprovalExtended[]} */
    SlotDistrictApproval = [];
}
export class SlotDistrictAllRequest {
    /** @param {{Agent?:number}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {number} */
    Agent;
}

JavaScript SlotDistrictAllRequest DTOs

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

HTTP + CSV

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

GET /v1/SlotDistrictAllRequests/{Agent} HTTP/1.1 
Host: api.dev.dynamics.trendsic.com 
Accept: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}},"SlotDistrictApproval":[{"AgentName":"String","AVPName":"String","DistrictName":"String","SchoolName":"String","County":"String","State":"String","SlotDistrictApprovalID":0,"SlotDistrictID":0,"SchoolID":0,"AgentID":0,"AVPID":0,"Status":"String","DateCreated":"0001-01-01T00:00:00.0000000","DateModified":"0001-01-01T00:00:00.0000000","ModifiedBy":"00000000000000000000000000000000"}]}