| Requires any of the roles: | Agent, Administrator, Agent, Administrator |
| GET | /v1/SlotDistrictAgent/{AVPID} | ||
|---|---|---|---|
| DELETE,OPTIONS | /v1/SlotDistrictAgent/{SlotDistrictID}/{AgentID}/{SchoolID} |
"use strict";
export class SlotDistrictAgent {
/** @param {{SlotDistrictID?:number,AgentID?:number,SchoolID?:number,AgentName?:string,DistrictName?:string,SchoolName?:string,County?:string,State?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {number} */
SlotDistrictID;
/** @type {number} */
AgentID;
/** @type {number} */
SchoolID;
/** @type {string} */
AgentName;
/** @type {string} */
DistrictName;
/** @type {string} */
SchoolName;
/** @type {string} */
County;
/** @type {string} */
State;
}
export class SlotDistrictAgentResponse {
/** @param {{ResponseStatus?:ResponseStatus,Success?:boolean,SlotDistrictAgent?:SlotDistrictAgent[]}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {ResponseStatus} */
ResponseStatus;
/** @type {boolean} */
Success;
/** @type {SlotDistrictAgent[]} */
SlotDistrictAgent = [];
}
export class SlotDistrictAgentRequest {
/** @param {{AVPID?:number,SlotDistrictID?:number,AgentID?:number,SchoolID?:number}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {number} */
AVPID;
/** @type {number} */
SlotDistrictID;
/** @type {number} */
AgentID;
/** @type {number} */
SchoolID;
}
JavaScript SlotDistrictAgentRequest 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/SlotDistrictAgent/{AVPID} 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"}},"Success":false,"SlotDistrictAgent":[{"SlotDistrictID":0,"AgentID":0,"SchoolID":0,"AgentName":"String","DistrictName":"String","SchoolName":"String","County":"String","State":"String"}]}