POST api/Sync/UploadAnswerFiles?sessionId={sessionId}
Documentation for 'UploadAnswerFiles'.
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
sessionId | Documentation for 'sessionId'. |
Define this parameter in the request URI. |
fileUploadRequest | Documentation for 'fileUploadRequest'. |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{ "AccountId": 1, "ProjectId": 2, "RequestToken": "64bff8fa-e191-4a69-a9ca-12467d3bab9e", "SessionToken": "f2f921b6-a771-4fd5-b76a-fd5c3cfb0a59", "DeviceId": "sample string 5", "UploadedBy": "sample string 6", "Files": [ { "SyncRequestToken": "efa4681d-dca8-49ae-9ba0-8c827628f5cd", "DeviceId": "sample string 2", "CallId": 3, "QuestionId": 4, "ItemId": 1, "MimeType": "sample string 5", "ImageData": "QEBA", "ImageSource": "sample string 6", "ImageWidth": 1, "ImageHeight": 1, "ExifTimestamp": "2025-04-04T03:11:44.2437678+01:00", "GpsLongitude": "sample string 7", "GpsLatitude": "sample string 8", "GpsLongitudeRef": "sample string 9", "GpsLatitudeRef": "sample string 10", "CaptureDeviceModel": "sample string 11", "ActiveGeoCodingStatus": true, "WasBasicSourceExifDataAvailable": true }, { "SyncRequestToken": "efa4681d-dca8-49ae-9ba0-8c827628f5cd", "DeviceId": "sample string 2", "CallId": 3, "QuestionId": 4, "ItemId": 1, "MimeType": "sample string 5", "ImageData": "QEBA", "ImageSource": "sample string 6", "ImageWidth": 1, "ImageHeight": 1, "ExifTimestamp": "2025-04-04T03:11:44.2437678+01:00", "GpsLongitude": "sample string 7", "GpsLatitude": "sample string 8", "GpsLongitudeRef": "sample string 9", "GpsLatitudeRef": "sample string 10", "CaptureDeviceModel": "sample string 11", "ActiveGeoCodingStatus": true, "WasBasicSourceExifDataAvailable": true }, { "SyncRequestToken": "efa4681d-dca8-49ae-9ba0-8c827628f5cd", "DeviceId": "sample string 2", "CallId": 3, "QuestionId": 4, "ItemId": 1, "MimeType": "sample string 5", "ImageData": "QEBA", "ImageSource": "sample string 6", "ImageWidth": 1, "ImageHeight": 1, "ExifTimestamp": "2025-04-04T03:11:44.2437678+01:00", "GpsLongitude": "sample string 7", "GpsLatitude": "sample string 8", "GpsLongitudeRef": "sample string 9", "GpsLatitudeRef": "sample string 10", "CaptureDeviceModel": "sample string 11", "ActiveGeoCodingStatus": true, "WasBasicSourceExifDataAvailable": true } ] }
application/xml, text/xml
Sample:
<AnswerFileUploadRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Fieldology.Platform.Api.DataCapture.Files.Upload"> <AccountId>1</AccountId> <DeviceId>sample string 5</DeviceId> <Files> <AnswerFileUpdateRequest> <ActiveGeoCodingStatus>true</ActiveGeoCodingStatus> <CallId>3</CallId> <CaptureDeviceModel>sample string 11</CaptureDeviceModel> <DeviceId>sample string 2</DeviceId> <ExifTimestamp>2025-04-04T03:11:44.2437678+01:00</ExifTimestamp> <GpsLatitude>sample string 8</GpsLatitude> <GpsLatitudeRef>sample string 10</GpsLatitudeRef> <GpsLongitude>sample string 7</GpsLongitude> <GpsLongitudeRef>sample string 9</GpsLongitudeRef> <ImageData>QEBA</ImageData> <ImageHeight>1</ImageHeight> <ImageSource>sample string 6</ImageSource> <ImageWidth>1</ImageWidth> <ItemId>1</ItemId> <MimeType>sample string 5</MimeType> <QuestionId>4</QuestionId> <SyncRequestToken>efa4681d-dca8-49ae-9ba0-8c827628f5cd</SyncRequestToken> <WasBasicSourceExifDataAvailable>true</WasBasicSourceExifDataAvailable> </AnswerFileUpdateRequest> <AnswerFileUpdateRequest> <ActiveGeoCodingStatus>true</ActiveGeoCodingStatus> <CallId>3</CallId> <CaptureDeviceModel>sample string 11</CaptureDeviceModel> <DeviceId>sample string 2</DeviceId> <ExifTimestamp>2025-04-04T03:11:44.2437678+01:00</ExifTimestamp> <GpsLatitude>sample string 8</GpsLatitude> <GpsLatitudeRef>sample string 10</GpsLatitudeRef> <GpsLongitude>sample string 7</GpsLongitude> <GpsLongitudeRef>sample string 9</GpsLongitudeRef> <ImageData>QEBA</ImageData> <ImageHeight>1</ImageHeight> <ImageSource>sample string 6</ImageSource> <ImageWidth>1</ImageWidth> <ItemId>1</ItemId> <MimeType>sample string 5</MimeType> <QuestionId>4</QuestionId> <SyncRequestToken>efa4681d-dca8-49ae-9ba0-8c827628f5cd</SyncRequestToken> <WasBasicSourceExifDataAvailable>true</WasBasicSourceExifDataAvailable> </AnswerFileUpdateRequest> <AnswerFileUpdateRequest> <ActiveGeoCodingStatus>true</ActiveGeoCodingStatus> <CallId>3</CallId> <CaptureDeviceModel>sample string 11</CaptureDeviceModel> <DeviceId>sample string 2</DeviceId> <ExifTimestamp>2025-04-04T03:11:44.2437678+01:00</ExifTimestamp> <GpsLatitude>sample string 8</GpsLatitude> <GpsLatitudeRef>sample string 10</GpsLatitudeRef> <GpsLongitude>sample string 7</GpsLongitude> <GpsLongitudeRef>sample string 9</GpsLongitudeRef> <ImageData>QEBA</ImageData> <ImageHeight>1</ImageHeight> <ImageSource>sample string 6</ImageSource> <ImageWidth>1</ImageWidth> <ItemId>1</ItemId> <MimeType>sample string 5</MimeType> <QuestionId>4</QuestionId> <SyncRequestToken>efa4681d-dca8-49ae-9ba0-8c827628f5cd</SyncRequestToken> <WasBasicSourceExifDataAvailable>true</WasBasicSourceExifDataAvailable> </AnswerFileUpdateRequest> </Files> <ProjectId>2</ProjectId> <RequestToken>64bff8fa-e191-4a69-a9ca-12467d3bab9e</RequestToken> <SessionToken>f2f921b6-a771-4fd5-b76a-fd5c3cfb0a59</SessionToken> <UploadedBy>sample string 6</UploadedBy> </AnswerFileUploadRequest>
application/x-www-form-urlencoded
Sample: