Trendsic Platform Service

<back to all web services

FormOfficeOfferedRequest

Requires Authentication
The following routes are available for this service:
GET,OPTIONS/v1/forms/office
FormOfficeOfferedRequest Parameters:
NameParameterData TypeRequiredDescription
FormUIDqueryGuid?No
FormOfficeOfferedResponse Parameters:
NameParameterData TypeRequiredDescription
AppsformList<FormOfficeApp>No
BranchesformList<FormInboxCount>No
DraftsformList<FormOfficeDraftRow>No
CanSearchContactsformboolNo
ResponseStatusformResponseStatusNo
FormOfficeApp Parameters:
NameParameterData TypeRequiredDescription
FormUIDformstringNo
NameformstringNo
NounformstringNo
DefaultBranchIdformstringNo
FormInboxCount Parameters:
NameParameterData TypeRequiredDescription
VformstringNo
LformstringNo
NformintNo
FormOfficeDraftRow Parameters:
NameParameterData TypeRequiredDescription
SubmissionUIDformstringNo
FormUIDformstringNo
FormNameformstringNo
ForNameformstringNo
BranchNameformstringNo
ContactIdformint?No
PageformintNo
PagesformintNo
SavedByformstringNo
SavedAtformstringNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv

HTTP + 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
		}
	}
}