| GET | /v1/forms/{FormUID}/reports |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| FormUID | path | Guid | No | |
| Field | query | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Submissions | form | int | No | |
| Decided | form | int | No | |
| Approved | form | int | No | |
| RateText | form | string | No | |
| DecisionText | form | string | No | |
| Drafts | form | int | No | |
| Sla | form | int | No | |
| DraftDays | form | int | No | |
| IsRecord | form | bool | No | |
| Weeks | form | List<FormReportBar> | No | |
| Stages | form | List<FormReportBar> | No | |
| Pages | form | List<FormReportBar> | No | |
| Started | form | int | No | |
| SubmittedPct | form | int | No | |
| DropFrom | form | string | No | |
| DropN | form | int | No | |
| Durations | form | List<FormReportBar> | No | |
| Fields | form | List<FormReportBar> | No | |
| Field | form | string | No | |
| FieldLabel | form | string | No | |
| Options | form | List<FormReportBar> | No | |
| Reasons | form | List<FormReportBar> | No | |
| ResponseStatus | form | ResponseStatus | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | form | string | No | |
| Label | form | string | No | |
| N | form | int | No | |
| Value | form | double | No | |
| Text | form | string | No | |
| Tone | form | 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.
GET /v1/forms/{FormUID}/reports HTTP/1.1
Host: api.dev.dynamics.trendsic.com
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
Submissions: 0,
Decided: 0,
Approved: 0,
RateText: String,
DecisionText: String,
Drafts: 0,
Sla: 0,
DraftDays: 0,
IsRecord: False,
Weeks:
[
{
Id: String,
Label: String,
N: 0,
Value: 0,
Text: String,
Tone: String
}
],
Stages:
[
{
Id: String,
Label: String,
N: 0,
Value: 0,
Text: String,
Tone: String
}
],
Pages:
[
{
Id: String,
Label: String,
N: 0,
Value: 0,
Text: String,
Tone: String
}
],
Started: 0,
SubmittedPct: 0,
DropFrom: String,
DropN: 0,
Durations:
[
{
Id: String,
Label: String,
N: 0,
Value: 0,
Text: String,
Tone: String
}
],
Fields:
[
{
Id: String,
Label: String,
N: 0,
Value: 0,
Text: String,
Tone: String
}
],
Field: String,
FieldLabel: String,
Options:
[
{
Id: String,
Label: String,
N: 0,
Value: 0,
Text: String,
Tone: String
}
],
Reasons:
[
{
Id: String,
Label: String,
N: 0,
Value: 0,
Text: String,
Tone: String
}
],
ResponseStatus:
{
ErrorCode: String,
Message: String,
StackTrace: String,
Errors:
[
{
ErrorCode: String,
FieldName: String,
Message: String,
Meta:
{
String: String
}
}
],
Meta:
{
String: String
}
}
}