Trendsic Platform Service

<back to all web services

IntegrationsActionRequest

Requires Authentication
The following routes are available for this service:
POST,OPTIONS/v1/integrations/{Provider}/{Action}
IntegrationsActionRequest Parameters:
NameParameterData TypeRequiredDescription
ProviderpathstringNo
ActionpathstringNo
ApiKeybodystringNo
FromDatebodystringNo
ToDatebodystringNo
IntegrationsActionResponse Parameters:
NameParameterData TypeRequiredDescription
OkformboolNo
MessageformstringNo
UrlformstringNo
ProviderformProviderViewNo
ResponseStatusformResponseStatusNo
ProviderView Parameters:
NameParameterData TypeRequiredDescription
KeyformstringNo
NameformstringNo
CategoryformstringNo
BlurbformstringNo
MonoformstringNo
AuthModeformstringNo
AvailableformboolNo
StatusformstringNo
HealthformstringNo
StatusDetailformstringNo
AccountLabelformstringNo
EnvironmentformstringNo
LastActivityAtformDateTime?No
ManageRouteformstringNo
ActionsformList<string>No

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.

POST /v1/integrations/{Provider}/{Action} HTTP/1.1 
Host: api.dev.dynamics.trendsic.com 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

{"Provider":"String","Action":"String","ApiKey":"String","FromDate":"String","ToDate":"String"}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"Ok":false,"Message":"String","Url":"String","Provider":{"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-01T00:00:00.0000000","ManageRoute":"String","Actions":["String"]},"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}