| POST,OPTIONS | /v1/forms/office/drafts |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| FormUID | body | Guid | No | |
| ContactId | body | int? | No | |
| Name | body | string | No | |
| body | string | No | ||
| Mobile | body | string | No | |
| BranchId | body | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| SubmissionUID | form | string | No | |
| FormUID | form | string | No | |
| FormName | form | string | No | |
| AppJson | form | string | No | |
| AnswersJson | form | string | No | |
| Page | form | int | No | |
| Rev | form | int | No | |
| TenantName | form | string | No | |
| Today | form | string | No | |
| ForName | form | string | No | |
| BranchName | form | string | No | |
| FilledByName | form | string | No | |
| SignedInName | form | string | No | |
| ContactLinked | form | bool | No | |
| Outcome | form | string | No | |
| OutcomeWaiting | form | string | 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/forms/office/drafts HTTP/1.1
Host: api.dev.dynamics.trendsic.com
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
FormUID: 00000000000000000000000000000000,
ContactId: 0,
Name: String,
Email: String,
Mobile: String,
BranchId: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
SubmissionUID: String,
FormUID: String,
FormName: String,
AppJson: String,
AnswersJson: String,
Page: 0,
Rev: 0,
TenantName: String,
Today: String,
ForName: String,
BranchName: String,
FilledByName: String,
SignedInName: String,
ContactLinked: False,
Outcome: String,
OutcomeWaiting: String,
ResponseStatus:
{
ErrorCode: String,
Message: String,
StackTrace: String,
Errors:
[
{
ErrorCode: String,
FieldName: String,
Message: String,
Meta:
{
String: String
}
}
],
Meta:
{
String: String
}
}
}