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 .xml suffix or ?format=xml

HTTP + XML

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/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<SlotDistrictApprovalResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CRM.AgencyPlatform.API.Internal">
  <ResponseStatus xmlns:d2p1="http://schemas.servicestack.net/types">
    <d2p1:ErrorCode>String</d2p1:ErrorCode>
    <d2p1:Message>String</d2p1:Message>
    <d2p1:StackTrace>String</d2p1:StackTrace>
    <d2p1:Errors>
      <d2p1:ResponseError>
        <d2p1:ErrorCode>String</d2p1:ErrorCode>
        <d2p1:FieldName>String</d2p1:FieldName>
        <d2p1:Message>String</d2p1:Message>
        <d2p1:Meta xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:KeyValueOfstringstring>
            <d5p1:Key>String</d5p1:Key>
            <d5p1:Value>String</d5p1:Value>
          </d5p1:KeyValueOfstringstring>
        </d2p1:Meta>
      </d2p1:ResponseError>
    </d2p1:Errors>
    <d2p1:Meta xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:KeyValueOfstringstring>
        <d3p1:Key>String</d3p1:Key>
        <d3p1:Value>String</d3p1:Value>
      </d3p1:KeyValueOfstringstring>
    </d2p1:Meta>
  </ResponseStatus>
  <SlotDistrictApproval>
    <SlotDistrictApprovalExtended>
      <AVPID>0</AVPID>
      <AgentID>0</AgentID>
      <DateCreated>0001-01-01T00:00:00</DateCreated>
      <DateModified>0001-01-01T00:00:00</DateModified>
      <ModifiedBy>00000000-0000-0000-0000-000000000000</ModifiedBy>
      <SchoolID>0</SchoolID>
      <SlotDistrictApprovalID>0</SlotDistrictApprovalID>
      <SlotDistrictID>0</SlotDistrictID>
      <Status>String</Status>
      <AVPName>String</AVPName>
      <AgentName>String</AgentName>
      <County>String</County>
      <DistrictName>String</DistrictName>
      <SchoolName>String</SchoolName>
      <State>String</State>
    </SlotDistrictApprovalExtended>
  </SlotDistrictApproval>
</SlotDistrictApprovalResponse>