| POST,OPTIONS | /v1/integrations/{Provider}/{Action} |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Provider | path | string | No | |
| Action | path | string | No | |
| ApiKey | body | string | No | |
| FromDate | body | string | No | |
| ToDate | body | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Ok | form | bool | No | |
| Message | form | string | No | |
| Url | form | string | No | |
| Provider | form | ProviderView | No | |
| ResponseStatus | form | ResponseStatus | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Key | form | string | No | |
| Name | form | string | No | |
| Category | form | string | No | |
| Blurb | form | string | No | |
| Mono | form | string | No | |
| AuthMode | form | string | No | |
| Available | form | bool | No | |
| Status | form | string | No | |
| Health | form | string | No | |
| StatusDetail | form | string | No | |
| AccountLabel | form | string | No | |
| Environment | form | string | No | |
| LastActivityAt | form | DateTime? | No | |
| ManageRoute | form | string | No | |
| Actions | form | List<string> | No |
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.
POST /v1/integrations/{Provider}/{Action} HTTP/1.1
Host: api.dev.dynamics.trendsic.com
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
Provider: String,
Action: String,
ApiKey: String,
FromDate: String,
ToDate: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
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-01,
ManageRoute: String,
Actions:
[
String
]
},
ResponseStatus:
{
ErrorCode: String,
Message: String,
StackTrace: String,
Errors:
[
{
ErrorCode: String,
FieldName: String,
Message: String,
Meta:
{
String: String
}
}
],
Meta:
{
String: String
}
}
}