Trendsic Platform Service

<back to all web services

SlotDistrictApprovalAwaitingRequest

Requires Authentication
Requires any of the roles:Agent, Administrator
The following routes are available for this service:
GET,OPTIONS/v1/SlotDistrictApprovalAwaiting
import java.math.*;
import java.util.*;
import java.io.InputStream;
import net.servicestack.client.*;

public class dtos
{

    public static class SlotDistrictApprovalAwaitingRequest
    {
        
    }

    public static class SlotDistrictApprovalResponse
    {
        public ResponseStatus ResponseStatus = null;
        public ArrayList<SlotDistrictApprovalExtended> SlotDistrictApproval = new ArrayList<SlotDistrictApprovalExtended>();
        
        public ResponseStatus getResponseStatus() { return ResponseStatus; }
        public SlotDistrictApprovalResponse setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; }
        public ArrayList<SlotDistrictApprovalExtended> getSlotDistrictApproval() { return SlotDistrictApproval; }
        public SlotDistrictApprovalResponse setSlotDistrictApproval(ArrayList<SlotDistrictApprovalExtended> value) { this.SlotDistrictApproval = value; return this; }
    }

    public static class SlotDistrictApprovalExtended extends SlotDistrictApproval
    {
        public String AgentName = null;
        public String AVPName = null;
        public String DistrictName = null;
        public String SchoolName = null;
        public String County = null;
        public String State = null;
        
        public String getAgentName() { return AgentName; }
        public SlotDistrictApprovalExtended setAgentName(String value) { this.AgentName = value; return this; }
        public String getAvpName() { return AVPName; }
        public SlotDistrictApprovalExtended setAvpName(String value) { this.AVPName = value; return this; }
        public String getDistrictName() { return DistrictName; }
        public SlotDistrictApprovalExtended setDistrictName(String value) { this.DistrictName = value; return this; }
        public String getSchoolName() { return SchoolName; }
        public SlotDistrictApprovalExtended setSchoolName(String value) { this.SchoolName = value; return this; }
        public String getCounty() { return County; }
        public SlotDistrictApprovalExtended setCounty(String value) { this.County = value; return this; }
        public String getState() { return State; }
        public SlotDistrictApprovalExtended setState(String value) { this.State = value; return this; }
    }

    public static class SlotDistrictApproval
    {
        public Integer SlotDistrictApprovalID = null;
        public Integer SlotDistrictID = null;
        public Long SchoolID = null;
        public Integer AgentID = null;
        public Integer AVPID = null;
        public String Status = null;
        public Date DateCreated = null;
        public Date DateModified = null;
        public UUID ModifiedBy = null;
        
        public Integer getSlotDistrictApprovalID() { return SlotDistrictApprovalID; }
        public SlotDistrictApproval setSlotDistrictApprovalID(Integer value) { this.SlotDistrictApprovalID = value; return this; }
        public Integer getSlotDistrictID() { return SlotDistrictID; }
        public SlotDistrictApproval setSlotDistrictID(Integer value) { this.SlotDistrictID = value; return this; }
        public Long getSchoolID() { return SchoolID; }
        public SlotDistrictApproval setSchoolID(Long value) { this.SchoolID = value; return this; }
        public Integer getAgentID() { return AgentID; }
        public SlotDistrictApproval setAgentID(Integer value) { this.AgentID = value; return this; }
        public Integer getAvpid() { return AVPID; }
        public SlotDistrictApproval setAvpid(Integer value) { this.AVPID = value; return this; }
        public String getStatus() { return Status; }
        public SlotDistrictApproval setStatus(String value) { this.Status = value; return this; }
        public Date getDateCreated() { return DateCreated; }
        public SlotDistrictApproval setDateCreated(Date value) { this.DateCreated = value; return this; }
        public Date getDateModified() { return DateModified; }
        public SlotDistrictApproval setDateModified(Date value) { this.DateModified = value; return this; }
        public UUID getModifiedBy() { return ModifiedBy; }
        public SlotDistrictApproval setModifiedBy(UUID value) { this.ModifiedBy = value; return this; }
    }

}

Java SlotDistrictApprovalAwaitingRequest 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/SlotDistrictApprovalAwaiting 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"}]}