Trendsic Platform Service

<back to all web services

AgentDropdownAdminRequest

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

public class dtos
{

    public static class AgentDropdownAdminRequest
    {
        
    }

    public static class AgentDropdownResponse
    {
        public ResponseStatus ResponseStatus = null;
        public ArrayList<AgentDD> Agents = new ArrayList<AgentDD>();
        
        public ResponseStatus getResponseStatus() { return ResponseStatus; }
        public AgentDropdownResponse setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; }
        public ArrayList<AgentDD> getAgents() { return Agents; }
        public AgentDropdownResponse setAgents(ArrayList<AgentDD> value) { this.Agents = value; return this; }
    }

    public static class AgentDD
    {
        public Integer AgentId = null;
        public String AgentName = null;
        public String AgentStatus = null;
        public Integer ContactCount = null;
        
        public Integer getAgentId() { return AgentId; }
        public AgentDD setAgentId(Integer value) { this.AgentId = value; return this; }
        public String getAgentName() { return AgentName; }
        public AgentDD setAgentName(String value) { this.AgentName = value; return this; }
        public String getAgentStatus() { return AgentStatus; }
        public AgentDD setAgentStatus(String value) { this.AgentStatus = value; return this; }
        public Integer getContactCount() { return ContactCount; }
        public AgentDD setContactCount(Integer value) { this.ContactCount = value; return this; }
    }

}

Java AgentDropdownAdminRequest DTOs

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

HTTP + OTHER

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

GET /v1/Agent/Dropdown/Admin 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"}},"Agents":[{"AgentId":0,"AgentName":"String","AgentStatus":"String","ContactCount":0}]}