POST api/Sync/RequestDiagnosticSessionInfo?sessionId={sessionId}

Documentation for 'RequestDiagnosticSessionInfo'.

Request Information

Parameters

NameDescriptionAdditional information
sessionId
Documentation for 'sessionId'.

Define this parameter in the request URI.

diagnosticSessionRequest
Documentation for 'diagnosticSessionRequest'.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "ApplicationCode": "sample string 1",
  "ApplicationVersion": "sample string 2",
  "PlatformCode": "sample string 3",
  "PlatformVersion": "sample string 4",
  "DeviceIdentifier": "sample string 5",
  "HardwareModel": "sample string 6"
}

application/xml, text/xml

Sample:
<DiagnosticSessionRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Fieldology.Platform.Api.DataCapture.Diagnostics">
  <ApplicationCode>sample string 1</ApplicationCode>
  <ApplicationVersion>sample string 2</ApplicationVersion>
  <DeviceIdentifier>sample string 5</DeviceIdentifier>
  <HardwareModel>sample string 6</HardwareModel>
  <PlatformCode>sample string 3</PlatformCode>
  <PlatformVersion>sample string 4</PlatformVersion>
</DiagnosticSessionRequest>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'FormUrlEncodedMediaTypeFormatterTracer' to write type 'DiagnosticSessionRequest'.