| Requires any of the roles: | Agent, Administrator |
| GET,OPTIONS | /v1/SlotDistrictApprovalAwaiting |
|---|
"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 SlotDistrictApprovalAwaitingRequest {
constructor(init) { Object.assign(this, init) }
}
JavaScript SlotDistrictApprovalAwaitingRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /v1/SlotDistrictApprovalAwaiting HTTP/1.1 Host: api.dev.dynamics.trendsic.com Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
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"}]}