| GET,POST,OPTIONS | /v1/engine/sweeps/before-a-date |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| WorkflowId | body | int? | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Swept | form | bool | No | |
| Why | form | string | No | |
| LocalDate | form | string | No | |
| CertMilestones | form | List<int> | No | |
| DocMilestones | form | List<int> | No | |
| ListeningWorkflowIds | form | List<int> | No | |
| Steps | form | int | No | |
| Claimed | form | int | No | |
| Written | form | int | No | |
| Released | form | int | No | |
| ResponseStatus | form | ResponseStatus | 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/engine/sweeps/before-a-date HTTP/1.1
Host: api.dev.dynamics.trendsic.com
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
WorkflowId: 0
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
Swept: False,
Why: String,
LocalDate: String,
CertMilestones:
[
0
],
DocMilestones:
[
0
],
ListeningWorkflowIds:
[
0
],
Steps: 0,
Claimed: 0,
Written: 0,
Released: 0,
ResponseStatus:
{
ErrorCode: String,
Message: String,
StackTrace: String,
Errors:
[
{
ErrorCode: String,
FieldName: String,
Message: String,
Meta:
{
String: String
}
}
],
Meta:
{
String: String
}
}
}