| GET | /v1/forms/contacts/{ContactId} |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ContactId | path | int | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Subs | form | List<FormContactPanelSub> | No | |
| Drafts | form | List<FormOfficeDraftRow> | No | |
| Forms | form | List<FormOfficeApp> | No | |
| CanStart | form | bool | No | |
| ContactName | form | string | No | |
| ResponseStatus | form | ResponseStatus | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| SubmissionUID | form | string | No | |
| Number | form | string | No | |
| FormName | form | string | No | |
| Stage | form | string | No | |
| Tone | form | string | No | |
| SubmittedAt | form | string | No | |
| BranchName | form | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| SubmissionUID | form | string | No | |
| FormUID | form | string | No | |
| FormName | form | string | No | |
| ForName | form | string | No | |
| BranchName | form | string | No | |
| ContactId | form | int? | No | |
| Page | form | int | No | |
| Pages | form | int | No | |
| SavedBy | form | string | No | |
| SavedAt | form | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| FormUID | form | string | No | |
| Name | form | string | No | |
| Noun | form | string | No | |
| DefaultBranchId | form | string | No | |
| IsRecord | form | bool | No | |
| RoleName | 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/contacts/{ContactId} HTTP/1.1
Host: api.dev.dynamics.trendsic.com
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
Subs:
[
{
SubmissionUID: String,
Number: String,
FormName: String,
Stage: String,
Tone: String,
SubmittedAt: String,
BranchName: String
}
],
Drafts:
[
{
SubmissionUID: String,
FormUID: String,
FormName: String,
ForName: String,
BranchName: String,
ContactId: 0,
Page: 0,
Pages: 0,
SavedBy: String,
SavedAt: String
}
],
Forms:
[
{
FormUID: String,
Name: String,
Noun: String,
DefaultBranchId: String,
IsRecord: False,
RoleName: String
}
],
CanStart: False,
ContactName: String,
ResponseStatus:
{
ErrorCode: String,
Message: String,
StackTrace: String,
Errors:
[
{
ErrorCode: String,
FieldName: String,
Message: String,
Meta:
{
String: String
}
}
],
Meta:
{
String: String
}
}
}