POST api/Sync/UploadDiagnosticFiles?sessionId={sessionId}
Documentation for 'UploadDiagnosticFiles'.
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
sessionId | Documentation for 'sessionId'. |
Define this parameter in the request URI. |
diagnosticDataUploadRequest | Documentation for 'diagnosticDataUploadRequest'. |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{ "UploadedBy": "sample string 1", "AccountId": 2, "SupportCode": "sample string 3", "Application": "sample string 4", "ApplicationVersion": "sample string 5", "Platform": "sample string 6", "PlatformVersion": "sample string 7", "DeviceIdentifier": "sample string 8", "HardwareModel": "sample string 9", "TimeStamp": "2025-04-04T03:02:30.5794682+01:00", "Files": [ { "DeviceIdentifier": "sample string 1", "FileTimeStamp": "2025-04-04T03:02:30.5950524+01:00", "FileType": 0, "IsUnattendedFileTransfer": true, "FileData": "QEBA" }, { "DeviceIdentifier": "sample string 1", "FileTimeStamp": "2025-04-04T03:02:30.5950524+01:00", "FileType": 0, "IsUnattendedFileTransfer": true, "FileData": "QEBA" }, { "DeviceIdentifier": "sample string 1", "FileTimeStamp": "2025-04-04T03:02:30.5950524+01:00", "FileType": 0, "IsUnattendedFileTransfer": true, "FileData": "QEBA" } ] }
application/xml, text/xml
Sample:
<DiagnosticDataUploadRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Fieldology.Platform.Api.DataCapture.Diagnostics"> <AccountId>2</AccountId> <Application>sample string 4</Application> <ApplicationVersion>sample string 5</ApplicationVersion> <DeviceIdentifier>sample string 8</DeviceIdentifier> <Files> <DiagnosticFileUploadRequest> <DeviceIdentifier>sample string 1</DeviceIdentifier> <FileData>QEBA</FileData> <FileTimeStamp>2025-04-04T03:02:30.5950524+01:00</FileTimeStamp> <FileType>Unknown</FileType> <IsUnattendedFileTransfer>true</IsUnattendedFileTransfer> </DiagnosticFileUploadRequest> <DiagnosticFileUploadRequest> <DeviceIdentifier>sample string 1</DeviceIdentifier> <FileData>QEBA</FileData> <FileTimeStamp>2025-04-04T03:02:30.5950524+01:00</FileTimeStamp> <FileType>Unknown</FileType> <IsUnattendedFileTransfer>true</IsUnattendedFileTransfer> </DiagnosticFileUploadRequest> <DiagnosticFileUploadRequest> <DeviceIdentifier>sample string 1</DeviceIdentifier> <FileData>QEBA</FileData> <FileTimeStamp>2025-04-04T03:02:30.5950524+01:00</FileTimeStamp> <FileType>Unknown</FileType> <IsUnattendedFileTransfer>true</IsUnattendedFileTransfer> </DiagnosticFileUploadRequest> </Files> <HardwareModel>sample string 9</HardwareModel> <Platform>sample string 6</Platform> <PlatformVersion>sample string 7</PlatformVersion> <SupportCode>sample string 3</SupportCode> <TimeStamp>2025-04-04T03:02:30.5794682+01:00</TimeStamp> <UploadedBy>sample string 1</UploadedBy> </DiagnosticDataUploadRequest>
application/x-www-form-urlencoded
Sample: