| GET,OPTIONS | /v1/forms/office |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| FormUID | query | Guid? | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Apps | form | List<FormOfficeApp> | No | |
| Branches | form | List<FormInboxCount> | No | |
| Drafts | form | List<FormOfficeDraftRow> | No | |
| CanSearchContacts | form | bool | No | |
| ResponseStatus | form | ResponseStatus | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| FormUID | form | string | No | |
| Name | form | string | No | |
| Noun | form | string | No | |
| DefaultBranchId | form | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| V | form | string | No | |
| L | form | string | No | |
| N | form | int | 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 |
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/office HTTP/1.1 Host: api.dev.dynamics.trendsic.com Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
Apps:
[
{
FormUID: String,
Name: String,
Noun: String,
DefaultBranchId: String
}
],
Branches:
[
{
V: String,
L: String,
N: 0
}
],
Drafts:
[
{
SubmissionUID: String,
FormUID: String,
FormName: String,
ForName: String,
BranchName: String,
ContactId: 0,
Page: 0,
Pages: 0,
SavedBy: String,
SavedAt: String
}
],
CanSearchContacts: False,
ResponseStatus:
{
ErrorCode: String,
Message: String,
StackTrace: String,
Errors:
[
{
ErrorCode: String,
FieldName: String,
Message: String,
Meta:
{
String: String
}
}
],
Meta:
{
String: String
}
}
}