Trendsic Platform Service

<back to all web services

IntegrationsProvidersRequest

Requires Authentication
The following routes are available for this service:
GET,OPTIONS/v1/integrations/providers
import java.math.*;
import java.util.*;
import java.io.InputStream;
import net.servicestack.client.*;

public class dtos
{

    public static class IntegrationsProvidersRequest
    {
        
    }

    public static class IntegrationsProvidersResponse
    {
        public ArrayList<ProviderView> Providers = new ArrayList<ProviderView>();
        public Integer ConnectedCount = null;
        public Integer NeedsAttentionCount = null;
        public Integer AvailableCount = null;
        public ResponseStatus ResponseStatus = null;
        
        public ArrayList<ProviderView> getProviders() { return Providers; }
        public IntegrationsProvidersResponse setProviders(ArrayList<ProviderView> value) { this.Providers = value; return this; }
        public Integer getConnectedCount() { return ConnectedCount; }
        public IntegrationsProvidersResponse setConnectedCount(Integer value) { this.ConnectedCount = value; return this; }
        public Integer getNeedsAttentionCount() { return NeedsAttentionCount; }
        public IntegrationsProvidersResponse setNeedsAttentionCount(Integer value) { this.NeedsAttentionCount = value; return this; }
        public Integer getAvailableCount() { return AvailableCount; }
        public IntegrationsProvidersResponse setAvailableCount(Integer value) { this.AvailableCount = value; return this; }
        public ResponseStatus getResponseStatus() { return ResponseStatus; }
        public IntegrationsProvidersResponse setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; }
    }

    public static class ProviderView
    {
        public String Key = null;
        public String Name = null;
        public String Category = null;
        public String Blurb = null;
        public String Mono = null;
        public String AuthMode = null;
        public Boolean Available = null;
        public String Status = null;
        public String Health = null;
        public String StatusDetail = null;
        public String AccountLabel = null;
        public String Environment = null;
        public Date LastActivityAt = null;
        public String ManageRoute = null;
        public ArrayList<String> Actions = new ArrayList<String>();
        
        public String getKey() { return Key; }
        public ProviderView setKey(String value) { this.Key = value; return this; }
        public String getName() { return Name; }
        public ProviderView setName(String value) { this.Name = value; return this; }
        public String getCategory() { return Category; }
        public ProviderView setCategory(String value) { this.Category = value; return this; }
        public String getBlurb() { return Blurb; }
        public ProviderView setBlurb(String value) { this.Blurb = value; return this; }
        public String getMono() { return Mono; }
        public ProviderView setMono(String value) { this.Mono = value; return this; }
        public String getAuthMode() { return AuthMode; }
        public ProviderView setAuthMode(String value) { this.AuthMode = value; return this; }
        public Boolean isAvailable() { return Available; }
        public ProviderView setAvailable(Boolean value) { this.Available = value; return this; }
        public String getStatus() { return Status; }
        public ProviderView setStatus(String value) { this.Status = value; return this; }
        public String getHealth() { return Health; }
        public ProviderView setHealth(String value) { this.Health = value; return this; }
        public String getStatusDetail() { return StatusDetail; }
        public ProviderView setStatusDetail(String value) { this.StatusDetail = value; return this; }
        public String getAccountLabel() { return AccountLabel; }
        public ProviderView setAccountLabel(String value) { this.AccountLabel = value; return this; }
        public String getEnvironment() { return Environment; }
        public ProviderView setEnvironment(String value) { this.Environment = value; return this; }
        public Date getLastActivityAt() { return LastActivityAt; }
        public ProviderView setLastActivityAt(Date value) { this.LastActivityAt = value; return this; }
        public String getManageRoute() { return ManageRoute; }
        public ProviderView setManageRoute(String value) { this.ManageRoute = value; return this; }
        public ArrayList<String> getActions() { return Actions; }
        public ProviderView setActions(ArrayList<String> value) { this.Actions = value; return this; }
    }

}

Java IntegrationsProvidersRequest 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/integrations/providers HTTP/1.1 
Host: api.dev.dynamics.trendsic.com 
Accept: application/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<IntegrationsProvidersResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CRM.AgencyPlatform.API.Internal">
  <AvailableCount>0</AvailableCount>
  <ConnectedCount>0</ConnectedCount>
  <NeedsAttentionCount>0</NeedsAttentionCount>
  <Providers>
    <IntegrationsHubService.ProviderView>
      <AccountLabel>String</AccountLabel>
      <Actions xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>String</d4p1:string>
      </Actions>
      <AuthMode>String</AuthMode>
      <Available>false</Available>
      <Blurb>String</Blurb>
      <Category>String</Category>
      <Environment>String</Environment>
      <Health>String</Health>
      <Key>String</Key>
      <LastActivityAt>0001-01-01T00:00:00</LastActivityAt>
      <ManageRoute>String</ManageRoute>
      <Mono>String</Mono>
      <Name>String</Name>
      <Status>String</Status>
      <StatusDetail>String</StatusDetail>
    </IntegrationsHubService.ProviderView>
  </Providers>
  <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>
</IntegrationsProvidersResponse>