| GET,OPTIONS | /v1/integrations/providers |
|---|
export class ProviderView
{
public Key: string;
public Name: string;
public Category: string;
public Blurb: string;
public Mono: string;
public AuthMode: string;
public Available: boolean;
public Status: string;
public Health: string;
public StatusDetail: string;
public AccountLabel: string;
public Environment: string;
public LastActivityAt?: string;
public ManageRoute: string;
public Actions: string[] = [];
public constructor(init?: Partial<ProviderView>) { (Object as any).assign(this, init); }
}
export class IntegrationsProvidersResponse
{
public Providers: ProviderView[] = [];
public ConnectedCount: number;
public NeedsAttentionCount: number;
public AvailableCount: number;
public ResponseStatus: ResponseStatus;
public constructor(init?: Partial<IntegrationsProvidersResponse>) { (Object as any).assign(this, init); }
}
export class IntegrationsProvidersRequest
{
public constructor(init?: Partial<IntegrationsProvidersRequest>) { (Object as any).assign(this, init); }
}
TypeScript IntegrationsProvidersRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
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: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
Providers:
[
{
Key: String,
Name: String,
Category: String,
Blurb: String,
Mono: String,
AuthMode: String,
Available: False,
Status: String,
Health: String,
StatusDetail: String,
AccountLabel: String,
Environment: String,
LastActivityAt: 0001-01-01,
ManageRoute: String,
Actions:
[
String
]
}
],
ConnectedCount: 0,
NeedsAttentionCount: 0,
AvailableCount: 0,
ResponseStatus:
{
ErrorCode: String,
Message: String,
StackTrace: String,
Errors:
[
{
ErrorCode: String,
FieldName: String,
Message: String,
Meta:
{
String: String
}
}
],
Meta:
{
String: String
}
}
}