POST api/Sync/UploadBase64EncodedAnswerFiles?sessionId={sessionId}
Documentation for 'UploadBase64EncodedAnswerFiles'.
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
sessionId | Documentation for 'sessionId'. |
Define this parameter in the request URI. |
fileBase64UploadRequest | Documentation for 'fileBase64UploadRequest'. |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{ "AccountId": 1, "ProjectId": 2, "RequestToken": "490c5530-a491-4b85-a34e-f671a6d90f6e", "SessionToken": "e6c68b1a-d298-4293-8c6e-db4b1cad7f13", "DeviceId": "sample string 5", "UploadedBy": "sample string 6", "Files": [ { "SyncRequestToken": "0e2f1295-0ef0-4b3a-aeb3-68f67c5e8170", "DeviceId": "sample string 2", "CallId": 3, "QuestionId": 4, "ItemId": 1, "MimeType": "sample string 5", "FileContent": "sample string 6" }, { "SyncRequestToken": "0e2f1295-0ef0-4b3a-aeb3-68f67c5e8170", "DeviceId": "sample string 2", "CallId": 3, "QuestionId": 4, "ItemId": 1, "MimeType": "sample string 5", "FileContent": "sample string 6" }, { "SyncRequestToken": "0e2f1295-0ef0-4b3a-aeb3-68f67c5e8170", "DeviceId": "sample string 2", "CallId": 3, "QuestionId": 4, "ItemId": 1, "MimeType": "sample string 5", "FileContent": "sample string 6" } ] }
application/xml, text/xml
Sample:
<AnswerFileBase64UploadRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Fieldology.Fusion.DataCapture.Web.Models"> <AccountId>1</AccountId> <DeviceId>sample string 5</DeviceId> <Files> <AnswerFileBase64UpdateRequest> <CallId>3</CallId> <DeviceId>sample string 2</DeviceId> <FileContent>sample string 6</FileContent> <ItemId>1</ItemId> <MimeType>sample string 5</MimeType> <QuestionId>4</QuestionId> <SyncRequestToken>0e2f1295-0ef0-4b3a-aeb3-68f67c5e8170</SyncRequestToken> </AnswerFileBase64UpdateRequest> <AnswerFileBase64UpdateRequest> <CallId>3</CallId> <DeviceId>sample string 2</DeviceId> <FileContent>sample string 6</FileContent> <ItemId>1</ItemId> <MimeType>sample string 5</MimeType> <QuestionId>4</QuestionId> <SyncRequestToken>0e2f1295-0ef0-4b3a-aeb3-68f67c5e8170</SyncRequestToken> </AnswerFileBase64UpdateRequest> <AnswerFileBase64UpdateRequest> <CallId>3</CallId> <DeviceId>sample string 2</DeviceId> <FileContent>sample string 6</FileContent> <ItemId>1</ItemId> <MimeType>sample string 5</MimeType> <QuestionId>4</QuestionId> <SyncRequestToken>0e2f1295-0ef0-4b3a-aeb3-68f67c5e8170</SyncRequestToken> </AnswerFileBase64UpdateRequest> </Files> <ProjectId>2</ProjectId> <RequestToken>490c5530-a491-4b85-a34e-f671a6d90f6e</RequestToken> <SessionToken>e6c68b1a-d298-4293-8c6e-db4b1cad7f13</SessionToken> <UploadedBy>sample string 6</UploadedBy> </AnswerFileBase64UploadRequest>
application/x-www-form-urlencoded
Sample: