Trendsic Platform Service

<back to all web services

FormContactPanelRequest

Requires Authentication
The following routes are available for this service:
GET/v1/forms/contacts/{ContactId}
FormContactPanelRequest Parameters:
NameParameterData TypeRequiredDescription
ContactIdpathintNo
FormContactPanelResponse Parameters:
NameParameterData TypeRequiredDescription
SubsformList<FormContactPanelSub>No
DraftsformList<FormOfficeDraftRow>No
FormsformList<FormOfficeApp>No
CanStartformboolNo
ContactNameformstringNo
ResponseStatusformResponseStatusNo
FormContactPanelSub Parameters:
NameParameterData TypeRequiredDescription
SubmissionUIDformstringNo
NumberformstringNo
FormNameformstringNo
StageformstringNo
ToneformstringNo
SubmittedAtformstringNo
BranchNameformstringNo
FormOfficeDraftRow Parameters:
NameParameterData TypeRequiredDescription
SubmissionUIDformstringNo
FormUIDformstringNo
FormNameformstringNo
ForNameformstringNo
BranchNameformstringNo
ContactIdformint?No
PageformintNo
PagesformintNo
SavedByformstringNo
SavedAtformstringNo
FormOfficeApp Parameters:
NameParameterData TypeRequiredDescription
FormUIDformstringNo
NameformstringNo
NounformstringNo
DefaultBranchIdformstringNo
IsRecordformboolNo
RoleNameformstringNo

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

HTTP + OTHER

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/jsonl
HTTP/1.1 200 OK
Content-Type: text/jsonl
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"}}}